llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp_3bhx4bt.c'
source_filename = "/tmp/tmp_3bhx4bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Ld\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%Lu\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%Lx\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%Ls\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_longlong(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 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %15)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_3bhx4bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Ld\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%Lu\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%Lx\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%Ls\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_longlong(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 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %15)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_8urv5p9.c'
source_filename = "/tmp/tmp_8urv5p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @amf_su_foreach_si_assignment(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call ptr @amf_su_get_next_si_assignment(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %5, align 8
br label %12
12: ; preds = %15, %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %5, align 8
call void %16(ptr noundef %17, ptr noundef %18)
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %5, align 8
%21 = call ptr @amf_su_get_next_si_assignment(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %5, align 8
br label %12, !llvm.loop !6
22: ; preds = %12
ret void
}
declare i32 @assert(i32 noundef) #1
declare ptr @amf_su_get_next_si_assignment(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8urv5p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @amf_su_foreach_si_assignment(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call ptr @amf_su_get_next_si_assignment(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %5, align 8
call void %15(ptr noundef %16, ptr noundef %17)
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %5, align 8
%20 = call ptr @amf_su_get_next_si_assignment(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %2
ret void
}
declare i32 @assert(i32 noundef) #1
declare ptr @amf_su_get_next_si_assignment(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo0qfni06.c'
source_filename = "/tmp/tmpo0qfni06.c"
target datalayout = "e-m:e-p270: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/tmpo0qfni06.c"
target datalayout = "e-m:e-p270: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/tmppfiwefjs.c'
source_filename = "/tmp/tmppfiwefjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoupper(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %19, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call signext i8 @toupper(i8 noundef signext %14)
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
store i8 %15, ptr %18, align 1
br label %19
19: ; preds = %10
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %5, align 8
br label %6, !llvm.loop !6
22: ; preds = %6
ret void
}
declare signext i8 @toupper(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/tmppfiwefjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoupper(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %18
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call signext i8 @toupper(i8 noundef signext %13)
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 %14, ptr %17, align 1
br label %18
18: ; preds = %9
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %5, align 8
%22 = load i64, ptr %4, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare signext i8 @toupper(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/tmp5xnwzgaf.c'
source_filename = "/tmp/tmp5xnwzgaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 3, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 8
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5xnwzgaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 3, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 8
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
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"}
|
; ModuleID = '/tmp/tmpz_u98ooo.c'
source_filename = "/tmp/tmpz_u98ooo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mst2_package_init(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 i32 @allocate_heap(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = call i32 @allocate_nn_arrays(i64 noundef %5)
ret void
}
declare i32 @allocate_heap(i64 noundef) #1
declare i32 @allocate_nn_arrays(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz_u98ooo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mst2_package_init(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 i32 @allocate_heap(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = call i32 @allocate_nn_arrays(i64 noundef %5)
ret void
}
declare i32 @allocate_heap(i64 noundef) #1
declare i32 @allocate_nn_arrays(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp48gn0kbc.c'
source_filename = "/tmp/tmp48gn0kbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uppercase(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
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %20, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %23
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @tolower(i8 noundef signext %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %4, !llvm.loop !6
23: ; preds = %4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp48gn0kbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uppercase(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
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 i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @tolower(i8 noundef signext %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %29
29: ; preds = %._crit_edge, %1
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppqvojpr8.c'
source_filename = "/tmp/tmppqvojpr8.c"
target datalayout = "e-m:e-p270: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/tmppqvojpr8.c"
target datalayout = "e-m:e-p270: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/tmplqcvasih.c'
source_filename = "/tmp/tmplqcvasih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %15, align 8
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %29
29: ; preds = %110, %4
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %14, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %113
33: ; preds = %29
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
%37 = icmp eq i32 %34, %36
br i1 %37, label %38, label %49
38: ; preds = %33
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %15, align 8
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
store i32 %44, ptr %48, align 4
br label %109
49: ; preds = %33
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
%53 = icmp eq i32 %50, %52
br i1 %53, label %54, label %68
54: ; preds = %49
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %11, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %11, align 4
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %15, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
store i32 %60, ptr %64, align 4
%65 = load i64, ptr %10, align 8
%66 = load i64, ptr %9, align 8
%67 = add i64 %66, %65
store i64 %67, ptr %9, align 8
br label %108
68: ; preds = %49
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %12, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = icmp slt i32 %73, %78
br i1 %79, label %80, label %93
80: ; preds = %68
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %12, align 4
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i32, ptr %81, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load ptr, ptr %15, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 %86, ptr %90, align 4
%91 = load i64, ptr %10, align 8
%92 = add i64 %91, 1
store i64 %92, ptr %10, align 8
br label %107
93: ; preds = %68
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %11, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %11, align 4
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds i32, ptr %94, i64 %97
%99 = load i32, ptr %98, align 4
%100 = load ptr, ptr %15, align 8
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
store i32 %99, ptr %103, align 4
%104 = load i64, ptr %10, align 8
%105 = load i64, ptr %9, align 8
%106 = add i64 %105, %104
store i64 %106, ptr %9, align 8
br label %107
107: ; preds = %93, %80
br label %108
108: ; preds = %107, %54
br label %109
109: ; preds = %108, %38
br label %110
110: ; preds = %109
%111 = load i32, ptr %13, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %13, align 4
br label %29, !llvm.loop !6
113: ; preds = %29
store i32 0, ptr %16, align 4
br label %114
114: ; preds = %130, %113
%115 = load i32, ptr %16, align 4
%116 = load i32, ptr %14, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %133
118: ; preds = %114
%119 = load ptr, ptr %15, align 8
%120 = load i32, ptr %16, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load ptr, ptr %5, align 8
%125 = load i32, ptr %6, align 4
%126 = load i32, ptr %16, align 4
%127 = add nsw i32 %125, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %124, i64 %128
store i32 %123, ptr %129, align 4
br label %130
130: ; preds = %118
%131 = load i32, ptr %16, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %16, align 4
br label %114, !llvm.loop !8
133: ; preds = %114
%134 = load i64, ptr %9, align 8
ret i64 %134
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqcvasih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %15, align 8
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %12, align 4
store i32 0, ptr %13, align 4
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %14, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %115
.lr.ph: ; preds = %4
br label %32
32: ; preds = %.lr.ph, %109
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %48
37: ; preds = %32
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %12, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %15, align 8
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
br label %108
48: ; preds = %32
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
%52 = icmp eq i32 %49, %51
br i1 %52, label %53, label %67
53: ; preds = %48
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %15, align 8
%61 = load i32, ptr %13, 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 i64, ptr %10, align 8
%65 = load i64, ptr %9, align 8
%66 = add i64 %65, %64
store i64 %66, ptr %9, align 8
br label %107
67: ; preds = %48
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %12, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp slt i32 %72, %77
br i1 %78, label %79, label %92
79: ; preds = %67
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %12, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %12, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i32, ptr %80, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load ptr, ptr %15, align 8
%87 = load i32, ptr %13, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %85, ptr %89, align 4
%90 = load i64, ptr %10, align 8
%91 = add i64 %90, 1
store i64 %91, ptr %10, align 8
br label %106
92: ; preds = %67
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %11, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i32, ptr %93, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %15, align 8
%100 = load i32, ptr %13, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
store i32 %98, ptr %102, align 4
%103 = load i64, ptr %10, align 8
%104 = load i64, ptr %9, align 8
%105 = add i64 %104, %103
store i64 %105, ptr %9, align 8
br label %106
106: ; preds = %92, %79
br label %107
107: ; preds = %106, %53
br label %108
108: ; preds = %107, %37
br label %109
109: ; preds = %108
%110 = load i32, ptr %13, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %13, align 4
%112 = load i32, ptr %13, align 4
%113 = load i32, ptr %14, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %109
br label %115
115: ; preds = %._crit_edge, %4
store i32 0, ptr %16, align 4
%116 = load i32, ptr %16, align 4
%117 = load i32, ptr %14, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %.lr.ph2, label %137
.lr.ph2: ; preds = %115
br label %119
119: ; preds = %.lr.ph2, %131
%120 = load ptr, ptr %15, align 8
%121 = load i32, ptr %16, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %6, align 4
%127 = load i32, ptr %16, align 4
%128 = add nsw i32 %126, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i32, ptr %125, i64 %129
store i32 %124, ptr %130, align 4
br label %131
131: ; preds = %119
%132 = load i32, ptr %16, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %16, align 4
%134 = load i32, ptr %16, align 4
%135 = load i32, ptr %14, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %119, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %131
br label %137
137: ; preds = %._crit_edge3, %115
%138 = load i64, ptr %9, align 8
ret i64 %138
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp77ucvry7.c'
source_filename = "/tmp/tmp77ucvry7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %13, %3
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i8, ptr %5, align 1
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
store i8 %14, ptr %15, align 1
br label %9, !llvm.loop !6
17: ; preds = %9
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp77ucvry7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %6, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph, label %19
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i8, ptr %5, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
store i8 %13, ptr %14, align 1
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %6, align 4
%18 = icmp ne i32 %16, 0
br i1 %18, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %19
19: ; preds = %._crit_edge, %3
%20 = load ptr, ptr %7, align 8
ret ptr %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpi6kkdgqb.c'
source_filename = "/tmp/tmpi6kkdgqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"pid = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"This is a shared library test...\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 (...) @getpid()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @puts(ptr noundef @.str.1)
br label %5
5: ; preds = %5, %0
%6 = call i32 (...) @foo()
%7 = call i32 @sleep(i32 noundef 1)
br label %5
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @foo(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6kkdgqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"pid = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"This is a shared library test...\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 (...) @getpid()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @puts(ptr noundef @.str.1)
br label %5
5: ; preds = %5, %0
%6 = call i32 (...) @foo()
%7 = call i32 @sleep(i32 noundef 1)
br label %5
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @foo(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4t4s3qr.c'
source_filename = "/tmp/tmpj4t4s3qr.c"
target datalayout = "e-m:e-p270: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/tmpj4t4s3qr.c"
target datalayout = "e-m:e-p270: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/tmph8t4kq3c.c'
source_filename = "/tmp/tmph8t4kq3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"All meta-commands must be entered in upper case.\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"HELP This message\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"HELP VERBOSE Complete man pages for xdict\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"QUIT, EXIT (Save and) exit, the same as Ctrl-D\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"SAVE Save the word list into xdict.save.txt\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"SORT Sort the dictionary\00", align 1
@.str.6 = private unnamed_addr constant [47 x i8] c"STAT Display some statistical details\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"ch0rtl* Display matching word(s)\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"SET ch_rtl* Display set of crossing letters\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"ADD chortle Add a word to the dictionary\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"REM ch0rtl* Remove word(s) from the dictionary\00", align 1
@.str.11 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.12 = private unnamed_addr constant [42 x i8] c"set Matches the word \22set\22 only\00", align 1
@.str.13 = private unnamed_addr constant [59 x i8] c"b0g Vowel: matches bag, beg, big,... but not bfg\00", align 1
@.str.14 = private unnamed_addr constant [63 x i8] c"do1 Consonant: matches doc, dog, don,... but not doe\00", align 1
@.str.15 = private unnamed_addr constant [55 x i8] c"do? Single letter: matches doc, doe, dog,...\00", align 1
@.str.16 = private unnamed_addr constant [56 x i8] c"do*t Any string: matches dot, doubt, donut,...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = call i32 @puts(ptr noundef @.str.6)
%8 = call i32 @puts(ptr noundef @.str.7)
%9 = call i32 @puts(ptr noundef @.str.8)
%10 = call i32 @puts(ptr noundef @.str.9)
%11 = call i32 @puts(ptr noundef @.str.10)
%12 = call i32 @puts(ptr noundef @.str.11)
%13 = call i32 @puts(ptr noundef @.str.12)
%14 = call i32 @puts(ptr noundef @.str.13)
%15 = call i32 @puts(ptr noundef @.str.14)
%16 = call i32 @puts(ptr noundef @.str.15)
%17 = call i32 @puts(ptr noundef @.str.16)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph8t4kq3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"All meta-commands must be entered in upper case.\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"HELP This message\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"HELP VERBOSE Complete man pages for xdict\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"QUIT, EXIT (Save and) exit, the same as Ctrl-D\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"SAVE Save the word list into xdict.save.txt\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"SORT Sort the dictionary\00", align 1
@.str.6 = private unnamed_addr constant [47 x i8] c"STAT Display some statistical details\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"ch0rtl* Display matching word(s)\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"SET ch_rtl* Display set of crossing letters\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"ADD chortle Add a word to the dictionary\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"REM ch0rtl* Remove word(s) from the dictionary\00", align 1
@.str.11 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.12 = private unnamed_addr constant [42 x i8] c"set Matches the word \22set\22 only\00", align 1
@.str.13 = private unnamed_addr constant [59 x i8] c"b0g Vowel: matches bag, beg, big,... but not bfg\00", align 1
@.str.14 = private unnamed_addr constant [63 x i8] c"do1 Consonant: matches doc, dog, don,... but not doe\00", align 1
@.str.15 = private unnamed_addr constant [55 x i8] c"do? Single letter: matches doc, doe, dog,...\00", align 1
@.str.16 = private unnamed_addr constant [56 x i8] c"do*t Any string: matches dot, doubt, donut,...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = call i32 @puts(ptr noundef @.str.6)
%8 = call i32 @puts(ptr noundef @.str.7)
%9 = call i32 @puts(ptr noundef @.str.8)
%10 = call i32 @puts(ptr noundef @.str.9)
%11 = call i32 @puts(ptr noundef @.str.10)
%12 = call i32 @puts(ptr noundef @.str.11)
%13 = call i32 @puts(ptr noundef @.str.12)
%14 = call i32 @puts(ptr noundef @.str.13)
%15 = call i32 @puts(ptr noundef @.str.14)
%16 = call i32 @puts(ptr noundef @.str.15)
%17 = call i32 @puts(ptr noundef @.str.16)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmh48wxl.c'
source_filename = "/tmp/tmpvmh48wxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".0\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @unwrap_ip(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [8 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 8, i1 false)
store i32 0, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = ashr i32 %13, 3
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 7
%17 = icmp sgt i32 %16, 0
%18 = zext i1 %17 to i32
%19 = add nsw i32 %14, %18
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %6, align 8
br label %21
21: ; preds = %28, %2
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %6, align 8
%27 = call ptr @strchr(ptr noundef %26, i8 noundef signext 46)
store ptr %27, ptr %6, align 8
br label %28
28: ; preds = %24
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %21, !llvm.loop !6
31: ; preds = %21
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store ptr null, ptr %3, align 8
br label %66
36: ; preds = %31
%37 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %44, %36
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %39, 4
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%43 = call i32 @strcat(ptr noundef %42, ptr noundef @.str)
br label %44
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %38, !llvm.loop !8
47: ; preds = %38
store ptr null, ptr %10, align 8
%48 = load ptr, ptr %4, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = add nsw i32 %49, %51
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
store i64 %54, ptr %11, align 8
%55 = call ptr @malloc(i64 noundef %54)
store ptr %55, ptr %10, align 8
%56 = load ptr, ptr %10, align 8
%57 = icmp eq ptr %56, null
br i1 %57, label %58, label %59
58: ; preds = %47
store ptr null, ptr %3, align 8
br label %66
59: ; preds = %47
%60 = load ptr, ptr %10, align 8
%61 = load i64, ptr %11, align 8
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @snprintf(ptr noundef %60, i64 noundef %61, ptr noundef @.str.1, ptr noundef %62, ptr noundef %63)
%65 = load ptr, ptr %10, align 8
store ptr %65, ptr %3, align 8
br label %66
66: ; preds = %59, %58, %35
%67 = load ptr, ptr %3, align 8
ret ptr %67
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmh48wxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".0\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @unwrap_ip(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [8 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 8, i1 false)
store i32 0, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = ashr i32 %13, 3
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 7
%17 = icmp sgt i32 %16, 0
%18 = zext i1 %17 to i32
%19 = add nsw i32 %14, %18
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %23
23: ; preds = %.lr.ph, %27
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %6, align 8
%26 = call ptr @strchr(ptr noundef %25, i8 noundef signext 46)
store ptr %26, ptr %6, align 8
br label %27
27: ; preds = %23
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32
store ptr null, ptr %3, align 8
br label %68
37: ; preds = %32
%38 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %38, align 1
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %39, 4
br i1 %40, label %.lr.ph2, label %49
.lr.ph2: ; preds = %37
br label %41
41: ; preds = %.lr.ph2, %44
%42 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%43 = call i32 @strcat(ptr noundef %42, ptr noundef @.str)
br label %44
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp slt i32 %47, 4
br i1 %48, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %49
49: ; preds = %._crit_edge3, %37
store ptr null, ptr %10, align 8
%50 = load ptr, ptr %4, align 8
%51 = call i32 @strlen(ptr noundef %50)
%52 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%53 = call i32 @strlen(ptr noundef %52)
%54 = add nsw i32 %51, %53
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
store i64 %56, ptr %11, align 8
%57 = call ptr @malloc(i64 noundef %56)
store ptr %57, ptr %10, align 8
%58 = load ptr, ptr %10, align 8
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %61
60: ; preds = %49
store ptr null, ptr %3, align 8
br label %68
61: ; preds = %49
%62 = load ptr, ptr %10, align 8
%63 = load i64, ptr %11, align 8
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%66 = call i32 @snprintf(ptr noundef %62, i64 noundef %63, ptr noundef @.str.1, ptr noundef %64, ptr noundef %65)
%67 = load ptr, ptr %10, align 8
store ptr %67, ptr %3, align 8
br label %68
68: ; preds = %61, %60, %36
%69 = load ptr, ptr %3, align 8
ret ptr %69
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqlikc5rr.c'
source_filename = "/tmp/tmpqlikc5rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"+INF 7F800000\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"-INF FF800000\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"+NAN 0x%08x\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"-NAN 0x%08x\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%#.7g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Printfloat4(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = icmp eq i64 %7, 2139095040
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %5, align 4
br label %45
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = zext i32 %13 to i64
%15 = icmp eq i64 %14, 4286578688
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
store i32 %18, ptr %5, align 4
br label %44
19: ; preds = %12
%20 = load i32, ptr %4, align 4
%21 = zext i32 %20 to i64
%22 = and i64 %21, 4286578688
%23 = icmp eq i64 %22, 2139095040
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %25, ptr noundef @.str.2, i32 noundef %26)
store i32 %27, ptr %5, align 4
br label %43
28: ; preds = %19
%29 = load i32, ptr %4, align 4
%30 = zext i32 %29 to i64
%31 = and i64 %30, 4286578688
%32 = icmp eq i64 %31, 4286578688
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %4, align 4
%36 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.3, i32 noundef %35)
store i32 %36, ptr %5, align 4
br label %42
37: ; preds = %28
%38 = load ptr, ptr %3, align 8
%39 = load float, ptr %4, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.4, double noundef %40)
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %37, %33
br label %43
43: ; preds = %42, %24
br label %44
44: ; preds = %43, %16
br label %45
45: ; preds = %44, %9
%46 = load i32, ptr %5, align 4
ret i32 %46
}
declare i32 @sprintf(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/tmpqlikc5rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"+INF 7F800000\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"-INF FF800000\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"+NAN 0x%08x\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"-NAN 0x%08x\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%#.7g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Printfloat4(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = icmp eq i64 %7, 2139095040
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %5, align 4
br label %45
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = zext i32 %13 to i64
%15 = icmp eq i64 %14, 4286578688
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
store i32 %18, ptr %5, align 4
br label %44
19: ; preds = %12
%20 = load i32, ptr %4, align 4
%21 = zext i32 %20 to i64
%22 = and i64 %21, 4286578688
%23 = icmp eq i64 %22, 2139095040
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %25, ptr noundef @.str.2, i32 noundef %26)
store i32 %27, ptr %5, align 4
br label %43
28: ; preds = %19
%29 = load i32, ptr %4, align 4
%30 = zext i32 %29 to i64
%31 = and i64 %30, 4286578688
%32 = icmp eq i64 %31, 4286578688
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %4, align 4
%36 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.3, i32 noundef %35)
store i32 %36, ptr %5, align 4
br label %42
37: ; preds = %28
%38 = load ptr, ptr %3, align 8
%39 = load float, ptr %4, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.4, double noundef %40)
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %37, %33
br label %43
43: ; preds = %42, %24
br label %44
44: ; preds = %43, %16
br label %45
45: ; preds = %44, %9
%46 = load i32, ptr %5, align 4
ret i32 %46
}
declare i32 @sprintf(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/tmpgkxoq339.c'
source_filename = "/tmp/tmpgkxoq339.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"Warning: truncating message to 2048 bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @escape_text(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp sgt i32 %7, 2048
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2047
store i8 0, ptr %13, align 1
br label %14
14: ; preds = %9, %1
%15 = load ptr, ptr %2, align 8
%16 = call ptr @strdup(ptr noundef %15)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %18
18: ; preds = %40, %14
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %22, label %43
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %32 [
i32 123, label %26
i32 125, label %26
i32 92, label %26
i32 34, label %26
]
26: ; preds = %22, %22, %22, %22
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 92, ptr %31, align 1
br label %32
32: ; preds = %22, %26
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 %34, ptr %39, align 1
br label %40
40: ; preds = %32
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load ptr, ptr %4, align 8
%49 = call i32 @free(ptr noundef %48)
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @strdup(ptr 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/tmpgkxoq339.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"Warning: truncating message to 2048 bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @escape_text(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp sgt i32 %7, 2048
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2047
store i8 0, ptr %13, align 1
br label %14
14: ; preds = %9, %1
%15 = load ptr, ptr %2, align 8
%16 = call ptr @strdup(ptr noundef %15)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %.lr.ph, label %45
.lr.ph: ; preds = %14
br label %21
21: ; preds = %.lr.ph, %39
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
switch i32 %24, label %31 [
i32 123, label %25
i32 125, label %25
i32 92, label %25
i32 34, label %25
]
25: ; preds = %21, %21, %21, %21
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
store i8 92, ptr %30, align 1
br label %31
31: ; preds = %25, %21
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %31
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %14
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %4, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @strdup(ptr 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 = '/tmp/tmphvwcgmt2.c'
source_filename = "/tmp/tmphvwcgmt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bintol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %25, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
store i8 %7, ptr %4, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 49
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 48
br label %14
14: ; preds = %10, %5
%15 = phi i1 [ true, %5 ], [ %13, %10 ]
br i1 %15, label %16, label %28
16: ; preds = %14
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %17, 2
store i32 %18, ptr %3, align 4
%19 = load i8, ptr %4, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 49
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %22, %16
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %2, align 8
br label %5, !llvm.loop !6
28: ; preds = %14
%29 = load i32, ptr %3, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphvwcgmt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bintol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %25, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
store i8 %7, ptr %4, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 49
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 48
br label %14
14: ; preds = %10, %5
%15 = phi i1 [ true, %5 ], [ %13, %10 ]
br i1 %15, label %16, label %28
16: ; preds = %14
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %17, 2
store i32 %18, ptr %3, align 4
%19 = load i8, ptr %4, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 49
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %22, %16
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %2, align 8
br label %5, !llvm.loop !6
28: ; preds = %14
%29 = load i32, ptr %3, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwz3e_trx.c'
source_filename = "/tmp/tmpwz3e_trx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"\0A--------< Print prime numbers: >--------\0A\0AEnter numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0Athere are %d prime numbers from 0 to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @primoate() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %38, %0
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %41
13: ; preds = %9
store i32 0, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = sdiv i32 %14, 2
store i32 %15, ptr %2, align 4
store i32 2, ptr %4, align 4
br label %16
16: ; preds = %26, %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = srem i32 %21, %22
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %20
store i32 1, ptr %5, align 4
br label %29
26: ; preds = %20
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %16, !llvm.loop !6
29: ; preds = %25, %16
%30 = load i32, ptr %5, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %32, %29
br label %38
38: ; preds = %37
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %9, !llvm.loop !8
41: ; preds = %9
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %1, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42, i32 noundef %43)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %1, align 4
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwz3e_trx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"\0A--------< Print prime numbers: >--------\0A\0AEnter numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0Athere are %d prime numbers from 0 to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @primoate() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
store i32 1, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph1, label %45
.lr.ph1: ; preds = %0
br label %12
12: ; preds = %.lr.ph1, %39
store i32 0, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = sdiv i32 %13, 2
store i32 %14, ptr %2, align 4
store i32 2, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %24
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = srem i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 1, ptr %5, align 4
br label %30
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %18, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %30
30: ; preds = %.loopexit, %23
%31 = load i32, ptr %5, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load i32, ptr %3, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %33, %30
br label %39
39: ; preds = %38
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %1, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %0
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %1, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46, i32 noundef %47)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %1, align 4
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw36080if.c'
source_filename = "/tmp/tmpw36080if.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { i32, ptr, i64, i32, i32, ptr, ptr, i32 }
@AF_UNSPEC = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [68 x i8] c"[%d] Please input an appropriate proxy port or IP address!\0A\0D (%s)\0D\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"[%d] failed to create socket (%m)!\0D\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [47 x i8] c"[%d] failed to setsockopt--listenfd:%d (%m)!\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"[%d] failed to bind--listenfd:%d (%m)!\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"[%d] failed to listen --listenfd:%d (%m)!\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"[%d] failed to bind socket to proxy_port(%m)!\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_listenfd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.addrinfo, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %8, align 4
%9 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 56)
%10 = load i32, ptr @AF_UNSPEC, align 4
%11 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 4
store i32 %10, ptr %11, align 4
%12 = load i32, ptr @AI_PASSIVE, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 7
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 3
store i32 %14, ptr %15, align 8
%16 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 2
store i64 0, ptr %16, align 8
%17 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 6
store ptr null, ptr %17, align 8
%18 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 1
store ptr null, ptr %18, align 8
%19 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 5
store ptr null, ptr %19, align 8
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @getaddrinfo(ptr noundef %22, ptr noundef %25, ptr noundef %3, ptr noundef %4)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp ne i32 0, %27
br i1 %28, label %29, label %36
29: ; preds = %1
%30 = load i32, ptr @LOG_ERR, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @gai_strerror(i32 noundef %31)
%33 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %30, ptr noundef @.str, i32 noundef 324, i32 noundef %32)
%34 = load i32, ptr @EXIT_FAILURE, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %1
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %5, align 8
br label %38
38: ; preds = %97, %36
%39 = load ptr, ptr %5, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %101
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 4
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 3
%47 = load i32, ptr %46, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 2
%50 = load i64, ptr %49, align 8
%51 = call i32 @socket(i32 noundef %44, i32 noundef %47, i64 noundef %50)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp eq i32 -1, %52
br i1 %53, label %54, label %57
54: ; preds = %41
%55 = load i32, ptr @LOG_ERR, align 4
%56 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %55, ptr noundef @.str.1, i32 noundef 332)
br label %97
57: ; preds = %41
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr @SOL_SOCKET, align 4
%60 = load i32, ptr @SO_REUSEADDR, align 4
%61 = call i32 @setsockopt(i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %8, i32 noundef 4)
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = icmp eq i32 -1, %62
br i1 %63, label %64, label %70
64: ; preds = %57
%65 = load i32, ptr @LOG_ERR, align 4
%66 = load i32, ptr %7, align 4
%67 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %65, ptr noundef @.str.2, i32 noundef 338, i32 noundef %66)
%68 = load i32, ptr %7, align 4
%69 = call i32 @close(i32 noundef %68)
br label %97
70: ; preds = %57
%71 = load i32, ptr %7, align 4
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 1
%74 = load ptr, ptr %73, align 8
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds %struct.addrinfo, ptr %75, i32 0, i32 0
%77 = load i32, ptr %76, align 8
%78 = call i32 @bind(i32 noundef %71, ptr noundef %74, i32 noundef %77)
%79 = icmp eq i32 -1, %78
br i1 %79, label %80, label %86
80: ; preds = %70
%81 = load i32, ptr @LOG_ERR, align 4
%82 = load i32, ptr %7, align 4
%83 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %81, ptr noundef @.str.3, i32 noundef 344, i32 noundef %82)
%84 = load i32, ptr %7, align 4
%85 = call i32 @close(i32 noundef %84)
br label %97
86: ; preds = %70
%87 = load i32, ptr %7, align 4
%88 = call i64 @listen(i32 noundef %87, i32 noundef 50)
%89 = icmp eq i64 0, %88
br i1 %89, label %90, label %91
90: ; preds = %86
br label %101
91: ; preds = %86
%92 = load i32, ptr @LOG_ERR, align 4
%93 = load i32, ptr %7, align 4
%94 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %92, ptr noundef @.str.4, i32 noundef 352, i32 noundef %93)
%95 = load i32, ptr %7, align 4
%96 = call i32 @close(i32 noundef %95)
br label %97
97: ; preds = %91, %80, %64, %54
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds %struct.addrinfo, ptr %98, i32 0, i32 5
%100 = load ptr, ptr %99, align 8
store ptr %100, ptr %5, align 8
br label %38, !llvm.loop !6
101: ; preds = %90, %38
%102 = load ptr, ptr %4, align 8
%103 = call i32 @freeaddrinfo(ptr noundef %102)
%104 = load ptr, ptr %5, align 8
%105 = icmp eq ptr null, %104
br i1 %105, label %106, label %111
106: ; preds = %101
%107 = load i32, ptr @LOG_ERR, align 4
%108 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %107, ptr noundef @.str.5, i32 noundef 360)
%109 = load i32, ptr @EXIT_FAILURE, align 4
%110 = call i32 @exit(i32 noundef %109) #3
unreachable
111: ; preds = %101
%112 = load i32, ptr %7, align 4
ret i32 %112
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @gai_strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw36080if.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { i32, ptr, i64, i32, i32, ptr, ptr, i32 }
@AF_UNSPEC = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [68 x i8] c"[%d] Please input an appropriate proxy port or IP address!\0A\0D (%s)\0D\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"[%d] failed to create socket (%m)!\0D\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [47 x i8] c"[%d] failed to setsockopt--listenfd:%d (%m)!\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"[%d] failed to bind--listenfd:%d (%m)!\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"[%d] failed to listen --listenfd:%d (%m)!\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"[%d] failed to bind socket to proxy_port(%m)!\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_listenfd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.addrinfo, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %8, align 4
%9 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 56)
%10 = load i32, ptr @AF_UNSPEC, align 4
%11 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 4
store i32 %10, ptr %11, align 4
%12 = load i32, ptr @AI_PASSIVE, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 7
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 3
store i32 %14, ptr %15, align 8
%16 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 2
store i64 0, ptr %16, align 8
%17 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 6
store ptr null, ptr %17, align 8
%18 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 1
store ptr null, ptr %18, align 8
%19 = getelementptr inbounds %struct.addrinfo, ptr %3, i32 0, i32 5
store ptr null, ptr %19, align 8
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @getaddrinfo(ptr noundef %22, ptr noundef %25, ptr noundef %3, ptr noundef %4)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp ne i32 0, %27
br i1 %28, label %29, label %36
29: ; preds = %1
%30 = load i32, ptr @LOG_ERR, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @gai_strerror(i32 noundef %31)
%33 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %30, ptr noundef @.str, i32 noundef 324, i32 noundef %32)
%34 = load i32, ptr @EXIT_FAILURE, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %1
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %5, align 8
%38 = load ptr, ptr %5, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %36
br label %40
40: ; preds = %.lr.ph, %96
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds %struct.addrinfo, ptr %41, i32 0, i32 4
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds %struct.addrinfo, ptr %44, i32 0, i32 3
%46 = load i32, ptr %45, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 2
%49 = load i64, ptr %48, align 8
%50 = call i32 @socket(i32 noundef %43, i32 noundef %46, i64 noundef %49)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 -1, %51
br i1 %52, label %53, label %56
53: ; preds = %40
%54 = load i32, ptr @LOG_ERR, align 4
%55 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %54, ptr noundef @.str.1, i32 noundef 332)
br label %96
56: ; preds = %40
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr @SOL_SOCKET, align 4
%59 = load i32, ptr @SO_REUSEADDR, align 4
%60 = call i32 @setsockopt(i32 noundef %57, i32 noundef %58, i32 noundef %59, ptr noundef %8, i32 noundef 4)
store i32 %60, ptr %6, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp eq i32 -1, %61
br i1 %62, label %63, label %69
63: ; preds = %56
%64 = load i32, ptr @LOG_ERR, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %64, ptr noundef @.str.2, i32 noundef 338, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = call i32 @close(i32 noundef %67)
br label %96
69: ; preds = %56
%70 = load i32, ptr %7, align 4
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds %struct.addrinfo, ptr %71, i32 0, i32 1
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds %struct.addrinfo, ptr %74, i32 0, i32 0
%76 = load i32, ptr %75, align 8
%77 = call i32 @bind(i32 noundef %70, ptr noundef %73, i32 noundef %76)
%78 = icmp eq i32 -1, %77
br i1 %78, label %79, label %85
79: ; preds = %69
%80 = load i32, ptr @LOG_ERR, align 4
%81 = load i32, ptr %7, align 4
%82 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %80, ptr noundef @.str.3, i32 noundef 344, i32 noundef %81)
%83 = load i32, ptr %7, align 4
%84 = call i32 @close(i32 noundef %83)
br label %96
85: ; preds = %69
%86 = load i32, ptr %7, align 4
%87 = call i64 @listen(i32 noundef %86, i32 noundef 50)
%88 = icmp eq i64 0, %87
br i1 %88, label %89, label %90
89: ; preds = %85
br label %102
90: ; preds = %85
%91 = load i32, ptr @LOG_ERR, align 4
%92 = load i32, ptr %7, align 4
%93 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %91, ptr noundef @.str.4, i32 noundef 352, i32 noundef %92)
%94 = load i32, ptr %7, align 4
%95 = call i32 @close(i32 noundef %94)
br label %96
96: ; preds = %90, %79, %63, %53
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds %struct.addrinfo, ptr %97, i32 0, i32 5
%99 = load ptr, ptr %98, align 8
store ptr %99, ptr %5, align 8
%100 = load ptr, ptr %5, align 8
%101 = icmp ne ptr %100, null
br i1 %101, label %40, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %96
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %36
br label %102
102: ; preds = %.loopexit, %89
%103 = load ptr, ptr %4, align 8
%104 = call i32 @freeaddrinfo(ptr noundef %103)
%105 = load ptr, ptr %5, align 8
%106 = icmp eq ptr null, %105
br i1 %106, label %107, label %112
107: ; preds = %102
%108 = load i32, ptr @LOG_ERR, align 4
%109 = call i32 (i32, ptr, i32, ...) @syslog(i32 noundef %108, ptr noundef @.str.5, i32 noundef 360)
%110 = load i32, ptr @EXIT_FAILURE, align 4
%111 = call i32 @exit(i32 noundef %110) #3
unreachable
112: ; preds = %102
%113 = load i32, ptr %7, align 4
ret i32 %113
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @gai_strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcq_7hlsa.c'
source_filename = "/tmp/tmpcq_7hlsa.c"
target datalayout = "e-m:e-p270: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/tmpcq_7hlsa.c"
target datalayout = "e-m:e-p270: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/tmpzhxic344.c'
source_filename = "/tmp/tmpzhxic344.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_fsopen = 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/tmpzhxic344.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_fsopen = 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/tmps9mjkn57.c'
source_filename = "/tmp/tmps9mjkn57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sorter_merge_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ule i64 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %25
9: ; preds = %2
%10 = load i64, ptr %4, align 8
%11 = icmp ule i64 %10, 16
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %4, align 8
%15 = call i32 @sorter_binary_insertion_sort(ptr noundef %13, i64 noundef %14)
br label %25
16: ; preds = %9
%17 = load i64, ptr %4, align 8
%18 = call ptr @sorter_sort_new_buffer(i64 noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @sorter_merge_sort_recursive(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @sorter_sort_delete_buffer(ptr noundef %23)
br label %25
25: ; preds = %16, %12, %8
ret void
}
declare i32 @sorter_binary_insertion_sort(ptr noundef, i64 noundef) #1
declare ptr @sorter_sort_new_buffer(i64 noundef) #1
declare i32 @sorter_merge_sort_recursive(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sorter_sort_delete_buffer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9mjkn57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sorter_merge_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ule i64 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %25
9: ; preds = %2
%10 = load i64, ptr %4, align 8
%11 = icmp ule i64 %10, 16
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %4, align 8
%15 = call i32 @sorter_binary_insertion_sort(ptr noundef %13, i64 noundef %14)
br label %25
16: ; preds = %9
%17 = load i64, ptr %4, align 8
%18 = call ptr @sorter_sort_new_buffer(i64 noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @sorter_merge_sort_recursive(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @sorter_sort_delete_buffer(ptr noundef %23)
br label %25
25: ; preds = %16, %12, %8
ret void
}
declare i32 @sorter_binary_insertion_sort(ptr noundef, i64 noundef) #1
declare ptr @sorter_sort_new_buffer(i64 noundef) #1
declare i32 @sorter_merge_sort_recursive(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sorter_sort_delete_buffer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpix26xds8.c'
source_filename = "/tmp/tmpix26xds8.c"
target datalayout = "e-m:e-p270: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/tmpix26xds8.c"
target datalayout = "e-m:e-p270: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/tmpgcjxx31l.c'
source_filename = "/tmp/tmpgcjxx31l.c"
target datalayout = "e-m:e-p270: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/tmpgcjxx31l.c"
target datalayout = "e-m:e-p270: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/tmp6h4giwvk.c'
source_filename = "/tmp/tmp6h4giwvk.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, i32, i32 }
%struct.dma = type { i32, i32, i32 }
@.str = private unnamed_addr constant [24 x i8] c"Dia:%d, Mes:%d, Ano:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.anon, align 4
%2 = alloca %struct.dma, align 4
%3 = alloca ptr, align 8
%4 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 0
store i32 31, ptr %4, align 4
%5 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 1
store i32 12, ptr %5, align 4
%6 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 2
store i32 2013, ptr %6, align 4
store ptr %2, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.dma, ptr %7, i32 0, i32 0
store i32 31, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.dma, ptr %9, i32 0, i32 1
store i32 12, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.dma, ptr %11, i32 0, i32 2
store i32 2013, ptr %12, align 4
%13 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 2
%18 = load i32, ptr %17, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %16, i32 noundef %18)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6h4giwvk.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, i32, i32 }
%struct.dma = type { i32, i32, i32 }
@.str = private unnamed_addr constant [24 x i8] c"Dia:%d, Mes:%d, Ano:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.anon, align 4
%2 = alloca %struct.dma, align 4
%3 = alloca ptr, align 8
%4 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 0
store i32 31, ptr %4, align 4
%5 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 1
store i32 12, ptr %5, align 4
%6 = getelementptr inbounds %struct.anon, ptr %1, i32 0, i32 2
store i32 2013, ptr %6, align 4
store ptr %2, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.dma, ptr %7, i32 0, i32 0
store i32 31, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.dma, ptr %9, i32 0, i32 1
store i32 12, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.dma, ptr %11, i32 0, i32 2
store i32 2013, ptr %12, align 4
%13 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = getelementptr inbounds %struct.dma, ptr %2, i32 0, i32 2
%18 = load i32, ptr %17, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %16, i32 noundef %18)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplme3y1ke.c'
source_filename = "/tmp/tmplme3y1ke.c"
target datalayout = "e-m:e-p270: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/tmplme3y1ke.c"
target datalayout = "e-m:e-p270: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/tmpr10yol35.c'
source_filename = "/tmp/tmpr10yol35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_166(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i64 @l_dim(ptr noundef %3, ptr noundef %4)
ret i64 %5
}
declare i64 @l_dim(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/tmpr10yol35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_166(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i64 @l_dim(ptr noundef %3, ptr noundef %4)
ret i64 %5
}
declare i64 @l_dim(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/tmpd7hl53e_.c'
source_filename = "/tmp/tmpd7hl53e_.c"
target datalayout = "e-m:e-p270: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 [186 x i8] c"usage: %1$s info <device>\0A %1$s read <device> <offset> <len> <dest-filename>\0A %1$s write <device> <offset> <len> <source-filename>\0A %1$s erase <device> <offset> <len>\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"mtd_debug\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showusage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7hl53e_.c"
target datalayout = "e-m:e-p270: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 [186 x i8] c"usage: %1$s info <device>\0A %1$s read <device> <offset> <len> <dest-filename>\0A %1$s write <device> <offset> <len> <source-filename>\0A %1$s erase <device> <offset> <len>\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"mtd_debug\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showusage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp925umgpe.c'
source_filename = "/tmp/tmp925umgpe.c"
target datalayout = "e-m:e-p270: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/tmp925umgpe.c"
target datalayout = "e-m:e-p270: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/tmpg51_3ls4.c'
source_filename = "/tmp/tmpg51_3ls4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"DIFERENCA = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = sub nsw i32 %9, %12
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg51_3ls4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"DIFERENCA = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = sub nsw i32 %9, %12
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdjz5h0zw.c'
source_filename = "/tmp/tmpdjz5h0zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_msg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdjz5h0zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_msg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzbjcpyec.c'
source_filename = "/tmp/tmpzbjcpyec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VTALRM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_vtalrm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzbjcpyec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VTALRM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_vtalrm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe90gv5mj.c'
source_filename = "/tmp/tmpe90gv5mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"akuGQ\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"blvIS\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"EOYcmw\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"FPZdnx\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"JTeoy\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"DNXfpz\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"AKUgq\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"CMWhr\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"BLVis\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"HRjt\00", align 1
@__const.main.grupos = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.11 = 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 [13 x i8], align 1
%3 = alloca [101 x i8], align 16
%4 = alloca [10 x ptr], align 16
%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 i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.grupos, i64 80, i1 false)
store i32 3, ptr %5, align 4
%11 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %5)
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %107, %0
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %110
16: ; preds = %12
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @setbuf(i32 noundef %17, ptr noundef null)
%19 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @fgets(ptr noundef %19, i32 noundef 100, i32 noundef %20)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %22
22: ; preds = %98, %16
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 12
br i1 %24, label %25, label %39
25: ; preds = %22
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %25
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 10
br label %39
39: ; preds = %32, %25, %22
%40 = phi i1 [ false, %25 ], [ false, %22 ], [ %38, %32 ]
br i1 %40, label %41, label %101
41: ; preds = %39
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 32
br i1 %47, label %48, label %97
48: ; preds = %41
store i32 0, ptr %9, align 4
br label %49
49: ; preds = %93, %48
%50 = load i32, ptr %9, align 4
%51 = icmp slt i32 %50, 10
br i1 %51, label %52, label %96
52: ; preds = %49
store i32 0, ptr %10, align 4
br label %53
53: ; preds = %89, %52
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %92
64: ; preds = %53
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %10, 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 eq i32 %69, %78
br i1 %79, label %80, label %88
80: ; preds = %64
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %81, 48
%83 = trunc i32 %82 to i8
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %7, align 4
%86 = sext i32 %84 to i64
%87 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 %86
store i8 %83, ptr %87, align 1
store i32 10, ptr %9, align 4
br label %92
88: ; preds = %64
br label %89
89: ; preds = %88
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
br label %53, !llvm.loop !6
92: ; preds = %80, %53
br label %93
93: ; preds = %92
%94 = load i32, ptr %9, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %9, align 4
br label %49, !llvm.loop !8
96: ; preds = %49
br label %97
97: ; preds = %96, %41
br label %98
98: ; preds = %97
%99 = load i32, ptr %8, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %8, align 4
br label %22, !llvm.loop !9
101: ; preds = %39
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 %103
store i8 0, ptr %104, align 1
%105 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0
%106 = call i32 @printf(ptr noundef @.str.11, ptr noundef %105)
br label %107
107: ; preds = %101
%108 = load i32, ptr %6, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %6, align 4
br label %12, !llvm.loop !10
110: ; preds = %12
%111 = load i32, ptr %1, align 4
ret i32 %111
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe90gv5mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"akuGQ\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"blvIS\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"EOYcmw\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"FPZdnx\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"JTeoy\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"DNXfpz\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"AKUgq\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"CMWhr\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"BLVis\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"HRjt\00", align 1
@__const.main.grupos = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.11 = 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 [13 x i8], align 1
%3 = alloca [101 x i8], align 16
%4 = alloca [10 x ptr], align 16
%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 i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.grupos, i64 80, i1 false)
store i32 3, ptr %5, align 4
%11 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %5)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph3, label %122
.lr.ph3: ; preds = %0
br label %15
15: ; preds = %.lr.ph3, %116
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @setbuf(i32 noundef %16, ptr noundef null)
%18 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 100, i32 noundef %19)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %21
21: ; preds = %107, %15
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 12
br i1 %23, label %24, label %38
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %24
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 10
br label %38
38: ; preds = %31, %24, %21
%39 = phi i1 [ false, %24 ], [ false, %21 ], [ %37, %31 ]
br i1 %39, label %40, label %110
40: ; preds = %38
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 32
br i1 %46, label %47, label %106
47: ; preds = %40
store i32 0, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 10
br i1 %49, label %.lr.ph1, label %105
.lr.ph1: ; preds = %47
br label %50
50: ; preds = %.lr.ph1, %100
store i32 0, ptr %10, align 4
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 0
br i1 %60, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %50
br label %61
61: ; preds = %.lr.ph, %86
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %66, %75
br i1 %76, label %77, label %85
77: ; preds = %61
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 48
%80 = trunc i32 %79 to i8
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 %83
store i8 %80, ptr %84, align 1
store i32 10, ptr %9, align 4
br label %99
85: ; preds = %61
br label %86
86: ; preds = %85
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %10, align 4
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %10, 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 ne i32 %97, 0
br i1 %98, label %61, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %86
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %50
br label %99
99: ; preds = %.loopexit, %77
br label %100
100: ; preds = %99
%101 = load i32, ptr %9, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %9, align 4
%103 = load i32, ptr %9, align 4
%104 = icmp slt i32 %103, 10
br i1 %104, label %50, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %100
br label %105
105: ; preds = %._crit_edge, %47
br label %106
106: ; preds = %105, %40
br label %107
107: ; preds = %106
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %8, align 4
br label %21, !llvm.loop !9
110: ; preds = %38
%111 = load i32, ptr %7, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 %112
store i8 0, ptr %113, align 1
%114 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0
%115 = call i32 @printf(ptr noundef @.str.11, ptr noundef %114)
br label %116
116: ; preds = %110
%117 = load i32, ptr %6, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %6, align 4
%119 = load i32, ptr %6, align 4
%120 = load i32, ptr %5, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %15, label %._crit_edge4, !llvm.loop !10
._crit_edge4: ; preds = %116
br label %122
122: ; preds = %._crit_edge4, %0
%123 = load i32, ptr %1, align 4
ret i32 %123
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpwj54fb9j.c'
source_filename = "/tmp/tmpwj54fb9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_read_multprec_Laurent_system(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 570, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj54fb9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_read_multprec_Laurent_system(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 570, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8xj4rh4u.c'
source_filename = "/tmp/tmp8xj4rh4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"pid: %d child\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"read: %d byte\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"pid: %d parent\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"write %d byte\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [65536 x i8], align 16
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%8 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 65536, i1 false)
%10 = call i64 (...) @fork()
store i64 %10, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str)
br label %62
15: ; preds = %0
%16 = load i64, ptr %4, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %41
18: ; preds = %15
%19 = call i32 (...) @getpid()
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = getelementptr inbounds [65536 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 65536)
%23 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
br label %26
26: ; preds = %32, %18
%27 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%28 = load i32, ptr %27, align 4
%29 = getelementptr inbounds [65536 x i8], ptr %3, i64 0, i64 0
%30 = call i64 @read(i32 noundef %28, ptr noundef %29, i32 noundef 65536)
store i64 %30, ptr %5, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = load i64, ptr %5, align 8
%34 = trunc i64 %33 to i32
%35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %34)
br label %26, !llvm.loop !6
36: ; preds = %26
%37 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = call i32 @exit(i32 noundef 0) #4
unreachable
41: ; preds = %15
%42 = call i32 (...) @getpid()
%43 = call i32 @printf(ptr noundef @.str.3, i32 noundef %42)
%44 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%45 = load i32, ptr %44, align 4
%46 = call i32 @close(i32 noundef %45)
%47 = call i64 @calloc(i32 noundef 65536, i32 noundef 4)
%48 = inttoptr i64 %47 to ptr
store ptr %48, ptr %6, align 8
store i32 0, ptr %7, align 4
%49 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %6, align 8
%52 = call i32 @write(i32 noundef %50, ptr noundef %51, i32 noundef 262144)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = call i32 @printf(ptr noundef @.str.4, i32 noundef %53)
%55 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%56 = load i32, ptr %55, align 4
%57 = call i32 @close(i32 noundef %56)
%58 = load ptr, ptr %6, align 8
%59 = call i32 @free(ptr noundef %58)
br label %60
60: ; preds = %41
%61 = call i32 @wait(ptr noundef null)
store i32 0, ptr %1, align 4
br label %63
62: ; preds = %13
store i32 -1, ptr %1, align 4
br label %63
63: ; preds = %62, %60
%64 = load i32, ptr %1, align 4
ret i32 %64
}
; 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 @pipe(ptr noundef) #2
declare i64 @fork(...) #2
declare i32 @perror(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getpid(...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @calloc(i32 noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @wait(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xj4rh4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"pid: %d child\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"read: %d byte\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"pid: %d parent\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"write %d byte\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [65536 x i8], align 16
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%8 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 65536, i1 false)
%10 = call i64 (...) @fork()
store i64 %10, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str)
br label %64
15: ; preds = %0
%16 = load i64, ptr %4, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %43
18: ; preds = %15
%19 = call i32 (...) @getpid()
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = getelementptr inbounds [65536 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 65536)
%23 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = getelementptr inbounds [65536 x i8], ptr %3, i64 0, i64 0
%29 = call i64 @read(i32 noundef %27, ptr noundef %28, i32 noundef 65536)
store i64 %29, ptr %5, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %31
31: ; preds = %.lr.ph, %31
%32 = load i64, ptr %5, align 8
%33 = trunc i64 %32 to i32
%34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load i32, ptr %26, align 4
%36 = call i64 @read(i32 noundef %35, ptr noundef %28, i32 noundef 65536)
store i64 %36, ptr %5, align 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 @exit(i32 noundef 0) #4
unreachable
43: ; preds = %15
%44 = call i32 (...) @getpid()
%45 = call i32 @printf(ptr noundef @.str.3, i32 noundef %44)
%46 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%47 = load i32, ptr %46, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = call i64 @calloc(i32 noundef 65536, i32 noundef 4)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %6, align 8
store i32 0, ptr %7, align 4
%51 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %6, align 8
%54 = call i32 @write(i32 noundef %52, ptr noundef %53, i32 noundef 262144)
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = call i32 @printf(ptr noundef @.str.4, i32 noundef %55)
%57 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%58 = load i32, ptr %57, align 4
%59 = call i32 @close(i32 noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @free(ptr noundef %60)
br label %62
62: ; preds = %43
%63 = call i32 @wait(ptr noundef null)
store i32 0, ptr %1, align 4
br label %65
64: ; preds = %13
store i32 -1, ptr %1, align 4
br label %65
65: ; preds = %64, %62
%66 = load i32, ptr %1, align 4
ret i32 %66
}
; 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 @pipe(ptr noundef) #2
declare i64 @fork(...) #2
declare i32 @perror(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getpid(...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @calloc(i32 noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @wait(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9ixpt930.c'
source_filename = "/tmp/tmp9ixpt930.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_ctl_setup() #0 {
%1 = call i32 (...) @sig_tilde_setup()
%2 = call i32 (...) @line_tilde_setup()
%3 = call i32 (...) @vline_tilde_setup()
%4 = call i32 (...) @snapshot_tilde_setup()
%5 = call i32 (...) @vsnapshot_tilde_setup()
%6 = call i32 (...) @env_tilde_setup()
%7 = call i32 (...) @threshold_tilde_setup()
ret void
}
declare i32 @sig_tilde_setup(...) #1
declare i32 @line_tilde_setup(...) #1
declare i32 @vline_tilde_setup(...) #1
declare i32 @snapshot_tilde_setup(...) #1
declare i32 @vsnapshot_tilde_setup(...) #1
declare i32 @env_tilde_setup(...) #1
declare i32 @threshold_tilde_setup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ixpt930.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_ctl_setup() #0 {
%1 = call i32 (...) @sig_tilde_setup()
%2 = call i32 (...) @line_tilde_setup()
%3 = call i32 (...) @vline_tilde_setup()
%4 = call i32 (...) @snapshot_tilde_setup()
%5 = call i32 (...) @vsnapshot_tilde_setup()
%6 = call i32 (...) @env_tilde_setup()
%7 = call i32 (...) @threshold_tilde_setup()
ret void
}
declare i32 @sig_tilde_setup(...) #1
declare i32 @line_tilde_setup(...) #1
declare i32 @vline_tilde_setup(...) #1
declare i32 @snapshot_tilde_setup(...) #1
declare i32 @vsnapshot_tilde_setup(...) #1
declare i32 @env_tilde_setup(...) #1
declare i32 @threshold_tilde_setup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_rmwfctu.c'
source_filename = "/tmp/tmp_rmwfctu.c"
target datalayout = "e-m:e-p270: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_rmwfctu.c"
target datalayout = "e-m:e-p270: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/tmpoqrip0ud.c'
source_filename = "/tmp/tmpoqrip0ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: ./a.out group_addr group_port\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @errno, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqrip0ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: ./a.out group_addr group_port\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @errno, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgjayb2nm.c'
source_filename = "/tmp/tmpgjayb2nm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Proper Kernel PANIC comming soon! \0A\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
br label %2
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgjayb2nm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Proper Kernel PANIC comming soon! \0A\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
br label %2
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp99qvhg6u.c'
source_filename = "/tmp/tmp99qvhg6u.c"
target datalayout = "e-m:e-p270: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/tmp99qvhg6u.c"
target datalayout = "e-m:e-p270: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/tmp8dm3qv7j.c'
source_filename = "/tmp/tmp8dm3qv7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIPC_CMD_SET_LINK_TOL = 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/tmp8dm3qv7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIPC_CMD_SET_LINK_TOL = 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/tmpoerr30zt.c'
source_filename = "/tmp/tmpoerr30zt.c"
target datalayout = "e-m:e-p270: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/tmpoerr30zt.c"
target datalayout = "e-m:e-p270: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/tmp217y26me.c'
source_filename = "/tmp/tmp217y26me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Volevi usarlaaaa\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
br label %6
6: ; preds = %35, %2
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %40
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printxvowel(i8 noundef zeroext 97, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @printxvowel(i8 noundef zeroext 101, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @printxvowel(i8 noundef zeroext 105, ptr noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @printxvowel(i8 noundef zeroext 111, ptr noundef %29)
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i32 @printxvowel(i8 noundef zeroext 117, ptr noundef %33)
br label %35
35: ; preds = %14
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %4, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i32 1
store ptr %39, ptr %5, align 8
br label %6, !llvm.loop !6
40: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @printxvowel(i8 noundef zeroext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp217y26me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Volevi usarlaaaa\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %34
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printxvowel(i8 noundef zeroext 97, ptr noundef %16)
%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 @printxvowel(i8 noundef zeroext 101, ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @printxvowel(i8 noundef zeroext 105, ptr noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @printxvowel(i8 noundef zeroext 111, ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @printxvowel(i8 noundef zeroext 117, ptr noundef %32)
br label %34
34: ; preds = %13
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %4, align 4
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load i32, ptr %4, align 4
%40 = icmp sgt i32 %39, 1
br i1 %40, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @printxvowel(i8 noundef zeroext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpowulf7if.c'
source_filename = "/tmp/tmpowulf7if.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [58 x i8] c"forks = %d, dupes per fork = %d, total = %d, dup_pipe=%d\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"[+] started sd=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"pipe\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"received. fd=%d, procnum=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca [2 x i32], align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1025, ptr %8, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %27, 1
br i1 %28, label %29, label %41
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %29
%37 = load i32, ptr %6, align 4
%38 = icmp sgt i32 %37, 1000000
br i1 %38, label %39, label %40
39: ; preds = %36, %29
store i32 0, ptr %6, align 4
br label %40
40: ; preds = %39, %36
br label %41
41: ; preds = %40, %2
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 2
br i1 %43, label %44, label %56
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 2
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %44
%52 = load i32, ptr %7, align 4
%53 = icmp sgt i32 %52, 10000
br i1 %53, label %54, label %55
54: ; preds = %51, %44
store i32 1, ptr %7, align 4
br label %55
55: ; preds = %54, %51
br label %56
56: ; preds = %55, %41
store i32 0, ptr %9, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %57, 3
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 1, ptr %9, align 4
br label %60
60: ; preds = %59, %56
%61 = load i32, ptr @stderr, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %9, align 4
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str, i32 noundef %62, i32 noundef %63, i32 noundef %66, i32 noundef %67)
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 4, %70
%72 = trunc i64 %71 to i32
%73 = call ptr @calloc(i32 noundef 1, i32 noundef %72)
store ptr %73, ptr %10, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = mul i64 4, %75
%77 = trunc i64 %76 to i32
%78 = call ptr @calloc(i32 noundef 1, i32 noundef %77)
store ptr %78, ptr %11, align 8
%79 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12)
%80 = load i32, ptr @AF_INET, align 4
%81 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2
store i32 %80, ptr %81, align 4
%82 = load i32, ptr %8, align 4
%83 = call i32 @htons(i32 noundef %82)
%84 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1
store i32 %83, ptr %84, align 4
%85 = load i32, ptr @AF_INET, align 4
%86 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0
%87 = call i32 @inet_pton(i32 noundef %85, ptr noundef @.str.1, ptr noundef %86)
store ptr %12, ptr %13, align 8
store i32 12, ptr %14, align 4
%88 = load i32, ptr @PF_INET, align 4
%89 = load i32, ptr @SOCK_STREAM, align 4
%90 = load i32, ptr @IPPROTO_TCP, align 4
%91 = call i32 @socket(i32 noundef %88, i32 noundef %89, i32 noundef %90)
store i32 %91, ptr %15, align 4
store i32 1, ptr %16, align 4
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr @SOL_SOCKET, align 4
%94 = load i32, ptr @SO_REUSEADDR, align 4
%95 = call i32 @setsockopt(i32 noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %16, i32 noundef 4)
%96 = load i32, ptr %15, align 4
%97 = load ptr, ptr %13, align 8
%98 = load i32, ptr %14, align 4
%99 = call i32 @bind(i32 noundef %96, ptr noundef %97, i32 noundef %98)
%100 = load i32, ptr %15, align 4
%101 = call i32 @listen(i32 noundef %100, i32 noundef 128)
%102 = load i32, ptr %15, align 4
%103 = load i32, ptr @F_GETFL, align 4
%104 = call i32 @fcntl(i32 noundef %102, i32 noundef %103, i32 noundef 0)
store i32 %104, ptr %17, align 4
%105 = load i32, ptr %15, align 4
%106 = load i32, ptr @F_SETFL, align 4
%107 = load i32, ptr %17, align 4
%108 = load i32, ptr @O_NONBLOCK, align 4
%109 = or i32 %107, %108
%110 = call i32 @fcntl(i32 noundef %105, i32 noundef %106, i32 noundef %109)
%111 = load i32, ptr %15, align 4
%112 = load ptr, ptr %10, align 8
%113 = getelementptr inbounds i32, ptr %112, i64 0
store i32 %111, ptr %113, align 4
store i32 0, ptr %18, align 4
br label %114
114: ; preds = %129, %60
%115 = load i32, ptr %18, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %132
118: ; preds = %114
%119 = call i32 (...) @fork()
store i32 %119, ptr %19, align 4
%120 = load i32, ptr %19, align 4
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %118
br label %132
123: ; preds = %118
%124 = load i32, ptr %19, align 4
%125 = load ptr, ptr %11, align 8
%126 = load i32, ptr %18, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
store i32 %124, ptr %128, align 4
br label %129
129: ; preds = %123
%130 = load i32, ptr %18, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %18, align 4
br label %114, !llvm.loop !6
132: ; preds = %122, %114
%133 = load i32, ptr %18, align 4
store i32 %133, ptr %20, align 4
%134 = load i32, ptr %18, align 4
%135 = load i32, ptr %6, align 4
%136 = icmp eq i32 %134, %135
br i1 %136, label %137, label %145
137: ; preds = %132
%138 = load i32, ptr @stderr, align 4
%139 = load ptr, ptr %10, align 8
%140 = getelementptr inbounds i32, ptr %139, i64 0
%141 = load i32, ptr %140, align 4
%142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.2, i32 noundef %141)
br label %143
143: ; preds = %137, %143
%144 = call i32 @sleep(i32 noundef 100)
br label %143
145: ; preds = %132
%146 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%147 = call i32 @pipe(ptr noundef %146)
store i32 %147, ptr %22, align 4
%148 = load i32, ptr %22, align 4
%149 = icmp slt i32 %148, 0
br i1 %149, label %150, label %152
150: ; preds = %145
%151 = call i32 @perror(ptr noundef @.str.3)
br label %152
152: ; preds = %150, %145
store i32 1, ptr %18, align 4
br label %153
153: ; preds = %178, %152
%154 = load i32, ptr %18, align 4
%155 = load i32, ptr %7, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %157, label %181
157: ; preds = %153
%158 = load i32, ptr %9, align 4
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %168
160: ; preds = %157
%161 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%162 = load i32, ptr %161, align 4
%163 = call i32 @dup(i32 noundef %162)
%164 = load ptr, ptr %10, align 8
%165 = load i32, ptr %18, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i32, ptr %164, i64 %166
store i32 %163, ptr %167, align 4
br label %177
168: ; preds = %157
%169 = load ptr, ptr %10, align 8
%170 = getelementptr inbounds i32, ptr %169, i64 0
%171 = load i32, ptr %170, align 4
%172 = call i32 @dup(i32 noundef %171)
%173 = load ptr, ptr %10, align 8
%174 = load i32, ptr %18, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i32, ptr %173, i64 %175
store i32 %172, ptr %176, align 4
br label %177
177: ; preds = %168, %160
br label %178
178: ; preds = %177
%179 = load i32, ptr %18, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %18, align 4
br label %153, !llvm.loop !8
181: ; preds = %153
br label %182
182: ; preds = %181, %237
%183 = call i32 @FD_ZERO(ptr noundef %23)
store i32 0, ptr %18, align 4
br label %184
184: ; preds = %196, %182
%185 = load i32, ptr %18, align 4
%186 = load i32, ptr %7, align 4
%187 = icmp slt i32 %185, %186
br i1 %187, label %188, label %199
188: ; preds = %184
%189 = load ptr, ptr %10, align 8
%190 = load i32, ptr %18, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i32, ptr %189, i64 %191
%193 = load i32, ptr %192, align 4
store i32 %193, ptr %24, align 4
%194 = load i32, ptr %24, align 4
%195 = call i32 @FD_SET(i32 noundef %194, ptr noundef %23)
br label %196
196: ; preds = %188
%197 = load i32, ptr %18, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %18, align 4
br label %184, !llvm.loop !9
199: ; preds = %184
%200 = load ptr, ptr %10, align 8
%201 = load i32, ptr %7, align 4
%202 = sub nsw i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i32, ptr %200, i64 %203
%205 = load i32, ptr %204, align 4
%206 = add nsw i32 %205, 1
%207 = call i32 @select(i32 noundef %206, ptr noundef %23, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 0, ptr %18, align 4
br label %208
208: ; preds = %234, %199
%209 = load i32, ptr %18, align 4
%210 = load i32, ptr %7, align 4
%211 = icmp slt i32 %209, %210
br i1 %211, label %212, label %237
212: ; preds = %208
%213 = load ptr, ptr %10, align 8
%214 = load i32, ptr %18, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i32, ptr %213, i64 %215
%217 = load i32, ptr %216, align 4
store i32 %217, ptr %25, align 4
%218 = load i32, ptr %25, align 4
%219 = call i64 @FD_ISSET(i32 noundef %218, ptr noundef %23)
%220 = icmp ne i64 %219, 0
br i1 %220, label %221, label %233
221: ; preds = %212
%222 = load i32, ptr %25, align 4
%223 = call i32 @accept(i32 noundef %222, ptr noundef null, i32 noundef 0)
store i32 %223, ptr %26, align 4
%224 = load i32, ptr %26, align 4
%225 = icmp sge i32 %224, 0
br i1 %225, label %226, label %232
226: ; preds = %221
%227 = load i32, ptr %25, align 4
%228 = load i32, ptr %20, align 4
%229 = call i32 @printf(ptr noundef @.str.4, i32 noundef %227, i32 noundef %228)
%230 = load i32, ptr %26, align 4
%231 = call i32 @close(i32 noundef %230)
br label %232
232: ; preds = %226, %221
br label %233
233: ; preds = %232, %212
br label %234
234: ; preds = %233
%235 = load i32, ptr %18, align 4
%236 = add nsw i32 %235, 1
store i32 %236, ptr %18, align 4
br label %208, !llvm.loop !10
237: ; preds = %208
br label %182
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpowulf7if.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [58 x i8] c"forks = %d, dupes per fork = %d, total = %d, dup_pipe=%d\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"[+] started sd=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"pipe\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"received. fd=%d, procnum=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca [2 x i32], align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1025, ptr %8, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %27, 1
br i1 %28, label %29, label %41
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %29
%37 = load i32, ptr %6, align 4
%38 = icmp sgt i32 %37, 1000000
br i1 %38, label %39, label %40
39: ; preds = %36, %29
store i32 0, ptr %6, align 4
br label %40
40: ; preds = %39, %36
br label %41
41: ; preds = %40, %2
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 2
br i1 %43, label %44, label %56
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 2
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %44
%52 = load i32, ptr %7, align 4
%53 = icmp sgt i32 %52, 10000
br i1 %53, label %54, label %55
54: ; preds = %51, %44
store i32 1, ptr %7, align 4
br label %55
55: ; preds = %54, %51
br label %56
56: ; preds = %55, %41
store i32 0, ptr %9, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %57, 3
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 1, ptr %9, align 4
br label %60
60: ; preds = %59, %56
%61 = load i32, ptr @stderr, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %9, align 4
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str, i32 noundef %62, i32 noundef %63, i32 noundef %66, i32 noundef %67)
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 4, %70
%72 = trunc i64 %71 to i32
%73 = call ptr @calloc(i32 noundef 1, i32 noundef %72)
store ptr %73, ptr %10, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = mul i64 4, %75
%77 = trunc i64 %76 to i32
%78 = call ptr @calloc(i32 noundef 1, i32 noundef %77)
store ptr %78, ptr %11, align 8
%79 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12)
%80 = load i32, ptr @AF_INET, align 4
%81 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2
store i32 %80, ptr %81, align 4
%82 = load i32, ptr %8, align 4
%83 = call i32 @htons(i32 noundef %82)
%84 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1
store i32 %83, ptr %84, align 4
%85 = load i32, ptr @AF_INET, align 4
%86 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0
%87 = call i32 @inet_pton(i32 noundef %85, ptr noundef @.str.1, ptr noundef %86)
store ptr %12, ptr %13, align 8
store i32 12, ptr %14, align 4
%88 = load i32, ptr @PF_INET, align 4
%89 = load i32, ptr @SOCK_STREAM, align 4
%90 = load i32, ptr @IPPROTO_TCP, align 4
%91 = call i32 @socket(i32 noundef %88, i32 noundef %89, i32 noundef %90)
store i32 %91, ptr %15, align 4
store i32 1, ptr %16, align 4
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr @SOL_SOCKET, align 4
%94 = load i32, ptr @SO_REUSEADDR, align 4
%95 = call i32 @setsockopt(i32 noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %16, i32 noundef 4)
%96 = load i32, ptr %15, align 4
%97 = load ptr, ptr %13, align 8
%98 = load i32, ptr %14, align 4
%99 = call i32 @bind(i32 noundef %96, ptr noundef %97, i32 noundef %98)
%100 = load i32, ptr %15, align 4
%101 = call i32 @listen(i32 noundef %100, i32 noundef 128)
%102 = load i32, ptr %15, align 4
%103 = load i32, ptr @F_GETFL, align 4
%104 = call i32 @fcntl(i32 noundef %102, i32 noundef %103, i32 noundef 0)
store i32 %104, ptr %17, align 4
%105 = load i32, ptr %15, align 4
%106 = load i32, ptr @F_SETFL, align 4
%107 = load i32, ptr %17, align 4
%108 = load i32, ptr @O_NONBLOCK, align 4
%109 = or i32 %107, %108
%110 = call i32 @fcntl(i32 noundef %105, i32 noundef %106, i32 noundef %109)
%111 = load i32, ptr %15, align 4
%112 = load ptr, ptr %10, align 8
%113 = getelementptr inbounds i32, ptr %112, i64 0
store i32 %111, ptr %113, align 4
store i32 0, ptr %18, align 4
%114 = load i32, ptr %18, align 4
%115 = load i32, ptr %6, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %60
br label %117
117: ; preds = %.lr.ph, %128
%118 = call i32 (...) @fork()
store i32 %118, ptr %19, align 4
%119 = load i32, ptr %19, align 4
%120 = icmp eq i32 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117
br label %134
122: ; preds = %117
%123 = load i32, ptr %19, align 4
%124 = load ptr, ptr %11, align 8
%125 = load i32, ptr %18, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
store i32 %123, ptr %127, align 4
br label %128
128: ; preds = %122
%129 = load i32, ptr %18, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %18, align 4
%131 = load i32, ptr %18, align 4
%132 = load i32, ptr %6, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %117, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %128
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %60
br label %134
134: ; preds = %.loopexit, %121
%135 = load i32, ptr %18, align 4
store i32 %135, ptr %20, align 4
%136 = load i32, ptr %18, align 4
%137 = load i32, ptr %6, align 4
%138 = icmp eq i32 %136, %137
br i1 %138, label %139, label %147
139: ; preds = %134
%140 = load i32, ptr @stderr, align 4
%141 = load ptr, ptr %10, align 8
%142 = getelementptr inbounds i32, ptr %141, i64 0
%143 = load i32, ptr %142, align 4
%144 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.2, i32 noundef %143)
br label %145
145: ; preds = %145, %139
%146 = call i32 @sleep(i32 noundef 100)
br label %145
147: ; preds = %134
%148 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%149 = call i32 @pipe(ptr noundef %148)
store i32 %149, ptr %22, align 4
%150 = load i32, ptr %22, align 4
%151 = icmp slt i32 %150, 0
br i1 %151, label %152, label %154
152: ; preds = %147
%153 = call i32 @perror(ptr noundef @.str.3)
br label %154
154: ; preds = %152, %147
store i32 1, ptr %18, align 4
%155 = load i32, ptr %18, align 4
%156 = load i32, ptr %7, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %.lr.ph1, label %185
.lr.ph1: ; preds = %154
br label %158
158: ; preds = %.lr.ph1, %179
%159 = load i32, ptr %9, align 4
%160 = icmp ne i32 %159, 0
br i1 %160, label %161, label %169
161: ; preds = %158
%162 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%163 = load i32, ptr %162, align 4
%164 = call i32 @dup(i32 noundef %163)
%165 = load ptr, ptr %10, align 8
%166 = load i32, ptr %18, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
store i32 %164, ptr %168, align 4
br label %178
169: ; preds = %158
%170 = load ptr, ptr %10, align 8
%171 = getelementptr inbounds i32, ptr %170, i64 0
%172 = load i32, ptr %171, align 4
%173 = call i32 @dup(i32 noundef %172)
%174 = load ptr, ptr %10, align 8
%175 = load i32, ptr %18, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
store i32 %173, ptr %177, align 4
br label %178
178: ; preds = %169, %161
br label %179
179: ; preds = %178
%180 = load i32, ptr %18, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %18, align 4
%182 = load i32, ptr %18, align 4
%183 = load i32, ptr %7, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %158, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %179
br label %185
185: ; preds = %._crit_edge, %154
br label %186
186: ; preds = %245, %185
%187 = call i32 @FD_ZERO(ptr noundef %23)
store i32 0, ptr %18, align 4
%188 = load i32, ptr %18, align 4
%189 = load i32, ptr %7, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %.lr.ph3, label %205
.lr.ph3: ; preds = %186
br label %191
191: ; preds = %.lr.ph3, %199
%192 = load ptr, ptr %10, align 8
%193 = load i32, ptr %18, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i32, ptr %192, i64 %194
%196 = load i32, ptr %195, align 4
store i32 %196, ptr %24, align 4
%197 = load i32, ptr %24, align 4
%198 = call i32 @FD_SET(i32 noundef %197, ptr noundef %23)
br label %199
199: ; preds = %191
%200 = load i32, ptr %18, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %18, align 4
%202 = load i32, ptr %18, align 4
%203 = load i32, ptr %7, align 4
%204 = icmp slt i32 %202, %203
br i1 %204, label %191, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %199
br label %205
205: ; preds = %._crit_edge4, %186
%206 = load ptr, ptr %10, align 8
%207 = load i32, ptr %7, align 4
%208 = sub nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %206, i64 %209
%211 = load i32, ptr %210, align 4
%212 = add nsw i32 %211, 1
%213 = call i32 @select(i32 noundef %212, ptr noundef %23, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 0, ptr %18, align 4
%214 = load i32, ptr %18, align 4
%215 = load i32, ptr %7, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %.lr.ph6, label %245
.lr.ph6: ; preds = %205
br label %217
217: ; preds = %.lr.ph6, %239
%218 = load ptr, ptr %10, align 8
%219 = load i32, ptr %18, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32, ptr %218, i64 %220
%222 = load i32, ptr %221, align 4
store i32 %222, ptr %25, align 4
%223 = load i32, ptr %25, align 4
%224 = call i64 @FD_ISSET(i32 noundef %223, ptr noundef %23)
%225 = icmp ne i64 %224, 0
br i1 %225, label %226, label %238
226: ; preds = %217
%227 = load i32, ptr %25, align 4
%228 = call i32 @accept(i32 noundef %227, ptr noundef null, i32 noundef 0)
store i32 %228, ptr %26, align 4
%229 = load i32, ptr %26, align 4
%230 = icmp sge i32 %229, 0
br i1 %230, label %231, label %237
231: ; preds = %226
%232 = load i32, ptr %25, align 4
%233 = load i32, ptr %20, align 4
%234 = call i32 @printf(ptr noundef @.str.4, i32 noundef %232, i32 noundef %233)
%235 = load i32, ptr %26, align 4
%236 = call i32 @close(i32 noundef %235)
br label %237
237: ; preds = %231, %226
br label %238
238: ; preds = %237, %217
br label %239
239: ; preds = %238
%240 = load i32, ptr %18, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %18, align 4
%242 = load i32, ptr %18, align 4
%243 = load i32, ptr %7, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %217, label %._crit_edge7, !llvm.loop !10
._crit_edge7: ; preds = %239
br label %245
245: ; preds = %._crit_edge7, %205
br label %186
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp38ro25_7.c'
source_filename = "/tmp/tmp38ro25_7.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%lf,\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printM(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 %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %37, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %40
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %31, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %34
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = mul nsw i32 %21, %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %20, i64 %26
%28 = load float, ptr %27, align 4
%29 = fpext float %28 to double
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, double noundef %29)
br label %31
31: ; preds = %18
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.1)
br label %37
37: ; preds = %34
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %9, !llvm.loop !8
40: ; preds = %9
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp38ro25_7.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%lf,\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printM(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 %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %44
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %38
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %29
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %18, i64 %24
%26 = load float, ptr %25, align 4
%27 = fpext float %26 to double
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, double noundef %27)
br label %29
29: ; preds = %16
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %12
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.1)
br label %38
38: ; preds = %35
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwacgse5u.c'
source_filename = "/tmp/tmpwacgse5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"16-bit paged copybox\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__svgalib_driver16p_copybox(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = call i32 @notimplemented(ptr noundef @.str)
ret void
}
declare i32 @notimplemented(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwacgse5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"16-bit paged copybox\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__svgalib_driver16p_copybox(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = call i32 @notimplemented(ptr noundef @.str)
ret void
}
declare i32 @notimplemented(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9s1r2ol5.c'
source_filename = "/tmp/tmp9s1r2ol5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Okay, bye bye!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @endit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 0
store i32 %4, ptr %2, align 4
%5 = call i32 @fatal(ptr noundef @.str)
ret void
}
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9s1r2ol5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Okay, bye bye!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @endit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 0
store i32 %4, ptr %2, align 4
%5 = call i32 @fatal(ptr noundef @.str)
ret void
}
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmhojdmyi.c'
source_filename = "/tmp/tmpmhojdmyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EEXIST = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmhojdmyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EEXIST = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyw4b6qft.c'
source_filename = "/tmp/tmpyw4b6qft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Address not found\00", align 1
@.str.1 = private unnamed_addr constant [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/assert_macro_test.c\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Connection timed out\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_status_code_string_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 @get_status_code_string(i32 noundef 0)
%4 = inttoptr i64 %3 to ptr
%5 = call i32 @_assert_string_equal(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28)
%6 = call i64 @get_status_code_string(i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
%8 = call i32 @_assert_string_equal(ptr noundef %7, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 29)
ret void
}
declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @get_status_code_string(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/tmpyw4b6qft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Address not found\00", align 1
@.str.1 = private unnamed_addr constant [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/assert_macro_test.c\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Connection timed out\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_status_code_string_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 @get_status_code_string(i32 noundef 0)
%4 = inttoptr i64 %3 to ptr
%5 = call i32 @_assert_string_equal(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28)
%6 = call i64 @get_status_code_string(i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
%8 = call i32 @_assert_string_equal(ptr noundef %7, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 29)
ret void
}
declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @get_status_code_string(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/tmpoz5dkqs1.c'
source_filename = "/tmp/tmpoz5dkqs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socket_create_udp_client() #0 {
%1 = load i32, ptr @AF_INET, align 4
%2 = load i32, ptr @SOCK_DGRAM, align 4
%3 = load i32, ptr @IPPROTO_UDP, align 4
%4 = call i32 @cv_socket(i32 noundef %1, i32 noundef %2, i32 noundef %3)
ret i32 %4
}
declare i32 @cv_socket(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoz5dkqs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socket_create_udp_client() #0 {
%1 = load i32, ptr @AF_INET, align 4
%2 = load i32, ptr @SOCK_DGRAM, align 4
%3 = load i32, ptr @IPPROTO_UDP, align 4
%4 = call i32 @cv_socket(i32 noundef %1, i32 noundef %2, i32 noundef %3)
ret i32 %4
}
declare i32 @cv_socket(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsqexc_fi.c'
source_filename = "/tmp/tmpsqexc_fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xef() #0 {
%1 = call i64 @ispunct(i32 noundef 239)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1200, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmpsqexc_fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xef() #0 {
%1 = call i64 @ispunct(i32 noundef 239)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1200, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmpe3w2646b.c'
source_filename = "/tmp/tmpe3w2646b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter number x:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"The result is:%f\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Imposible!\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
store i32 0, ptr %1, align 4
%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 ne i32 %6, 2
br i1 %7, label %8, label %20
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @pow(i32 noundef %9, i32 noundef 2)
%11 = sub nsw i32 %10, 3
%12 = load i32, ptr %2, align 4
%13 = call i32 @pow(i32 noundef %12, i32 noundef 2)
%14 = sub nsw i32 %13, 4
%15 = sdiv i32 %11, %14
%16 = sitofp i32 %15 to float
store float %16, ptr %3, align 4
%17 = load float, ptr %3, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %18)
br label %22
20: ; preds = %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %22
22: ; preds = %20, %8
%23 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe3w2646b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter number x:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"The result is:%f\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Imposible!\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
store i32 0, ptr %1, align 4
%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 ne i32 %6, 2
br i1 %7, label %8, label %20
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @pow(i32 noundef %9, i32 noundef 2)
%11 = sub nsw i32 %10, 3
%12 = load i32, ptr %2, align 4
%13 = call i32 @pow(i32 noundef %12, i32 noundef 2)
%14 = sub nsw i32 %13, 4
%15 = sdiv i32 %11, %14
%16 = sitofp i32 %15 to float
store float %16, ptr %3, align 4
%17 = load float, ptr %3, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %18)
br label %22
20: ; preds = %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %22
22: ; preds = %20, %8
%23 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz3g0629o.c'
source_filename = "/tmp/tmpz3g0629o.c"
target datalayout = "e-m:e-p270: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.visA = private unnamed_addr constant [3 x double] [double 1.000000e+02, double 4.100000e+02, double 2.000000e+01], align 16
@__const.main.visB = private unnamed_addr constant [4 x double] [double 1.500000e+02, double -2.100000e+02, double -3.000000e+02, double 0.000000e+00], align 16
@__const.main.ptmiss = private unnamed_addr constant [2 x double] [double -2.000000e+02, double 2.800000e+02], align 16
@.str = private unnamed_addr constant [10 x i8] c"MT2 = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [3 x double], align 16
%2 = alloca [4 x double], align 16
%3 = alloca [2 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.visA, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.visB, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ptmiss, i64 16, i1 false)
store double 1.000000e+02, ptr %4, align 8
%6 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 0
%7 = load double, ptr %6, align 16
%8 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 1
%9 = load double, ptr %8, align 8
%10 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 2
%11 = load double, ptr %10, align 16
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = load double, ptr %12, align 16
%14 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 1
%15 = load double, ptr %14, align 8
%16 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 2
%17 = load double, ptr %16, align 16
%18 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%19 = load double, ptr %18, align 16
%20 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1
%21 = load double, ptr %20, align 8
%22 = load double, ptr %4, align 8
%23 = load double, ptr %4, align 8
%24 = call double @asymm_mt2_lester_bisect(double noundef %7, double noundef %9, double noundef %11, double noundef %13, double noundef %15, double noundef %17, double noundef %19, double noundef %21, double noundef %22, double noundef %23)
store double %24, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = call i32 @printf(ptr noundef @.str, double 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 double @asymm_mt2_lester_bisect(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpz3g0629o.c"
target datalayout = "e-m:e-p270: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.visA = private unnamed_addr constant [3 x double] [double 1.000000e+02, double 4.100000e+02, double 2.000000e+01], align 16
@__const.main.visB = private unnamed_addr constant [4 x double] [double 1.500000e+02, double -2.100000e+02, double -3.000000e+02, double 0.000000e+00], align 16
@__const.main.ptmiss = private unnamed_addr constant [2 x double] [double -2.000000e+02, double 2.800000e+02], align 16
@.str = private unnamed_addr constant [10 x i8] c"MT2 = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [3 x double], align 16
%2 = alloca [4 x double], align 16
%3 = alloca [2 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.visA, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.visB, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ptmiss, i64 16, i1 false)
store double 1.000000e+02, ptr %4, align 8
%6 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 0
%7 = load double, ptr %6, align 16
%8 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 1
%9 = load double, ptr %8, align 8
%10 = getelementptr inbounds [3 x double], ptr %1, i64 0, i64 2
%11 = load double, ptr %10, align 16
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = load double, ptr %12, align 16
%14 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 1
%15 = load double, ptr %14, align 8
%16 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 2
%17 = load double, ptr %16, align 16
%18 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%19 = load double, ptr %18, align 16
%20 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1
%21 = load double, ptr %20, align 8
%22 = load double, ptr %4, align 8
%23 = load double, ptr %4, align 8
%24 = call double @asymm_mt2_lester_bisect(double noundef %7, double noundef %9, double noundef %11, double noundef %13, double noundef %15, double noundef %17, double noundef %19, double noundef %21, double noundef %22, double noundef %23)
store double %24, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = call i32 @printf(ptr noundef @.str, double 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 double @asymm_mt2_lester_bisect(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpitkvr79i.c'
source_filename = "/tmp/tmpitkvr79i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_srli_epi64_2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_srli_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_srli_epi64(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/tmpitkvr79i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_srli_epi64_2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_srli_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_srli_epi64(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/tmp6643fwra.c'
source_filename = "/tmp/tmp6643fwra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr %1, 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/tmp6643fwra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr %1, 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/tmpwenrqtkc.c'
source_filename = "/tmp/tmpwenrqtkc.c"
target datalayout = "e-m:e-p270: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/tmpwenrqtkc.c"
target datalayout = "e-m:e-p270: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/tmpsal79xox.c'
source_filename = "/tmp/tmpsal79xox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_speed(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 = call i32 @speed(ptr noundef %5)
ret i32 %6
}
declare i32 @speed(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsal79xox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_speed(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 = call i32 @speed(ptr noundef %5)
ret i32 %6
}
declare i32 @speed(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5jybk0v.c'
source_filename = "/tmp/tmpt5jybk0v.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [15 x i8] c"%s <filename>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"open() \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"stat() \00", align 1
@PROT_READ = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [8 x i8] c"mmap() \00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"write() \00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"munmap() \00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %18
11: ; preds = %2
%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 @printf(ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %18
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = load i32, ptr @EXIT_FAILURE, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @stat(ptr noundef %32, ptr noundef %8)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %29
%36 = call i32 @perror(ptr noundef @.str.2)
%37 = load i32, ptr @EXIT_FAILURE, align 4
%38 = call i32 @exit(i32 noundef %37) #3
unreachable
39: ; preds = %29
%40 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%41 = load i64, ptr %40, align 8
%42 = load i32, ptr @PROT_READ, align 4
%43 = load i32, ptr @MAP_PRIVATE, align 4
%44 = load i32, ptr %7, align 4
%45 = call ptr @mmap(ptr noundef null, i64 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef 0)
store ptr %45, ptr %6, align 8
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr @MAP_FAILED, align 8
%48 = icmp eq ptr %46, %47
br i1 %48, label %49, label %53
49: ; preds = %39
%50 = call i32 @perror(ptr noundef @.str.3)
%51 = load i32, ptr @EXIT_FAILURE, align 4
%52 = call i32 @exit(i32 noundef %51) #3
unreachable
53: ; preds = %39
%54 = load i32, ptr @STDOUT_FILENO, align 4
%55 = load ptr, ptr %6, align 8
%56 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%57 = load i64, ptr %56, align 8
%58 = call i64 @write(i32 noundef %54, ptr noundef %55, i64 noundef %57)
%59 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%60 = load i64, ptr %59, align 8
%61 = icmp ne i64 %58, %60
br i1 %61, label %62, label %66
62: ; preds = %53
%63 = call i32 @perror(ptr noundef @.str.4)
%64 = load i32, ptr @EXIT_FAILURE, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
66: ; preds = %53
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%69 = load i64, ptr %68, align 8
%70 = call i32 @munmap(ptr noundef %67, i64 noundef %69)
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %76
72: ; preds = %66
%73 = call i32 @perror(ptr noundef @.str.5)
%74 = load i32, ptr @EXIT_FAILURE, align 4
%75 = call i32 @exit(i32 noundef %74) #3
unreachable
76: ; preds = %66
%77 = load i32, ptr @EXIT_SUCCESS, align 4
%78 = call i32 @exit(i32 noundef %77) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpt5jybk0v.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [15 x i8] c"%s <filename>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"open() \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"stat() \00", align 1
@PROT_READ = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [8 x i8] c"mmap() \00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"write() \00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"munmap() \00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %18
11: ; preds = %2
%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 @printf(ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %18
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = load i32, ptr @EXIT_FAILURE, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @stat(ptr noundef %32, ptr noundef %8)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %29
%36 = call i32 @perror(ptr noundef @.str.2)
%37 = load i32, ptr @EXIT_FAILURE, align 4
%38 = call i32 @exit(i32 noundef %37) #3
unreachable
39: ; preds = %29
%40 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%41 = load i64, ptr %40, align 8
%42 = load i32, ptr @PROT_READ, align 4
%43 = load i32, ptr @MAP_PRIVATE, align 4
%44 = load i32, ptr %7, align 4
%45 = call ptr @mmap(ptr noundef null, i64 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef 0)
store ptr %45, ptr %6, align 8
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr @MAP_FAILED, align 8
%48 = icmp eq ptr %46, %47
br i1 %48, label %49, label %53
49: ; preds = %39
%50 = call i32 @perror(ptr noundef @.str.3)
%51 = load i32, ptr @EXIT_FAILURE, align 4
%52 = call i32 @exit(i32 noundef %51) #3
unreachable
53: ; preds = %39
%54 = load i32, ptr @STDOUT_FILENO, align 4
%55 = load ptr, ptr %6, align 8
%56 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%57 = load i64, ptr %56, align 8
%58 = call i64 @write(i32 noundef %54, ptr noundef %55, i64 noundef %57)
%59 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%60 = load i64, ptr %59, align 8
%61 = icmp ne i64 %58, %60
br i1 %61, label %62, label %66
62: ; preds = %53
%63 = call i32 @perror(ptr noundef @.str.4)
%64 = load i32, ptr @EXIT_FAILURE, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
66: ; preds = %53
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%69 = load i64, ptr %68, align 8
%70 = call i32 @munmap(ptr noundef %67, i64 noundef %69)
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %76
72: ; preds = %66
%73 = call i32 @perror(ptr noundef @.str.5)
%74 = load i32, ptr @EXIT_FAILURE, align 4
%75 = call i32 @exit(i32 noundef %74) #3
unreachable
76: ; preds = %66
%77 = load i32, ptr @EXIT_SUCCESS, align 4
%78 = call i32 @exit(i32 noundef %77) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpuh10sg1h.c'
source_filename = "/tmp/tmpuh10sg1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"This line is from parent, value = %d, pid = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"***Parent is done***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ParentProcess() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %2, align 4
store i32 1, ptr %1, align 4
br label %4
4: ; preds = %11, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 200
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
br label %11
11: ; preds = %7
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuh10sg1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"This line is from parent, value = %d, pid = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"***Parent is done***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ParentProcess() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %2, align 4
store i32 1, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 200
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %10
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %6
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = icmp sle i32 %13, 200
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdb0ibbqe.c'
source_filename = "/tmp/tmpdb0ibbqe.c"
target datalayout = "e-m:e-p270: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/tmpdb0ibbqe.c"
target datalayout = "e-m:e-p270: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/tmpfzdol_u9.c'
source_filename = "/tmp/tmpfzdol_u9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"squareRoot(%.1f) = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 2.000000e+00, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call double @squareRoot(float noundef %4)
%6 = call i32 @printf(ptr noundef @.str, float noundef %3, double noundef %5)
store float 1.440000e+02, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = load float, ptr %2, align 4
%9 = call double @squareRoot(float noundef %8)
%10 = call i32 @printf(ptr noundef @.str, float noundef %7, double noundef %9)
store float 1.750000e+01, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = load float, ptr %2, align 4
%13 = call double @squareRoot(float noundef %12)
%14 = call i32 @printf(ptr noundef @.str, float noundef %11, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, double noundef) #1
declare double @squareRoot(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/tmpfzdol_u9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"squareRoot(%.1f) = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 2.000000e+00, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call double @squareRoot(float noundef %4)
%6 = call i32 @printf(ptr noundef @.str, float noundef %3, double noundef %5)
store float 1.440000e+02, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = load float, ptr %2, align 4
%9 = call double @squareRoot(float noundef %8)
%10 = call i32 @printf(ptr noundef @.str, float noundef %7, double noundef %9)
store float 1.750000e+01, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = load float, ptr %2, align 4
%13 = call double @squareRoot(float noundef %12)
%14 = call i32 @printf(ptr noundef @.str, float noundef %11, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, double noundef) #1
declare double @squareRoot(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/tmpaajlpnij.c'
source_filename = "/tmp/tmpaajlpnij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strListBlockLength(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
store i64 0, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i64 0, ptr %2, align 8
br label %33
11: ; preds = %1
br label %12
12: ; preds = %16, %11
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %5, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %12
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
%19 = load i64, ptr %6, align 8
%20 = add i64 %19, %18
store i64 %20, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = add i64 %21, 1
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 %22
store ptr %24, ptr %4, align 8
br label %12, !llvm.loop !6
25: ; preds = %12
%26 = load i64, ptr %6, align 8
%27 = icmp ne i64 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %25
store i64 1, ptr %6, align 8
br label %29
29: ; preds = %28, %25
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %6, align 8
%32 = load i64, ptr %6, align 8
store i64 %32, ptr %2, align 8
br label %33
33: ; preds = %29, %10
%34 = load i64, ptr %2, align 8
ret i64 %34
}
declare i64 @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/tmpaajlpnij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strListBlockLength(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
store i64 0, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i64 0, ptr %2, align 8
br label %35
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %5, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, %17
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 1
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %5, align 8
%26 = icmp ne i64 %25, 0
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %27
27: ; preds = %._crit_edge, %11
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %27
store i64 1, ptr %6, align 8
br label %31
31: ; preds = %30, %27
%32 = load i64, ptr %6, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %6, align 8
%34 = load i64, ptr %6, align 8
store i64 %34, ptr %2, align 8
br label %35
35: ; preds = %31, %10
%36 = load i64, ptr %2, align 8
ret i64 %36
}
declare i64 @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/tmpy4rcjfxs.c'
source_filename = "/tmp/tmpy4rcjfxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_reboot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @wdog_start(i32 noundef 6250)
%4 = call i32 @send_response(i32 noundef 172704577, i32 noundef 0)
ret void
}
declare i32 @wdog_start(i32 noundef) #1
declare i32 @send_response(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/tmpy4rcjfxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_reboot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @wdog_start(i32 noundef 6250)
%4 = call i32 @send_response(i32 noundef 172704577, i32 noundef 0)
ret void
}
declare i32 @wdog_start(i32 noundef) #1
declare i32 @send_response(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/tmp4jpdp1_m.c'
source_filename = "/tmp/tmp4jpdp1_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutex_lock(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 @pthread_mutex_lock(ptr noundef %3)
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jpdp1_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutex_lock(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 @pthread_mutex_lock(ptr noundef %3)
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7_5zk0py.c'
source_filename = "/tmp/tmp7_5zk0py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IOPi_init(i32 noundef 32, i32 noundef 1)
%7 = call i32 @set_port_direction(i32 noundef 32, i32 noundef 0, i32 noundef 0)
%8 = call i32 @set_port_direction(i32 noundef 32, i32 noundef 1, i32 noundef 0)
%9 = call i32 @write_port(i32 noundef 32, i32 noundef 1, i32 noundef 255)
br label %10
10: ; preds = %2, %10
%11 = call i32 @write_pin(i32 noundef 32, i32 noundef 1, i32 noundef 1)
%12 = call i32 @usleep(i32 noundef 1000000)
%13 = call i32 @write_pin(i32 noundef 32, i32 noundef 1, i32 noundef 0)
%14 = call i32 @usleep(i32 noundef 1000000)
br label %10
}
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @set_port_direction(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_port(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_pin(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7_5zk0py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IOPi_init(i32 noundef 32, i32 noundef 1)
%7 = call i32 @set_port_direction(i32 noundef 32, i32 noundef 0, i32 noundef 0)
%8 = call i32 @set_port_direction(i32 noundef 32, i32 noundef 1, i32 noundef 0)
%9 = call i32 @write_port(i32 noundef 32, i32 noundef 1, i32 noundef 255)
br label %10
10: ; preds = %10, %2
%11 = call i32 @write_pin(i32 noundef 32, i32 noundef 1, i32 noundef 1)
%12 = call i32 @usleep(i32 noundef 1000000)
%13 = call i32 @write_pin(i32 noundef 32, i32 noundef 1, i32 noundef 0)
%14 = call i32 @usleep(i32 noundef 1000000)
br label %10
}
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @set_port_direction(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_port(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_pin(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeanhg6l_.c'
source_filename = "/tmp/tmpeanhg6l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %28, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %31
10: ; preds = %6
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %16, %10
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %3, align 4
%19 = sdiv i32 %17, %18
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = srem i32 %24, %25
%27 = add nsw i32 %23, %26
store i32 %27, ptr %4, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %6, !llvm.loop !8
31: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeanhg6l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %29
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %15, %16
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = srem i32 %22, %23
%25 = add nsw i32 %21, %24
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %29
29: ; preds = %._crit_edge, %9
%30 = load i32, ptr %2, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
%32 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%33 = load i64, ptr @EOF, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %35
35: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp40bnlzr2.c'
source_filename = "/tmp/tmp40bnlzr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x1f() #0 {
%1 = call i64 @isupper(i32 noundef 31)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40bnlzr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x1f() #0 {
%1 = call i64 @isupper(i32 noundef 31)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxzl9dwsx.c'
source_filename = "/tmp/tmpxzl9dwsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"centre_frequency = 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"bandwidth = 0x%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"priority = 0x%x\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Time_Slicing_indicator = 0x%x\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"MPE-FEC_indicator = 0x%x\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"constellation = 0x%x\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"hierarchy_information = 0x%x\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"code_rate-HP_stream = 0x%x\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"code_rate-LP_stream = 0x%x\0A\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"guard_interval = 0x%x\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"transmission_mode = 0x%x\0A\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"other_frequency_flag = 0x%x\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x5A_Tag_DescriptorParser(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp eq ptr null, %6
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %141
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = call i32 @Parser_DisplayTagInfo(i32 noundef %10, i8 noundef zeroext %13)
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 1
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %15, ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 2
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 255
%27 = shl i32 %26, 24
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = and i32 %31, 255
%33 = shl i32 %32, 16
%34 = or i32 %27, %33
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 4
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = and i32 %38, 255
%40 = shl i32 %39, 8
%41 = or i32 %34, %40
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 5
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = and i32 %45, 255
%47 = or i32 %41, %46
%48 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %21, ptr noundef @.str.1, i32 noundef %47)
%49 = load i32, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 6
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = and i32 %53, 224
%55 = ashr i32 %54, 5
%56 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %49, ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %4, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 6
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = and i32 %61, 16
%63 = ashr i32 %62, 4
%64 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %57, ptr noundef @.str.3, i32 noundef %63)
%65 = load i32, ptr %4, align 4
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 6
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i32
%70 = and i32 %69, 8
%71 = ashr i32 %70, 3
%72 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %65, ptr noundef @.str.4, i32 noundef %71)
%73 = load i32, ptr %4, align 4
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 6
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = and i32 %77, 4
%79 = ashr i32 %78, 2
%80 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %73, ptr noundef @.str.5, i32 noundef %79)
%81 = load i32, ptr %4, align 4
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 7
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = and i32 %85, 192
%87 = ashr i32 %86, 6
%88 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %81, ptr noundef @.str.6, i32 noundef %87)
%89 = load i32, ptr %4, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 7
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = and i32 %93, 56
%95 = ashr i32 %94, 3
%96 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %89, ptr noundef @.str.7, i32 noundef %95)
%97 = load i32, ptr %4, align 4
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 7
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = and i32 %101, 7
%103 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %97, ptr noundef @.str.8, i32 noundef %102)
%104 = load i32, ptr %4, align 4
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 8
%107 = load i8, ptr %106, align 1
%108 = zext i8 %107 to i32
%109 = and i32 %108, 224
%110 = ashr i32 %109, 5
%111 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %104, ptr noundef @.str.9, i32 noundef %110)
%112 = load i32, ptr %4, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 8
%115 = load i8, ptr %114, align 1
%116 = zext i8 %115 to i32
%117 = and i32 %116, 24
%118 = ashr i32 %117, 3
%119 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %112, ptr noundef @.str.10, i32 noundef %118)
%120 = load i32, ptr %4, align 4
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 8
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = and i32 %124, 6
%126 = ashr i32 %125, 1
%127 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %120, ptr noundef @.str.11, i32 noundef %126)
%128 = load i32, ptr %4, align 4
%129 = load ptr, ptr %5, align 8
%130 = getelementptr inbounds i8, ptr %129, i64 8
%131 = load i8, ptr %130, align 1
%132 = zext i8 %131 to i32
%133 = and i32 %132, 1
%134 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %128, ptr noundef @.str.12, i32 noundef %133)
%135 = load i32, ptr %4, align 4
%136 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %135, ptr noundef @.str.13)
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 1
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
store i32 %140, ptr %3, align 4
br label %141
141: ; preds = %9, %8
%142 = load i32, ptr %3, align 4
ret i32 %142
}
declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1
declare i32 @Parser_TsPacketLog(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/tmpxzl9dwsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"centre_frequency = 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"bandwidth = 0x%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"priority = 0x%x\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Time_Slicing_indicator = 0x%x\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"MPE-FEC_indicator = 0x%x\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"constellation = 0x%x\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"hierarchy_information = 0x%x\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"code_rate-HP_stream = 0x%x\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"code_rate-LP_stream = 0x%x\0A\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"guard_interval = 0x%x\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"transmission_mode = 0x%x\0A\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"other_frequency_flag = 0x%x\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x5A_Tag_DescriptorParser(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp eq ptr null, %6
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %141
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = call i32 @Parser_DisplayTagInfo(i32 noundef %10, i8 noundef zeroext %13)
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 1
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %15, ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 2
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 255
%27 = shl i32 %26, 24
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = and i32 %31, 255
%33 = shl i32 %32, 16
%34 = or i32 %27, %33
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 4
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = and i32 %38, 255
%40 = shl i32 %39, 8
%41 = or i32 %34, %40
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 5
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = and i32 %45, 255
%47 = or i32 %41, %46
%48 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %21, ptr noundef @.str.1, i32 noundef %47)
%49 = load i32, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 6
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = and i32 %53, 224
%55 = ashr i32 %54, 5
%56 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %49, ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %4, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 6
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = and i32 %61, 16
%63 = ashr i32 %62, 4
%64 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %57, ptr noundef @.str.3, i32 noundef %63)
%65 = load i32, ptr %4, align 4
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 6
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i32
%70 = and i32 %69, 8
%71 = ashr i32 %70, 3
%72 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %65, ptr noundef @.str.4, i32 noundef %71)
%73 = load i32, ptr %4, align 4
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 6
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = and i32 %77, 4
%79 = ashr i32 %78, 2
%80 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %73, ptr noundef @.str.5, i32 noundef %79)
%81 = load i32, ptr %4, align 4
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 7
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = and i32 %85, 192
%87 = ashr i32 %86, 6
%88 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %81, ptr noundef @.str.6, i32 noundef %87)
%89 = load i32, ptr %4, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 7
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = and i32 %93, 56
%95 = ashr i32 %94, 3
%96 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %89, ptr noundef @.str.7, i32 noundef %95)
%97 = load i32, ptr %4, align 4
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 7
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = and i32 %101, 7
%103 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %97, ptr noundef @.str.8, i32 noundef %102)
%104 = load i32, ptr %4, align 4
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 8
%107 = load i8, ptr %106, align 1
%108 = zext i8 %107 to i32
%109 = and i32 %108, 224
%110 = ashr i32 %109, 5
%111 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %104, ptr noundef @.str.9, i32 noundef %110)
%112 = load i32, ptr %4, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 8
%115 = load i8, ptr %114, align 1
%116 = zext i8 %115 to i32
%117 = and i32 %116, 24
%118 = ashr i32 %117, 3
%119 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %112, ptr noundef @.str.10, i32 noundef %118)
%120 = load i32, ptr %4, align 4
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 8
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = and i32 %124, 6
%126 = ashr i32 %125, 1
%127 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %120, ptr noundef @.str.11, i32 noundef %126)
%128 = load i32, ptr %4, align 4
%129 = load ptr, ptr %5, align 8
%130 = getelementptr inbounds i8, ptr %129, i64 8
%131 = load i8, ptr %130, align 1
%132 = zext i8 %131 to i32
%133 = and i32 %132, 1
%134 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %128, ptr noundef @.str.12, i32 noundef %133)
%135 = load i32, ptr %4, align 4
%136 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %135, ptr noundef @.str.13)
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 1
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
store i32 %140, ptr %3, align 4
br label %141
141: ; preds = %9, %8
%142 = load i32, ptr %3, align 4
ret i32 %142
}
declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1
declare i32 @Parser_TsPacketLog(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/tmp3iii5p4k.c'
source_filename = "/tmp/tmp3iii5p4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USB_EndPoint14(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, 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/tmp3iii5p4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USB_EndPoint14(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, 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/tmp79liwcfb.c'
source_filename = "/tmp/tmp79liwcfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_sys_getpid() #0 {
%1 = call i32 (...) @getpid()
ret i32 %1
}
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79liwcfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_sys_getpid() #0 {
%1 = call i32 (...) @getpid()
ret i32 %1
}
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxupnzd1d.c'
source_filename = "/tmp/tmpxupnzd1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmsec_now() #0 {
%1 = call i64 (...) @dusec_now()
%2 = sdiv i64 %1, 1000
ret i64 %2
}
declare i64 @dusec_now(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxupnzd1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmsec_now() #0 {
%1 = call i64 (...) @dusec_now()
%2 = sdiv i64 %1, 1000
ret i64 %2
}
declare i64 @dusec_now(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp785prq9k.c'
source_filename = "/tmp/tmp785prq9k.c"
target datalayout = "e-m:e-p270: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/tmp785prq9k.c"
target datalayout = "e-m:e-p270: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/tmphewmrfk0.c'
source_filename = "/tmp/tmphewmrfk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ELFMAG = dso_local global i32 0, align 4
@SELFMAG = 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/tmphewmrfk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ELFMAG = dso_local global i32 0, align 4
@SELFMAG = 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/tmpq2xb92qp.c'
source_filename = "/tmp/tmpq2xb92qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x93\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x93() #0 {
%1 = call i64 @isxdigit(i32 noundef 147)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpq2xb92qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x93\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x93() #0 {
%1 = call i64 @isxdigit(i32 noundef 147)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmp3kk9dmb2.c'
source_filename = "/tmp/tmp3kk9dmb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fprint_decimal(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @fprint_udecimal(i32 noundef %8, i32 noundef %9)
br label %18
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @fputc(i8 noundef signext 45, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 0, %14
%16 = load i32, ptr %4, align 4
%17 = call i32 @fprint_udecimal(i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %11, %7
ret void
}
declare i32 @fprint_udecimal(i32 noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3kk9dmb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fprint_decimal(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @fprint_udecimal(i32 noundef %8, i32 noundef %9)
br label %18
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @fputc(i8 noundef signext 45, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 0, %14
%16 = load i32, ptr %4, align 4
%17 = call i32 @fprint_udecimal(i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %11, %7
ret void
}
declare i32 @fprint_udecimal(i32 noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6nk7gmw5.c'
source_filename = "/tmp/tmp6nk7gmw5.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_call_get_peer() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nk7gmw5.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_call_get_peer() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpziukwx6q.c'
source_filename = "/tmp/tmpziukwx6q.c"
target datalayout = "e-m:e-p270: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/tmpziukwx6q.c"
target datalayout = "e-m:e-p270: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/tmpd_t_xloo.c'
source_filename = "/tmp/tmpd_t_xloo.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"usage: %s <filename>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd_t_xloo.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"usage: %s <filename>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp79_ey1sa.c'
source_filename = "/tmp/tmp79_ey1sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPU6050_Init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @I2C1_Start()
%4 = call i32 @I2C1_SendByte(i32 noundef 208)
%5 = call i32 (...) @I2C1_WaitAck()
%6 = call i32 @I2C1_SendByte(i32 noundef 117)
%7 = call i32 (...) @I2C1_WaitAck()
%8 = call i32 (...) @I2C1_Stop()
%9 = call i32 @Delay_ms(i32 noundef 1)
%10 = call i32 (...) @I2C1_Start()
%11 = call i32 @I2C1_SendByte(i32 noundef 209)
%12 = call i32 (...) @I2C1_WaitAck()
%13 = call i32 (...) @I2C1_ReceiveByte()
store i32 %13, ptr %2, align 4
%14 = call i32 (...) @I2C1_NoAck()
%15 = call i32 (...) @I2C1_Stop()
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 104
br i1 %17, label %18, label %19
18: ; preds = %0
store i32 -1, ptr %1, align 4
br label %102
19: ; preds = %0
%20 = call i32 @Delay_ms(i32 noundef 5)
%21 = call i32 (...) @I2C1_Start()
%22 = call i32 @I2C1_SendByte(i32 noundef 208)
%23 = call i32 (...) @I2C1_WaitAck()
%24 = call i32 @I2C1_SendByte(i32 noundef 107)
%25 = call i32 (...) @I2C1_WaitAck()
%26 = call i32 @I2C1_SendByte(i32 noundef 128)
%27 = call i32 (...) @I2C1_WaitAck()
%28 = call i32 (...) @I2C1_Stop()
%29 = call i32 @Delay_ms(i32 noundef 150)
%30 = call i32 (...) @I2C1_Start()
%31 = call i32 @I2C1_SendByte(i32 noundef 208)
%32 = call i32 (...) @I2C1_WaitAck()
%33 = call i32 @I2C1_SendByte(i32 noundef 107)
%34 = call i32 (...) @I2C1_WaitAck()
%35 = call i32 @I2C1_SendByte(i32 noundef 3)
%36 = call i32 (...) @I2C1_WaitAck()
%37 = call i32 (...) @I2C1_Stop()
%38 = call i32 @Delay_ms(i32 noundef 5)
%39 = call i32 (...) @I2C1_Start()
%40 = call i32 @I2C1_SendByte(i32 noundef 208)
%41 = call i32 (...) @I2C1_WaitAck()
%42 = call i32 @I2C1_SendByte(i32 noundef 108)
%43 = call i32 (...) @I2C1_WaitAck()
%44 = call i32 @I2C1_SendByte(i32 noundef 0)
%45 = call i32 (...) @I2C1_WaitAck()
%46 = call i32 (...) @I2C1_Stop()
%47 = call i32 @Delay_ms(i32 noundef 5)
%48 = call i32 (...) @I2C1_Start()
%49 = call i32 @I2C1_SendByte(i32 noundef 208)
%50 = call i32 (...) @I2C1_WaitAck()
%51 = call i32 @I2C1_SendByte(i32 noundef 25)
%52 = call i32 (...) @I2C1_WaitAck()
%53 = call i32 @I2C1_SendByte(i32 noundef 0)
%54 = call i32 (...) @I2C1_WaitAck()
%55 = call i32 (...) @I2C1_Stop()
%56 = call i32 @Delay_ms(i32 noundef 5)
%57 = call i32 (...) @I2C1_Start()
%58 = call i32 @I2C1_SendByte(i32 noundef 208)
%59 = call i32 (...) @I2C1_WaitAck()
%60 = call i32 @I2C1_SendByte(i32 noundef 26)
%61 = call i32 (...) @I2C1_WaitAck()
%62 = call i32 @I2C1_SendByte(i32 noundef 0)
%63 = call i32 (...) @I2C1_WaitAck()
%64 = call i32 (...) @I2C1_Stop()
%65 = call i32 @Delay_ms(i32 noundef 5)
%66 = call i32 (...) @I2C1_Start()
%67 = call i32 @I2C1_SendByte(i32 noundef 208)
%68 = call i32 (...) @I2C1_WaitAck()
%69 = call i32 @I2C1_SendByte(i32 noundef 27)
%70 = call i32 (...) @I2C1_WaitAck()
%71 = call i32 @I2C1_SendByte(i32 noundef 0)
%72 = call i32 (...) @I2C1_WaitAck()
%73 = call i32 (...) @I2C1_Stop()
%74 = call i32 @Delay_ms(i32 noundef 5)
%75 = call i32 (...) @I2C1_Start()
%76 = call i32 @I2C1_SendByte(i32 noundef 208)
%77 = call i32 (...) @I2C1_WaitAck()
%78 = call i32 @I2C1_SendByte(i32 noundef 28)
%79 = call i32 (...) @I2C1_WaitAck()
%80 = call i32 @I2C1_SendByte(i32 noundef 0)
%81 = call i32 (...) @I2C1_WaitAck()
%82 = call i32 (...) @I2C1_Stop()
%83 = call i32 @Delay_ms(i32 noundef 5)
%84 = call i32 (...) @I2C1_Start()
%85 = call i32 @I2C1_SendByte(i32 noundef 208)
%86 = call i32 (...) @I2C1_WaitAck()
%87 = call i32 @I2C1_SendByte(i32 noundef 55)
%88 = call i32 (...) @I2C1_WaitAck()
%89 = call i32 @I2C1_SendByte(i32 noundef 0)
%90 = call i32 (...) @I2C1_WaitAck()
%91 = call i32 (...) @I2C1_Stop()
%92 = call i32 @Delay_ms(i32 noundef 5)
%93 = call i32 (...) @I2C1_Start()
%94 = call i32 @I2C1_SendByte(i32 noundef 208)
%95 = call i32 (...) @I2C1_WaitAck()
%96 = call i32 @I2C1_SendByte(i32 noundef 56)
%97 = call i32 (...) @I2C1_WaitAck()
%98 = call i32 @I2C1_SendByte(i32 noundef 0)
%99 = call i32 (...) @I2C1_WaitAck()
%100 = call i32 (...) @I2C1_Stop()
%101 = call i32 @Delay_ms(i32 noundef 5)
store i32 0, ptr %1, align 4
br label %102
102: ; preds = %19, %18
%103 = load i32, ptr %1, align 4
ret i32 %103
}
declare i32 @I2C1_Start(...) #1
declare i32 @I2C1_SendByte(i32 noundef) #1
declare i32 @I2C1_WaitAck(...) #1
declare i32 @I2C1_Stop(...) #1
declare i32 @Delay_ms(i32 noundef) #1
declare i32 @I2C1_ReceiveByte(...) #1
declare i32 @I2C1_NoAck(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79_ey1sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPU6050_Init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @I2C1_Start()
%4 = call i32 @I2C1_SendByte(i32 noundef 208)
%5 = call i32 (...) @I2C1_WaitAck()
%6 = call i32 @I2C1_SendByte(i32 noundef 117)
%7 = call i32 (...) @I2C1_WaitAck()
%8 = call i32 (...) @I2C1_Stop()
%9 = call i32 @Delay_ms(i32 noundef 1)
%10 = call i32 (...) @I2C1_Start()
%11 = call i32 @I2C1_SendByte(i32 noundef 209)
%12 = call i32 (...) @I2C1_WaitAck()
%13 = call i32 (...) @I2C1_ReceiveByte()
store i32 %13, ptr %2, align 4
%14 = call i32 (...) @I2C1_NoAck()
%15 = call i32 (...) @I2C1_Stop()
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 104
br i1 %17, label %18, label %19
18: ; preds = %0
store i32 -1, ptr %1, align 4
br label %102
19: ; preds = %0
%20 = call i32 @Delay_ms(i32 noundef 5)
%21 = call i32 (...) @I2C1_Start()
%22 = call i32 @I2C1_SendByte(i32 noundef 208)
%23 = call i32 (...) @I2C1_WaitAck()
%24 = call i32 @I2C1_SendByte(i32 noundef 107)
%25 = call i32 (...) @I2C1_WaitAck()
%26 = call i32 @I2C1_SendByte(i32 noundef 128)
%27 = call i32 (...) @I2C1_WaitAck()
%28 = call i32 (...) @I2C1_Stop()
%29 = call i32 @Delay_ms(i32 noundef 150)
%30 = call i32 (...) @I2C1_Start()
%31 = call i32 @I2C1_SendByte(i32 noundef 208)
%32 = call i32 (...) @I2C1_WaitAck()
%33 = call i32 @I2C1_SendByte(i32 noundef 107)
%34 = call i32 (...) @I2C1_WaitAck()
%35 = call i32 @I2C1_SendByte(i32 noundef 3)
%36 = call i32 (...) @I2C1_WaitAck()
%37 = call i32 (...) @I2C1_Stop()
%38 = call i32 @Delay_ms(i32 noundef 5)
%39 = call i32 (...) @I2C1_Start()
%40 = call i32 @I2C1_SendByte(i32 noundef 208)
%41 = call i32 (...) @I2C1_WaitAck()
%42 = call i32 @I2C1_SendByte(i32 noundef 108)
%43 = call i32 (...) @I2C1_WaitAck()
%44 = call i32 @I2C1_SendByte(i32 noundef 0)
%45 = call i32 (...) @I2C1_WaitAck()
%46 = call i32 (...) @I2C1_Stop()
%47 = call i32 @Delay_ms(i32 noundef 5)
%48 = call i32 (...) @I2C1_Start()
%49 = call i32 @I2C1_SendByte(i32 noundef 208)
%50 = call i32 (...) @I2C1_WaitAck()
%51 = call i32 @I2C1_SendByte(i32 noundef 25)
%52 = call i32 (...) @I2C1_WaitAck()
%53 = call i32 @I2C1_SendByte(i32 noundef 0)
%54 = call i32 (...) @I2C1_WaitAck()
%55 = call i32 (...) @I2C1_Stop()
%56 = call i32 @Delay_ms(i32 noundef 5)
%57 = call i32 (...) @I2C1_Start()
%58 = call i32 @I2C1_SendByte(i32 noundef 208)
%59 = call i32 (...) @I2C1_WaitAck()
%60 = call i32 @I2C1_SendByte(i32 noundef 26)
%61 = call i32 (...) @I2C1_WaitAck()
%62 = call i32 @I2C1_SendByte(i32 noundef 0)
%63 = call i32 (...) @I2C1_WaitAck()
%64 = call i32 (...) @I2C1_Stop()
%65 = call i32 @Delay_ms(i32 noundef 5)
%66 = call i32 (...) @I2C1_Start()
%67 = call i32 @I2C1_SendByte(i32 noundef 208)
%68 = call i32 (...) @I2C1_WaitAck()
%69 = call i32 @I2C1_SendByte(i32 noundef 27)
%70 = call i32 (...) @I2C1_WaitAck()
%71 = call i32 @I2C1_SendByte(i32 noundef 0)
%72 = call i32 (...) @I2C1_WaitAck()
%73 = call i32 (...) @I2C1_Stop()
%74 = call i32 @Delay_ms(i32 noundef 5)
%75 = call i32 (...) @I2C1_Start()
%76 = call i32 @I2C1_SendByte(i32 noundef 208)
%77 = call i32 (...) @I2C1_WaitAck()
%78 = call i32 @I2C1_SendByte(i32 noundef 28)
%79 = call i32 (...) @I2C1_WaitAck()
%80 = call i32 @I2C1_SendByte(i32 noundef 0)
%81 = call i32 (...) @I2C1_WaitAck()
%82 = call i32 (...) @I2C1_Stop()
%83 = call i32 @Delay_ms(i32 noundef 5)
%84 = call i32 (...) @I2C1_Start()
%85 = call i32 @I2C1_SendByte(i32 noundef 208)
%86 = call i32 (...) @I2C1_WaitAck()
%87 = call i32 @I2C1_SendByte(i32 noundef 55)
%88 = call i32 (...) @I2C1_WaitAck()
%89 = call i32 @I2C1_SendByte(i32 noundef 0)
%90 = call i32 (...) @I2C1_WaitAck()
%91 = call i32 (...) @I2C1_Stop()
%92 = call i32 @Delay_ms(i32 noundef 5)
%93 = call i32 (...) @I2C1_Start()
%94 = call i32 @I2C1_SendByte(i32 noundef 208)
%95 = call i32 (...) @I2C1_WaitAck()
%96 = call i32 @I2C1_SendByte(i32 noundef 56)
%97 = call i32 (...) @I2C1_WaitAck()
%98 = call i32 @I2C1_SendByte(i32 noundef 0)
%99 = call i32 (...) @I2C1_WaitAck()
%100 = call i32 (...) @I2C1_Stop()
%101 = call i32 @Delay_ms(i32 noundef 5)
store i32 0, ptr %1, align 4
br label %102
102: ; preds = %19, %18
%103 = load i32, ptr %1, align 4
ret i32 %103
}
declare i32 @I2C1_Start(...) #1
declare i32 @I2C1_SendByte(i32 noundef) #1
declare i32 @I2C1_WaitAck(...) #1
declare i32 @I2C1_Stop(...) #1
declare i32 @Delay_ms(i32 noundef) #1
declare i32 @I2C1_ReceiveByte(...) #1
declare i32 @I2C1_NoAck(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptpxa8ik6.c'
source_filename = "/tmp/tmptpxa8ik6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Please incrase MAX_WORD_LEN at least to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inc_histogram(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sle i32 %5, 128
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 4
br label %17
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14, %7
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptpxa8ik6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Please incrase MAX_WORD_LEN at least to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inc_histogram(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sle i32 %5, 128
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 4
br label %17
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14, %7
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8mojwvqd.c'
source_filename = "/tmp/tmp8mojwvqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"i'm g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
br label %14
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
call void (ptr, i32, ...) %10(ptr noundef %11, i32 noundef %13)
br label %14
14: ; preds = %8, %7
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mojwvqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"i'm g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
br label %14
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
call void (ptr, i32, ...) %10(ptr noundef %11, i32 noundef %13)
br label %14
14: ; preds = %8, %7
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwh0kym5g.c'
source_filename = "/tmp/tmpwh0kym5g.c"
target datalayout = "e-m:e-p270: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/tmpwh0kym5g.c"
target datalayout = "e-m:e-p270: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/tmpsowq19h7.c'
source_filename = "/tmp/tmpsowq19h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%11 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
store i32 1, ptr %11, align 16
store i32 1, ptr %6, align 4
br label %12
12: ; preds = %26, %2
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %15, label %29
15: ; preds = %12
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = mul nsw i32 %16, %21
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %15
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
store i32 0, ptr %9, align 4
store i32 10, ptr %6, align 4
br label %30
30: ; preds = %60, %29
%31 = load i32, ptr %6, align 4
%32 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
%33 = load i32, ptr %32, align 4
%34 = mul nsw i32 7, %33
%35 = icmp slt i32 %31, %34
br i1 %35, label %36, label %63
36: ; preds = %30
store i32 0, ptr %8, align 4
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %41, %36
%39 = load i32, ptr %7, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %38
%42 = load i32, ptr %7, align 4
%43 = srem i32 %42, 10
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %7, align 4
%50 = sdiv i32 %49, 10
store i32 %50, ptr %7, align 4
br label %38, !llvm.loop !8
51: ; preds = %38
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp eq i32 %52, %53
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, %56
store i32 %58, ptr %9, align 4
br label %59
59: ; preds = %55, %51
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
br label %30, !llvm.loop !9
63: ; preds = %30
%64 = load i32, ptr %9, align 4
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
ret i32 0
}
; 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 @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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsowq19h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%11 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
store i32 1, ptr %11, align 16
store i32 1, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %25
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = mul nsw i32 %15, %20
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %14
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
store i32 0, ptr %9, align 4
store i32 10, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
%33 = load i32, ptr %32, align 4
%34 = mul nsw i32 7, %33
%35 = icmp slt i32 %31, %34
br i1 %35, label %.lr.ph5, label %68
.lr.ph5: ; preds = %30
br label %36
36: ; preds = %.lr.ph5, %61
store i32 0, ptr %8, align 4
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %.lr.ph2, label %52
.lr.ph2: ; preds = %36
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load i32, ptr %7, align 4
%42 = srem i32 %41, 10
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %7, align 4
%49 = sdiv i32 %48, 10
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %52
52: ; preds = %._crit_edge3, %36
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, %57
store i32 %59, ptr %9, align 4
br label %60
60: ; preds = %56, %52
br label %61
61: ; preds = %60
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %32, align 4
%66 = mul nsw i32 7, %65
%67 = icmp slt i32 %64, %66
br i1 %67, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %61
br label %68
68: ; preds = %._crit_edge6, %30
%69 = load i32, ptr %9, align 4
%70 = call i32 @printf(ptr noundef @.str, i32 noundef %69)
ret i32 0
}
; 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 @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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbayw17aq.c'
source_filename = "/tmp/tmpbayw17aq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This Program count words in a string\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Please enter a string:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"The words count in the string is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %59, %2
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 49
br i1 %14, label %15, label %62
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %17
%19 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %18)
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 32
br i1 %25, label %26, label %29
26: ; preds = %15
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %36
29: ; preds = %15
%30 = load i32, ptr %8, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
br label %35
35: ; preds = %32, %29
store i32 0, ptr %8, align 4
br label %36
36: ; preds = %35, %26
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %58
43: ; preds = %36
%44 = load i32, ptr %8, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %57
46: ; preds = %43
%47 = load i32, ptr %7, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 32
br i1 %53, label %54, label %57
54: ; preds = %46
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %9, align 4
br label %57
57: ; preds = %54, %46, %43
br label %62
58: ; preds = %36
br label %59
59: ; preds = %58
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
br label %12, !llvm.loop !6
62: ; preds = %57, %12
%63 = load i32, ptr %9, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %63)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbayw17aq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This Program count words in a string\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Please enter a string:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"The words count in the string is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 49
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %58
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %17)
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 32
br i1 %24, label %25, label %28
25: ; preds = %14
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
br label %35
28: ; preds = %14
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
br label %34
34: ; preds = %31, %28
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %34, %25
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 10
br i1 %41, label %42, label %57
42: ; preds = %35
%43 = load i32, ptr %8, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %56
45: ; preds = %42
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 32
br i1 %52, label %53, label %56
53: ; preds = %45
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %53, %45, %42
br label %63
57: ; preds = %35
br label %58
58: ; preds = %57
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %61, 49
br i1 %62, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %58
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %63
63: ; preds = %.loopexit, %56
%64 = load i32, ptr %9, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzghcouoe.c'
source_filename = "/tmp/tmpzghcouoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"[.] warming up!\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"FAILED!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [512 x i32], align 16
%3 = alloca [64 x i32], align 16
%4 = alloca [64 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 2048)
%9 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 1
store i32 190, ptr %9, align 4
%10 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 32
store i32 173, ptr %10, align 16
%11 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 77
store i32 222, ptr %11, align 4
%12 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%13 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%14 = call i32 @bit_rotate(ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%16 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%17 = call i32 @bit_rotate(ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%19 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%20 = call i64 @memcmp(ptr noundef %18, ptr noundef %19, i32 noundef 2048)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%26 = call i32 @bit_rotate(ptr noundef %24, ptr noundef %25)
%27 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%28 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%29 = call i32 @bit_rotate_std(ptr noundef %27, ptr noundef %28)
%30 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%31 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%32 = call i64 @memcmp(ptr noundef %30, ptr noundef %31, i32 noundef 256)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
%36 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %47, %0
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %38, 10000
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%42 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%43 = call i32 @bit_rotate_std(ptr noundef %41, ptr noundef %42)
%44 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%45 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%46 = call i32 @bit_rotate(ptr noundef %44, ptr noundef %45)
br label %47
47: ; preds = %40
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %37, !llvm.loop !6
50: ; preds = %37
store i32 0, ptr %6, align 4
br label %51
51: ; preds = %58, %50
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %52, 10
br i1 %53, label %54, label %61
54: ; preds = %51
%55 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%56 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%57 = call i32 @do_test(ptr noundef %55, ptr noundef %56, i32 noundef 37)
br label %58
58: ; preds = %54
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %51, !llvm.loop !8
61: ; preds = %51
%62 = load i32, ptr %6, align 4
%63 = icmp eq i32 %62, 10
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = call i32 @printf(ptr noundef @.str.1)
%66 = call i32 @exit(i32 noundef 1) #3
unreachable
67: ; preds = %61
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bit_rotate(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bit_rotate_std(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @do_test(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzghcouoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"[.] warming up!\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"FAILED!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [512 x i32], align 16
%3 = alloca [64 x i32], align 16
%4 = alloca [64 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 2048)
%9 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 1
store i32 190, ptr %9, align 4
%10 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 32
store i32 173, ptr %10, align 16
%11 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 77
store i32 222, ptr %11, align 4
%12 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%13 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%14 = call i32 @bit_rotate(ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%16 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%17 = call i32 @bit_rotate(ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%19 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%20 = call i64 @memcmp(ptr noundef %18, ptr noundef %19, i32 noundef 2048)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%26 = call i32 @bit_rotate(ptr noundef %24, ptr noundef %25)
%27 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%28 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%29 = call i32 @bit_rotate_std(ptr noundef %27, ptr noundef %28)
%30 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%31 = getelementptr inbounds [64 x i32], ptr %4, i64 0, i64 0
%32 = call i64 @memcmp(ptr noundef %30, ptr noundef %31, i32 noundef 256)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
%36 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %37, 10000
br i1 %38, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %39
39: ; preds = %.lr.ph, %46
%40 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%41 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%42 = call i32 @bit_rotate_std(ptr noundef %40, ptr noundef %41)
%43 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%44 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%45 = call i32 @bit_rotate(ptr noundef %43, ptr noundef %44)
br label %46
46: ; preds = %39
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp slt i32 %49, 10000
br i1 %50, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %51
51: ; preds = %._crit_edge, %0
store i32 0, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %52, 10
br i1 %53, label %.lr.ph2, label %63
.lr.ph2: ; preds = %51
br label %54
54: ; preds = %.lr.ph2, %58
%55 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0
%56 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 0
%57 = call i32 @do_test(ptr noundef %55, ptr noundef %56, i32 noundef 37)
br label %58
58: ; preds = %54
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp slt i32 %61, 10
br i1 %62, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %63
63: ; preds = %._crit_edge3, %51
%64 = load i32, ptr %6, align 4
%65 = icmp eq i32 %64, 10
br i1 %65, label %66, label %69
66: ; preds = %63
%67 = call i32 @printf(ptr noundef @.str.1)
%68 = call i32 @exit(i32 noundef 1) #3
unreachable
69: ; preds = %63
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bit_rotate(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bit_rotate_std(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @do_test(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8qhsifna.c'
source_filename = "/tmp/tmp8qhsifna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Calling from Insert\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Insert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8qhsifna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Calling from Insert\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Insert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9vyw0q9d.c'
source_filename = "/tmp/tmp9vyw0q9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9, %0
br label %14
14: ; preds = %13, %26
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = srem i32 %15, %16
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21)
br label %27
23: ; preds = %14
%24 = load i32, ptr %3, align 4
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %4, align 4
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %23
br label %14
27: ; preds = %20
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vyw0q9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9, %0
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = srem i32 %14, %15
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %.lr.ph
.lr.ph: ; preds = %13
br label %22
._crit_edge: ; preds = %25
br label %19
19: ; preds = %._crit_edge, %13
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20)
br label %31
22: ; preds = %.lr.ph, %25
%23 = load i32, ptr %3, align 4
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = srem i32 %26, %27
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %._crit_edge, label %22
31: ; preds = %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpugl8aaea.c'
source_filename = "/tmp/tmpugl8aaea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtxFileOpen(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr null, %8
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = icmp eq ptr null, %16
%18 = zext i1 %17 to i64
%19 = select i1 %17, i32 -48, i32 0
store i32 %19, ptr %7, align 4
br label %21
20: ; preds = %3
store i32 -47, ptr %7, align 4
br label %21
21: ; preds = %20, %10
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpugl8aaea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtxFileOpen(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr null, %8
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = icmp eq ptr null, %16
%18 = zext i1 %17 to i64
%19 = select i1 %17, i32 -48, i32 0
store i32 %19, ptr %7, align 4
br label %21
20: ; preds = %3
store i32 -47, ptr %7, align 4
br label %21
21: ; preds = %20, %10
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp04ty3gbh.c'
source_filename = "/tmp/tmp04ty3gbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tpenguin/solarisvoip-asterisk/refs/heads/master/jitterbuf.c\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @__unregister_file_version, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @__unregister_file_version() #0 {
%1 = call i32 @ast_unregister_file_version(ptr noundef @.str)
ret void
}
declare i32 @ast_unregister_file_version(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp04ty3gbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tpenguin/solarisvoip-asterisk/refs/heads/master/jitterbuf.c\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @__unregister_file_version, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @__unregister_file_version() #0 {
%1 = call i32 @ast_unregister_file_version(ptr noundef @.str)
ret void
}
declare i32 @ast_unregister_file_version(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcm9zb_x0.c'
source_filename = "/tmp/tmpcm9zb_x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glReadPixels_size(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %4
store i32 -1, ptr %5, align 4
br label %82
20: ; preds = %16
%21 = load i32, ptr %6, align 4
switch i32 %21, label %27 [
i32 155, label %22
i32 143, label %22
i32 154, label %22
i32 147, label %23
i32 152, label %23
i32 157, label %23
i32 161, label %23
i32 149, label %23
i32 150, label %23
i32 148, label %24
i32 146, label %25
i32 160, label %25
i32 145, label %26
i32 159, label %26
i32 162, label %26
]
22: ; preds = %20, %20, %20
store i32 1, ptr %10, align 4
br label %28
23: ; preds = %20, %20, %20, %20, %20, %20
store i32 1, ptr %10, align 4
br label %28
24: ; preds = %20
store i32 2, ptr %10, align 4
br label %28
25: ; preds = %20, %20
store i32 3, ptr %10, align 4
br label %28
26: ; preds = %20, %20, %20
store i32 4, ptr %10, align 4
br label %28
27: ; preds = %20
store i32 -1, ptr %5, align 4
br label %82
28: ; preds = %26, %25, %24, %23, %22
%29 = load i32, ptr %7, align 4
switch i32 %29, label %62 [
i32 158, label %30
i32 156, label %56
i32 142, label %56
i32 140, label %57
i32 141, label %57
i32 144, label %58
i32 134, label %58
i32 129, label %59
i32 128, label %59
i32 132, label %59
i32 131, label %59
i32 130, label %59
i32 133, label %59
i32 151, label %60
i32 139, label %60
i32 153, label %60
i32 136, label %61
i32 135, label %61
i32 138, label %61
i32 137, label %61
]
30: ; preds = %28
%31 = load i32, ptr %6, align 4
%32 = icmp eq i32 %31, 155
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 143
br i1 %35, label %36, label %55
36: ; preds = %33, %30
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %10, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %39, 7
%41 = sdiv i32 %40, 8
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = srem i32 %42, 4
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %36
%47 = load i32, ptr %13, align 4
%48 = sub nsw i32 4, %47
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %12, align 4
br label %51
51: ; preds = %46, %36
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %9, align 4
%54 = mul nsw i32 %52, %53
store i32 %54, ptr %5, align 4
br label %82
55: ; preds = %33
store i32 -1, ptr %5, align 4
br label %82
56: ; preds = %28, %28
store i32 1, ptr %11, align 4
br label %63
57: ; preds = %28, %28
store i32 1, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
58: ; preds = %28, %28
store i32 2, ptr %11, align 4
br label %63
59: ; preds = %28, %28, %28, %28, %28, %28
store i32 2, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
60: ; preds = %28, %28, %28
store i32 4, ptr %11, align 4
br label %63
61: ; preds = %28, %28, %28, %28
store i32 4, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
62: ; preds = %28
store i32 -1, ptr %5, align 4
br label %82
63: ; preds = %61, %60, %59, %58, %57, %56
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %10, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %11, align 4
%68 = mul nsw i32 %66, %67
store i32 %68, ptr %12, align 4
%69 = load i32, ptr %12, align 4
%70 = srem i32 %69, 4
store i32 %70, ptr %13, align 4
%71 = load i32, ptr %13, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %63
%74 = load i32, ptr %13, align 4
%75 = sub nsw i32 4, %74
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %12, align 4
br label %78
78: ; preds = %73, %63
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr %9, align 4
%81 = mul nsw i32 %79, %80
store i32 %81, ptr %5, align 4
br label %82
82: ; preds = %78, %62, %55, %51, %27, %19
%83 = load i32, ptr %5, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcm9zb_x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glReadPixels_size(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %4
store i32 -1, ptr %5, align 4
br label %82
20: ; preds = %16
%21 = load i32, ptr %6, align 4
switch i32 %21, label %27 [
i32 155, label %22
i32 143, label %22
i32 154, label %22
i32 147, label %23
i32 152, label %23
i32 157, label %23
i32 161, label %23
i32 149, label %23
i32 150, label %23
i32 148, label %24
i32 146, label %25
i32 160, label %25
i32 145, label %26
i32 159, label %26
i32 162, label %26
]
22: ; preds = %20, %20, %20
store i32 1, ptr %10, align 4
br label %28
23: ; preds = %20, %20, %20, %20, %20, %20
store i32 1, ptr %10, align 4
br label %28
24: ; preds = %20
store i32 2, ptr %10, align 4
br label %28
25: ; preds = %20, %20
store i32 3, ptr %10, align 4
br label %28
26: ; preds = %20, %20, %20
store i32 4, ptr %10, align 4
br label %28
27: ; preds = %20
store i32 -1, ptr %5, align 4
br label %82
28: ; preds = %26, %25, %24, %23, %22
%29 = load i32, ptr %7, align 4
switch i32 %29, label %62 [
i32 158, label %30
i32 156, label %56
i32 142, label %56
i32 140, label %57
i32 141, label %57
i32 144, label %58
i32 134, label %58
i32 129, label %59
i32 128, label %59
i32 132, label %59
i32 131, label %59
i32 130, label %59
i32 133, label %59
i32 151, label %60
i32 139, label %60
i32 153, label %60
i32 136, label %61
i32 135, label %61
i32 138, label %61
i32 137, label %61
]
30: ; preds = %28
%31 = load i32, ptr %6, align 4
%32 = icmp eq i32 %31, 155
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 143
br i1 %35, label %36, label %55
36: ; preds = %33, %30
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %10, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %39, 7
%41 = sdiv i32 %40, 8
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = srem i32 %42, 4
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %36
%47 = load i32, ptr %13, align 4
%48 = sub nsw i32 4, %47
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %12, align 4
br label %51
51: ; preds = %46, %36
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %9, align 4
%54 = mul nsw i32 %52, %53
store i32 %54, ptr %5, align 4
br label %82
55: ; preds = %33
store i32 -1, ptr %5, align 4
br label %82
56: ; preds = %28, %28
store i32 1, ptr %11, align 4
br label %63
57: ; preds = %28, %28
store i32 1, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
58: ; preds = %28, %28
store i32 2, ptr %11, align 4
br label %63
59: ; preds = %28, %28, %28, %28, %28, %28
store i32 2, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
60: ; preds = %28, %28, %28
store i32 4, ptr %11, align 4
br label %63
61: ; preds = %28, %28, %28, %28
store i32 4, ptr %11, align 4
store i32 1, ptr %10, align 4
br label %63
62: ; preds = %28
store i32 -1, ptr %5, align 4
br label %82
63: ; preds = %61, %60, %59, %58, %57, %56
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %10, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %11, align 4
%68 = mul nsw i32 %66, %67
store i32 %68, ptr %12, align 4
%69 = load i32, ptr %12, align 4
%70 = srem i32 %69, 4
store i32 %70, ptr %13, align 4
%71 = load i32, ptr %13, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %63
%74 = load i32, ptr %13, align 4
%75 = sub nsw i32 4, %74
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %12, align 4
br label %78
78: ; preds = %73, %63
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr %9, align 4
%81 = mul nsw i32 %79, %80
store i32 %81, ptr %5, align 4
br label %82
82: ; preds = %78, %62, %55, %51, %27, %19
%83 = load i32, ptr %5, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxm1vgb6n.c'
source_filename = "/tmp/tmpxm1vgb6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findend(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
br label %5
5: ; preds = %23, %1
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = icmp slt i32 %7, 2047
br i1 %8, label %9, label %24
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = call zeroext i8 @eeread(i32 noundef %10)
store i8 %11, ptr %4, align 1
%12 = load i8, ptr %4, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 255
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %2, align 4
br label %25
17: ; preds = %9
%18 = load i8, ptr %4, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
store i32 %22, ptr %2, align 4
br label %25
23: ; preds = %17
br label %5, !llvm.loop !6
24: ; preds = %5
store i32 2047, ptr %2, align 4
br label %25
25: ; preds = %24, %20, %15
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare zeroext i8 @eeread(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/tmpxm1vgb6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findend(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %3, align 4
%7 = icmp slt i32 %6, 2047
br i1 %7, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %12
8: ; preds = %20
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = icmp slt i32 %10, 2047
br i1 %11, label %12, label %._crit_edge, !llvm.loop !6
12: ; preds = %.lr.ph, %8
%13 = load i32, ptr %3, align 4
%14 = call zeroext i8 @eeread(i32 noundef %13)
store i8 %14, ptr %4, align 1
%15 = load i8, ptr %4, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 255
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %2, align 4
br label %27
20: ; preds = %12
%21 = load i8, ptr %4, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %8, label %23
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
store i32 %25, ptr %2, align 4
br label %27
._crit_edge: ; preds = %8
br label %26
26: ; preds = %._crit_edge, %1
store i32 2047, ptr %2, align 4
br label %27
27: ; preds = %26, %23, %18
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare zeroext i8 @eeread(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/tmpyf8yaidz.c'
source_filename = "/tmp/tmpyf8yaidz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getToken(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %9, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = call i64 @isspace(i8 noundef signext %5)
%7 = icmp ne i64 %6, 0
%8 = xor i1 %7, true
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %2, align 8
store i8 0, ptr %13, align 1
br label %15
15: ; preds = %20, %12
%16 = load ptr, ptr %2, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %2, align 8
br label %15, !llvm.loop !8
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyf8yaidz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getToken(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = call i64 @isspace(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
%7 = xor i1 %6, true
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isspace(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
store i8 0, ptr %17, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @isspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %23
23: ; preds = %.lr.ph2, %23
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %26, align 1
%28 = call i64 @isspace(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %23
br label %30
30: ; preds = %._crit_edge3, %16
%31 = load ptr, ptr %2, align 8
ret ptr %31
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppyb8wo1y.c'
source_filename = "/tmp/tmppyb8wo1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cols_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [40 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
br label %16
16: ; preds = %22, %15
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
%19 = call i64 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %18)
%20 = load i64, ptr @EOF, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %16, !llvm.loop !6
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = sdiv i32 %28, %29
ret i32 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppyb8wo1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cols_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [40 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
%18 = call i64 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %17)
%19 = load i64, ptr @EOF, align 8
%20 = icmp ne i64 %18, %19
br i1 %20, label %.lr.ph, label %28
.lr.ph: ; preds = %15
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %5, align 8
%25 = call i64 @fscanf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %17)
%26 = load i64, ptr @EOF, align 8
%27 = icmp ne i64 %25, %26
br i1 %27, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %15
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = sdiv i32 %31, %32
ret i32 %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpftco6v6l.c'
source_filename = "/tmp/tmpftco6v6l.c"
target datalayout = "e-m:e-p270: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/tmpftco6v6l.c"
target datalayout = "e-m:e-p270: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/tmpm9nhut7w.c'
source_filename = "/tmp/tmpm9nhut7w.c"
target datalayout = "e-m:e-p270: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/tmpm9nhut7w.c"
target datalayout = "e-m:e-p270: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/tmpui0jesuq.c'
source_filename = "/tmp/tmpui0jesuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multidim_arr4_Good() #0 {
%1 = alloca [3 x [2 x i32]], align 16
%2 = alloca ptr, align 8
%3 = getelementptr inbounds [3 x [2 x i32]], ptr %1, i64 0, i64 0
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 5
store i32 0, ptr %5, 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/tmpui0jesuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multidim_arr4_Good() #0 {
%1 = alloca [3 x [2 x i32]], align 16
%2 = alloca ptr, align 8
%3 = getelementptr inbounds [3 x [2 x i32]], ptr %1, i64 0, i64 0
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 5
store i32 0, ptr %5, 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/tmp7lbdyu26.c'
source_filename = "/tmp/tmp7lbdyu26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen_read(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 @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %9, i32 noundef 0)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @print_error_global(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/tmp7lbdyu26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen_read(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 @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %9, i32 noundef 0)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @print_error_global(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/tmpm5ba3w3c.c'
source_filename = "/tmp/tmpm5ba3w3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @SpectralNorm_main()
ret i32 0
}
declare i32 @SpectralNorm_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5ba3w3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @SpectralNorm_main()
ret i32 0
}
declare i32 @SpectralNorm_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpemvzhzsx.c'
source_filename = "/tmp/tmpemvzhzsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_double_tab(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 %7, align 4
br label %9
9: ; preds = %35, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %38
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %30, %13
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %33
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %28)
br label %30
30: ; preds = %19
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %9, !llvm.loop !8
38: ; preds = %9
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemvzhzsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_double_tab(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 %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %36
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %26)
br label %28
28: ; preds = %17
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwc6j9idv.c'
source_filename = "/tmp/tmpwc6j9idv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bla() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @foo(i32 noundef 0)
store i32 %3, ptr %2, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %11, %0
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = load i32, ptr %1, align 4
%10 = call i32 @foo(i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
ret void
}
declare i32 @foo(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/tmpwc6j9idv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bla() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @foo(i32 noundef 0)
store i32 %3, ptr %2, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %1, align 4
%9 = call i32 @foo(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %0
ret void
}
declare i32 @foo(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.