llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpm5pp59y6.c'
source_filename = "/tmp/tmpm5pp59y6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8.8.8.8\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"8.8.4.4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dns_init_install_back_resolver(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @dns_serv_count(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %21
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @dns_add_serv(ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
br label %21
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = call i32 @dns_add_serv(ptr noundef %19, ptr noundef @.str.1)
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %18, %16, %9
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @dns_serv_count(ptr noundef) #1
declare i32 @dns_add_serv(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/tmpm5pp59y6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8.8.8.8\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"8.8.4.4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dns_init_install_back_resolver(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @dns_serv_count(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %21
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @dns_add_serv(ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
br label %21
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = call i32 @dns_add_serv(ptr noundef %19, ptr noundef @.str.1)
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %18, %16, %9
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @dns_serv_count(ptr noundef) #1
declare i32 @dns_add_serv(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/tmp31jtd4lb.c'
source_filename = "/tmp/tmp31jtd4lb.c"
target datalayout = "e-m:e-p270: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/tmp31jtd4lb.c"
target datalayout = "e-m:e-p270: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/tmpxhxe2y9c.c'
source_filename = "/tmp/tmpxhxe2y9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Socket error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @unix_error(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxhxe2y9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Socket error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @unix_error(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe16_3k1c.c'
source_filename = "/tmp/tmpe16_3k1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isCompatible(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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 %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %77
17: ; preds = %2
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %73, %17
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %76
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isVowel(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %54, label %30
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = call i64 @isVowel(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %54, label %38
38: ; preds = %30
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %44, %50
br i1 %51, label %52, label %53
52: ; preds = %38
store i32 0, ptr %3, align 4
br label %77
53: ; preds = %38
br label %72
54: ; preds = %30, %22
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = call i64 @isVowel(i8 noundef signext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %70
62: ; preds = %54
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = call i64 @isVowel(i8 noundef signext %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %71, label %70
70: ; preds = %62, %54
store i32 0, ptr %3, align 4
br label %77
71: ; preds = %62
br label %72
72: ; preds = %71, %53
br label %73
73: ; preds = %72
%74 = load i32, ptr %8, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %8, align 4
br label %18, !llvm.loop !6
76: ; preds = %18
store i32 1, ptr %3, align 4
br label %77
77: ; preds = %76, %70, %52, %16
%78 = load i32, ptr %3, align 4
ret i32 %78
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isVowel(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/tmpe16_3k1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isCompatible(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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 %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %79
17: ; preds = %2
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %78
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %72
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i64 @isVowel(i8 noundef signext %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %53, label %29
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call i64 @isVowel(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %53, label %37
37: ; preds = %29
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %43, %49
br i1 %50, label %51, label %52
51: ; preds = %37
store i32 0, ptr %3, align 4
br label %79
52: ; preds = %37
br label %71
53: ; preds = %29, %21
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = call i64 @isVowel(i8 noundef signext %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %61, label %69
61: ; preds = %53
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %8, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = call i64 @isVowel(i8 noundef signext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %70, label %69
69: ; preds = %61, %53
store i32 0, ptr %3, align 4
br label %79
70: ; preds = %61
br label %71
71: ; preds = %70, %52
br label %72
72: ; preds = %71
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %6, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %78
78: ; preds = %._crit_edge, %17
store i32 1, ptr %3, align 4
br label %79
79: ; preds = %78, %69, %51, %16
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isVowel(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/tmp0kt624xs.c'
source_filename = "/tmp/tmp0kt624xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = load float, ptr %2, align 4
%10 = load float, ptr %3, align 4
%11 = fcmp olt float %9, %10
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = load float, ptr %3, align 4
store float %13, ptr %5, align 4
br label %16
14: ; preds = %0
%15 = load float, ptr %2, align 4
store float %15, ptr %5, align 4
br label %16
16: ; preds = %14, %12
%17 = load float, ptr %5, align 4
%18 = load float, ptr %4, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load float, ptr %4, align 4
store float %21, ptr %5, align 4
br label %22
22: ; preds = %20, %16
%23 = load float, ptr %5, align 4
%24 = call i32 @printf(ptr noundef @.str.1, float noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kt624xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = load float, ptr %2, align 4
%10 = load float, ptr %3, align 4
%11 = fcmp olt float %9, %10
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = load float, ptr %3, align 4
store float %13, ptr %5, align 4
br label %16
14: ; preds = %0
%15 = load float, ptr %2, align 4
store float %15, ptr %5, align 4
br label %16
16: ; preds = %14, %12
%17 = load float, ptr %5, align 4
%18 = load float, ptr %4, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load float, ptr %4, align 4
store float %21, ptr %5, align 4
br label %22
22: ; preds = %20, %16
%23 = load float, ptr %5, align 4
%24 = call i32 @printf(ptr noundef @.str.1, float noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt2wr36la.c'
source_filename = "/tmp/tmpt2wr36la.c"
target datalayout = "e-m:e-p270: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/tmpt2wr36la.c"
target datalayout = "e-m:e-p270: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/tmppqbsrlfk.c'
source_filename = "/tmp/tmppqbsrlfk.c"
target datalayout = "e-m:e-p270: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.hostent = type { ptr }
@resolve_address.addr_str = internal global [256 x i8] zeroinitializer, align 16
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resolve_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @AF_INET, align 4
%6 = call ptr @gethostbyaddr(ptr noundef %2, i32 noundef 4, i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %22
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.hostent, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.hostent, ptr %15, i32 0, i32 0
%17 = load ptr, ptr %16, align 8
br label %19
18: ; preds = %8
br label %19
19: ; preds = %18, %14
%20 = phi ptr [ %17, %14 ], [ @.str, %18 ]
%21 = call i32 @strcpy(ptr noundef @resolve_address.addr_str, ptr noundef %20)
br label %37
22: ; preds = %1
%23 = load i32, ptr %2, align 4
%24 = call i32 @ntohl(i32 noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = and i32 %26, 255
%28 = load i32, ptr %4, align 4
%29 = ashr i32 %28, 16
%30 = and i32 %29, 255
%31 = load i32, ptr %4, align 4
%32 = ashr i32 %31, 8
%33 = and i32 %32, 255
%34 = load i32, ptr %4, align 4
%35 = and i32 %34, 255
%36 = call i32 @sprintf(ptr noundef @resolve_address.addr_str, ptr noundef @.str.1, i32 noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef %35)
br label %37
37: ; preds = %22, %19
ret ptr @resolve_address.addr_str
}
declare ptr @gethostbyaddr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ntohl(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppqbsrlfk.c"
target datalayout = "e-m:e-p270: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.hostent = type { ptr }
@resolve_address.addr_str = internal global [256 x i8] zeroinitializer, align 16
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resolve_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @AF_INET, align 4
%6 = call ptr @gethostbyaddr(ptr noundef %2, i32 noundef 4, i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %22
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.hostent, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.hostent, ptr %15, i32 0, i32 0
%17 = load ptr, ptr %16, align 8
br label %19
18: ; preds = %8
br label %19
19: ; preds = %18, %14
%20 = phi ptr [ %17, %14 ], [ @.str, %18 ]
%21 = call i32 @strcpy(ptr noundef @resolve_address.addr_str, ptr noundef %20)
br label %37
22: ; preds = %1
%23 = load i32, ptr %2, align 4
%24 = call i32 @ntohl(i32 noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = and i32 %26, 255
%28 = load i32, ptr %4, align 4
%29 = ashr i32 %28, 16
%30 = and i32 %29, 255
%31 = load i32, ptr %4, align 4
%32 = ashr i32 %31, 8
%33 = and i32 %32, 255
%34 = load i32, ptr %4, align 4
%35 = and i32 %34, 255
%36 = call i32 @sprintf(ptr noundef @resolve_address.addr_str, ptr noundef @.str.1, i32 noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef %35)
br label %37
37: ; preds = %22, %19
ret ptr @resolve_address.addr_str
}
declare ptr @gethostbyaddr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ntohl(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphe38nex9.c'
source_filename = "/tmp/tmphe38nex9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcopy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = trunc i64 %15 to i32
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %3
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sge i32 %20, %21
br i1 %22, label %23, label %80
23: ; preds = %19, %3
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %38, label %30
30: ; preds = %23
%31 = load ptr, ptr %5, align 8
%32 = ptrtoint ptr %31 to i32
%33 = load ptr, ptr %4, align 8
%34 = ptrtoint ptr %33 to i32
%35 = xor i32 %32, %34
%36 = and i32 %35, 3
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %30, %23
br label %68
39: ; preds = %30
br label %40
40: ; preds = %45, %39
%41 = load ptr, ptr %5, align 8
%42 = ptrtoint ptr %41 to i32
%43 = and i32 %42, 3
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %40
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %4, align 8
%48 = load i8, ptr %46, align 1
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %5, align 8
store i8 %48, ptr %49, align 1
br label %40, !llvm.loop !6
51: ; preds = %40
%52 = load ptr, ptr %4, align 8
store ptr %52, ptr %8, align 8
%53 = load ptr, ptr %5, align 8
store ptr %53, ptr %9, align 8
br label %54
54: ; preds = %60, %51
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i64, ptr %55, i32 1
store ptr %56, ptr %8, align 8
%57 = load i64, ptr %55, align 8
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds i64, ptr %58, i32 1
store ptr %59, ptr %9, align 8
store i64 %57, ptr %58, align 8
br label %60
60: ; preds = %54
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 8
%63 = load ptr, ptr %7, align 8
%64 = icmp ule ptr %62, %63
br i1 %64, label %54, label %65, !llvm.loop !8
65: ; preds = %60
%66 = load ptr, ptr %9, align 8
store ptr %66, ptr %5, align 8
%67 = load ptr, ptr %8, align 8
store ptr %67, ptr %4, align 8
br label %68
68: ; preds = %65, %38
br label %69
69: ; preds = %73, %68
%70 = load ptr, ptr %5, align 8
%71 = load ptr, ptr %7, align 8
%72 = icmp ult ptr %70, %71
br i1 %72, label %73, label %79
73: ; preds = %69
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %4, align 8
%76 = load i8, ptr %74, align 1
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %5, align 8
store i8 %76, ptr %77, align 1
br label %69, !llvm.loop !9
79: ; preds = %69
br label %142
80: ; preds = %19
%81 = load ptr, ptr %5, align 8
store ptr %81, ptr %7, align 8
%82 = load i32, ptr %6, align 4
%83 = load ptr, ptr %5, align 8
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i8, ptr %83, i64 %84
store ptr %85, ptr %5, align 8
%86 = load i32, ptr %6, align 4
%87 = load ptr, ptr %4, align 8
%88 = sext i32 %86 to i64
%89 = getelementptr inbounds i8, ptr %87, i64 %88
store ptr %89, ptr %4, align 8
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %90, 10
br i1 %91, label %100, label %92
92: ; preds = %80
%93 = load ptr, ptr %5, align 8
%94 = ptrtoint ptr %93 to i32
%95 = load ptr, ptr %4, align 8
%96 = ptrtoint ptr %95 to i32
%97 = xor i32 %94, %96
%98 = and i32 %97, 3
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %92, %80
br label %130
101: ; preds = %92
br label %102
102: ; preds = %107, %101
%103 = load ptr, ptr %5, align 8
%104 = ptrtoint ptr %103 to i32
%105 = and i32 %104, 3
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %113
107: ; preds = %102
%108 = load ptr, ptr %4, align 8
%109 = getelementptr inbounds i8, ptr %108, i32 -1
store ptr %109, ptr %4, align 8
%110 = load i8, ptr %109, align 1
%111 = load ptr, ptr %5, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 -1
store ptr %112, ptr %5, align 8
store i8 %110, ptr %112, align 1
br label %102, !llvm.loop !10
113: ; preds = %102
%114 = load ptr, ptr %4, align 8
store ptr %114, ptr %8, align 8
%115 = load ptr, ptr %5, align 8
store ptr %115, ptr %9, align 8
br label %116
116: ; preds = %122, %113
%117 = load ptr, ptr %8, align 8
%118 = getelementptr inbounds i64, ptr %117, i32 -1
store ptr %118, ptr %8, align 8
%119 = load i64, ptr %118, align 8
%120 = load ptr, ptr %9, align 8
%121 = getelementptr inbounds i64, ptr %120, i32 -1
store ptr %121, ptr %9, align 8
store i64 %119, ptr %121, align 8
br label %122
122: ; preds = %116
%123 = load ptr, ptr %9, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 -8
%125 = load ptr, ptr %7, align 8
%126 = icmp uge ptr %124, %125
br i1 %126, label %116, label %127, !llvm.loop !11
127: ; preds = %122
%128 = load ptr, ptr %9, align 8
store ptr %128, ptr %5, align 8
%129 = load ptr, ptr %8, align 8
store ptr %129, ptr %4, align 8
br label %130
130: ; preds = %127, %100
br label %131
131: ; preds = %135, %130
%132 = load ptr, ptr %5, align 8
%133 = load ptr, ptr %7, align 8
%134 = icmp ugt ptr %132, %133
br i1 %134, label %135, label %141
135: ; preds = %131
%136 = load ptr, ptr %4, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 -1
store ptr %137, ptr %4, align 8
%138 = load i8, ptr %137, align 1
%139 = load ptr, ptr %5, align 8
%140 = getelementptr inbounds i8, ptr %139, i32 -1
store ptr %140, ptr %5, align 8
store i8 %138, ptr %140, align 1
br label %131, !llvm.loop !12
141: ; preds = %131
br label %142
142: ; preds = %141, %79
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphe38nex9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcopy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = trunc i64 %15 to i32
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %3
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sge i32 %20, %21
br i1 %22, label %23, label %85
23: ; preds = %19, %3
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %38, label %30
30: ; preds = %23
%31 = load ptr, ptr %5, align 8
%32 = ptrtoint ptr %31 to i32
%33 = load ptr, ptr %4, align 8
%34 = ptrtoint ptr %33 to i32
%35 = xor i32 %32, %34
%36 = and i32 %35, 3
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %30, %23
br label %71
39: ; preds = %30
%40 = load ptr, ptr %5, align 8
%41 = ptrtoint ptr %40 to i32
%42 = and i32 %41, 3
%43 = icmp ne i32 %42, 0
br i1 %43, label %.lr.ph5, label %54
.lr.ph5: ; preds = %39
br label %44
44: ; preds = %.lr.ph5, %44
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %4, align 8
%47 = load i8, ptr %45, align 1
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %5, align 8
store i8 %47, ptr %48, align 1
%50 = load ptr, ptr %5, align 8
%51 = ptrtoint ptr %50 to i32
%52 = and i32 %51, 3
%53 = icmp ne i32 %52, 0
br i1 %53, label %44, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %44
br label %54
54: ; preds = %._crit_edge6, %39
%55 = load ptr, ptr %4, align 8
store ptr %55, ptr %8, align 8
%56 = load ptr, ptr %5, align 8
store ptr %56, ptr %9, align 8
br label %57
57: ; preds = %63, %54
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i64, ptr %58, i32 1
store ptr %59, ptr %8, align 8
%60 = load i64, ptr %58, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i64, ptr %61, i32 1
store ptr %62, ptr %9, align 8
store i64 %60, ptr %61, align 8
br label %63
63: ; preds = %57
%64 = load ptr, ptr %9, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 8
%66 = load ptr, ptr %7, align 8
%67 = icmp ule ptr %65, %66
br i1 %67, label %57, label %68, !llvm.loop !8
68: ; preds = %63
%69 = load ptr, ptr %9, align 8
store ptr %69, ptr %5, align 8
%70 = load ptr, ptr %8, align 8
store ptr %70, ptr %4, align 8
br label %71
71: ; preds = %68, %38
%72 = load ptr, ptr %5, align 8
%73 = load ptr, ptr %7, align 8
%74 = icmp ult ptr %72, %73
br i1 %74, label %.lr.ph8, label %84
.lr.ph8: ; preds = %71
br label %75
75: ; preds = %.lr.ph8, %75
%76 = load ptr, ptr %4, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %4, align 8
%78 = load i8, ptr %76, align 1
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %5, align 8
store i8 %78, ptr %79, align 1
%81 = load ptr, ptr %5, align 8
%82 = load ptr, ptr %7, align 8
%83 = icmp ult ptr %81, %82
br i1 %83, label %75, label %._crit_edge9, !llvm.loop !9
._crit_edge9: ; preds = %75
br label %84
84: ; preds = %._crit_edge9, %71
br label %152
85: ; preds = %19
%86 = load ptr, ptr %5, align 8
store ptr %86, ptr %7, align 8
%87 = load i32, ptr %6, align 4
%88 = load ptr, ptr %5, align 8
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds i8, ptr %88, i64 %89
store ptr %90, ptr %5, align 8
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %4, align 8
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds i8, ptr %92, i64 %93
store ptr %94, ptr %4, align 8
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %95, 10
br i1 %96, label %105, label %97
97: ; preds = %85
%98 = load ptr, ptr %5, align 8
%99 = ptrtoint ptr %98 to i32
%100 = load ptr, ptr %4, align 8
%101 = ptrtoint ptr %100 to i32
%102 = xor i32 %99, %101
%103 = and i32 %102, 3
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %97, %85
br label %138
106: ; preds = %97
%107 = load ptr, ptr %5, align 8
%108 = ptrtoint ptr %107 to i32
%109 = and i32 %108, 3
%110 = icmp ne i32 %109, 0
br i1 %110, label %.lr.ph, label %121
.lr.ph: ; preds = %106
br label %111
111: ; preds = %.lr.ph, %111
%112 = load ptr, ptr %4, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 -1
store ptr %113, ptr %4, align 8
%114 = load i8, ptr %113, align 1
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 -1
store ptr %116, ptr %5, align 8
store i8 %114, ptr %116, align 1
%117 = load ptr, ptr %5, align 8
%118 = ptrtoint ptr %117 to i32
%119 = and i32 %118, 3
%120 = icmp ne i32 %119, 0
br i1 %120, label %111, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %111
br label %121
121: ; preds = %._crit_edge, %106
%122 = load ptr, ptr %4, align 8
store ptr %122, ptr %8, align 8
%123 = load ptr, ptr %5, align 8
store ptr %123, ptr %9, align 8
br label %124
124: ; preds = %130, %121
%125 = load ptr, ptr %8, align 8
%126 = getelementptr inbounds i64, ptr %125, i32 -1
store ptr %126, ptr %8, align 8
%127 = load i64, ptr %126, align 8
%128 = load ptr, ptr %9, align 8
%129 = getelementptr inbounds i64, ptr %128, i32 -1
store ptr %129, ptr %9, align 8
store i64 %127, ptr %129, align 8
br label %130
130: ; preds = %124
%131 = load ptr, ptr %9, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 -8
%133 = load ptr, ptr %7, align 8
%134 = icmp uge ptr %132, %133
br i1 %134, label %124, label %135, !llvm.loop !11
135: ; preds = %130
%136 = load ptr, ptr %9, align 8
store ptr %136, ptr %5, align 8
%137 = load ptr, ptr %8, align 8
store ptr %137, ptr %4, align 8
br label %138
138: ; preds = %135, %105
%139 = load ptr, ptr %5, align 8
%140 = load ptr, ptr %7, align 8
%141 = icmp ugt ptr %139, %140
br i1 %141, label %.lr.ph2, label %151
.lr.ph2: ; preds = %138
br label %142
142: ; preds = %.lr.ph2, %142
%143 = load ptr, ptr %4, align 8
%144 = getelementptr inbounds i8, ptr %143, i32 -1
store ptr %144, ptr %4, align 8
%145 = load i8, ptr %144, align 1
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 -1
store ptr %147, ptr %5, align 8
store i8 %145, ptr %147, align 1
%148 = load ptr, ptr %5, align 8
%149 = load ptr, ptr %7, align 8
%150 = icmp ugt ptr %148, %149
br i1 %150, label %142, label %._crit_edge3, !llvm.loop !12
._crit_edge3: ; preds = %142
br label %151
151: ; preds = %._crit_edge3, %138
br label %152
152: ; preds = %151, %84
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp4mw81a7a.c'
source_filename = "/tmp/tmp4mw81a7a.c"
target datalayout = "e-m:e-p270: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/tmp4mw81a7a.c"
target datalayout = "e-m:e-p270: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/tmpu2hi76jh.c'
source_filename = "/tmp/tmpu2hi76jh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_islessgreater() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = load float, ptr %1, align 4
%8 = fpext float %7 to x86_fp80
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to x86_fp80
%11 = call i32 @islessgreater(x86_fp80 noundef %8, x86_fp80 noundef %10)
%12 = load double, ptr %3, align 8
%13 = fpext double %12 to x86_fp80
%14 = load double, ptr %4, align 8
%15 = fpext double %14 to x86_fp80
%16 = call i32 @islessgreater(x86_fp80 noundef %13, x86_fp80 noundef %15)
%17 = load x86_fp80, ptr %5, align 16
%18 = load x86_fp80, ptr %6, align 16
%19 = call i32 @islessgreater(x86_fp80 noundef %17, x86_fp80 noundef %18)
ret void
}
declare i32 @islessgreater(x86_fp80 noundef, x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu2hi76jh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_islessgreater() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = load float, ptr %1, align 4
%8 = fpext float %7 to x86_fp80
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to x86_fp80
%11 = call i32 @islessgreater(x86_fp80 noundef %8, x86_fp80 noundef %10)
%12 = load double, ptr %3, align 8
%13 = fpext double %12 to x86_fp80
%14 = load double, ptr %4, align 8
%15 = fpext double %14 to x86_fp80
%16 = call i32 @islessgreater(x86_fp80 noundef %13, x86_fp80 noundef %15)
%17 = load x86_fp80, ptr %5, align 16
%18 = load x86_fp80, ptr %6, align 16
%19 = call i32 @islessgreater(x86_fp80 noundef %17, x86_fp80 noundef %18)
ret void
}
declare i32 @islessgreater(x86_fp80 noundef, x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt_0uvftz.c'
source_filename = "/tmp/tmpt_0uvftz.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"USAGE:\09mantomak.exe InputFile [OutputFile]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"InputFile:\09Manifest file. If without extension, \22%s\22 assumed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c".mn\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"OutputFile:\09NMake file. If not present, \22InputFile%s\22 assumed.\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".win\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.1, ptr noundef @.str.2)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_0uvftz.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"USAGE:\09mantomak.exe InputFile [OutputFile]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"InputFile:\09Manifest file. If without extension, \22%s\22 assumed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c".mn\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"OutputFile:\09NMake file. If not present, \22InputFile%s\22 assumed.\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".win\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.1, ptr noundef @.str.2)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplt3_aw99.c'
source_filename = "/tmp/tmplt3_aw99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [882 x i8] c"Usage: killall [OPTION]... [--] NAME...\0A \09killall -l, --list\0A \09killall -V, --version\0A \09\0A \09-e,--exact require exact match for very long names\0A \09-I,--ignore-case case insensitive process name match\0A \09-g,--process-group kill process group instead of process\0A \09-y,--younger-than kill processes younger than TIME\0A \09-o,--older-than kill processes older than TIME\0A \09-i,--interactive ask for confirmation before killing\0A \09-l,--list list all known signal names\0A \09-q,--quiet don't print complaints\0A \09-r,--regexp interpret NAME as an extended regular expression\0A \09-s,--signal SIGNAL send this signal instead of SIGTERM\0A \09-u,--user USER kill only process(es) running as USER\0A \09-v,--verbose report if the signal was successfully sent\0A \09-V,--version display version information\0A \09-w,--wait wait for processes to die\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
store ptr @.str, ptr %6, align 8
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %6, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %9
%15 = load i32, ptr %3, align 4
ret i32 %15
}
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/tmplt3_aw99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [882 x i8] c"Usage: killall [OPTION]... [--] NAME...\0A \09killall -l, --list\0A \09killall -V, --version\0A \09\0A \09-e,--exact require exact match for very long names\0A \09-I,--ignore-case case insensitive process name match\0A \09-g,--process-group kill process group instead of process\0A \09-y,--younger-than kill processes younger than TIME\0A \09-o,--older-than kill processes older than TIME\0A \09-i,--interactive ask for confirmation before killing\0A \09-l,--list list all known signal names\0A \09-q,--quiet don't print complaints\0A \09-r,--regexp interpret NAME as an extended regular expression\0A \09-s,--signal SIGNAL send this signal instead of SIGTERM\0A \09-u,--user USER kill only process(es) running as USER\0A \09-v,--verbose report if the signal was successfully sent\0A \09-V,--version display version information\0A \09-w,--wait wait for processes to die\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
store ptr @.str, ptr %6, align 8
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %6, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %9
%15 = load i32, ptr %3, align 4
ret i32 %15
}
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/tmplwa68_k8.c'
source_filename = "/tmp/tmplwa68_k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplwa68_k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu97uv6s0.c'
source_filename = "/tmp/tmpu97uv6s0.c"
target datalayout = "e-m:e-p270: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/tmpu97uv6s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3ez3i2h.c'
source_filename = "/tmp/tmp_3ez3i2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @partitionArray(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
call void @quickSort(i32 noundef %13, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @quickSort(i32 noundef %17, i32 noundef %18)
br label %19
19: ; preds = %9, %2
ret void
}
declare i32 @partitionArray(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/tmp_3ez3i2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @partitionArray(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
call void @quickSort(i32 noundef %13, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @quickSort(i32 noundef %17, i32 noundef %18)
br label %19
19: ; preds = %9, %2
ret void
}
declare i32 @partitionArray(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/tmpo2szi3vy.c'
source_filename = "/tmp/tmpo2szi3vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_VERSION = dso_local global i32 0, align 4
@GL_TRUE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"GL_ARB_vertex_shader\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"GL_ARB_fragment_shader\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"GL_ARB_shader_objects\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [69 x i8] c"Warning: Trying ARB GLSL instead of OpenGL 2.x. This may not work.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ShadersSupported() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = load i32, ptr @GL_VERSION, align 4
%4 = call i64 @glGetString(i32 noundef %3)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 50
br i1 %10, label %11, label %19
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 46
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load i32, ptr @GL_TRUE, align 4
store i32 %18, ptr %1, align 4
br label %35
19: ; preds = %11, %0
%20 = call i64 @glutExtensionSupported(ptr noundef @.str)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = call i64 @glutExtensionSupported(ptr noundef @.str.1)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = call i64 @glutExtensionSupported(ptr noundef @.str.2)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3)
%31 = load i32, ptr @GL_TRUE, align 4
store i32 %31, ptr %1, align 4
br label %35
32: ; preds = %25, %22, %19
br label %33
33: ; preds = %32
%34 = load i32, ptr @GL_TRUE, align 4
store i32 %34, ptr %1, align 4
br label %35
35: ; preds = %33, %28, %17
%36 = load i32, ptr %1, align 4
ret i32 %36
}
declare i64 @glGetString(i32 noundef) #1
declare i64 @glutExtensionSupported(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo2szi3vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_VERSION = dso_local global i32 0, align 4
@GL_TRUE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"GL_ARB_vertex_shader\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"GL_ARB_fragment_shader\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"GL_ARB_shader_objects\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [69 x i8] c"Warning: Trying ARB GLSL instead of OpenGL 2.x. This may not work.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ShadersSupported() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = load i32, ptr @GL_VERSION, align 4
%4 = call i64 @glGetString(i32 noundef %3)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 50
br i1 %10, label %11, label %19
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 46
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load i32, ptr @GL_TRUE, align 4
store i32 %18, ptr %1, align 4
br label %35
19: ; preds = %11, %0
%20 = call i64 @glutExtensionSupported(ptr noundef @.str)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = call i64 @glutExtensionSupported(ptr noundef @.str.1)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = call i64 @glutExtensionSupported(ptr noundef @.str.2)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3)
%31 = load i32, ptr @GL_TRUE, align 4
store i32 %31, ptr %1, align 4
br label %35
32: ; preds = %25, %22, %19
br label %33
33: ; preds = %32
%34 = load i32, ptr @GL_TRUE, align 4
store i32 %34, ptr %1, align 4
br label %35
35: ; preds = %33, %28, %17
%36 = load i32, ptr %1, align 4
ret i32 %36
}
declare i64 @glGetString(i32 noundef) #1
declare i64 @glutExtensionSupported(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy5t44vv2.c'
source_filename = "/tmp/tmpy5t44vv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"overflow\00", align 1
@INT_MIN = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"underflow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @str_to_int(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call i32 @str_to_ll(ptr noundef %12, i32 noundef %13, ptr noundef %11, ptr noundef %14, i64 noundef %15)
%17 = load ptr, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %5
br label %42
22: ; preds = %5
%23 = load i64, ptr %11, align 8
%24 = load i64, ptr @INT_MAX, align 8
%25 = icmp sgt i64 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %10, align 8
%29 = call i32 @snprintf(ptr noundef %27, i64 noundef %28, ptr noundef @.str)
br label %42
30: ; preds = %22
%31 = load i64, ptr %11, align 8
%32 = load i64, ptr @INT_MIN, align 8
%33 = icmp slt i64 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %10, align 8
%37 = call i32 @snprintf(ptr noundef %35, i64 noundef %36, ptr noundef @.str.1)
br label %42
38: ; preds = %30
%39 = load i64, ptr %11, align 8
%40 = trunc i64 %39 to i32
%41 = load ptr, ptr %8, align 8
store i32 %40, ptr %41, align 4
br label %42
42: ; preds = %38, %34, %26, %21
ret void
}
declare i32 @str_to_ll(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @snprintf(ptr noundef, i64 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/tmpy5t44vv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"overflow\00", align 1
@INT_MIN = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"underflow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @str_to_int(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call i32 @str_to_ll(ptr noundef %12, i32 noundef %13, ptr noundef %11, ptr noundef %14, i64 noundef %15)
%17 = load ptr, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %5
br label %42
22: ; preds = %5
%23 = load i64, ptr %11, align 8
%24 = load i64, ptr @INT_MAX, align 8
%25 = icmp sgt i64 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %10, align 8
%29 = call i32 @snprintf(ptr noundef %27, i64 noundef %28, ptr noundef @.str)
br label %42
30: ; preds = %22
%31 = load i64, ptr %11, align 8
%32 = load i64, ptr @INT_MIN, align 8
%33 = icmp slt i64 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %10, align 8
%37 = call i32 @snprintf(ptr noundef %35, i64 noundef %36, ptr noundef @.str.1)
br label %42
38: ; preds = %30
%39 = load i64, ptr %11, align 8
%40 = trunc i64 %39 to i32
%41 = load ptr, ptr %8, align 8
store i32 %40, ptr %41, align 4
br label %42
42: ; preds = %38, %34, %26, %21
ret void
}
declare i32 @str_to_ll(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @snprintf(ptr noundef, i64 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/tmp8mjdik1h.c'
source_filename = "/tmp/tmp8mjdik1h.c"
target datalayout = "e-m:e-p270: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.F2.b1 = private unnamed_addr constant [4 x i32] [i32 0, i32 1, i32 3, i32 2], align 16
@__const.F2.b2 = private unnamed_addr constant [4 x i32] [i32 5, i32 10, i32 14, i32 20], align 16
@__const.F2.b3 = private unnamed_addr constant [4 x i32] [i32 4, i32 8, i32 15, i32 22], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @F2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x i32], align 16
%6 = alloca [4 x i32], align 16
%7 = alloca [4 x i32], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.F2.b1, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.F2.b2, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.F2.b3, i64 16, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @four_swap_2(ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%14 = load i32, ptr %4, align 4
%15 = call i32 @four_swap_2(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 @four_swap_2(ptr noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
; 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 @four_swap_2(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mjdik1h.c"
target datalayout = "e-m:e-p270: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.F2.b1 = private unnamed_addr constant [4 x i32] [i32 0, i32 1, i32 3, i32 2], align 16
@__const.F2.b2 = private unnamed_addr constant [4 x i32] [i32 5, i32 10, i32 14, i32 20], align 16
@__const.F2.b3 = private unnamed_addr constant [4 x i32] [i32 4, i32 8, i32 15, i32 22], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @F2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x i32], align 16
%6 = alloca [4 x i32], align 16
%7 = alloca [4 x i32], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.F2.b1, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.F2.b2, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.F2.b3, i64 16, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @four_swap_2(ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%14 = load i32, ptr %4, align 4
%15 = call i32 @four_swap_2(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 @four_swap_2(ptr noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
; 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 @four_swap_2(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy16w4tr0.c'
source_filename = "/tmp/tmpy16w4tr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_read_fd(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %19, %2
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 4096, ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%15 = load i32, ptr %7, align 4
%16 = call i32 @string_concatb(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %12
br label %21
19: ; preds = %12
br label %8, !llvm.loop !6
20: ; preds = %8
store i32 1, ptr %5, align 4
br label %21
21: ; preds = %20, %18
%22 = load i32, ptr %5, align 4
ret i32 %22
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @string_concatb(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy16w4tr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_read_fd(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 4096, ptr noundef %8)
store i32 %9, ptr %7, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %15
11: ; preds = %15
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 4096, ptr noundef %12)
store i32 %13, ptr %7, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %._crit_edge, !llvm.loop !6
15: ; preds = %.lr.ph, %11
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%18 = load i32, ptr %7, align 4
%19 = call i32 @string_concatb(ptr noundef %16, ptr noundef %17, i32 noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %11, label %21
21: ; preds = %15
br label %23
._crit_edge: ; preds = %11
br label %22
22: ; preds = %._crit_edge, %2
store i32 1, ptr %5, align 4
br label %23
23: ; preds = %22, %21
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @string_concatb(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmputhy0_lp.c'
source_filename = "/tmp/tmputhy0_lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streamerPoll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @internalStreamerPoll(i32 noundef %3)
ret i32 %4
}
declare i32 @internalStreamerPoll(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/tmputhy0_lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streamerPoll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @internalStreamerPoll(i32 noundef %3)
ret i32 %4
}
declare i32 @internalStreamerPoll(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/tmpen__i_cw.c'
source_filename = "/tmp/tmpen__i_cw.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32, i32 }
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_iovec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 @print(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %30, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %33
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 @print(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %11
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds %struct.iovec, ptr %17, i64 %19
%21 = getelementptr inbounds %struct.iovec, ptr %20, i32 0, i32 1
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds %struct.iovec, ptr %23, i64 %25
%27 = getelementptr inbounds %struct.iovec, ptr %26, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = call i32 @print_str_len(i32 noundef %22, i32 noundef %28)
br label %30
30: ; preds = %16
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %7, !llvm.loop !6
33: ; preds = %7
%34 = call i32 @print(ptr noundef @.str.2)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @print_str_len(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpen__i_cw.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32, i32 }
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_iovec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 @print(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %29
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 @print(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %10
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds %struct.iovec, ptr %16, i64 %18
%20 = getelementptr inbounds %struct.iovec, ptr %19, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds %struct.iovec, ptr %22, i64 %24
%26 = getelementptr inbounds %struct.iovec, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @print_str_len(i32 noundef %21, i32 noundef %27)
br label %29
29: ; preds = %15
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
%36 = call i32 @print(ptr noundef @.str.2)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @print_str_len(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpstli0lsy.c'
source_filename = "/tmp/tmpstli0lsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64 }
@FTS_F = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byType(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = load i64, ptr @FTS_F, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = load i64, ptr @FTS_F, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %12
store i32 -1, ptr %3, align 4
br label %37
20: ; preds = %12, %2
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr @FTS_F, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %35
27: ; preds = %20
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = getelementptr inbounds %struct.TYPE_4__, ptr %29, i32 0, i32 0
%31 = load i64, ptr %30, align 8
%32 = load i64, ptr @FTS_F, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %27
store i32 1, ptr %3, align 4
br label %37
35: ; preds = %27, %20
br label %36
36: ; preds = %35
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %34, %19
%38 = load i32, ptr %3, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpstli0lsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64 }
@FTS_F = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byType(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = load i64, ptr @FTS_F, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = load i64, ptr @FTS_F, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %12
store i32 -1, ptr %3, align 4
br label %37
20: ; preds = %12, %2
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr @FTS_F, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %35
27: ; preds = %20
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = getelementptr inbounds %struct.TYPE_4__, ptr %29, i32 0, i32 0
%31 = load i64, ptr %30, align 8
%32 = load i64, ptr @FTS_F, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %27
store i32 1, ptr %3, align 4
br label %37
35: ; preds = %27, %20
br label %36
36: ; preds = %35
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %34, %19
%38 = load i32, ptr %3, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfqd6bc4g.c'
source_filename = "/tmp/tmpfqd6bc4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"usage: %s <n> <mu> <sigma>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"x = [ \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%f, \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"sample mu = %f, sample_sigma = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_normrand(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
br label %99
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call double @atof(ptr noundef %27)
store double %28, ptr %7, align 8
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 3
%31 = load ptr, ptr %30, align 8
%32 = call double @atof(ptr noundef %31)
store double %32, ptr %8, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%34 = load i32, ptr %6, align 4
%35 = zext i32 %34 to i64
%36 = call ptr @llvm.stacksave()
store ptr %36, ptr %9, align 8
%37 = alloca double, i64 %35, align 16
store i64 %35, ptr %10, align 8
store i32 0, ptr %5, align 4
br label %38
38: ; preds = %54, %20
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %57
42: ; preds = %38
%43 = load double, ptr %7, align 8
%44 = load double, ptr %8, align 8
%45 = call double @normrand(double noundef %43, double noundef %44)
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %37, i64 %47
store double %45, ptr %48, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %37, i64 %50
%52 = load double, ptr %51, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %52)
br label %54
54: ; preds = %42
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
br label %38, !llvm.loop !6
57: ; preds = %38
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%59 = load i32, ptr %6, align 4
%60 = call double @sum(ptr noundef %37, i32 noundef %59)
%61 = load i32, ptr %6, align 4
%62 = sitofp i32 %61 to double
%63 = fdiv double %60, %62
store double %63, ptr %11, align 8
store i32 0, ptr %5, align 4
br label %64
64: ; preds = %85, %57
%65 = load i32, ptr %5, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %88
68: ; preds = %64
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %37, i64 %70
%72 = load double, ptr %71, align 8
%73 = load double, ptr %11, align 8
%74 = fsub double %72, %73
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %37, i64 %76
%78 = load double, ptr %77, align 8
%79 = load double, ptr %11, align 8
%80 = fsub double %78, %79
%81 = fmul double %74, %80
%82 = load i32, ptr %5, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %37, i64 %83
store double %81, ptr %84, align 8
br label %85
85: ; preds = %68
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %5, align 4
br label %64, !llvm.loop !8
88: ; preds = %64
%89 = load i32, ptr %6, align 4
%90 = call double @sum(ptr noundef %37, i32 noundef %89)
%91 = load i32, ptr %6, align 4
%92 = sitofp i32 %91 to double
%93 = fdiv double %90, %92
%94 = call double @sqrt(double noundef %93) #4
store double %94, ptr %12, align 8
%95 = load double, ptr %11, align 8
%96 = load double, ptr %12, align 8
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %95, double noundef %96)
%98 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %98)
br label %99
99: ; preds = %88, %15
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare double @atof(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare double @normrand(double noundef, double noundef) #1
declare double @sum(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqd6bc4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"usage: %s <n> <mu> <sigma>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"x = [ \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%f, \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"sample mu = %f, sample_sigma = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_normrand(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18)
br label %103
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call double @atof(ptr noundef %27)
store double %28, ptr %7, align 8
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 3
%31 = load ptr, ptr %30, align 8
%32 = call double @atof(ptr noundef %31)
store double %32, ptr %8, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%34 = load i32, ptr %6, align 4
%35 = zext i32 %34 to i64
%36 = call ptr @llvm.stacksave()
store ptr %36, ptr %9, align 8
%37 = alloca double, i64 %35, align 16
store i64 %35, ptr %10, align 8
store i32 0, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph, label %59
.lr.ph: ; preds = %20
br label %41
41: ; preds = %.lr.ph, %53
%42 = load double, ptr %7, align 8
%43 = load double, ptr %8, align 8
%44 = call double @normrand(double noundef %42, double noundef %43)
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %37, i64 %46
store double %44, ptr %47, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %37, i64 %49
%51 = load double, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %51)
br label %53
53: ; preds = %41
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %20
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%61 = load i32, ptr %6, align 4
%62 = call double @sum(ptr noundef %37, i32 noundef %61)
%63 = load i32, ptr %6, align 4
%64 = sitofp i32 %63 to double
%65 = fdiv double %62, %64
store double %65, ptr %11, align 8
store i32 0, ptr %5, align 4
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph2, label %92
.lr.ph2: ; preds = %59
br label %69
69: ; preds = %.lr.ph2, %86
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %37, i64 %71
%73 = load double, ptr %72, align 8
%74 = load double, ptr %11, align 8
%75 = fsub double %73, %74
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %37, i64 %77
%79 = load double, ptr %78, align 8
%80 = load double, ptr %11, align 8
%81 = fsub double %79, %80
%82 = fmul double %75, %81
%83 = load i32, ptr %5, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %37, i64 %84
store double %82, ptr %85, align 8
br label %86
86: ; preds = %69
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %5, align 4
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %69, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %92
92: ; preds = %._crit_edge3, %59
%93 = load i32, ptr %6, align 4
%94 = call double @sum(ptr noundef %37, i32 noundef %93)
%95 = load i32, ptr %6, align 4
%96 = sitofp i32 %95 to double
%97 = fdiv double %94, %96
%98 = call double @sqrt(double noundef %97) #4
store double %98, ptr %12, align 8
%99 = load double, ptr %11, align 8
%100 = load double, ptr %12, align 8
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %99, double noundef %100)
%102 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %102)
br label %103
103: ; preds = %92, %15
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare double @atof(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare double @normrand(double noundef, double noundef) #1
declare double @sum(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_amg95u0.c'
source_filename = "/tmp/tmp_amg95u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"enter a decimal number between 0 and 32767:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"the octal number is: %5.5o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_amg95u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"enter a decimal number between 0 and 32767:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"the octal number is: %5.5o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6pwewhal.c'
source_filename = "/tmp/tmp6pwewhal.c"
target datalayout = "e-m:e-p270: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/tmp6pwewhal.c"
target datalayout = "e-m:e-p270: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/tmpuoenkbko.c'
source_filename = "/tmp/tmpuoenkbko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argv[%i] = %s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [55 x i8] c"Usage: %s SOCAT_ADDRESS ZEROMQ_ENDPOINT PGM [ARGS]...\0A\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"sigignore(SIGCHLD) failed\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
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
br label %8
8: ; preds = %22, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
br label %13
13: ; preds = %12
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @unused(ptr noundef @.str, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
store i32 1, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 4
br i1 %27, label %28, label %34
28: ; preds = %25
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.1, ptr noundef %32)
br label %55
34: ; preds = %25
%35 = load i32, ptr @SIGCHLD, align 4
%36 = call i32 @sigignore(i32 noundef %35)
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %42
38: ; preds = %34
br label %39
39: ; preds = %38
%40 = call i32 (ptr, ...) @unused(ptr noundef @.str.2)
br label %41
41: ; preds = %39
br label %55
42: ; preds = %34
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 2
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 2
%47 = call i32 @fork_daemon(i32 noundef %44, ptr noundef %46)
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %50
49: ; preds = %42
br label %55
50: ; preds = %42
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8
%54 = call i32 @exec_socat(ptr noundef %53)
br label %55
55: ; preds = %50, %49, %41, %28
%56 = load i32, ptr %7, align 4
ret i32 %56
}
declare i32 @unused(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sigignore(i32 noundef) #1
declare i32 @fork_daemon(i32 noundef, ptr noundef) #1
declare i32 @exec_socat(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpuoenkbko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argv[%i] = %s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [55 x i8] c"Usage: %s SOCAT_ADDRESS ZEROMQ_ENDPOINT PGM [ARGS]...\0A\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"sigignore(SIGCHLD) failed\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
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
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %21
br label %12
12: ; preds = %11
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @unused(ptr noundef @.str, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
store i32 1, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 4
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %34)
br label %57
36: ; preds = %27
%37 = load i32, ptr @SIGCHLD, align 4
%38 = call i32 @sigignore(i32 noundef %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %44
40: ; preds = %36
br label %41
41: ; preds = %40
%42 = call i32 (ptr, ...) @unused(ptr noundef @.str.2)
br label %43
43: ; preds = %41
br label %57
44: ; preds = %36
%45 = load i32, ptr %4, align 4
%46 = sub nsw i32 %45, 2
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = call i32 @fork_daemon(i32 noundef %46, ptr noundef %48)
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %52
51: ; preds = %44
br label %57
52: ; preds = %44
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 1
%55 = load ptr, ptr %54, align 8
%56 = call i32 @exec_socat(ptr noundef %55)
br label %57
57: ; preds = %52, %51, %43, %30
%58 = load i32, ptr %7, align 4
ret i32 %58
}
declare i32 @unused(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sigignore(i32 noundef) #1
declare i32 @fork_daemon(i32 noundef, ptr noundef) #1
declare i32 @exec_socat(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_lp9wbj2.c'
source_filename = "/tmp/tmp_lp9wbj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"2\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 [6 x i8], align 1
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %76, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %77
12: ; preds = %5
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%14 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 3
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 @puts(ptr noundef @.str.2)
br label %76
20: ; preds = %12
%21 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 111
br i1 %24, label %25, label %35
25: ; preds = %20
%26 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 110
br i1 %29, label %45, label %30
30: ; preds = %25
%31 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 101
br i1 %34, label %45, label %35
35: ; preds = %30, %20
%36 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 110
br i1 %39, label %40, label %47
40: ; preds = %35
%41 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 101
br i1 %44, label %45, label %47
45: ; preds = %40, %30, %25
%46 = call i32 @puts(ptr noundef @.str.3)
br label %75
47: ; preds = %40, %35
%48 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 116
br i1 %51, label %52, label %62
52: ; preds = %47
%53 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 119
br i1 %56, label %72, label %57
57: ; preds = %52
%58 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 111
br i1 %61, label %72, label %62
62: ; preds = %57, %47
%63 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 119
br i1 %66, label %67, label %74
67: ; preds = %62
%68 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 111
br i1 %71, label %72, label %74
72: ; preds = %67, %57, %52
%73 = call i32 @puts(ptr noundef @.str.4)
br label %74
74: ; preds = %72, %67, %62
br label %75
75: ; preds = %74, %45
br label %76
76: ; preds = %75, %18
br label %5, !llvm.loop !6
77: ; preds = %5
%78 = load i32, ptr %1, align 4
ret i32 %78
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_lp9wbj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"2\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 [6 x i8], align 1
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph, label %82
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %75
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%13 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 3
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @puts(ptr noundef @.str.2)
br label %75
19: ; preds = %11
%20 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 111
br i1 %23, label %24, label %34
24: ; preds = %19
%25 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 110
br i1 %28, label %44, label %29
29: ; preds = %24
%30 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 101
br i1 %33, label %44, label %34
34: ; preds = %29, %19
%35 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 110
br i1 %38, label %39, label %46
39: ; preds = %34
%40 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 101
br i1 %43, label %44, label %46
44: ; preds = %39, %29, %24
%45 = call i32 @puts(ptr noundef @.str.3)
br label %74
46: ; preds = %39, %34
%47 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 116
br i1 %50, label %51, label %61
51: ; preds = %46
%52 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 119
br i1 %55, label %71, label %56
56: ; preds = %51
%57 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 111
br i1 %60, label %71, label %61
61: ; preds = %56, %46
%62 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 119
br i1 %65, label %66, label %73
66: ; preds = %61
%67 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 2
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 111
br i1 %70, label %71, label %73
71: ; preds = %66, %56, %51
%72 = call i32 @puts(ptr noundef @.str.4)
br label %73
73: ; preds = %71, %66, %61
br label %74
74: ; preds = %73, %44
br label %75
75: ; preds = %74, %17
%76 = load i32, ptr %2, align 4
%77 = icmp sgt i32 %76, 0
%78 = zext i1 %77 to i32
%79 = load i32, ptr %2, align 4
%80 = add nsw i32 %79, -1
store i32 %80, ptr %2, align 4
%81 = icmp ne i32 %79, 0
br i1 %81, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %82
82: ; preds = %._crit_edge, %0
%83 = load i32, ptr %1, align 4
ret i32 %83
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp013ap_36.c'
source_filename = "/tmp/tmp013ap_36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.in_addr = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"127.0.1.255\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"ordering: %d %d %d %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 [4 x i32], align 16
%5 = alloca %struct.in_addr, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = call i32 @inet_pton(i32 noundef %6, ptr noundef @.str, ptr noundef %5)
%8 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i32 @htonl(i32 noundef %9)
%11 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
store i32 %10, ptr %11, align 4
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %42, %0
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %45
15: ; preds = %12
%16 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %18, 8
%20 = ashr i32 %17, %19
%21 = and i32 %20, 255
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
switch i32 %22, label %39 [
i32 127, label %23
i32 0, label %27
i32 1, label %31
i32 255, label %35
]
23: ; preds = %15
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %25
store i32 0, ptr %26, align 4
br label %41
27: ; preds = %15
%28 = load i32, ptr %2, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %29
store i32 1, ptr %30, align 4
br label %41
31: ; preds = %15
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %33
store i32 2, ptr %34, align 4
br label %41
35: ; preds = %15
%36 = load i32, ptr %2, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %37
store i32 3, ptr %38, align 4
br label %41
39: ; preds = %15
%40 = call i32 (...) @abort() #3
unreachable
41: ; preds = %35, %31, %27, %23
br label %42
42: ; preds = %41
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %2, align 4
br label %12, !llvm.loop !6
45: ; preds = %12
%46 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%47 = load i32, ptr %46, align 16
%48 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
%49 = load i32, ptr %48, align 4
%50 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2
%51 = load i32, ptr %50, align 8
%52 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3
%53 = load i32, ptr %52, align 4
%54 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47, i32 noundef %49, i32 noundef %51, i32 noundef %53)
%55 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @htonl(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp013ap_36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.in_addr = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"127.0.1.255\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"ordering: %d %d %d %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 [4 x i32], align 16
%5 = alloca %struct.in_addr, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = call i32 @inet_pton(i32 noundef %6, ptr noundef @.str, ptr noundef %5)
%8 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i32 @htonl(i32 noundef %9)
%11 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
store i32 %10, ptr %11, align 4
store i32 0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %.lr.ph, label %46
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %41
%15 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %17, 8
%19 = ashr i32 %16, %18
%20 = and i32 %19, 255
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
switch i32 %21, label %38 [
i32 127, label %22
i32 0, label %26
i32 1, label %30
i32 255, label %34
]
22: ; preds = %14
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %24
store i32 0, ptr %25, align 4
br label %40
26: ; preds = %14
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %28
store i32 1, ptr %29, align 4
br label %40
30: ; preds = %14
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %32
store i32 2, ptr %33, align 4
br label %40
34: ; preds = %14
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %36
store i32 3, ptr %37, align 4
br label %40
38: ; preds = %14
%39 = call i32 (...) @abort() #3
unreachable
40: ; preds = %34, %30, %26, %22
br label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %44, 4
br i1 %45, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %0
%47 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%48 = load i32, ptr %47, align 16
%49 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
%50 = load i32, ptr %49, align 4
%51 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2
%52 = load i32, ptr %51, align 8
%53 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3
%54 = load i32, ptr %53, align 4
%55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54)
%56 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @htonl(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 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"}
|
; ModuleID = '/tmp/tmpts08r3sd.c'
source_filename = "/tmp/tmpts08r3sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @theNshCalloc(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call ptr @theNshMalloc(i32 noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @theNshMalloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpts08r3sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @theNshCalloc(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call ptr @theNshMalloc(i32 noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @theNshMalloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplcxl2jiw.c'
source_filename = "/tmp/tmplcxl2jiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cd\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @runBuiltin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @cd(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %19
%26 = call ptr (...) @get_current_dir_name()
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
br label %28
28: ; preds = %25, %19
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cd(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @get_current_dir_name(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmplcxl2jiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cd\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @runBuiltin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @cd(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %19
%26 = call ptr (...) @get_current_dir_name()
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
br label %28
28: ; preds = %25, %19
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cd(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @get_current_dir_name(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpgln5g4vq.c'
source_filename = "/tmp/tmpgln5g4vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main1() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 65, ptr %1, align 1
%5 = load i8, ptr %1, align 1
%6 = call i32 @putchar(i8 noundef signext %5)
%7 = call i32 @putchar(i8 noundef signext 65)
%8 = call i32 @putchar(i8 noundef signext 65)
%9 = call i32 @putchar(i8 noundef signext 65)
%10 = call i32 @putchar(i8 noundef signext 65)
%11 = call i32 @putchar(i8 noundef signext 10)
%12 = call signext i8 (...) @getchar()
store i8 %12, ptr %2, align 1
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %3, align 1
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %4, align 1
%15 = load i8, ptr %2, align 1
%16 = call i32 @putchar(i8 noundef signext %15)
%17 = load i8, ptr %3, align 1
%18 = call i32 @putchar(i8 noundef signext %17)
%19 = load i8, ptr %4, align 1
%20 = call i32 @putchar(i8 noundef signext %19)
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgln5g4vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main1() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 65, ptr %1, align 1
%5 = load i8, ptr %1, align 1
%6 = call i32 @putchar(i8 noundef signext %5)
%7 = call i32 @putchar(i8 noundef signext 65)
%8 = call i32 @putchar(i8 noundef signext 65)
%9 = call i32 @putchar(i8 noundef signext 65)
%10 = call i32 @putchar(i8 noundef signext 65)
%11 = call i32 @putchar(i8 noundef signext 10)
%12 = call signext i8 (...) @getchar()
store i8 %12, ptr %2, align 1
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %3, align 1
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %4, align 1
%15 = load i8, ptr %2, align 1
%16 = call i32 @putchar(i8 noundef signext %15)
%17 = load i8, ptr %3, align 1
%18 = call i32 @putchar(i8 noundef signext %17)
%19 = load i8, ptr %4, align 1
%20 = call i32 @putchar(i8 noundef signext %19)
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc12j6n1a.c'
source_filename = "/tmp/tmpc12j6n1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%80s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_tree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [20 x [255 x i8]], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 20
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 %10
%12 = getelementptr inbounds [255 x i8], ptr %11, i64 0, i64 0
%13 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 0
%20 = call i32 @_print_t(ptr noundef %18, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %30, %17
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 20
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 %26
%28 = getelementptr inbounds [255 x i8], ptr %27, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %21, !llvm.loop !8
33: ; preds = %21
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @_print_t(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc12j6n1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%80s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_tree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [20 x [255 x i8]], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 20
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 %9
%11 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef @.str.1)
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 20
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 0
%21 = call i32 @_print_t(ptr noundef %19, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef %20)
store i32 0, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 20
br i1 %23, label %.lr.ph2, label %35
.lr.ph2: ; preds = %18
br label %24
24: ; preds = %.lr.ph2, %30
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [20 x [255 x i8]], ptr %4, i64 0, i64 %26
%28 = getelementptr inbounds [255 x i8], ptr %27, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 20
br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %18
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @_print_t(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3ql7azh1.c'
source_filename = "/tmp/tmp3ql7azh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d %d %d [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"I am finished with b=%d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 2, ptr %4, align 4
store i32 3, ptr %5, align 4
br label %6
6: ; preds = %35, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 0, %12
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %4, align 4
br label %34
17: ; preds = %6
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 0, %18
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %4, align 4
br label %33
24: ; preds = %17
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 0, %25
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %3, align 4
store i32 %30, ptr %4, align 4
br label %32
31: ; preds = %24
br label %38
32: ; preds = %27
br label %33
33: ; preds = %32, %20
br label %34
34: ; preds = %33, %14
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %6
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %39)
%41 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %41
}
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/tmp3ql7azh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d %d %d [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"I am finished with b=%d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 2, ptr %4, align 4
store i32 3, ptr %5, align 4
br label %6
6: ; preds = %35, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 0, %12
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %4, align 4
br label %34
17: ; preds = %6
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 0, %18
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %4, align 4
br label %33
24: ; preds = %17
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 0, %25
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %3, align 4
store i32 %30, ptr %4, align 4
br label %32
31: ; preds = %24
br label %38
32: ; preds = %27
br label %33
33: ; preds = %32, %20
br label %34
34: ; preds = %33, %14
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %6
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %39)
%41 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %41
}
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/tmphr5_st5c.c'
source_filename = "/tmp/tmphr5_st5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i8 0, ptr %7, align 1
br label %8
8: ; preds = %29, %3
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %32
11: ; preds = %8
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %5, align 8
%17 = load i8, ptr %15, align 1
%18 = sext i8 %17 to i32
%19 = sub nsw i32 %14, %18
%20 = trunc i32 %19 to i8
store i8 %20, ptr %7, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %11
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
%26 = load i8, ptr %24, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %23, %11
br label %32
29: ; preds = %23
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, -1
store i64 %31, ptr %6, align 8
br label %8, !llvm.loop !6
32: ; preds = %28, %8
%33 = load i8, ptr %7, align 1
%34 = sext i8 %33 to i32
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphr5_st5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i8 0, ptr %7, align 1
%8 = load i64, ptr %6, align 8
%9 = icmp ugt i64 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %28
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %13, %17
%19 = trunc i32 %18 to i8
store i8 %19, ptr %7, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %10
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22, %10
br label %33
28: ; preds = %22
%29 = load i64, ptr %6, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = icmp ugt i64 %31, 0
br i1 %32, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %28
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %33
33: ; preds = %.loopexit, %27
%34 = load i8, ptr %7, align 1
%35 = sext i8 %34 to i32
ret i32 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjeiumil7.c'
source_filename = "/tmp/tmpjeiumil7.c"
target datalayout = "e-m:e-p270: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/tmpjeiumil7.c"
target datalayout = "e-m:e-p270: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/tmpelc9410p.c'
source_filename = "/tmp/tmpelc9410p.c"
target datalayout = "e-m:e-p270: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/tmpelc9410p.c"
target datalayout = "e-m:e-p270: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/tmpkt4il4di.c'
source_filename = "/tmp/tmpkt4il4di.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard_init() #0 {
%1 = call i32 (...) @circular_queue_init()
ret void
}
declare i32 @circular_queue_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkt4il4di.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard_init() #0 {
%1 = call i32 (...) @circular_queue_init()
ret void
}
declare i32 @circular_queue_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyciljty9.c'
source_filename = "/tmp/tmpyciljty9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Usu\C3\A1rio, digite dois n\C3\BAmeros inteiros: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Lidos: %5d%5d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Soma : %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Subtra\C3\A7\C3\A3o : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Multiplica\C3\A7\C3\A3o : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Divis\C3\A3o : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"Resto : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %14, %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = sdiv i32 %22, %23
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %24)
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyciljty9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Usu\C3\A1rio, digite dois n\C3\BAmeros inteiros: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Lidos: %5d%5d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Soma : %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Subtra\C3\A7\C3\A3o : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Multiplica\C3\A7\C3\A3o : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Divis\C3\A3o : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"Resto : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %14, %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = sdiv i32 %22, %23
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %24)
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7u3_e31p.c'
source_filename = "/tmp/tmp7u3_e31p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDIN_FILENO = 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/tmp7u3_e31p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDIN_FILENO = 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/tmpde6mbblg.c'
source_filename = "/tmp/tmpde6mbblg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_split(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 i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
store i8 %14, ptr %7, align 1
store ptr null, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
store i64 0, ptr %15, align 8
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %9, align 8
br label %17
17: ; preds = %32, %3
%18 = load ptr, ptr %9, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %35
21: ; preds = %17
%22 = load i8, ptr %7, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %9, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %23, %26
br i1 %27, label %28, label %32
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %29, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %29, align 8
br label %32
32: ; preds = %28, %21
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %9, align 8
br label %17, !llvm.loop !6
35: ; preds = %17
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %36, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %39, label %65
39: ; preds = %35
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr %40, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %40, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %43, align 8
%45 = mul i64 8, %44
%46 = trunc i64 %45 to i32
%47 = call ptr @malloc(i32 noundef %46)
store ptr %47, ptr %8, align 8
store i64 0, ptr %10, align 8
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %5, align 8
%50 = call ptr @strtok(ptr noundef %48, ptr noundef %49)
store ptr %50, ptr %11, align 8
br label %51
51: ; preds = %54, %39
%52 = load ptr, ptr %11, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load ptr, ptr %11, align 8
%56 = call ptr @strdup(ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = load i64, ptr %10, align 8
%59 = getelementptr inbounds ptr, ptr %57, i64 %58
store ptr %56, ptr %59, align 8
%60 = load i64, ptr %10, align 8
%61 = add i64 %60, 1
store i64 %61, ptr %10, align 8
%62 = load ptr, ptr %5, align 8
%63 = call ptr @strtok(ptr noundef null, ptr noundef %62)
store ptr %63, ptr %11, align 8
br label %51, !llvm.loop !8
64: ; preds = %51
br label %65
65: ; preds = %64, %35
%66 = load ptr, ptr %8, align 8
ret ptr %66
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpde6mbblg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_split(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 i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
store i8 %14, ptr %7, align 1
store ptr null, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
store i64 0, ptr %15, align 8
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %31
%21 = load i8, ptr %7, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %9, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %22, %25
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %28, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %28, align 8
br label %31
31: ; preds = %27, %20
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %3
%38 = load ptr, ptr %6, align 8
%39 = load i64, ptr %38, align 8
%40 = icmp ugt i64 %39, 0
br i1 %40, label %41, label %68
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = load i64, ptr %42, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %42, align 8
%45 = load ptr, ptr %6, align 8
%46 = load i64, ptr %45, align 8
%47 = mul i64 8, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %8, align 8
store i64 0, ptr %10, align 8
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %5, align 8
%52 = call ptr @strtok(ptr noundef %50, ptr noundef %51)
store ptr %52, ptr %11, align 8
%53 = load ptr, ptr %11, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %.lr.ph2, label %67
.lr.ph2: ; preds = %41
br label %55
55: ; preds = %.lr.ph2, %55
%56 = load ptr, ptr %11, align 8
%57 = call ptr @strdup(ptr noundef %56)
%58 = load ptr, ptr %8, align 8
%59 = load i64, ptr %10, align 8
%60 = getelementptr inbounds ptr, ptr %58, i64 %59
store ptr %57, ptr %60, align 8
%61 = load i64, ptr %10, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %10, align 8
%63 = load ptr, ptr %5, align 8
%64 = call ptr @strtok(ptr noundef null, ptr noundef %63)
store ptr %64, ptr %11, align 8
%65 = load ptr, ptr %11, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %67
67: ; preds = %._crit_edge3, %41
br label %68
68: ; preds = %67, %37
%69 = load ptr, ptr %8, align 8
ret ptr %69
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpu6126cr8.c'
source_filename = "/tmp/tmpu6126cr8.c"
target datalayout = "e-m:e-p270: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/tmpu6126cr8.c"
target datalayout = "e-m:e-p270: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/tmpa3jt5jlu.c'
source_filename = "/tmp/tmpa3jt5jlu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
br label %10
10: ; preds = %14, %2
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%16 = load i32, ptr %7, align 4
%17 = call i32 @insert(i32 noundef %16, ptr noundef %8)
br label %10, !llvm.loop !6
18: ; preds = %10
%19 = load ptr, ptr %8, align 8
%20 = call i32 @print_leaves(ptr noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = call i32 @destroy_tree(ptr noundef %21)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @insert(i32 noundef, ptr noundef) #1
declare i32 @print_leaves(ptr noundef) #1
declare i32 @destroy_tree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpa3jt5jlu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%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 %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%15 = load i32, ptr %7, align 4
%16 = call i32 @insert(i32 noundef %15, ptr noundef %8)
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %6, align 4
%19 = icmp ne i32 %17, 0
br i1 %19, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %2
%21 = load ptr, ptr %8, align 8
%22 = call i32 @print_leaves(ptr noundef %21)
%23 = load ptr, ptr %8, align 8
%24 = call i32 @destroy_tree(ptr noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @insert(i32 noundef, ptr noundef) #1
declare i32 @print_leaves(ptr noundef) #1
declare i32 @destroy_tree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprqxc_sa1.c'
source_filename = "/tmp/tmprqxc_sa1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_cpu_nsec_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @load_cpu_nsec(i32 noundef %4)
ret i32 0
}
declare i32 @load_cpu_nsec(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/tmprqxc_sa1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_cpu_nsec_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @load_cpu_nsec(i32 noundef %4)
ret i32 0
}
declare i32 @load_cpu_nsec(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/tmplrloxtav.c'
source_filename = "/tmp/tmplrloxtav.c"
target datalayout = "e-m:e-p270: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.dirent = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"core\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filter(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.dirent, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i64 @strncmp(i32 noundef %5, ptr noundef @.str, i32 noundef 4)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplrloxtav.c"
target datalayout = "e-m:e-p270: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.dirent = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"core\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filter(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.dirent, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i64 @strncmp(i32 noundef %5, ptr noundef @.str, i32 noundef 4)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgbab39__.c'
source_filename = "/tmp/tmpgbab39__.c"
target datalayout = "e-m:e-p270: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/tmpgbab39__.c"
target datalayout = "e-m:e-p270: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/tmpuxsqiq7v.c'
source_filename = "/tmp/tmpuxsqiq7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uselessLineRemover(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %1, %36, %39
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = add nsw i32 %12, 1
%14 = icmp eq i32 %10, %13
br i1 %14, label %15, label %16
15: ; preds = %9
br label %53
16: ; preds = %9
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %39
24: ; preds = %16
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %36, label %33
33: ; preds = %24
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %33, %24
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %9
39: ; preds = %33, %16
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %9
53: ; preds = %15
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %3, align 8
ret ptr %58
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxsqiq7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uselessLineRemover(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = add nsw i32 %11, 1
%13 = icmp eq i32 %9, %12
br i1 %13, label %14, label %.lr.ph
.lr.ph: ; preds = %1
br label %15
._crit_edge: ; preds = %.backedge
br label %14
14: ; preds = %._crit_edge, %1
br label %57
15: ; preds = %.lr.ph, %.backedge
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %43
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %35, label %32
32: ; preds = %23
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %32, %23
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %.backedge
.backedge: ; preds = %35, %43
%38 = load i32, ptr %4, align 4
%39 = load ptr, ptr %2, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = add nsw i32 %40, 1
%42 = icmp eq i32 %38, %41
br i1 %42, label %._crit_edge, label %15
43: ; preds = %32, %15
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 %48, ptr %52, align 1
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
br label %.backedge
57: ; preds = %14
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 0, ptr %61, align 1
%62 = load ptr, ptr %3, align 8
ret ptr %62
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbrareoax.c'
source_filename = "/tmp/tmpbrareoax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vasprintf(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @_vscprintf(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %38
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = add nsw i32 %16, 1
%18 = call ptr @malloc(i32 noundef %17)
%19 = load ptr, ptr %5, align 8
store ptr %18, ptr %19, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %15
store i32 -1, ptr %4, align 4
br label %38
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %7, align 4
%31 = call i32 @_vsnprintf(ptr noundef %26, i32 noundef %28, ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
%37 = load i32, ptr %8, align 4
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %24, %23, %14
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare i32 @_vscprintf(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @_vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrareoax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vasprintf(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @_vscprintf(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %38
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = add nsw i32 %16, 1
%18 = call ptr @malloc(i32 noundef %17)
%19 = load ptr, ptr %5, align 8
store ptr %18, ptr %19, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %15
store i32 -1, ptr %4, align 4
br label %38
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %7, align 4
%31 = call i32 @_vsnprintf(ptr noundef %26, i32 noundef %28, ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
%37 = load i32, ptr %8, align 4
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %24, %23, %14
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare i32 @_vscprintf(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @_vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4jk8xags.c'
source_filename = "/tmp/tmp4jk8xags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PRCMIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = and i64 %4, 16384
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load volatile i64, ptr inttoptr (i64 1141002532 to ptr), align 8
%9 = and i64 %8, -5
store volatile i64 %9, ptr inttoptr (i64 1141002532 to ptr), align 8
%10 = call i64 @PRCMHIBRegRead(i32 noundef 1141045332)
store i64 %10, ptr %3, align 8
%11 = load i64, ptr %3, align 8
%12 = and i64 %11, -2
store i64 %12, ptr %3, align 8
%13 = load i64, ptr %3, align 8
%14 = call i32 @PRCMHIBRegWrite(i32 noundef 1141045332, i64 noundef %13)
br label %15
15: ; preds = %7, %1
ret void
}
declare i64 @PRCMHIBRegRead(i32 noundef) #1
declare i32 @PRCMHIBRegWrite(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jk8xags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PRCMIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = and i64 %4, 16384
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load volatile i64, ptr inttoptr (i64 1141002532 to ptr), align 8
%9 = and i64 %8, -5
store volatile i64 %9, ptr inttoptr (i64 1141002532 to ptr), align 8
%10 = call i64 @PRCMHIBRegRead(i32 noundef 1141045332)
store i64 %10, ptr %3, align 8
%11 = load i64, ptr %3, align 8
%12 = and i64 %11, -2
store i64 %12, ptr %3, align 8
%13 = load i64, ptr %3, align 8
%14 = call i32 @PRCMHIBRegWrite(i32 noundef 1141045332, i64 noundef %13)
br label %15
15: ; preds = %7, %1
ret void
}
declare i64 @PRCMHIBRegRead(i32 noundef) #1
declare i32 @PRCMHIBRegWrite(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjvrx78g2.c'
source_filename = "/tmp/tmpjvrx78g2.c"
target datalayout = "e-m:e-p270: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/tmpjvrx78g2.c"
target datalayout = "e-m:e-p270: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/tmptssjvc5m.c'
source_filename = "/tmp/tmptssjvc5m.c"
target datalayout = "e-m:e-p270: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/tmptssjvc5m.c"
target datalayout = "e-m:e-p270: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/tmp69nad145.c'
source_filename = "/tmp/tmp69nad145.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self/maps\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [42 x i8] c"%jx-%*x %*c%*c%c%*c %*x %*s %*d /%126[^\0A]\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"0x%jx:%s \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_maps(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [512 x i8], align 16
%4 = alloca [128 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.2)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %14, %1
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %14
br label %21
21: ; preds = %38, %37, %32, %20
%22 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%23 = load ptr, ptr %7, align 8
%24 = call i64 @fgets(ptr noundef %22, i32 noundef 512, ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %44
26: ; preds = %21
%27 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%28 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str.3, ptr noundef %6, ptr noundef %5, ptr noundef %29)
%31 = icmp ne i32 %30, 3
br i1 %31, label %32, label %33
32: ; preds = %26
br label %21, !llvm.loop !6
33: ; preds = %26
%34 = load i8, ptr %5, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 120
br i1 %36, label %37, label %38
37: ; preds = %33
br label %21, !llvm.loop !6
38: ; preds = %33
%39 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
store i8 47, ptr %39, align 16
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %6, align 4
%42 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.4, i32 noundef %41, ptr noundef %42)
br label %21, !llvm.loop !6
44: ; preds = %21
%45 = load ptr, ptr %8, align 8
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.5)
%47 = load ptr, ptr %8, align 8
%48 = call i32 @fclose(ptr noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = call i32 @fclose(ptr noundef %49)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(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/tmp69nad145.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self/maps\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [42 x i8] c"%jx-%*x %*c%*c%c%*c %*x %*s %*d /%126[^\0A]\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"0x%jx:%s \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_maps(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [512 x i8], align 16
%4 = alloca [128 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.2)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %14, %1
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %14
%21 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%22 = load ptr, ptr %7, align 8
%23 = call i64 @fgets(ptr noundef %21, i32 noundef 512, ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %.backedge
%26 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%27 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.3, ptr noundef %6, ptr noundef %5, ptr noundef %28)
%30 = icmp ne i32 %29, 3
br i1 %30, label %31, label %35
31: ; preds = %25
br label %.backedge
.backedge: ; preds = %31, %39, %40
%32 = load ptr, ptr %7, align 8
%33 = call i64 @fgets(ptr noundef %21, i32 noundef 512, ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %25, label %._crit_edge, !llvm.loop !6
35: ; preds = %25
%36 = load i8, ptr %5, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 120
br i1 %38, label %39, label %40
39: ; preds = %35
br label %.backedge
40: ; preds = %35
%41 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
store i8 47, ptr %41, align 16
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %6, align 4
%44 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.4, i32 noundef %43, ptr noundef %44)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %46
46: ; preds = %._crit_edge, %20
%47 = load ptr, ptr %8, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.5)
%49 = load ptr, ptr %8, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fclose(ptr noundef %51)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(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/tmpr7kwk9rh.c'
source_filename = "/tmp/tmpr7kwk9rh.c"
target datalayout = "e-m:e-p270: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/tmpr7kwk9rh.c"
target datalayout = "e-m:e-p270: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/tmpsmelbyjf.c'
source_filename = "/tmp/tmpsmelbyjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @max_value(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = load double, ptr %4, align 8
%8 = call double @llvm.fabs.f64(double %7)
%9 = fcmp ogt double %6, %8
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = call double @llvm.fabs.f64(double %11)
br label %16
13: ; preds = %2
%14 = load double, ptr %4, align 8
%15 = call double @llvm.fabs.f64(double %14)
br label %16
16: ; preds = %13, %10
%17 = phi double [ %12, %10 ], [ %15, %13 ]
ret double %17
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmelbyjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @max_value(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = load double, ptr %4, align 8
%8 = call double @llvm.fabs.f64(double %7)
%9 = fcmp ogt double %6, %8
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = call double @llvm.fabs.f64(double %11)
br label %16
13: ; preds = %2
%14 = load double, ptr %4, align 8
%15 = call double @llvm.fabs.f64(double %14)
br label %16
16: ; preds = %13, %10
%17 = phi double [ %12, %10 ], [ %15, %13 ]
ret double %17
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdwrveut5.c'
source_filename = "/tmp/tmpdwrveut5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"RIOT_DRA\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"RIOT_DDRA\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"RIOT_DRB\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"RIOT_DDRB\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"RIOT_RdTimer\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"RIOT_Reg5\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"RIOT_WEDC_Neg\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"RIOT_WEDC_Pos\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_08\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_09\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0a\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0b\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"RIOT_Rt_En\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0d\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0e\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0f\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_10\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_11\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_12\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_13\00", align 1
@.str.20 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div1_Dis\00", align 1
@.str.21 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div8_Dis\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"RIOT_Wt_Div64_Dis\00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"RIOT_Wt_Div1K_Dis\00", align 1
@.str.24 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_18\00", align 1
@.str.25 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_19\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_1a\00", align 1
@.str.27 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_1b\00", align 1
@.str.28 = private unnamed_addr constant [16 x i8] c"RIOT_Wt_Div1_En\00", align 1
@.str.29 = private unnamed_addr constant [16 x i8] c"RIOT_Wt_Div8_En\00", align 1
@.str.30 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div64_En\00", align 1
@.str.31 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div1K_En\00", align 1
@.str.32 = private unnamed_addr constant [15 x i8] c"GameBoxCounter\00", align 1
@.str.33 = private unnamed_addr constant [14 x i8] c"SegmentSelect\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"DigitSelect\00", align 1
@.str.35 = private unnamed_addr constant [13 x i8] c"DisplayReset\00", align 1
@.str.36 = private unnamed_addr constant [7 x i8] c"AddrSR\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c"DataSR\00", align 1
@.str.38 = private unnamed_addr constant [7 x i8] c"ByteSR\00", align 1
@.str.39 = private unnamed_addr constant [7 x i8] c"KBitSR\00", align 1
@.str.40 = private unnamed_addr constant [5 x i8] c"RWSR\00", align 1
@.str.41 = private unnamed_addr constant [11 x i8] c"SelfTestSR\00", align 1
@.str.42 = private unnamed_addr constant [6 x i8] c"SigSR\00", align 1
@.str.43 = private unnamed_addr constant [9 x i8] c"Switches\00", align 1
@.str.44 = private unnamed_addr constant [5 x i8] c"Col0\00", align 1
@.str.45 = private unnamed_addr constant [5 x i8] c"Col1\00", align 1
@.str.46 = private unnamed_addr constant [5 x i8] c"Col2\00", align 1
@.str.47 = private unnamed_addr constant [5 x i8] c"Col3\00", align 1
@.str.48 = private unnamed_addr constant [10 x i8] c"Switches2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_catbox_labels() #0 {
%1 = call i32 @create_label(ptr noundef @.str, i32 noundef 0)
%2 = call i32 @create_label(ptr noundef @.str.1, i32 noundef 1)
%3 = call i32 @create_label(ptr noundef @.str.2, i32 noundef 2)
%4 = call i32 @create_label(ptr noundef @.str.3, i32 noundef 3)
%5 = call i32 @create_label(ptr noundef @.str.4, i32 noundef 4)
%6 = call i32 @create_label(ptr noundef @.str.5, i32 noundef 5)
%7 = call i32 @create_label(ptr noundef @.str.6, i32 noundef 6)
%8 = call i32 @create_label(ptr noundef @.str.7, i32 noundef 7)
%9 = call i32 @create_label(ptr noundef @.str.8, i32 noundef 8)
%10 = call i32 @create_label(ptr noundef @.str.9, i32 noundef 9)
%11 = call i32 @create_label(ptr noundef @.str.10, i32 noundef 10)
%12 = call i32 @create_label(ptr noundef @.str.11, i32 noundef 11)
%13 = call i32 @create_label(ptr noundef @.str.12, i32 noundef 12)
%14 = call i32 @create_label(ptr noundef @.str.13, i32 noundef 13)
%15 = call i32 @create_label(ptr noundef @.str.14, i32 noundef 14)
%16 = call i32 @create_label(ptr noundef @.str.15, i32 noundef 15)
%17 = call i32 @create_label(ptr noundef @.str.16, i32 noundef 16)
%18 = call i32 @create_label(ptr noundef @.str.17, i32 noundef 17)
%19 = call i32 @create_label(ptr noundef @.str.18, i32 noundef 18)
%20 = call i32 @create_label(ptr noundef @.str.19, i32 noundef 19)
%21 = call i32 @create_label(ptr noundef @.str.20, i32 noundef 20)
%22 = call i32 @create_label(ptr noundef @.str.21, i32 noundef 21)
%23 = call i32 @create_label(ptr noundef @.str.22, i32 noundef 22)
%24 = call i32 @create_label(ptr noundef @.str.23, i32 noundef 23)
%25 = call i32 @create_label(ptr noundef @.str.24, i32 noundef 24)
%26 = call i32 @create_label(ptr noundef @.str.25, i32 noundef 25)
%27 = call i32 @create_label(ptr noundef @.str.26, i32 noundef 26)
%28 = call i32 @create_label(ptr noundef @.str.27, i32 noundef 27)
%29 = call i32 @create_label(ptr noundef @.str.28, i32 noundef 28)
%30 = call i32 @create_label(ptr noundef @.str.29, i32 noundef 29)
%31 = call i32 @create_label(ptr noundef @.str.30, i32 noundef 30)
%32 = call i32 @create_label(ptr noundef @.str.31, i32 noundef 31)
%33 = call i32 @create_label(ptr noundef @.str.32, i32 noundef 8192)
%34 = call i32 @create_label(ptr noundef @.str.33, i32 noundef 11008)
%35 = call i32 @create_label(ptr noundef @.str.34, i32 noundef 12288)
%36 = call i32 @create_label(ptr noundef @.str.35, i32 noundef 14336)
%37 = call i32 @create_label(ptr noundef @.str.36, i32 noundef 16384)
%38 = call i32 @create_label(ptr noundef @.str.37, i32 noundef 16385)
%39 = call i32 @create_label(ptr noundef @.str.38, i32 noundef 16386)
%40 = call i32 @create_label(ptr noundef @.str.39, i32 noundef 16387)
%41 = call i32 @create_label(ptr noundef @.str.40, i32 noundef 16389)
%42 = call i32 @create_label(ptr noundef @.str.41, i32 noundef 16390)
%43 = call i32 @create_label(ptr noundef @.str.42, i32 noundef 16391)
%44 = call i32 @create_label(ptr noundef @.str.43, i32 noundef 16392)
%45 = call i32 @create_label(ptr noundef @.str.44, i32 noundef 16400)
%46 = call i32 @create_label(ptr noundef @.str.45, i32 noundef 16416)
%47 = call i32 @create_label(ptr noundef @.str.46, i32 noundef 16448)
%48 = call i32 @create_label(ptr noundef @.str.47, i32 noundef 16512)
%49 = call i32 @create_label(ptr noundef @.str.48, i32 noundef 16640)
ret void
}
declare i32 @create_label(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/tmpdwrveut5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"RIOT_DRA\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"RIOT_DDRA\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"RIOT_DRB\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"RIOT_DDRB\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"RIOT_RdTimer\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"RIOT_Reg5\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"RIOT_WEDC_Neg\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"RIOT_WEDC_Pos\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_08\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_09\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0a\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0b\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"RIOT_Rt_En\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0d\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0e\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_0f\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_10\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_11\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_12\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_13\00", align 1
@.str.20 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div1_Dis\00", align 1
@.str.21 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div8_Dis\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"RIOT_Wt_Div64_Dis\00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"RIOT_Wt_Div1K_Dis\00", align 1
@.str.24 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_18\00", align 1
@.str.25 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_19\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_1a\00", align 1
@.str.27 = private unnamed_addr constant [12 x i8] c"RIOT_Reg_1b\00", align 1
@.str.28 = private unnamed_addr constant [16 x i8] c"RIOT_Wt_Div1_En\00", align 1
@.str.29 = private unnamed_addr constant [16 x i8] c"RIOT_Wt_Div8_En\00", align 1
@.str.30 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div64_En\00", align 1
@.str.31 = private unnamed_addr constant [17 x i8] c"RIOT_Wt_Div1K_En\00", align 1
@.str.32 = private unnamed_addr constant [15 x i8] c"GameBoxCounter\00", align 1
@.str.33 = private unnamed_addr constant [14 x i8] c"SegmentSelect\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"DigitSelect\00", align 1
@.str.35 = private unnamed_addr constant [13 x i8] c"DisplayReset\00", align 1
@.str.36 = private unnamed_addr constant [7 x i8] c"AddrSR\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c"DataSR\00", align 1
@.str.38 = private unnamed_addr constant [7 x i8] c"ByteSR\00", align 1
@.str.39 = private unnamed_addr constant [7 x i8] c"KBitSR\00", align 1
@.str.40 = private unnamed_addr constant [5 x i8] c"RWSR\00", align 1
@.str.41 = private unnamed_addr constant [11 x i8] c"SelfTestSR\00", align 1
@.str.42 = private unnamed_addr constant [6 x i8] c"SigSR\00", align 1
@.str.43 = private unnamed_addr constant [9 x i8] c"Switches\00", align 1
@.str.44 = private unnamed_addr constant [5 x i8] c"Col0\00", align 1
@.str.45 = private unnamed_addr constant [5 x i8] c"Col1\00", align 1
@.str.46 = private unnamed_addr constant [5 x i8] c"Col2\00", align 1
@.str.47 = private unnamed_addr constant [5 x i8] c"Col3\00", align 1
@.str.48 = private unnamed_addr constant [10 x i8] c"Switches2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_catbox_labels() #0 {
%1 = call i32 @create_label(ptr noundef @.str, i32 noundef 0)
%2 = call i32 @create_label(ptr noundef @.str.1, i32 noundef 1)
%3 = call i32 @create_label(ptr noundef @.str.2, i32 noundef 2)
%4 = call i32 @create_label(ptr noundef @.str.3, i32 noundef 3)
%5 = call i32 @create_label(ptr noundef @.str.4, i32 noundef 4)
%6 = call i32 @create_label(ptr noundef @.str.5, i32 noundef 5)
%7 = call i32 @create_label(ptr noundef @.str.6, i32 noundef 6)
%8 = call i32 @create_label(ptr noundef @.str.7, i32 noundef 7)
%9 = call i32 @create_label(ptr noundef @.str.8, i32 noundef 8)
%10 = call i32 @create_label(ptr noundef @.str.9, i32 noundef 9)
%11 = call i32 @create_label(ptr noundef @.str.10, i32 noundef 10)
%12 = call i32 @create_label(ptr noundef @.str.11, i32 noundef 11)
%13 = call i32 @create_label(ptr noundef @.str.12, i32 noundef 12)
%14 = call i32 @create_label(ptr noundef @.str.13, i32 noundef 13)
%15 = call i32 @create_label(ptr noundef @.str.14, i32 noundef 14)
%16 = call i32 @create_label(ptr noundef @.str.15, i32 noundef 15)
%17 = call i32 @create_label(ptr noundef @.str.16, i32 noundef 16)
%18 = call i32 @create_label(ptr noundef @.str.17, i32 noundef 17)
%19 = call i32 @create_label(ptr noundef @.str.18, i32 noundef 18)
%20 = call i32 @create_label(ptr noundef @.str.19, i32 noundef 19)
%21 = call i32 @create_label(ptr noundef @.str.20, i32 noundef 20)
%22 = call i32 @create_label(ptr noundef @.str.21, i32 noundef 21)
%23 = call i32 @create_label(ptr noundef @.str.22, i32 noundef 22)
%24 = call i32 @create_label(ptr noundef @.str.23, i32 noundef 23)
%25 = call i32 @create_label(ptr noundef @.str.24, i32 noundef 24)
%26 = call i32 @create_label(ptr noundef @.str.25, i32 noundef 25)
%27 = call i32 @create_label(ptr noundef @.str.26, i32 noundef 26)
%28 = call i32 @create_label(ptr noundef @.str.27, i32 noundef 27)
%29 = call i32 @create_label(ptr noundef @.str.28, i32 noundef 28)
%30 = call i32 @create_label(ptr noundef @.str.29, i32 noundef 29)
%31 = call i32 @create_label(ptr noundef @.str.30, i32 noundef 30)
%32 = call i32 @create_label(ptr noundef @.str.31, i32 noundef 31)
%33 = call i32 @create_label(ptr noundef @.str.32, i32 noundef 8192)
%34 = call i32 @create_label(ptr noundef @.str.33, i32 noundef 11008)
%35 = call i32 @create_label(ptr noundef @.str.34, i32 noundef 12288)
%36 = call i32 @create_label(ptr noundef @.str.35, i32 noundef 14336)
%37 = call i32 @create_label(ptr noundef @.str.36, i32 noundef 16384)
%38 = call i32 @create_label(ptr noundef @.str.37, i32 noundef 16385)
%39 = call i32 @create_label(ptr noundef @.str.38, i32 noundef 16386)
%40 = call i32 @create_label(ptr noundef @.str.39, i32 noundef 16387)
%41 = call i32 @create_label(ptr noundef @.str.40, i32 noundef 16389)
%42 = call i32 @create_label(ptr noundef @.str.41, i32 noundef 16390)
%43 = call i32 @create_label(ptr noundef @.str.42, i32 noundef 16391)
%44 = call i32 @create_label(ptr noundef @.str.43, i32 noundef 16392)
%45 = call i32 @create_label(ptr noundef @.str.44, i32 noundef 16400)
%46 = call i32 @create_label(ptr noundef @.str.45, i32 noundef 16416)
%47 = call i32 @create_label(ptr noundef @.str.46, i32 noundef 16448)
%48 = call i32 @create_label(ptr noundef @.str.47, i32 noundef 16512)
%49 = call i32 @create_label(ptr noundef @.str.48, i32 noundef 16640)
ret void
}
declare i32 @create_label(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/tmpju5114wo.c'
source_filename = "/tmp/tmpju5114wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpju5114wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6g0a9lfc.c'
source_filename = "/tmp/tmp6g0a9lfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%2d :: \09%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %11, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 16
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @dec_to_binary(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br label %3, !llvm.loop !6
14: ; preds = %3
br label %15
15: ; preds = %23, %14
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 32
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @to_binary_recursive(i32 noundef %20)
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
br label %15, !llvm.loop !8
26: ; preds = %15
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dec_to_binary(i32 noundef) #1
declare i32 @to_binary_recursive(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/tmp6g0a9lfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%2d :: \09%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 16
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %10
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @dec_to_binary(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 16
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 32
br i1 %17, label %.lr.ph2, label %28
.lr.ph2: ; preds = %15
br label %18
18: ; preds = %.lr.ph2, %23
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @to_binary_recursive(i32 noundef %20)
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 32
br i1 %27, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %23
br label %28
28: ; preds = %._crit_edge3, %15
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dec_to_binary(i32 noundef) #1
declare i32 @to_binary_recursive(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/tmpe8u4tj1v.c'
source_filename = "/tmp/tmpe8u4tj1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeisDiffDate(i16 noundef zeroext %0, i16 noundef zeroext %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store i16 %0, ptr %8, align 2
store i16 %1, ptr %9, align 2
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%16 = load i16, ptr %8, align 2
%17 = load ptr, ptr %12, align 8
store i16 %16, ptr %17, align 2
%18 = load i16, ptr %9, align 2
%19 = load ptr, ptr %13, align 8
store i16 %18, ptr %19, align 2
%20 = load i32, ptr %10, align 4
%21 = load ptr, ptr %14, align 8
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %116
24: ; preds = %7
%25 = load ptr, ptr %12, align 8
%26 = load i16, ptr %25, align 2
%27 = load ptr, ptr %13, align 8
%28 = load i16, ptr %27, align 2
%29 = load ptr, ptr %14, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %14, align 8
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %32, 1
%34 = call i64 @HeisDayDiff(i16 noundef zeroext %26, i16 noundef zeroext %28, i32 noundef %30, i32 noundef 1, i16 noundef zeroext 1, i32 noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %15, align 4
br label %36
36: ; preds = %40, %24
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %15, align 4
%39 = icmp sge i32 %37, %38
br i1 %39, label %40, label %60
40: ; preds = %36
%41 = load ptr, ptr %12, align 8
store i16 1, ptr %41, align 2
%42 = load ptr, ptr %13, align 8
store i16 1, ptr %42, align 2
%43 = load ptr, ptr %14, align 8
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4
%46 = load i32, ptr %15, align 4
%47 = load i32, ptr %11, align 4
%48 = sub nsw i32 %47, %46
store i32 %48, ptr %11, align 4
%49 = load ptr, ptr %12, align 8
%50 = load i16, ptr %49, align 2
%51 = load ptr, ptr %13, align 8
%52 = load i16, ptr %51, align 2
%53 = load ptr, ptr %14, align 8
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %14, align 8
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %56, 1
%58 = call i64 @HeisDayDiff(i16 noundef zeroext %50, i16 noundef zeroext %52, i32 noundef %54, i32 noundef 1, i16 noundef zeroext 1, i32 noundef %57)
%59 = trunc i64 %58 to i32
store i32 %59, ptr %15, align 4
br label %36, !llvm.loop !6
60: ; preds = %36
%61 = load ptr, ptr %12, align 8
%62 = load i16, ptr %61, align 2
%63 = load ptr, ptr %13, align 8
%64 = load i16, ptr %63, align 2
%65 = load ptr, ptr %14, align 8
%66 = load i32, ptr %65, align 4
%67 = load ptr, ptr %13, align 8
%68 = load i16, ptr %67, align 2
%69 = zext i16 %68 to i32
%70 = add nsw i32 %69, 1
%71 = trunc i32 %70 to i16
%72 = load ptr, ptr %14, align 8
%73 = load i32, ptr %72, align 4
%74 = call i64 @HeisDayDiff(i16 noundef zeroext %62, i16 noundef zeroext %64, i32 noundef %66, i32 noundef 1, i16 noundef zeroext %71, i32 noundef %73)
%75 = trunc i64 %74 to i32
store i32 %75, ptr %15, align 4
br label %76
76: ; preds = %80, %60
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %15, align 4
%79 = icmp sge i32 %77, %78
br i1 %79, label %80, label %103
80: ; preds = %76
%81 = load ptr, ptr %12, align 8
store i16 1, ptr %81, align 2
%82 = load ptr, ptr %13, align 8
%83 = load i16, ptr %82, align 2
%84 = add i16 %83, 1
store i16 %84, ptr %82, align 2
%85 = load i32, ptr %15, align 4
%86 = load i32, ptr %11, align 4
%87 = sub nsw i32 %86, %85
store i32 %87, ptr %11, align 4
%88 = load ptr, ptr %12, align 8
%89 = load i16, ptr %88, align 2
%90 = load ptr, ptr %13, align 8
%91 = load i16, ptr %90, align 2
%92 = load ptr, ptr %14, align 8
%93 = load i32, ptr %92, align 4
%94 = load ptr, ptr %13, align 8
%95 = load i16, ptr %94, align 2
%96 = zext i16 %95 to i32
%97 = add nsw i32 %96, 1
%98 = trunc i32 %97 to i16
%99 = load ptr, ptr %14, align 8
%100 = load i32, ptr %99, align 4
%101 = call i64 @HeisDayDiff(i16 noundef zeroext %89, i16 noundef zeroext %91, i32 noundef %93, i32 noundef 1, i16 noundef zeroext %98, i32 noundef %100)
%102 = trunc i64 %101 to i32
store i32 %102, ptr %15, align 4
br label %76, !llvm.loop !8
103: ; preds = %76
%104 = load i32, ptr %11, align 4
%105 = icmp sgt i32 %104, 0
br i1 %105, label %106, label %115
106: ; preds = %103
%107 = load i32, ptr %11, align 4
%108 = trunc i32 %107 to i16
%109 = zext i16 %108 to i32
%110 = load ptr, ptr %12, align 8
%111 = load i16, ptr %110, align 2
%112 = zext i16 %111 to i32
%113 = add nsw i32 %112, %109
%114 = trunc i32 %113 to i16
store i16 %114, ptr %110, align 2
br label %115
115: ; preds = %106, %103
br label %234
116: ; preds = %7
%117 = load ptr, ptr %12, align 8
%118 = load i16, ptr %117, align 2
%119 = load ptr, ptr %13, align 8
%120 = load i16, ptr %119, align 2
%121 = load ptr, ptr %14, align 8
%122 = load i32, ptr %121, align 4
%123 = load ptr, ptr %14, align 8
%124 = load i32, ptr %123, align 4
%125 = sub nsw i32 %124, 1
%126 = call i64 @HeisDayDiff(i16 noundef zeroext %118, i16 noundef zeroext %120, i32 noundef %122, i32 noundef 31, i16 noundef zeroext 12, i32 noundef %125)
%127 = trunc i64 %126 to i32
store i32 %127, ptr %15, align 4
br label %128
128: ; preds = %132, %116
%129 = load i32, ptr %11, align 4
%130 = load i32, ptr %15, align 4
%131 = icmp sle i32 %129, %130
br i1 %131, label %132, label %152
132: ; preds = %128
%133 = load ptr, ptr %12, align 8
store i16 31, ptr %133, align 2
%134 = load ptr, ptr %13, align 8
store i16 12, ptr %134, align 2
%135 = load ptr, ptr %14, align 8
%136 = load i32, ptr %135, align 4
%137 = add nsw i32 %136, -1
store i32 %137, ptr %135, align 4
%138 = load i32, ptr %15, align 4
%139 = load i32, ptr %11, align 4
%140 = sub nsw i32 %139, %138
store i32 %140, ptr %11, align 4
%141 = load ptr, ptr %12, align 8
%142 = load i16, ptr %141, align 2
%143 = load ptr, ptr %13, align 8
%144 = load i16, ptr %143, align 2
%145 = load ptr, ptr %14, align 8
%146 = load i32, ptr %145, align 4
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %147, align 4
%149 = sub nsw i32 %148, 1
%150 = call i64 @HeisDayDiff(i16 noundef zeroext %142, i16 noundef zeroext %144, i32 noundef %146, i32 noundef 31, i16 noundef zeroext 12, i32 noundef %149)
%151 = trunc i64 %150 to i32
store i32 %151, ptr %15, align 4
br label %128, !llvm.loop !9
152: ; preds = %128
%153 = load ptr, ptr %12, align 8
%154 = load i16, ptr %153, align 2
%155 = load ptr, ptr %13, align 8
%156 = load i16, ptr %155, align 2
%157 = load ptr, ptr %14, align 8
%158 = load i32, ptr %157, align 4
%159 = load ptr, ptr %13, align 8
%160 = load i16, ptr %159, align 2
%161 = zext i16 %160 to i32
%162 = sub nsw i32 %161, 1
%163 = trunc i32 %162 to i16
%164 = load ptr, ptr %14, align 8
%165 = load i32, ptr %164, align 4
%166 = call i32 @HeisMonthDays(i16 noundef zeroext %163, i32 noundef %165)
%167 = load ptr, ptr %13, align 8
%168 = load i16, ptr %167, align 2
%169 = zext i16 %168 to i32
%170 = sub nsw i32 %169, 1
%171 = trunc i32 %170 to i16
%172 = load ptr, ptr %14, align 8
%173 = load i32, ptr %172, align 4
%174 = call i64 @HeisDayDiff(i16 noundef zeroext %154, i16 noundef zeroext %156, i32 noundef %158, i32 noundef %166, i16 noundef zeroext %171, i32 noundef %173)
%175 = trunc i64 %174 to i32
store i32 %175, ptr %15, align 4
br label %176
176: ; preds = %180, %152
%177 = load i32, ptr %11, align 4
%178 = load i32, ptr %15, align 4
%179 = icmp sle i32 %177, %178
br i1 %179, label %180, label %220
180: ; preds = %176
%181 = load ptr, ptr %13, align 8
%182 = load i16, ptr %181, align 2
%183 = zext i16 %182 to i32
%184 = sub nsw i32 %183, 1
%185 = trunc i32 %184 to i16
%186 = load ptr, ptr %14, align 8
%187 = load i32, ptr %186, align 4
%188 = call i32 @HeisMonthDays(i16 noundef zeroext %185, i32 noundef %187)
%189 = trunc i32 %188 to i16
%190 = load ptr, ptr %12, align 8
store i16 %189, ptr %190, align 2
%191 = load ptr, ptr %13, align 8
%192 = load i16, ptr %191, align 2
%193 = add i16 %192, -1
store i16 %193, ptr %191, align 2
%194 = load i32, ptr %15, align 4
%195 = load i32, ptr %11, align 4
%196 = sub nsw i32 %195, %194
store i32 %196, ptr %11, align 4
%197 = load ptr, ptr %12, align 8
%198 = load i16, ptr %197, align 2
%199 = load ptr, ptr %13, align 8
%200 = load i16, ptr %199, align 2
%201 = load ptr, ptr %14, align 8
%202 = load i32, ptr %201, align 4
%203 = load ptr, ptr %13, align 8
%204 = load i16, ptr %203, align 2
%205 = zext i16 %204 to i32
%206 = sub nsw i32 %205, 1
%207 = trunc i32 %206 to i16
%208 = load ptr, ptr %14, align 8
%209 = load i32, ptr %208, align 4
%210 = call i32 @HeisMonthDays(i16 noundef zeroext %207, i32 noundef %209)
%211 = load ptr, ptr %13, align 8
%212 = load i16, ptr %211, align 2
%213 = zext i16 %212 to i32
%214 = sub nsw i32 %213, 1
%215 = trunc i32 %214 to i16
%216 = load ptr, ptr %14, align 8
%217 = load i32, ptr %216, align 4
%218 = call i64 @HeisDayDiff(i16 noundef zeroext %198, i16 noundef zeroext %200, i32 noundef %202, i32 noundef %210, i16 noundef zeroext %215, i32 noundef %217)
%219 = trunc i64 %218 to i32
store i32 %219, ptr %15, align 4
br label %176, !llvm.loop !10
220: ; preds = %176
%221 = load i32, ptr %11, align 4
%222 = icmp slt i32 %221, 0
br i1 %222, label %223, label %233
223: ; preds = %220
%224 = load i32, ptr %11, align 4
%225 = call i64 @abs(i32 noundef %224)
%226 = trunc i64 %225 to i16
%227 = zext i16 %226 to i32
%228 = load ptr, ptr %12, align 8
%229 = load i16, ptr %228, align 2
%230 = zext i16 %229 to i32
%231 = sub nsw i32 %230, %227
%232 = trunc i32 %231 to i16
store i16 %232, ptr %228, align 2
br label %233
233: ; preds = %223, %220
br label %234
234: ; preds = %233, %115
ret void
}
declare i64 @HeisDayDiff(i16 noundef zeroext, i16 noundef zeroext, i32 noundef, i32 noundef, i16 noundef zeroext, i32 noundef) #1
declare i32 @HeisMonthDays(i16 noundef zeroext, i32 noundef) #1
declare i64 @abs(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/tmpe8u4tj1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeisDiffDate(i16 noundef zeroext %0, i16 noundef zeroext %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store i16 %0, ptr %8, align 2
store i16 %1, ptr %9, align 2
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%16 = load i16, ptr %8, align 2
%17 = load ptr, ptr %12, align 8
store i16 %16, ptr %17, align 2
%18 = load i16, ptr %9, align 2
%19 = load ptr, ptr %13, align 8
store i16 %18, ptr %19, align 2
%20 = load i32, ptr %10, align 4
%21 = load ptr, ptr %14, align 8
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %120
24: ; preds = %7
%25 = load ptr, ptr %12, align 8
%26 = load i16, ptr %25, align 2
%27 = load ptr, ptr %13, align 8
%28 = load i16, ptr %27, align 2
%29 = load ptr, ptr %14, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %14, align 8
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %32, 1
%34 = call i64 @HeisDayDiff(i16 noundef zeroext %26, i16 noundef zeroext %28, i32 noundef %30, i32 noundef 1, i16 noundef zeroext 1, i32 noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %15, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %15, align 4
%38 = icmp sge i32 %36, %37
br i1 %38, label %.lr.ph5, label %62
.lr.ph5: ; preds = %24
br label %39
39: ; preds = %.lr.ph5, %39
%40 = load ptr, ptr %12, align 8
store i16 1, ptr %40, align 2
%41 = load ptr, ptr %13, align 8
store i16 1, ptr %41, align 2
%42 = load ptr, ptr %14, align 8
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 4
%45 = load i32, ptr %15, align 4
%46 = load i32, ptr %11, align 4
%47 = sub nsw i32 %46, %45
store i32 %47, ptr %11, align 4
%48 = load ptr, ptr %12, align 8
%49 = load i16, ptr %48, align 2
%50 = load ptr, ptr %13, align 8
%51 = load i16, ptr %50, align 2
%52 = load ptr, ptr %14, align 8
%53 = load i32, ptr %52, align 4
%54 = load ptr, ptr %14, align 8
%55 = load i32, ptr %54, align 4
%56 = add nsw i32 %55, 1
%57 = call i64 @HeisDayDiff(i16 noundef zeroext %49, i16 noundef zeroext %51, i32 noundef %53, i32 noundef 1, i16 noundef zeroext 1, i32 noundef %56)
%58 = trunc i64 %57 to i32
store i32 %58, ptr %15, align 4
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %15, align 4
%61 = icmp sge i32 %59, %60
br i1 %61, label %39, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %39
br label %62
62: ; preds = %._crit_edge6, %24
%63 = load ptr, ptr %12, align 8
%64 = load i16, ptr %63, align 2
%65 = load ptr, ptr %13, align 8
%66 = load i16, ptr %65, align 2
%67 = load ptr, ptr %14, align 8
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %13, align 8
%70 = load i16, ptr %69, align 2
%71 = zext i16 %70 to i32
%72 = add nsw i32 %71, 1
%73 = trunc i32 %72 to i16
%74 = load ptr, ptr %14, align 8
%75 = load i32, ptr %74, align 4
%76 = call i64 @HeisDayDiff(i16 noundef zeroext %64, i16 noundef zeroext %66, i32 noundef %68, i32 noundef 1, i16 noundef zeroext %73, i32 noundef %75)
%77 = trunc i64 %76 to i32
store i32 %77, ptr %15, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %15, align 4
%80 = icmp sge i32 %78, %79
br i1 %80, label %.lr.ph8, label %107
.lr.ph8: ; preds = %62
br label %81
81: ; preds = %.lr.ph8, %81
%82 = load ptr, ptr %12, align 8
store i16 1, ptr %82, align 2
%83 = load ptr, ptr %13, align 8
%84 = load i16, ptr %83, align 2
%85 = add i16 %84, 1
store i16 %85, ptr %83, align 2
%86 = load i32, ptr %15, align 4
%87 = load i32, ptr %11, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %11, align 4
%89 = load ptr, ptr %12, align 8
%90 = load i16, ptr %89, align 2
%91 = load ptr, ptr %13, align 8
%92 = load i16, ptr %91, align 2
%93 = load ptr, ptr %14, align 8
%94 = load i32, ptr %93, align 4
%95 = load ptr, ptr %13, align 8
%96 = load i16, ptr %95, align 2
%97 = zext i16 %96 to i32
%98 = add nsw i32 %97, 1
%99 = trunc i32 %98 to i16
%100 = load ptr, ptr %14, align 8
%101 = load i32, ptr %100, align 4
%102 = call i64 @HeisDayDiff(i16 noundef zeroext %90, i16 noundef zeroext %92, i32 noundef %94, i32 noundef 1, i16 noundef zeroext %99, i32 noundef %101)
%103 = trunc i64 %102 to i32
store i32 %103, ptr %15, align 4
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %15, align 4
%106 = icmp sge i32 %104, %105
br i1 %106, label %81, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %81
br label %107
107: ; preds = %._crit_edge9, %62
%108 = load i32, ptr %11, align 4
%109 = icmp sgt i32 %108, 0
br i1 %109, label %110, label %119
110: ; preds = %107
%111 = load i32, ptr %11, align 4
%112 = trunc i32 %111 to i16
%113 = zext i16 %112 to i32
%114 = load ptr, ptr %12, align 8
%115 = load i16, ptr %114, align 2
%116 = zext i16 %115 to i32
%117 = add nsw i32 %116, %113
%118 = trunc i32 %117 to i16
store i16 %118, ptr %114, align 2
br label %119
119: ; preds = %110, %107
br label %242
120: ; preds = %7
%121 = load ptr, ptr %12, align 8
%122 = load i16, ptr %121, align 2
%123 = load ptr, ptr %13, align 8
%124 = load i16, ptr %123, align 2
%125 = load ptr, ptr %14, align 8
%126 = load i32, ptr %125, align 4
%127 = load ptr, ptr %14, align 8
%128 = load i32, ptr %127, align 4
%129 = sub nsw i32 %128, 1
%130 = call i64 @HeisDayDiff(i16 noundef zeroext %122, i16 noundef zeroext %124, i32 noundef %126, i32 noundef 31, i16 noundef zeroext 12, i32 noundef %129)
%131 = trunc i64 %130 to i32
store i32 %131, ptr %15, align 4
%132 = load i32, ptr %11, align 4
%133 = load i32, ptr %15, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %.lr.ph, label %158
.lr.ph: ; preds = %120
br label %135
135: ; preds = %.lr.ph, %135
%136 = load ptr, ptr %12, align 8
store i16 31, ptr %136, align 2
%137 = load ptr, ptr %13, align 8
store i16 12, ptr %137, align 2
%138 = load ptr, ptr %14, align 8
%139 = load i32, ptr %138, align 4
%140 = add nsw i32 %139, -1
store i32 %140, ptr %138, align 4
%141 = load i32, ptr %15, align 4
%142 = load i32, ptr %11, align 4
%143 = sub nsw i32 %142, %141
store i32 %143, ptr %11, align 4
%144 = load ptr, ptr %12, align 8
%145 = load i16, ptr %144, align 2
%146 = load ptr, ptr %13, align 8
%147 = load i16, ptr %146, align 2
%148 = load ptr, ptr %14, align 8
%149 = load i32, ptr %148, align 4
%150 = load ptr, ptr %14, align 8
%151 = load i32, ptr %150, align 4
%152 = sub nsw i32 %151, 1
%153 = call i64 @HeisDayDiff(i16 noundef zeroext %145, i16 noundef zeroext %147, i32 noundef %149, i32 noundef 31, i16 noundef zeroext 12, i32 noundef %152)
%154 = trunc i64 %153 to i32
store i32 %154, ptr %15, align 4
%155 = load i32, ptr %11, align 4
%156 = load i32, ptr %15, align 4
%157 = icmp sle i32 %155, %156
br i1 %157, label %135, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %135
br label %158
158: ; preds = %._crit_edge, %120
%159 = load ptr, ptr %12, align 8
%160 = load i16, ptr %159, align 2
%161 = load ptr, ptr %13, align 8
%162 = load i16, ptr %161, align 2
%163 = load ptr, ptr %14, align 8
%164 = load i32, ptr %163, align 4
%165 = load ptr, ptr %13, align 8
%166 = load i16, ptr %165, align 2
%167 = zext i16 %166 to i32
%168 = sub nsw i32 %167, 1
%169 = trunc i32 %168 to i16
%170 = load ptr, ptr %14, align 8
%171 = load i32, ptr %170, align 4
%172 = call i32 @HeisMonthDays(i16 noundef zeroext %169, i32 noundef %171)
%173 = load ptr, ptr %13, align 8
%174 = load i16, ptr %173, align 2
%175 = zext i16 %174 to i32
%176 = sub nsw i32 %175, 1
%177 = trunc i32 %176 to i16
%178 = load ptr, ptr %14, align 8
%179 = load i32, ptr %178, align 4
%180 = call i64 @HeisDayDiff(i16 noundef zeroext %160, i16 noundef zeroext %162, i32 noundef %164, i32 noundef %172, i16 noundef zeroext %177, i32 noundef %179)
%181 = trunc i64 %180 to i32
store i32 %181, ptr %15, align 4
%182 = load i32, ptr %11, align 4
%183 = load i32, ptr %15, align 4
%184 = icmp sle i32 %182, %183
br i1 %184, label %.lr.ph2, label %228
.lr.ph2: ; preds = %158
br label %185
185: ; preds = %.lr.ph2, %185
%186 = load ptr, ptr %13, align 8
%187 = load i16, ptr %186, align 2
%188 = zext i16 %187 to i32
%189 = sub nsw i32 %188, 1
%190 = trunc i32 %189 to i16
%191 = load ptr, ptr %14, align 8
%192 = load i32, ptr %191, align 4
%193 = call i32 @HeisMonthDays(i16 noundef zeroext %190, i32 noundef %192)
%194 = trunc i32 %193 to i16
%195 = load ptr, ptr %12, align 8
store i16 %194, ptr %195, align 2
%196 = load ptr, ptr %13, align 8
%197 = load i16, ptr %196, align 2
%198 = add i16 %197, -1
store i16 %198, ptr %196, align 2
%199 = load i32, ptr %15, align 4
%200 = load i32, ptr %11, align 4
%201 = sub nsw i32 %200, %199
store i32 %201, ptr %11, align 4
%202 = load ptr, ptr %12, align 8
%203 = load i16, ptr %202, align 2
%204 = load ptr, ptr %13, align 8
%205 = load i16, ptr %204, align 2
%206 = load ptr, ptr %14, align 8
%207 = load i32, ptr %206, align 4
%208 = load ptr, ptr %13, align 8
%209 = load i16, ptr %208, align 2
%210 = zext i16 %209 to i32
%211 = sub nsw i32 %210, 1
%212 = trunc i32 %211 to i16
%213 = load ptr, ptr %14, align 8
%214 = load i32, ptr %213, align 4
%215 = call i32 @HeisMonthDays(i16 noundef zeroext %212, i32 noundef %214)
%216 = load ptr, ptr %13, align 8
%217 = load i16, ptr %216, align 2
%218 = zext i16 %217 to i32
%219 = sub nsw i32 %218, 1
%220 = trunc i32 %219 to i16
%221 = load ptr, ptr %14, align 8
%222 = load i32, ptr %221, align 4
%223 = call i64 @HeisDayDiff(i16 noundef zeroext %203, i16 noundef zeroext %205, i32 noundef %207, i32 noundef %215, i16 noundef zeroext %220, i32 noundef %222)
%224 = trunc i64 %223 to i32
store i32 %224, ptr %15, align 4
%225 = load i32, ptr %11, align 4
%226 = load i32, ptr %15, align 4
%227 = icmp sle i32 %225, %226
br i1 %227, label %185, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %185
br label %228
228: ; preds = %._crit_edge3, %158
%229 = load i32, ptr %11, align 4
%230 = icmp slt i32 %229, 0
br i1 %230, label %231, label %241
231: ; preds = %228
%232 = load i32, ptr %11, align 4
%233 = call i64 @abs(i32 noundef %232)
%234 = trunc i64 %233 to i16
%235 = zext i16 %234 to i32
%236 = load ptr, ptr %12, align 8
%237 = load i16, ptr %236, align 2
%238 = zext i16 %237 to i32
%239 = sub nsw i32 %238, %235
%240 = trunc i32 %239 to i16
store i16 %240, ptr %236, align 2
br label %241
241: ; preds = %231, %228
br label %242
242: ; preds = %241, %119
ret void
}
declare i64 @HeisDayDiff(i16 noundef zeroext, i16 noundef zeroext, i32 noundef, i32 noundef, i16 noundef zeroext, i32 noundef) #1
declare i32 @HeisMonthDays(i16 noundef zeroext, i32 noundef) #1
declare i64 @abs(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/tmppctr8fs8.c'
source_filename = "/tmp/tmppctr8fs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, 1469414410
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppctr8fs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, 1469414410
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfbp6n5r5.c'
source_filename = "/tmp/tmpfbp6n5r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PrintNumbers() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 101)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 1001)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
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/tmpfbp6n5r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PrintNumbers() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 101)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 1001)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
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/tmpx3wkzfxg.c'
source_filename = "/tmp/tmpx3wkzfxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @appledouble_creat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @extra_translate(ptr noundef %10, ptr noundef %11, ptr noundef %9)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
switch i32 %13, label %28 [
i32 1, label %14
i32 2, label %17
i32 5, label %22
i32 3, label %25
]
14: ; preds = %3
%15 = load ptr, ptr %9, align 8
%16 = call i32 @free(ptr noundef %15)
store i32 1, ptr %4, align 4
br label %29
17: ; preds = %3
%18 = load ptr, ptr %9, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load i32, ptr @EBADF, align 4
%21 = sub nsw i32 0, %20
store i32 %21, ptr %4, align 4
br label %29
22: ; preds = %3
%23 = load i32, ptr @EPERM, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %4, align 4
br label %29
25: ; preds = %3
%26 = load ptr, ptr %9, align 8
%27 = call i32 @free(ptr noundef %26)
store i32 1, ptr %4, align 4
br label %29
28: ; preds = %3
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %28, %25, %22, %17, %14
%30 = load i32, ptr %4, align 4
ret i32 %30
}
declare i32 @extra_translate(ptr noundef, ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3wkzfxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @appledouble_creat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @extra_translate(ptr noundef %10, ptr noundef %11, ptr noundef %9)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
switch i32 %13, label %28 [
i32 1, label %14
i32 2, label %17
i32 5, label %22
i32 3, label %25
]
14: ; preds = %3
%15 = load ptr, ptr %9, align 8
%16 = call i32 @free(ptr noundef %15)
store i32 1, ptr %4, align 4
br label %29
17: ; preds = %3
%18 = load ptr, ptr %9, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load i32, ptr @EBADF, align 4
%21 = sub nsw i32 0, %20
store i32 %21, ptr %4, align 4
br label %29
22: ; preds = %3
%23 = load i32, ptr @EPERM, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %4, align 4
br label %29
25: ; preds = %3
%26 = load ptr, ptr %9, align 8
%27 = call i32 @free(ptr noundef %26)
store i32 1, ptr %4, align 4
br label %29
28: ; preds = %3
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %28, %25, %22, %17, %14
%30 = load i32, ptr %4, align 4
ret i32 %30
}
declare i32 @extra_translate(ptr noundef, ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpg7p1syd1.c'
source_filename = "/tmp/tmpg7p1syd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i16_i16_f32_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds float, ptr %15, i64 %17
%19 = load float, ptr %18, align 4
%20 = fcmp une float %19, 0.000000e+00
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7p1syd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i16_i16_f32_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds float, ptr %14, i64 %16
%18 = load float, ptr %17, align 4
%19 = fcmp une float %18, 0.000000e+00
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph681ffk_.c'
source_filename = "/tmp/tmph681ffk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = call ptr @llvm.stacksave()
store ptr %5, ptr %3, align 8
%6 = alloca i32, i64 10, align 16
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %6, i64 %13
store i32 %11, ptr %14, align 4
br label %15
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = call i32 @binary_weird(i32 noundef -1, ptr noundef %6, i32 noundef 10)
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
store i32 0, ptr %1, align 4
%21 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %21)
%22 = load i32, ptr %1, align 4
ret i32 %22
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @binary_weird(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmph681ffk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = call ptr @llvm.stacksave()
store ptr %5, ptr %3, align 8
%6 = alloca i32, i64 10, align 16
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %6, i64 %12
store i32 %10, ptr %13, align 4
br label %14
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 @binary_weird(i32 noundef -1, ptr noundef %6, i32 noundef 10)
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
store i32 0, ptr %1, align 4
%22 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %22)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @binary_weird(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp698nk5at.c'
source_filename = "/tmp/tmp698nk5at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_draw_picture(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 54
store ptr %12, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %50, %1
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 480
br i1 %15, label %16, label %53
16: ; preds = %13
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %46, %16
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 800
br i1 %19, label %20, label %49
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load i8, ptr %21, align 1
%24 = sext i8 %23 to i32
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load i8, ptr %25, align 1
%28 = sext i8 %27 to i32
store i32 %28, ptr %7, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load i8, ptr %29, align 1
%32 = sext i8 %31 to i32
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = shl i32 %33, 16
%35 = load i32, ptr %7, align 4
%36 = shl i32 %35, 8
%37 = or i32 %34, %36
%38 = load i32, ptr %6, align 4
%39 = shl i32 %38, 0
%40 = or i32 %37, %39
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %3, align 4
%42 = sub nsw i32 480, %41
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @lcd_draw_pixel(i32 noundef %42, i32 noundef %43, i32 noundef %44)
br label %46
46: ; preds = %20
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
br label %17, !llvm.loop !6
49: ; preds = %17
br label %50
50: ; preds = %49
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
br label %13, !llvm.loop !8
53: ; preds = %13
ret void
}
declare i32 @lcd_draw_pixel(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp698nk5at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_draw_picture(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 54
store ptr %12, ptr %5, align 8
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 480
br i1 %14, label %.lr.ph2, label %55
.lr.ph2: ; preds = %1
br label %15
15: ; preds = %.lr.ph2, %50
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 800
br i1 %17, label %.lr.ph, label %49
.lr.ph: ; preds = %15
br label %18
18: ; preds = %.lr.ph, %44
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load i8, ptr %19, align 1
%22 = sext i8 %21 to i32
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %5, align 8
%25 = load i8, ptr %23, align 1
%26 = sext i8 %25 to i32
store i32 %26, ptr %7, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
%29 = load i8, ptr %27, align 1
%30 = sext i8 %29 to i32
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = shl i32 %31, 16
%33 = load i32, ptr %7, align 4
%34 = shl i32 %33, 8
%35 = or i32 %32, %34
%36 = load i32, ptr %6, align 4
%37 = shl i32 %36, 0
%38 = or i32 %35, %37
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %3, align 4
%40 = sub nsw i32 480, %39
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %9, align 4
%43 = call i32 @lcd_draw_pixel(i32 noundef %40, i32 noundef %41, i32 noundef %42)
br label %44
44: ; preds = %18
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %47, 800
br i1 %48, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %15
br label %50
50: ; preds = %49
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %53, 480
br i1 %54, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %55
55: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @lcd_draw_pixel(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnlmh33_8.c'
source_filename = "/tmp/tmpnlmh33_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"/usr/X11R6/lib/X11/locale/locale.alias\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resolveLocale(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %1
br label %52
13: ; preds = %1
br label %14
14: ; preds = %35, %13
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @parseTwoTokenLine(ptr noundef %15, ptr noundef %16, ptr noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, -1
br i1 %20, label %21, label %22
21: ; preds = %14
br label %52
22: ; preds = %14
%23 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef %23, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %22
%28 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%29 = call ptr @strdup(ptr noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %27
br label %52
33: ; preds = %27
br label %38
34: ; preds = %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %8, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %14, label %38, !llvm.loop !6
38: ; preds = %35, %33
%39 = load ptr, ptr %7, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %48
41: ; preds = %38
%42 = load ptr, ptr %3, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %41
br label %52
47: ; preds = %41
br label %48
48: ; preds = %47, %38
%49 = load ptr, ptr %4, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %7, align 8
store ptr %51, ptr %2, align 8
br label %65
52: ; preds = %46, %32, %21, %12
%53 = load ptr, ptr %4, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load ptr, ptr %4, align 8
%57 = call i32 @fclose(ptr noundef %56)
br label %58
58: ; preds = %55, %52
%59 = load ptr, ptr %7, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load ptr, ptr %7, align 8
%63 = call i32 @free(ptr noundef %62)
br label %64
64: ; preds = %61, %58
store ptr null, ptr %2, align 8
br label %65
65: ; preds = %64, %48
%66 = load ptr, ptr %2, align 8
ret ptr %66
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @parseTwoTokenLine(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @fclose(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/tmpnlmh33_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"/usr/X11R6/lib/X11/locale/locale.alias\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resolveLocale(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %1
br label %52
13: ; preds = %1
br label %14
14: ; preds = %35, %13
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @parseTwoTokenLine(ptr noundef %15, ptr noundef %16, ptr noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, -1
br i1 %20, label %21, label %22
21: ; preds = %14
br label %52
22: ; preds = %14
%23 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef %23, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %22
%28 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%29 = call ptr @strdup(ptr noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %27
br label %52
33: ; preds = %27
br label %38
34: ; preds = %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %8, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %14, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %35
br label %38
38: ; preds = %.loopexit, %33
%39 = load ptr, ptr %7, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %48
41: ; preds = %38
%42 = load ptr, ptr %3, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %41
br label %52
47: ; preds = %41
br label %48
48: ; preds = %47, %38
%49 = load ptr, ptr %4, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %7, align 8
store ptr %51, ptr %2, align 8
br label %65
52: ; preds = %46, %32, %21, %12
%53 = load ptr, ptr %4, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load ptr, ptr %4, align 8
%57 = call i32 @fclose(ptr noundef %56)
br label %58
58: ; preds = %55, %52
%59 = load ptr, ptr %7, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load ptr, ptr %7, align 8
%63 = call i32 @free(ptr noundef %62)
br label %64
64: ; preds = %61, %58
store ptr null, ptr %2, align 8
br label %65
65: ; preds = %64, %48
%66 = load ptr, ptr %2, align 8
ret ptr %66
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @parseTwoTokenLine(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @fclose(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/tmpch3idls7.c'
source_filename = "/tmp/tmpch3idls7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5IntClear(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1141063680
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 8
br i1 %10, label %20, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 4
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 1
br label %20
20: ; preds = %17, %14, %11, %2
%21 = phi i1 [ true, %14 ], [ true, %11 ], [ true, %2 ], [ %19, %17 ]
%22 = zext i1 %21 to i32
%23 = call i32 @ASSERT(i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = and i32 %24, 65536
%26 = ashr i32 %25, 14
%27 = load i32, ptr %4, align 4
%28 = and i32 %27, 131072
%29 = ashr i32 %28, 16
%30 = or i32 %26, %29
%31 = load i32, ptr %4, align 4
%32 = and i32 %31, 262144
%33 = ashr i32 %32, 19
%34 = or i32 %30, %33
%35 = load i32, ptr %3, align 4
%36 = add i32 %35, -16356
%37 = zext i32 %36 to i64
%38 = inttoptr i64 %37 to ptr
store volatile i32 %34, ptr %38, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpch3idls7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5IntClear(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1141063680
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 8
br i1 %10, label %20, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 4
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 1
br label %20
20: ; preds = %17, %14, %11, %2
%21 = phi i1 [ true, %14 ], [ true, %11 ], [ true, %2 ], [ %19, %17 ]
%22 = zext i1 %21 to i32
%23 = call i32 @ASSERT(i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = and i32 %24, 65536
%26 = ashr i32 %25, 14
%27 = load i32, ptr %4, align 4
%28 = and i32 %27, 131072
%29 = ashr i32 %28, 16
%30 = or i32 %26, %29
%31 = load i32, ptr %4, align 4
%32 = and i32 %31, 262144
%33 = ashr i32 %32, 19
%34 = or i32 %30, %33
%35 = load i32, ptr %3, align 4
%36 = add i32 %35, -16356
%37 = zext i32 %36 to i64
%38 = inttoptr i64 %37 to ptr
store volatile i32 %34, ptr %38, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzjdbkhvk.c'
source_filename = "/tmp/tmpzjdbkhvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aentre com num1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0Aentre com num2:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Asoma = %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 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzjdbkhvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aentre com num1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0Aentre com num2:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Asoma = %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 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc2w7s41i.c'
source_filename = "/tmp/tmpc2w7s41i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x6e() #0 {
%1 = call i32 @isalnum(i32 noundef 110) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc2w7s41i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x6e() #0 {
%1 = call i32 @isalnum(i32 noundef 110) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9lmsxj0j.c'
source_filename = "/tmp/tmp9lmsxj0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evdns_search_clear() #0 {
%1 = call i32 (...) @search_postfix_clear()
ret void
}
declare i32 @search_postfix_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9lmsxj0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evdns_search_clear() #0 {
%1 = call i32 (...) @search_postfix_clear()
ret void
}
declare i32 @search_postfix_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyw5ap6mt.c'
source_filename = "/tmp/tmpyw5ap6mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %7
7: ; preds = %30, %2
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %3, align 8
%10 = load i8, ptr %8, align 1
store i8 %10, ptr %5, align 1
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
%13 = load i8, ptr %11, align 1
store i8 %13, ptr %6, align 1
%14 = load i8, ptr %5, align 1
%15 = call i64 @tolower(i8 noundef zeroext %14)
%16 = trunc i64 %15 to i8
store i8 %16, ptr %5, align 1
%17 = load i8, ptr %6, align 1
%18 = call i64 @tolower(i8 noundef zeroext %17)
%19 = trunc i64 %18 to i8
store i8 %19, ptr %6, align 1
br label %20
20: ; preds = %7
%21 = load i8, ptr %5, align 1
%22 = zext i8 %21 to i32
%23 = load i8, ptr %6, align 1
%24 = zext i8 %23 to i32
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %30
26: ; preds = %20
%27 = load i8, ptr %5, align 1
%28 = zext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %26, %20
%31 = phi i1 [ false, %20 ], [ %29, %26 ]
br i1 %31, label %7, label %32, !llvm.loop !6
32: ; preds = %30
%33 = load i8, ptr %5, align 1
%34 = zext i8 %33 to i32
%35 = load i8, ptr %6, align 1
%36 = zext i8 %35 to i32
%37 = sub nsw i32 %34, %36
ret i32 %37
}
declare i64 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyw5ap6mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %7
7: ; preds = %30, %2
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %3, align 8
%10 = load i8, ptr %8, align 1
store i8 %10, ptr %5, align 1
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
%13 = load i8, ptr %11, align 1
store i8 %13, ptr %6, align 1
%14 = load i8, ptr %5, align 1
%15 = call i64 @tolower(i8 noundef zeroext %14)
%16 = trunc i64 %15 to i8
store i8 %16, ptr %5, align 1
%17 = load i8, ptr %6, align 1
%18 = call i64 @tolower(i8 noundef zeroext %17)
%19 = trunc i64 %18 to i8
store i8 %19, ptr %6, align 1
br label %20
20: ; preds = %7
%21 = load i8, ptr %5, align 1
%22 = zext i8 %21 to i32
%23 = load i8, ptr %6, align 1
%24 = zext i8 %23 to i32
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %30
26: ; preds = %20
%27 = load i8, ptr %5, align 1
%28 = zext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %26, %20
%31 = phi i1 [ false, %20 ], [ %29, %26 ]
br i1 %31, label %7, label %32, !llvm.loop !6
32: ; preds = %30
%33 = load i8, ptr %5, align 1
%34 = zext i8 %33 to i32
%35 = load i8, ptr %6, align 1
%36 = zext i8 %35 to i32
%37 = sub nsw i32 %34, %36
ret i32 %37
}
declare i64 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2z7u8ja5.c'
source_filename = "/tmp/tmp2z7u8ja5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_leading(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %6, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = sub i64 %12, 2
%14 = trunc i64 %13 to i32
%15 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i32 noundef %14)
br label %16
16: ; preds = %28, %2
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 32
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 9
br label %26
26: ; preds = %21, %16
%27 = phi i1 [ true, %16 ], [ %25, %21 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
br label %16, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %4, align 8
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 2
%37 = ptrtoint ptr %36 to i64
%38 = ptrtoint ptr %10 to i64
%39 = sub i64 %37, %38
%40 = sub i64 %34, %39
%41 = trunc i64 %40 to i32
%42 = call i32 @strncpy(ptr noundef %32, ptr noundef %33, i32 noundef %41)
%43 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %43)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2z7u8ja5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_leading(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %6, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = sub i64 %12, 2
%14 = trunc i64 %13 to i32
%15 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i32 noundef %14)
br label %16
16: ; preds = %28, %2
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 32
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 9
br label %26
26: ; preds = %21, %16
%27 = phi i1 [ true, %16 ], [ %25, %21 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
br label %16, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %4, align 8
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 2
%37 = ptrtoint ptr %36 to i64
%38 = ptrtoint ptr %10 to i64
%39 = sub i64 %37, %38
%40 = sub i64 %34, %39
%41 = trunc i64 %40 to i32
%42 = call i32 @strncpy(ptr noundef %32, ptr noundef %33, i32 noundef %41)
%43 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %43)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpii422xbe.c'
source_filename = "/tmp/tmpii422xbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"???\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store ptr @.str, ptr %2, align 8
br label %13
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %10
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpii422xbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"???\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store ptr @.str, ptr %2, align 8
br label %13
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %10
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
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"}
|
; ModuleID = '/tmp/tmp4autre2c.c'
source_filename = "/tmp/tmp4autre2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d F == %d C\0A\00", align 1
@__const.main.arr = private unnamed_addr constant [5 x i32] [i32 1, i32 55, i32 340, i32 22, i32 -6], align 16
@.str.1 = private unnamed_addr constant [18 x i8] c"max of array: %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 [5 x i32], align 16
%5 = alloca i32, align 4
store i32 300, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @FtoC(i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
store i32 5, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr, i64 20, i1 false)
%11 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%12 = call i32 @maxarray(ptr noundef %11, i32 noundef 5)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
ret i32 0
}
declare i32 @FtoC(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
; 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) #2
declare i32 @maxarray(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4autre2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d F == %d C\0A\00", align 1
@__const.main.arr = private unnamed_addr constant [5 x i32] [i32 1, i32 55, i32 340, i32 22, i32 -6], align 16
@.str.1 = private unnamed_addr constant [18 x i8] c"max of array: %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 [5 x i32], align 16
%5 = alloca i32, align 4
store i32 300, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @FtoC(i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
store i32 5, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr, i64 20, i1 false)
%11 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%12 = call i32 @maxarray(ptr noundef %11, i32 noundef 5)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
ret i32 0
}
declare i32 @FtoC(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
; 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) #2
declare i32 @maxarray(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpohdt_bd8.c'
source_filename = "/tmp/tmpohdt_bd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_char_to_lint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr %3, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpohdt_bd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_char_to_lint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr %3, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdilb411x.c'
source_filename = "/tmp/tmpdilb411x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"digite o valor de D: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"digite o valor de N: \00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"%n aparece %d vezes em %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %5
5: ; preds = %7, %0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %7
7: ; preds = %5
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %5, label %10, !llvm.loop !6
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = call i32 @contadigitos(i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @contadigitos(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdilb411x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"digite o valor de D: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"digite o valor de N: \00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"%n aparece %d vezes em %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %5
5: ; preds = %7, %0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %7
7: ; preds = %5
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %5, label %10, !llvm.loop !6
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = call i32 @contadigitos(i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @contadigitos(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8aqmohnn.c'
source_filename = "/tmp/tmp8aqmohnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
br label %35
12: ; preds = %1
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %4, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 32
br label %24
24: ; preds = %16, %13
%25 = phi i1 [ false, %13 ], [ %23, %16 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %4, align 4
br label %13, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
store i8 0, ptr %34, align 1
br label %35
35: ; preds = %29, %11
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8aqmohnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
br label %35
12: ; preds = %1
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %4, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 32
br label %24
24: ; preds = %16, %13
%25 = phi i1 [ false, %13 ], [ %23, %16 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %4, align 4
br label %13, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
store i8 0, ptr %34, align 1
br label %35
35: ; preds = %29, %11
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfu5qvbow.c'
source_filename = "/tmp/tmpfu5qvbow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_arguments(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %35, %1
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %10, label %38
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %34
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %30, %18
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 32
br i1 %29, label %30, label %33
30: ; preds = %21
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %21, !llvm.loop !6
33: ; preds = %21
br label %34
34: ; preds = %33, %10
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %5, !llvm.loop !8
38: ; preds = %5
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
ret i32 %40
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfu5qvbow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_arguments(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp slt i32 %5, %7
br i1 %8, label %.lr.ph2, label %48
.lr.ph2: ; preds = %1
br label %9
9: ; preds = %.lr.ph2, %41
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %40
17: ; preds = %9
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 32
br i1 %27, label %.lr.ph, label %39
.lr.ph: ; preds = %17
br label %28
28: ; preds = %.lr.ph, %28
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 32
br i1 %38, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %39
39: ; preds = %._crit_edge, %17
br label %40
40: ; preds = %39, %9
br label %41
41: ; preds = %40
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = load ptr, ptr %2, align 8
%46 = call i32 @strlen(ptr noundef %45)
%47 = icmp slt i32 %44, %46
br i1 %47, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %48
48: ; preds = %._crit_edge3, %1
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
ret i32 %50
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjxw2_enx.c'
source_filename = "/tmp/tmpjxw2_enx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_strchrnul() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 5, ptr %1, align 4
%5 = call ptr @llvm.stacksave()
store ptr %5, ptr %2, align 8
%6 = alloca i8, i64 5, align 16
%7 = call i32 @init_buff(ptr noundef %6, i32 noundef 5)
%8 = call i32 (...) @mksym_i32()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @strchrnul(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @gen_strchrnul(ptr noundef %6, i32 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %14)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @init_buff(ptr noundef, i32 noundef) #2
declare i32 @mksym_i32(...) #2
declare ptr @strchrnul(ptr noundef, i32 noundef) #2
declare i32 @gen_strchrnul(ptr noundef, i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxw2_enx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_strchrnul() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 5, ptr %1, align 4
%5 = call ptr @llvm.stacksave()
store ptr %5, ptr %2, align 8
%6 = alloca i8, i64 5, align 16
%7 = call i32 @init_buff(ptr noundef %6, i32 noundef 5)
%8 = call i32 (...) @mksym_i32()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @strchrnul(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @gen_strchrnul(ptr noundef %6, i32 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %14)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @init_buff(ptr noundef, i32 noundef) #2
declare i32 @mksym_i32(...) #2
declare ptr @strchrnul(ptr noundef, i32 noundef) #2
declare i32 @gen_strchrnul(ptr noundef, i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3wkfj339.c'
source_filename = "/tmp/tmp3wkfj339.c"
target datalayout = "e-m:e-p270: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/tmp3wkfj339.c"
target datalayout = "e-m:e-p270: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/tmp3082ink4.c'
source_filename = "/tmp/tmp3082ink4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmpint_rshift(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @mpz_div_2exp(i32 noundef %8, i32 noundef %10, i32 noundef %11)
ret void
}
declare i32 @mpz_div_2exp(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/tmp3082ink4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmpint_rshift(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @mpz_div_2exp(i32 noundef %8, i32 noundef %10, i32 noundef %11)
ret void
}
declare i32 @mpz_div_2exp(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/tmpxht0u176.c'
source_filename = "/tmp/tmpxht0u176.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel202_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel202_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel202_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxht0u176.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel202_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel202_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel202_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6wrqkhgk.c'
source_filename = "/tmp/tmp6wrqkhgk.c"
target datalayout = "e-m:e-p270: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/tmp6wrqkhgk.c"
target datalayout = "e-m:e-p270: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/tmpfs931bmc.c'
source_filename = "/tmp/tmpfs931bmc.c"
target datalayout = "e-m:e-p270: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/tmpfs931bmc.c"
target datalayout = "e-m:e-p270: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/tmpk09nmh4z.c'
source_filename = "/tmp/tmpk09nmh4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FRONT_AND_BACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MyMaterial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [4 x i32], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
store i32 %10, ptr %11, align 16
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 2
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
store i32 %18, ptr %19, align 8
%20 = load i32, ptr %6, align 4
%21 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 3
store i32 %20, ptr %21, align 4
%22 = load i32, ptr @GL_FRONT_AND_BACK, align 4
%23 = load i32, ptr %4, align 4
%24 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%25 = call i32 @glMaterialfv(i32 noundef %22, i32 noundef %23, ptr noundef %24)
ret void
}
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk09nmh4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FRONT_AND_BACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MyMaterial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [4 x i32], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
store i32 %10, ptr %11, align 16
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 2
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
store i32 %18, ptr %19, align 8
%20 = load i32, ptr %6, align 4
%21 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 3
store i32 %20, ptr %21, align 4
%22 = load i32, ptr @GL_FRONT_AND_BACK, align 4
%23 = load i32, ptr %4, align 4
%24 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%25 = call i32 @glMaterialfv(i32 noundef %22, i32 noundef %23, ptr noundef %24)
ret void
}
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl7e7pgnr.c'
source_filename = "/tmp/tmpl7e7pgnr.c"
target datalayout = "e-m:e-p270: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/tmpl7e7pgnr.c"
target datalayout = "e-m:e-p270: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/tmp2pp8ngp8.c'
source_filename = "/tmp/tmp2pp8ngp8.c"
target datalayout = "e-m:e-p270: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/tmp2pp8ngp8.c"
target datalayout = "e-m:e-p270: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/tmp9rfbzv7b.c'
source_filename = "/tmp/tmp9rfbzv7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"From header (Signed)\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"CHAR_MAX: %d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"CHAR_MIN: %d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"SHORT_MAX: %d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [15 x i8] c"SHORT_MIN: %d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"INT_MAX: %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [13 x i8] c"INT_MIN: %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [15 x i8] c"LONG_MAX: %ld\0A\00", align 1
@LONG_MAX = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [15 x i8] c"LONG_MIN: %ld\0A\00", align 1
@LONG_MIN = dso_local global i64 0, align 8
@.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"From header (Unsigned)\0A\00", align 1
@CHAR_MAX = dso_local global i32 0, align 4
@CHAR_MIN = dso_local global i32 0, align 4
@USHRT_MAX = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [13 x i8] c"INT_MAX: %u\0A\00", align 1
@UINT_MAX = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [15 x i8] c"LONG_MAX: %lu\0A\00", align 1
@ULONG_MAX = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [25 x i8] c"By computation (Signed)\0A\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"Minimum char(signed): %d\0A\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"Maximum char(signed): %d\0A\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"Minimum short(signed): %d\0A\00", align 1
@.str.17 = private unnamed_addr constant [27 x i8] c"Maximum short(signed): %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [25 x i8] c"Minimum int(signed): %d\0A\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"Maximum int(signed): %d\0A\00", align 1
@.str.20 = private unnamed_addr constant [27 x i8] c"Minimum long(signed): %ld\0A\00", align 1
@.str.21 = private unnamed_addr constant [27 x i8] c"Maximum long(signed): %ld\0A\00", align 1
@.str.22 = private unnamed_addr constant [27 x i8] c"By computation (Unsigned)\0A\00", align 1
@.str.23 = private unnamed_addr constant [28 x i8] c"Maximum char(unsigned): %d\0A\00", align 1
@.str.24 = private unnamed_addr constant [29 x i8] c"Maximum short(unsigned): %d\0A\00", align 1
@.str.25 = private unnamed_addr constant [27 x i8] c"Maximum int(unsigned): %u\0A\00", align 1
@.str.26 = private unnamed_addr constant [29 x i8] c"Maximum long(unsigned): %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @SCHAR_MAX, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @SCHAR_MIN, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = load i32, ptr @SHRT_MAX, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7)
%9 = load i32, ptr @SHRT_MIN, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @INT_MAX, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @INT_MIN, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %13)
%15 = load i64, ptr @LONG_MAX, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %15)
%17 = load i64, ptr @LONG_MIN, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%21 = load i32, ptr @CHAR_MAX, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr @CHAR_MIN, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = load i32, ptr @USHRT_MAX, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25)
%27 = load i32, ptr @UINT_MAX, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = load i64, ptr @ULONG_MAX, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef -128)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 127)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef -32768)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef 32767)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef -2147483648)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef 2147483647)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i64 noundef -9223372036854775808)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i64 noundef 9223372036854775807)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef 255)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, i32 noundef 65535)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef -1)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i64 noundef -1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9rfbzv7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"From header (Signed)\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"CHAR_MAX: %d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"CHAR_MIN: %d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"SHORT_MAX: %d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [15 x i8] c"SHORT_MIN: %d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"INT_MAX: %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [13 x i8] c"INT_MIN: %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [15 x i8] c"LONG_MAX: %ld\0A\00", align 1
@LONG_MAX = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [15 x i8] c"LONG_MIN: %ld\0A\00", align 1
@LONG_MIN = dso_local global i64 0, align 8
@.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"From header (Unsigned)\0A\00", align 1
@CHAR_MAX = dso_local global i32 0, align 4
@CHAR_MIN = dso_local global i32 0, align 4
@USHRT_MAX = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [13 x i8] c"INT_MAX: %u\0A\00", align 1
@UINT_MAX = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [15 x i8] c"LONG_MAX: %lu\0A\00", align 1
@ULONG_MAX = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [25 x i8] c"By computation (Signed)\0A\00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"Minimum char(signed): %d\0A\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"Maximum char(signed): %d\0A\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"Minimum short(signed): %d\0A\00", align 1
@.str.17 = private unnamed_addr constant [27 x i8] c"Maximum short(signed): %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [25 x i8] c"Minimum int(signed): %d\0A\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"Maximum int(signed): %d\0A\00", align 1
@.str.20 = private unnamed_addr constant [27 x i8] c"Minimum long(signed): %ld\0A\00", align 1
@.str.21 = private unnamed_addr constant [27 x i8] c"Maximum long(signed): %ld\0A\00", align 1
@.str.22 = private unnamed_addr constant [27 x i8] c"By computation (Unsigned)\0A\00", align 1
@.str.23 = private unnamed_addr constant [28 x i8] c"Maximum char(unsigned): %d\0A\00", align 1
@.str.24 = private unnamed_addr constant [29 x i8] c"Maximum short(unsigned): %d\0A\00", align 1
@.str.25 = private unnamed_addr constant [27 x i8] c"Maximum int(unsigned): %u\0A\00", align 1
@.str.26 = private unnamed_addr constant [29 x i8] c"Maximum long(unsigned): %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @SCHAR_MAX, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @SCHAR_MIN, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = load i32, ptr @SHRT_MAX, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7)
%9 = load i32, ptr @SHRT_MIN, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @INT_MAX, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @INT_MIN, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %13)
%15 = load i64, ptr @LONG_MAX, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %15)
%17 = load i64, ptr @LONG_MIN, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%21 = load i32, ptr @CHAR_MAX, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr @CHAR_MIN, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = load i32, ptr @USHRT_MAX, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25)
%27 = load i32, ptr @UINT_MAX, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = load i64, ptr @ULONG_MAX, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef -128)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 127)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef -32768)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef 32767)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef -2147483648)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef 2147483647)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i64 noundef -9223372036854775808)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i64 noundef 9223372036854775807)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef 255)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, i32 noundef 65535)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef -1)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i64 noundef -1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp527rm4s2.c'
source_filename = "/tmp/tmp527rm4s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error: bbdn_close can't close\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"close\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bbdn_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @close(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @perror(ptr noundef @.str.1)
br label %9
9: ; preds = %6, %1
ret i32 1
}
declare i64 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp527rm4s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error: bbdn_close can't close\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"close\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bbdn_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @close(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @perror(ptr noundef @.str.1)
br label %9
9: ; preds = %6, %1
ret i32 1
}
declare i64 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_x1eghzj.c'
source_filename = "/tmp/tmp_x1eghzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x91\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x91() #0 {
%1 = call i64 @isgraph(i32 noundef 145)
%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 730, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmp_x1eghzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x91\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x91() #0 {
%1 = call i64 @isgraph(i32 noundef 145)
%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 730, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmp24eyq721.c'
source_filename = "/tmp/tmp24eyq721.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a line: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"You entered the %d character line %s\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"The randomized string is \22\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 10, ptr %10, align 4
store i64 0, ptr %11, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @getline(ptr noundef %6, ptr noundef %11, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %16)
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %29, %2
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = call i32 (...) @rand()
%24 = load i32, ptr %10, align 4
%25 = srem i32 %23, %24
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %27
store i32 %25, ptr %28, align 4
br label %29
29: ; preds = %22
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
br label %34
34: ; preds = %48, %32
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %10, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %51
38: ; preds = %34
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %39, i64 %44
%46 = load i8, ptr %45, align 1
%47 = call i32 @putchar(i8 noundef signext %46)
br label %48
48: ; preds = %38
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
br label %34, !llvm.loop !8
51: ; preds = %34
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp24eyq721.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a line: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"You entered the %d character line %s\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"The randomized string is \22\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 10, ptr %10, align 4
store i64 0, ptr %11, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @getline(ptr noundef %6, ptr noundef %11, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %16)
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %28
%22 = call i32 (...) @rand()
%23 = load i32, ptr %10, align 4
%24 = srem i32 %22, %23
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %26
store i32 %24, ptr %27, align 4
br label %28
28: ; preds = %21
%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 %10, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %55
.lr.ph2: ; preds = %34
br label %39
39: ; preds = %.lr.ph2, %49
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %40, i64 %45
%47 = load i8, ptr %46, align 1
%48 = call i32 @putchar(i8 noundef signext %47)
br label %49
49: ; preds = %39
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %10, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %34
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0slcc3m0.c'
source_filename = "/tmp/tmp0slcc3m0.c"
target datalayout = "e-m:e-p270: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/tmp0slcc3m0.c"
target datalayout = "e-m:e-p270: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/tmpgpx4o4eh.c'
source_filename = "/tmp/tmpgpx4o4eh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 @malloc(i32 noundef 100)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %63, %1
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %66
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 40
br i1 %20, label %21, label %30
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %2, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sub nsw i32 %24, 1
%26 = load i32, ptr %3, align 4
%27 = sub nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %22, i64 %28
store i8 41, ptr %29, align 1
br label %62
30: ; preds = %13
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 41
br i1 %37, label %38, label %47
38: ; preds = %30
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %2, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = sub nsw i32 %41, 1
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %39, i64 %45
store i8 40, ptr %46, align 1
br label %61
47: ; preds = %30
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = load ptr, ptr %4, align 8
%54 = load ptr, ptr %2, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sub nsw i32 %55, 1
%57 = load i32, ptr %3, align 4
%58 = sub nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %53, i64 %59
store i8 %52, ptr %60, align 1
br label %61
61: ; preds = %47, %38
br label %62
62: ; preds = %61, %21
br label %63
63: ; preds = %62
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %3, align 4
br label %10, !llvm.loop !6
66: ; preds = %10
%67 = load ptr, ptr %4, align 8
ret ptr %67
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgpx4o4eh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 @malloc(i32 noundef 100)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %.lr.ph, label %67
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %62
%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 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 40
br i1 %19, label %20, label %29
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sub nsw i32 %23, 1
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %21, i64 %27
store i8 41, ptr %28, align 1
br label %61
29: ; preds = %12
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 41
br i1 %36, label %37, label %46
37: ; preds = %29
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %2, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = sub nsw i32 %40, 1
%42 = load i32, ptr %3, align 4
%43 = sub nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %38, i64 %44
store i8 40, ptr %45, align 1
br label %60
46: ; preds = %29
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = load ptr, ptr %4, align 8
%53 = load ptr, ptr %2, align 8
%54 = call i32 @strlen(ptr noundef %53)
%55 = sub nsw i32 %54, 1
%56 = load i32, ptr %3, align 4
%57 = sub nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %52, i64 %58
store i8 %51, ptr %59, align 1
br label %60
60: ; preds = %46, %37
br label %61
61: ; preds = %60, %20
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp sge i32 %65, 0
br i1 %66, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %1
%68 = load ptr, ptr %4, align 8
ret ptr %68
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6rabpxfn.c'
source_filename = "/tmp/tmp6rabpxfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c".png\00", align 1
@.str.1 = private unnamed_addr constant [107 x i8] c"HTTP/1.1 200 OK\0ADate: %s\0ALast-Modified: %s\0AContent-Language: de\0AContent-Type: image/png; charset=utf-8\0D\0A\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [107 x i8] c"HTTP/1.1 200 OK\0ADate: %s\0ALast-Modified: %s\0AContent-Language: de\0AContent-Type: text/html; charset=utf-8\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_okHeader(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [32 x i8], align 16
%7 = alloca [32 x i8], align 16
%8 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call i32 @time(ptr noundef %5)
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @generate_timeString(i32 noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @stat(ptr noundef %16, ptr noundef %8)
%18 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @generate_timeString(i32 noundef %19, ptr noundef %20)
br label %26
22: ; preds = %2
%23 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%24 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef 32)
br label %26
26: ; preds = %22, %15
%27 = load ptr, ptr %3, align 8
%28 = call i64 @strstr(ptr noundef %27, ptr noundef @.str)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %32, ptr noundef %33)
br label %40
35: ; preds = %26
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.2, ptr noundef %37, ptr noundef %38)
br label %40
40: ; preds = %35, %30
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @generate_timeString(i32 noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rabpxfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c".png\00", align 1
@.str.1 = private unnamed_addr constant [107 x i8] c"HTTP/1.1 200 OK\0ADate: %s\0ALast-Modified: %s\0AContent-Language: de\0AContent-Type: image/png; charset=utf-8\0D\0A\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [107 x i8] c"HTTP/1.1 200 OK\0ADate: %s\0ALast-Modified: %s\0AContent-Language: de\0AContent-Type: text/html; charset=utf-8\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_okHeader(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [32 x i8], align 16
%7 = alloca [32 x i8], align 16
%8 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call i32 @time(ptr noundef %5)
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @generate_timeString(i32 noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @stat(ptr noundef %16, ptr noundef %8)
%18 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @generate_timeString(i32 noundef %19, ptr noundef %20)
br label %26
22: ; preds = %2
%23 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%24 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef 32)
br label %26
26: ; preds = %22, %15
%27 = load ptr, ptr %3, align 8
%28 = call i64 @strstr(ptr noundef %27, ptr noundef @.str)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %32, ptr noundef %33)
br label %40
35: ; preds = %26
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.2, ptr noundef %37, ptr noundef %38)
br label %40
40: ; preds = %35, %30
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @generate_timeString(i32 noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpug8nqthq.c'
source_filename = "/tmp/tmpug8nqthq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"xyz\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"someformatstring\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nullpointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @clearerr(i32 noundef 0)
%6 = call i32 @feof(i32 noundef 0)
%7 = call i32 @fgetc(i32 noundef 0)
%8 = call i32 @fclose(ptr noundef null)
%9 = call i32 @ferror(i32 noundef 0)
%10 = call i32 @ftell(i32 noundef 0)
%11 = call i32 @puts(i32 noundef 0)
%12 = call ptr @fopen(i32 noundef 0, i32 noundef 0)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fclose(ptr noundef %13)
store ptr null, ptr %4, align 8
%15 = call i32 @fflush(i32 noundef 0)
%16 = load i32, ptr @stdin, align 4
%17 = call ptr @freopen(i32 noundef 0, ptr noundef @.str, i32 noundef %16)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fclose(ptr noundef %18)
store ptr null, ptr %4, align 8
%20 = call i32 @fputc(i32 noundef 0, i32 noundef 0)
%21 = call i32 @fputs(i32 noundef 0, i32 noundef 0)
%22 = call i32 @fgetpos(i32 noundef 0, i32 noundef 0)
%23 = call i32 @frexp(double noundef 1.000000e+00, i32 noundef 0)
%24 = call i32 @fsetpos(i32 noundef 0, i32 noundef 0)
%25 = call i32 @itoa(i32 noundef 123, i32 noundef 0, i32 noundef 10)
%26 = call i32 @putchar(i32 noundef 0)
%27 = call i32 @strchr(i32 noundef 0, i32 noundef 0)
%28 = call i32 @strlen(i32 noundef 0)
%29 = call i32 @strcpy(i32 noundef 0, i32 noundef 0)
%30 = call i32 @strspn(i32 noundef 0, i32 noundef 0)
%31 = call i32 @strcspn(i32 noundef 0, i32 noundef 0)
%32 = call i32 @strcoll(i32 noundef 0, i32 noundef 0)
%33 = call i32 @strcat(i32 noundef 0, i32 noundef 0)
%34 = call i32 @strcmp(i32 noundef 0, i32 noundef 0)
%35 = call i32 @strncpy(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%36 = call i32 @strncat(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%37 = call i32 @strncmp(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%38 = call i32 @strstr(i32 noundef 0, i32 noundef 0)
%39 = call i32 @strtoul(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%40 = call i32 @strtoull(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%41 = call i32 @strtol(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%42 = call i64 @mbstowcs(i32 noundef 0, ptr noundef @.str.1, i32 noundef 0)
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = add nsw i64 %44, %42
%46 = trunc i64 %45 to i32
store i32 %46, ptr %3, align 4
%47 = call i64 @wcstombs(i32 noundef 0, ptr noundef @.str.2, i32 noundef 0)
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, ptr %3, align 4
%52 = call i32 @strtok(ptr noundef null, ptr noundef @.str.3)
%53 = call i32 @strxfrm(i32 noundef 0, ptr noundef @.str.4, i32 noundef 0)
%54 = call i32 @strxfrm(i32 noundef 0, ptr noundef @.str.4, i32 noundef 42)
%55 = call i32 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.5)
%56 = call i32 @snprintf(ptr noundef null, i32 noundef 42, ptr noundef @.str.5)
%57 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%58 = call i32 @scanf(ptr noundef @.str.6, ptr noundef null)
ret void
}
declare i32 @clearerr(i32 noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @ferror(i32 noundef) #1
declare i32 @ftell(i32 noundef) #1
declare i32 @puts(i32 noundef) #1
declare ptr @fopen(i32 noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @freopen(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputc(i32 noundef, i32 noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @fgetpos(i32 noundef, i32 noundef) #1
declare i32 @frexp(double noundef, i32 noundef) #1
declare i32 @fsetpos(i32 noundef, i32 noundef) #1
declare i32 @itoa(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @strchr(i32 noundef, i32 noundef) #1
declare i32 @strlen(i32 noundef) #1
declare i32 @strcpy(i32 noundef, i32 noundef) #1
declare i32 @strspn(i32 noundef, i32 noundef) #1
declare i32 @strcspn(i32 noundef, i32 noundef) #1
declare i32 @strcoll(i32 noundef, i32 noundef) #1
declare i32 @strcat(i32 noundef, i32 noundef) #1
declare i32 @strcmp(i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncmp(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strstr(i32 noundef, i32 noundef) #1
declare i32 @strtoul(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strtoull(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strtol(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @mbstowcs(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @wcstombs(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @strxfrm(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpug8nqthq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"xyz\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"someformatstring\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nullpointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @clearerr(i32 noundef 0)
%6 = call i32 @feof(i32 noundef 0)
%7 = call i32 @fgetc(i32 noundef 0)
%8 = call i32 @fclose(ptr noundef null)
%9 = call i32 @ferror(i32 noundef 0)
%10 = call i32 @ftell(i32 noundef 0)
%11 = call i32 @puts(i32 noundef 0)
%12 = call ptr @fopen(i32 noundef 0, i32 noundef 0)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fclose(ptr noundef %13)
store ptr null, ptr %4, align 8
%15 = call i32 @fflush(i32 noundef 0)
%16 = load i32, ptr @stdin, align 4
%17 = call ptr @freopen(i32 noundef 0, ptr noundef @.str, i32 noundef %16)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fclose(ptr noundef %18)
store ptr null, ptr %4, align 8
%20 = call i32 @fputc(i32 noundef 0, i32 noundef 0)
%21 = call i32 @fputs(i32 noundef 0, i32 noundef 0)
%22 = call i32 @fgetpos(i32 noundef 0, i32 noundef 0)
%23 = call i32 @frexp(double noundef 1.000000e+00, i32 noundef 0)
%24 = call i32 @fsetpos(i32 noundef 0, i32 noundef 0)
%25 = call i32 @itoa(i32 noundef 123, i32 noundef 0, i32 noundef 10)
%26 = call i32 @putchar(i32 noundef 0)
%27 = call i32 @strchr(i32 noundef 0, i32 noundef 0)
%28 = call i32 @strlen(i32 noundef 0)
%29 = call i32 @strcpy(i32 noundef 0, i32 noundef 0)
%30 = call i32 @strspn(i32 noundef 0, i32 noundef 0)
%31 = call i32 @strcspn(i32 noundef 0, i32 noundef 0)
%32 = call i32 @strcoll(i32 noundef 0, i32 noundef 0)
%33 = call i32 @strcat(i32 noundef 0, i32 noundef 0)
%34 = call i32 @strcmp(i32 noundef 0, i32 noundef 0)
%35 = call i32 @strncpy(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%36 = call i32 @strncat(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%37 = call i32 @strncmp(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%38 = call i32 @strstr(i32 noundef 0, i32 noundef 0)
%39 = call i32 @strtoul(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%40 = call i32 @strtoull(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%41 = call i32 @strtol(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%42 = call i64 @mbstowcs(i32 noundef 0, ptr noundef @.str.1, i32 noundef 0)
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = add nsw i64 %44, %42
%46 = trunc i64 %45 to i32
store i32 %46, ptr %3, align 4
%47 = call i64 @wcstombs(i32 noundef 0, ptr noundef @.str.2, i32 noundef 0)
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, ptr %3, align 4
%52 = call i32 @strtok(ptr noundef null, ptr noundef @.str.3)
%53 = call i32 @strxfrm(i32 noundef 0, ptr noundef @.str.4, i32 noundef 0)
%54 = call i32 @strxfrm(i32 noundef 0, ptr noundef @.str.4, i32 noundef 42)
%55 = call i32 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.5)
%56 = call i32 @snprintf(ptr noundef null, i32 noundef 42, ptr noundef @.str.5)
%57 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%58 = call i32 @scanf(ptr noundef @.str.6, ptr noundef null)
ret void
}
declare i32 @clearerr(i32 noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @ferror(i32 noundef) #1
declare i32 @ftell(i32 noundef) #1
declare i32 @puts(i32 noundef) #1
declare ptr @fopen(i32 noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @freopen(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputc(i32 noundef, i32 noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @fgetpos(i32 noundef, i32 noundef) #1
declare i32 @frexp(double noundef, i32 noundef) #1
declare i32 @fsetpos(i32 noundef, i32 noundef) #1
declare i32 @itoa(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @strchr(i32 noundef, i32 noundef) #1
declare i32 @strlen(i32 noundef) #1
declare i32 @strcpy(i32 noundef, i32 noundef) #1
declare i32 @strspn(i32 noundef, i32 noundef) #1
declare i32 @strcspn(i32 noundef, i32 noundef) #1
declare i32 @strcoll(i32 noundef, i32 noundef) #1
declare i32 @strcat(i32 noundef, i32 noundef) #1
declare i32 @strcmp(i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncmp(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strstr(i32 noundef, i32 noundef) #1
declare i32 @strtoul(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strtoull(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strtol(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @mbstowcs(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @wcstombs(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @strxfrm(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xs0_kuy.c'
source_filename = "/tmp/tmp3xs0_kuy.c"
target datalayout = "e-m:e-p270: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/tmp3xs0_kuy.c"
target datalayout = "e-m:e-p270: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/tmp40saw9ip.c'
source_filename = "/tmp/tmp40saw9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %8, align 8
br label %10
10: ; preds = %22, %3
%11 = load i64, ptr %7, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %7, align 8
%13 = icmp ne i64 %11, 0
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load ptr, ptr %8, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = load ptr, ptr %8, align 8
store ptr %21, ptr %4, align 8
br label %26
22: ; preds = %14
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
br label %10, !llvm.loop !6
25: ; preds = %10
store ptr null, ptr %4, align 8
br label %26
26: ; preds = %25, %20
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp40saw9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %8, align 8
%10 = load i64, ptr %7, align 8
%11 = add i64 %10, -1
store i64 %11, ptr %7, align 8
%12 = icmp ne i64 %10, 0
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %21
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load ptr, ptr %8, align 8
store ptr %20, ptr %4, align 8
br label %28
21: ; preds = %13
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %8, align 8
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %7, align 8
%26 = icmp ne i64 %24, 0
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %28
28: ; preds = %27, %19
%29 = load ptr, ptr %4, align 8
ret ptr %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/tmp3ebyk9eu.c'
source_filename = "/tmp/tmp3ebyk9eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0A Inserire numero \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 9
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
store i32 9, ptr %3, align 4
br label %17
17: ; preds = %33, %16
%18 = load i32, ptr %3, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %26, %20
br label %33
33: ; preds = %32
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %3, align 4
br label %17, !llvm.loop !8
36: ; preds = %17
%37 = load i32, ptr %1, align 4
ret i32 %37
}
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/tmp3ebyk9eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0A Inserire numero \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 9
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 9
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 9, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %.lr.ph2, label %38
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %33
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %26, %20
br label %33
33: ; preds = %32
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %17
%39 = load i32, ptr %1, align 4
ret i32 %39
}
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/tmp8lcb_3yd.c'
source_filename = "/tmp/tmp8lcb_3yd.c"
target datalayout = "e-m:e-p270: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/tmp8lcb_3yd.c"
target datalayout = "e-m:e-p270: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/tmpb3_rra21.c'
source_filename = "/tmp/tmpb3_rra21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Enter number of vertices and edges in the graph : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%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 ptr, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call ptr @adjacencyMatrix(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printGraph(ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @adjacencyMatrix(i32 noundef, i32 noundef) #1
declare i32 @printGraph(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3_rra21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Enter number of vertices and edges in the graph : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%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 ptr, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call ptr @adjacencyMatrix(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printGraph(ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @adjacencyMatrix(i32 noundef, i32 noundef) #1
declare i32 @printGraph(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwt7ktwya.c'
source_filename = "/tmp/tmpwt7ktwya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller5() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 @increment(i32 noundef 32491)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = call i32 @increment(i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @increment(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @increment(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @increment(i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @callee0(i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = call i32 @callee1(i32 noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %22, %23
%25 = call i32 @callee2(i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %26, %27
%29 = call i32 @callee3(i32 noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %30, %31
%33 = call i32 @callee4(i32 noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %34, %35
%37 = call i32 @callee5(i32 noundef %36)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %1, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %42, %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %44, %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %46, %47
ret i32 %48
}
declare i32 @increment(i32 noundef) #1
declare i32 @callee0(i32 noundef) #1
declare i32 @callee1(i32 noundef) #1
declare i32 @callee2(i32 noundef) #1
declare i32 @callee3(i32 noundef) #1
declare i32 @callee4(i32 noundef) #1
declare i32 @callee5(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/tmpwt7ktwya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller5() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 @increment(i32 noundef 32491)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = call i32 @increment(i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @increment(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @increment(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @increment(i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @callee0(i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = call i32 @callee1(i32 noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %22, %23
%25 = call i32 @callee2(i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %26, %27
%29 = call i32 @callee3(i32 noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %30, %31
%33 = call i32 @callee4(i32 noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %34, %35
%37 = call i32 @callee5(i32 noundef %36)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %1, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %42, %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %44, %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %46, %47
ret i32 %48
}
declare i32 @increment(i32 noundef) #1
declare i32 @callee0(i32 noundef) #1
declare i32 @callee1(i32 noundef) #1
declare i32 @callee2(i32 noundef) #1
declare i32 @callee3(i32 noundef) #1
declare i32 @callee4(i32 noundef) #1
declare i32 @callee5(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/tmp5s82h7js.c'
source_filename = "/tmp/tmp5s82h7js.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5s82h7js.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.