llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp0tgwcc9a.c'
source_filename = "/tmp/tmp0tgwcc9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"a=%d,b=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"a=%d,b=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %1, align 4
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0tgwcc9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"a=%d,b=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"a=%d,b=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %1, align 4
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpimi5kq6w.c'
source_filename = "/tmp/tmpimi5kq6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curve_to(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = call i32 @vertex(i8 noundef signext 99, float noundef %13, float noundef %14)
%16 = load float, ptr %9, align 4
%17 = load float, ptr %10, align 4
%18 = call i32 @vertex(i8 noundef signext 99, float noundef %16, float noundef %17)
%19 = load float, ptr %11, align 4
%20 = load float, ptr %12, align 4
%21 = call i32 @vertex(i8 noundef signext 67, float noundef %19, float noundef %20)
ret void
}
declare i32 @vertex(i8 noundef signext, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpimi5kq6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curve_to(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = call i32 @vertex(i8 noundef signext 99, float noundef %13, float noundef %14)
%16 = load float, ptr %9, align 4
%17 = load float, ptr %10, align 4
%18 = call i32 @vertex(i8 noundef signext 99, float noundef %16, float noundef %17)
%19 = load float, ptr %11, align 4
%20 = load float, ptr %12, align 4
%21 = call i32 @vertex(i8 noundef signext 67, float noundef %19, float noundef %20)
ret void
}
declare i32 @vertex(i8 noundef signext, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2dph1ow.c'
source_filename = "/tmp/tmpw2dph1ow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\09Front End (2.7,84/11/28)\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0A;\09Front End for ASXXXX (2.8,13/01/20)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @frontend_version() #0 {
%1 = call i32 @output_string(ptr noundef @.str)
%2 = call i32 @output_string(ptr noundef @.str.1)
ret void
}
declare i32 @output_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2dph1ow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\09Front End (2.7,84/11/28)\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0A;\09Front End for ASXXXX (2.8,13/01/20)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @frontend_version() #0 {
%1 = call i32 @output_string(ptr noundef @.str)
%2 = call i32 @output_string(ptr noundef @.str.1)
ret void
}
declare i32 @output_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpshbekt8h.c'
source_filename = "/tmp/tmpshbekt8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udev_util_encode_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %3
store i32 -1, ptr %4, align 4
br label %121
17: ; preds = %13
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %18
18: ; preds = %107, %17
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %110
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = call i32 @utf8_encoded_valid_unichar(ptr noundef %28)
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp sgt i32 %30, 1
br i1 %31, label %32, label %58
32: ; preds = %25
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %9, align 8
%35 = sub i64 %33, %34
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = icmp ult i64 %35, %37
br i1 %38, label %39, label %40
39: ; preds = %32
br label %120
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr %9, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load ptr, ptr %5, align 8
%45 = load i64, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i32, ptr %10, align 4
%48 = call i32 @memcpy(ptr noundef %43, ptr noundef %46, i32 noundef %47)
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = load i64, ptr %9, align 8
%52 = add i64 %51, %50
store i64 %52, ptr %9, align 8
%53 = load i32, ptr %10, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = load i64, ptr %8, align 8
%57 = add i64 %56, %55
store i64 %57, ptr %8, align 8
br label %106
58: ; preds = %25
%59 = load ptr, ptr %5, align 8
%60 = load i64, ptr %8, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 92
br i1 %64, label %72, label %65
65: ; preds = %58
%66 = load ptr, ptr %5, align 8
%67 = load i64, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %66, i64 %67
%69 = load i8, ptr %68, align 1
%70 = call i32 @is_whitelisted(i8 noundef signext %69, ptr noundef null)
%71 = icmp ne i32 %70, 0
br i1 %71, label %89, label %72
72: ; preds = %65, %58
%73 = load i64, ptr %7, align 8
%74 = load i64, ptr %9, align 8
%75 = sub i64 %73, %74
%76 = icmp ult i64 %75, 4
br i1 %76, label %77, label %78
77: ; preds = %72
br label %120
78: ; preds = %72
%79 = load ptr, ptr %6, align 8
%80 = load i64, ptr %9, align 8
%81 = getelementptr inbounds i8, ptr %79, i64 %80
%82 = load ptr, ptr %5, align 8
%83 = load i64, ptr %8, align 8
%84 = getelementptr inbounds i8, ptr %82, i64 %83
%85 = load i8, ptr %84, align 1
%86 = call i32 @sprintf(ptr noundef %81, ptr noundef @.str, i8 noundef zeroext %85)
%87 = load i64, ptr %9, align 8
%88 = add i64 %87, 4
store i64 %88, ptr %9, align 8
br label %105
89: ; preds = %65
%90 = load i64, ptr %7, align 8
%91 = load i64, ptr %9, align 8
%92 = sub i64 %90, %91
%93 = icmp ult i64 %92, 1
br i1 %93, label %94, label %95
94: ; preds = %89
br label %120
95: ; preds = %89
%96 = load ptr, ptr %5, align 8
%97 = load i64, ptr %8, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
%99 = load i8, ptr %98, align 1
%100 = load ptr, ptr %6, align 8
%101 = load i64, ptr %9, align 8
%102 = getelementptr inbounds i8, ptr %100, i64 %101
store i8 %99, ptr %102, align 1
%103 = load i64, ptr %9, align 8
%104 = add i64 %103, 1
store i64 %104, ptr %9, align 8
br label %105
105: ; preds = %95, %78
br label %106
106: ; preds = %105, %40
br label %107
107: ; preds = %106
%108 = load i64, ptr %8, align 8
%109 = add i64 %108, 1
store i64 %109, ptr %8, align 8
br label %18, !llvm.loop !6
110: ; preds = %18
%111 = load i64, ptr %7, align 8
%112 = load i64, ptr %9, align 8
%113 = sub i64 %111, %112
%114 = icmp ult i64 %113, 1
br i1 %114, label %115, label %116
115: ; preds = %110
br label %120
116: ; preds = %110
%117 = load ptr, ptr %6, align 8
%118 = load i64, ptr %9, align 8
%119 = getelementptr inbounds i8, ptr %117, i64 %118
store i8 0, ptr %119, align 1
store i32 0, ptr %4, align 4
br label %121
120: ; preds = %115, %94, %77, %39
store i32 -1, ptr %4, align 4
br label %121
121: ; preds = %120, %116, %16
%122 = load i32, ptr %4, align 4
ret i32 %122
}
declare i32 @utf8_encoded_valid_unichar(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @is_whitelisted(i8 noundef signext, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpshbekt8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udev_util_encode_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %3
store i32 -1, ptr %4, align 4
br label %126
17: ; preds = %13
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %.lr.ph, label %115
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %106
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = call i32 @utf8_encoded_valid_unichar(ptr noundef %27)
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp sgt i32 %29, 1
br i1 %30, label %31, label %57
31: ; preds = %24
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %9, align 8
%34 = sub i64 %32, %33
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = icmp ult i64 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %31
br label %125
39: ; preds = %31
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %40, i64 %41
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = load i32, ptr %10, align 4
%47 = call i32 @memcpy(ptr noundef %42, ptr noundef %45, i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = load i64, ptr %9, align 8
%51 = add i64 %50, %49
store i64 %51, ptr %9, align 8
%52 = load i32, ptr %10, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = load i64, ptr %8, align 8
%56 = add i64 %55, %54
store i64 %56, ptr %8, align 8
br label %105
57: ; preds = %24
%58 = load ptr, ptr %5, align 8
%59 = load i64, ptr %8, align 8
%60 = getelementptr inbounds i8, ptr %58, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 92
br i1 %63, label %71, label %64
64: ; preds = %57
%65 = load ptr, ptr %5, align 8
%66 = load i64, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %65, i64 %66
%68 = load i8, ptr %67, align 1
%69 = call i32 @is_whitelisted(i8 noundef signext %68, ptr noundef null)
%70 = icmp ne i32 %69, 0
br i1 %70, label %88, label %71
71: ; preds = %64, %57
%72 = load i64, ptr %7, align 8
%73 = load i64, ptr %9, align 8
%74 = sub i64 %72, %73
%75 = icmp ult i64 %74, 4
br i1 %75, label %76, label %77
76: ; preds = %71
br label %125
77: ; preds = %71
%78 = load ptr, ptr %6, align 8
%79 = load i64, ptr %9, align 8
%80 = getelementptr inbounds i8, ptr %78, i64 %79
%81 = load ptr, ptr %5, align 8
%82 = load i64, ptr %8, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
%84 = load i8, ptr %83, align 1
%85 = call i32 @sprintf(ptr noundef %80, ptr noundef @.str, i8 noundef zeroext %84)
%86 = load i64, ptr %9, align 8
%87 = add i64 %86, 4
store i64 %87, ptr %9, align 8
br label %104
88: ; preds = %64
%89 = load i64, ptr %7, align 8
%90 = load i64, ptr %9, align 8
%91 = sub i64 %89, %90
%92 = icmp ult i64 %91, 1
br i1 %92, label %93, label %94
93: ; preds = %88
br label %125
94: ; preds = %88
%95 = load ptr, ptr %5, align 8
%96 = load i64, ptr %8, align 8
%97 = getelementptr inbounds i8, ptr %95, i64 %96
%98 = load i8, ptr %97, align 1
%99 = load ptr, ptr %6, align 8
%100 = load i64, ptr %9, align 8
%101 = getelementptr inbounds i8, ptr %99, i64 %100
store i8 %98, ptr %101, align 1
%102 = load i64, ptr %9, align 8
%103 = add i64 %102, 1
store i64 %103, ptr %9, align 8
br label %104
104: ; preds = %94, %77
br label %105
105: ; preds = %104, %39
br label %106
106: ; preds = %105
%107 = load i64, ptr %8, align 8
%108 = add i64 %107, 1
store i64 %108, ptr %8, align 8
%109 = load ptr, ptr %5, align 8
%110 = load i64, ptr %8, align 8
%111 = getelementptr inbounds i8, ptr %109, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 0
br i1 %114, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %106
br label %115
115: ; preds = %._crit_edge, %17
%116 = load i64, ptr %7, align 8
%117 = load i64, ptr %9, align 8
%118 = sub i64 %116, %117
%119 = icmp ult i64 %118, 1
br i1 %119, label %120, label %121
120: ; preds = %115
br label %125
121: ; preds = %115
%122 = load ptr, ptr %6, align 8
%123 = load i64, ptr %9, align 8
%124 = getelementptr inbounds i8, ptr %122, i64 %123
store i8 0, ptr %124, align 1
store i32 0, ptr %4, align 4
br label %126
125: ; preds = %120, %93, %76, %38
store i32 -1, ptr %4, align 4
br label %126
126: ; preds = %125, %121, %16
%127 = load i32, ptr %4, align 4
ret i32 %127
}
declare i32 @utf8_encoded_valid_unichar(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @is_whitelisted(i8 noundef signext, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplxrk_ku0.c'
source_filename = "/tmp/tmplxrk_ku0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @llrintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @_f_llrintl(x86_fp80 noundef %3)
ret i64 %4
}
declare i64 @_f_llrintl(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/tmplxrk_ku0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @llrintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @_f_llrintl(x86_fp80 noundef %3)
ret i64 %4
}
declare i64 @_f_llrintl(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/tmp7im7nqoj.c'
source_filename = "/tmp/tmp7im7nqoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"{}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_get_audio_apis(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.2)
br label %13
13: ; preds = %10, %1
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmp7im7nqoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"{}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_get_audio_apis(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.2)
br label %13
13: ; preds = %10, %1
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpfyhxa52v.c'
source_filename = "/tmp/tmpfyhxa52v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"%d%d%lf%lf\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Mais de 1 seculo.\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d anos.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %51, %0
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %54
15: ; preds = %11
%16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %8, ptr noundef %9)
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %21, %15
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %17
%22 = load i32, ptr %2, align 4
%23 = sitofp i32 %22 to double
%24 = load double, ptr %8, align 8
%25 = fmul double %23, %24
%26 = fdiv double %25, 1.000000e+02
%27 = fptosi double %26 to i32
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = sitofp i32 %31 to double
%33 = load double, ptr %9, align 8
%34 = fmul double %32, %33
%35 = fdiv double %34, 1.000000e+02
%36 = fptosi double %35 to i32
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %17, !llvm.loop !6
42: ; preds = %17
%43 = load i32, ptr %5, align 4
%44 = icmp sgt i32 %43, 100
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %50
47: ; preds = %42
%48 = load i32, ptr %5, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48)
br label %50
50: ; preds = %47, %45
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %11, !llvm.loop !8
54: ; preds = %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfyhxa52v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"%d%d%lf%lf\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Mais de 1 seculo.\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d anos.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %58
.lr.ph2: ; preds = %0
br label %14
14: ; preds = %.lr.ph2, %52
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %8, ptr noundef %9)
store i32 0, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %2, align 4
%21 = sitofp i32 %20 to double
%22 = load double, ptr %8, align 8
%23 = fmul double %21, %22
%24 = fdiv double %23, 1.000000e+02
%25 = fptosi double %24 to i32
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = sitofp i32 %29 to double
%31 = load double, ptr %9, align 8
%32 = fmul double %30, %31
%33 = fdiv double %32, 1.000000e+02
%34 = fptosi double %33 to i32
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, %35
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %43
43: ; preds = %._crit_edge, %14
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %44, 100
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %51
48: ; preds = %43
%49 = load i32, ptr %5, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49)
br label %51
51: ; preds = %48, %46
br label %52
52: ; preds = %51
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0p7rl6jl.c'
source_filename = "/tmp/tmp0p7rl6jl.c"
target datalayout = "e-m:e-p270: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/tmp0p7rl6jl.c"
target datalayout = "e-m:e-p270: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/tmp5_1qb8v_.c'
source_filename = "/tmp/tmp5_1qb8v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5_1qb8v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ozll2ri.c'
source_filename = "/tmp/tmp1ozll2ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
%4 = call float @sum_float(i32 noundef 1, i32 noundef 2)
store float %4, ptr %2, align 4
%5 = call double @sum_double(i32 noundef 1, i32 noundef 2)
store double %5, ptr %3, align 8
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = load double, ptr %3, align 8
%9 = fcmp oeq double %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare float @sum_float(i32 noundef, i32 noundef) #1
declare double @sum_double(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/tmp1ozll2ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
%4 = call float @sum_float(i32 noundef 1, i32 noundef 2)
store float %4, ptr %2, align 4
%5 = call double @sum_double(i32 noundef 1, i32 noundef 2)
store double %5, ptr %3, align 8
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = load double, ptr %3, align 8
%9 = fcmp oeq double %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare float @sum_float(i32 noundef, i32 noundef) #1
declare double @sum_double(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/tmpko6vahhl.c'
source_filename = "/tmp/tmpko6vahhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"--\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d.%d%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"-k%s\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s,%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fixit(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [20 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 1, ptr %7, align 4
br label %15
15: ; preds = %190, %3
%16 = load i32, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %193
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %20
br label %193
29: ; preds = %20
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 0
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 43
br i1 %38, label %39, label %40
39: ; preds = %29
store i32 1, ptr %9, align 4
br label %89
40: ; preds = %29
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 0
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 45
br i1 %49, label %50, label %64
50: ; preds = %40
%51 = load i32, ptr %9, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %64
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = load i8, ptr %59, align 1
%61 = call i64 @isdigit(i8 noundef zeroext %60)
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %53
store i32 0, ptr %9, align 4
br label %88
64: ; preds = %53, %50, %40
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 45
br i1 %73, label %74, label %87
74: ; preds = %64
store i32 0, ptr %9, align 4
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i64 @options_need_argument(ptr noundef %79, ptr noundef %80)
%82 = icmp ne i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %74
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %7, align 4
br label %86
86: ; preds = %83, %74
br label %190
87: ; preds = %64
store i32 0, ptr %9, align 4
br label %193
88: ; preds = %63
br label %89
89: ; preds = %88, %39
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 1
store ptr %95, ptr %11, align 8
%96 = load ptr, ptr %11, align 8
%97 = call i64 @strtol(ptr noundef %96, ptr noundef %11, i32 noundef 10)
%98 = trunc i64 %97 to i32
store i32 %98, ptr %13, align 4
%99 = load ptr, ptr %11, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 46
br i1 %102, label %103, label %109
103: ; preds = %89
%104 = load ptr, ptr %11, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %11, align 8
%106 = load ptr, ptr %11, align 8
%107 = call i64 @strtol(ptr noundef %106, ptr noundef %11, i32 noundef 10)
%108 = trunc i64 %107 to i32
store i32 %108, ptr %14, align 4
br label %110
109: ; preds = %89
store i32 0, ptr %14, align 4
br label %110
110: ; preds = %109, %103
%111 = load i32, ptr %9, align 4
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %118
113: ; preds = %110
%114 = load i32, ptr %13, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %13, align 4
%116 = load i32, ptr %14, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %14, align 4
br label %125
118: ; preds = %110
%119 = load i32, ptr %14, align 4
%120 = icmp sgt i32 %119, 0
br i1 %120, label %121, label %124
121: ; preds = %118
%122 = load i32, ptr %13, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %13, align 4
br label %124
124: ; preds = %121, %118
br label %125
125: ; preds = %124, %113
%126 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%127 = load i32, ptr %13, align 4
%128 = load i32, ptr %14, align 4
%129 = load ptr, ptr %11, align 8
%130 = call i32 @snprintf(ptr noundef %126, i32 noundef 20, ptr noundef @.str.1, i32 noundef %127, i32 noundef %128, ptr noundef %129)
%131 = load i32, ptr %9, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %141
133: ; preds = %125
%134 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%135 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %134)
%136 = load ptr, ptr %10, align 8
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %7, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds ptr, ptr %137, i64 %139
store ptr %136, ptr %140, align 8
br label %189
141: ; preds = %125
%142 = load ptr, ptr %5, align 8
%143 = load i32, ptr %7, align 4
%144 = sub nsw i32 %143, 1
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds ptr, ptr %142, i64 %145
%147 = load ptr, ptr %146, align 8
%148 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%149 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %147, ptr noundef %148)
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %7, align 4
%152 = sub nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds ptr, ptr %150, i64 %153
%155 = load ptr, ptr %154, align 8
%156 = call i32 @free(ptr noundef %155)
%157 = load ptr, ptr %10, align 8
%158 = load ptr, ptr %5, align 8
%159 = load i32, ptr %7, align 4
%160 = sub nsw i32 %159, 1
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds ptr, ptr %158, i64 %161
store ptr %157, ptr %162, align 8
%163 = load i32, ptr %7, align 4
store i32 %163, ptr %8, align 4
br label %164
164: ; preds = %180, %141
%165 = load i32, ptr %8, align 4
%166 = load ptr, ptr %4, align 8
%167 = load i32, ptr %166, align 4
%168 = icmp slt i32 %165, %167
br i1 %168, label %169, label %183
169: ; preds = %164
%170 = load ptr, ptr %5, align 8
%171 = load i32, ptr %8, align 4
%172 = add nsw i32 %171, 1
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds ptr, ptr %170, i64 %173
%175 = load ptr, ptr %174, align 8
%176 = load ptr, ptr %5, align 8
%177 = load i32, ptr %8, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
store ptr %175, ptr %179, align 8
br label %180
180: ; preds = %169
%181 = load i32, ptr %8, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %8, align 4
br label %164, !llvm.loop !6
183: ; preds = %164
%184 = load ptr, ptr %4, align 8
%185 = load i32, ptr %184, align 4
%186 = sub nsw i32 %185, 1
store i32 %186, ptr %184, align 4
%187 = load i32, ptr %7, align 4
%188 = add nsw i32 %187, -1
store i32 %188, ptr %7, align 4
br label %189
189: ; preds = %183, %133
br label %190
190: ; preds = %189, %86
%191 = load i32, ptr %7, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %7, align 4
br label %15, !llvm.loop !8
193: ; preds = %87, %28, %15
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @options_need_argument(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @asprintf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpko6vahhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"--\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d.%d%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"-k%s\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s,%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fixit(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [20 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 1, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp slt i32 %15, %17
br i1 %18, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %3
br label %19
19: ; preds = %.lr.ph2, %192
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %19
br label %199
28: ; preds = %19
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 43
br i1 %37, label %38, label %39
38: ; preds = %28
store i32 1, ptr %9, align 4
br label %88
39: ; preds = %28
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 45
br i1 %48, label %49, label %63
49: ; preds = %39
%50 = load i32, ptr %9, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %63
52: ; preds = %49
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 1
%59 = load i8, ptr %58, align 1
%60 = call i64 @isdigit(i8 noundef zeroext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %52
store i32 0, ptr %9, align 4
br label %87
63: ; preds = %52, %49, %39
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 0
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 45
br i1 %72, label %73, label %86
73: ; preds = %63
store i32 0, ptr %9, align 4
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load ptr, ptr %6, align 8
%80 = call i64 @options_need_argument(ptr noundef %78, ptr noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %73
%83 = load i32, ptr %7, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %7, align 4
br label %85
85: ; preds = %82, %73
br label %192
86: ; preds = %63
store i32 0, ptr %9, align 4
br label %199
87: ; preds = %62
br label %88
88: ; preds = %87, %38
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %7, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = getelementptr inbounds i8, ptr %93, i64 1
store ptr %94, ptr %11, align 8
%95 = load ptr, ptr %11, align 8
%96 = call i64 @strtol(ptr noundef %95, ptr noundef %11, i32 noundef 10)
%97 = trunc i64 %96 to i32
store i32 %97, ptr %13, align 4
%98 = load ptr, ptr %11, align 8
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 46
br i1 %101, label %102, label %108
102: ; preds = %88
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %11, align 8
%105 = load ptr, ptr %11, align 8
%106 = call i64 @strtol(ptr noundef %105, ptr noundef %11, i32 noundef 10)
%107 = trunc i64 %106 to i32
store i32 %107, ptr %14, align 4
br label %109
108: ; preds = %88
store i32 0, ptr %14, align 4
br label %109
109: ; preds = %108, %102
%110 = load i32, ptr %9, align 4
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %117
112: ; preds = %109
%113 = load i32, ptr %13, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %13, align 4
%115 = load i32, ptr %14, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %14, align 4
br label %124
117: ; preds = %109
%118 = load i32, ptr %14, align 4
%119 = icmp sgt i32 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %117
%121 = load i32, ptr %13, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %13, align 4
br label %123
123: ; preds = %120, %117
br label %124
124: ; preds = %123, %112
%125 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%126 = load i32, ptr %13, align 4
%127 = load i32, ptr %14, align 4
%128 = load ptr, ptr %11, align 8
%129 = call i32 @snprintf(ptr noundef %125, i32 noundef 20, ptr noundef @.str.1, i32 noundef %126, i32 noundef %127, ptr noundef %128)
%130 = load i32, ptr %9, align 4
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %140
132: ; preds = %124
%133 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%134 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %133)
%135 = load ptr, ptr %10, align 8
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %7, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
store ptr %135, ptr %139, align 8
br label %191
140: ; preds = %124
%141 = load ptr, ptr %5, align 8
%142 = load i32, ptr %7, align 4
%143 = sub nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %141, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0
%148 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %146, ptr noundef %147)
%149 = load ptr, ptr %5, align 8
%150 = load i32, ptr %7, align 4
%151 = sub nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %149, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = call i32 @free(ptr noundef %154)
%156 = load ptr, ptr %10, align 8
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %7, align 4
%159 = sub nsw i32 %158, 1
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds ptr, ptr %157, i64 %160
store ptr %156, ptr %161, align 8
%162 = load i32, ptr %7, align 4
store i32 %162, ptr %8, align 4
%163 = load i32, ptr %8, align 4
%164 = load ptr, ptr %4, align 8
%165 = load i32, ptr %164, align 4
%166 = icmp slt i32 %163, %165
br i1 %166, label %.lr.ph, label %185
.lr.ph: ; preds = %140
br label %167
167: ; preds = %.lr.ph, %178
%168 = load ptr, ptr %5, align 8
%169 = load i32, ptr %8, align 4
%170 = add nsw i32 %169, 1
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds ptr, ptr %168, i64 %171
%173 = load ptr, ptr %172, align 8
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %8, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds ptr, ptr %174, i64 %176
store ptr %173, ptr %177, align 8
br label %178
178: ; preds = %167
%179 = load i32, ptr %8, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %8, align 4
%181 = load i32, ptr %8, align 4
%182 = load ptr, ptr %4, align 8
%183 = load i32, ptr %182, align 4
%184 = icmp slt i32 %181, %183
br i1 %184, label %167, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %178
br label %185
185: ; preds = %._crit_edge, %140
%186 = load ptr, ptr %4, align 8
%187 = load i32, ptr %186, align 4
%188 = sub nsw i32 %187, 1
store i32 %188, ptr %186, align 4
%189 = load i32, ptr %7, align 4
%190 = add nsw i32 %189, -1
store i32 %190, ptr %7, align 4
br label %191
191: ; preds = %185, %132
br label %192
192: ; preds = %191, %85
%193 = load i32, ptr %7, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %7, align 4
%195 = load i32, ptr %7, align 4
%196 = load ptr, ptr %4, align 8
%197 = load i32, ptr %196, align 4
%198 = icmp slt i32 %195, %197
br i1 %198, label %19, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %192
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %199
199: ; preds = %.loopexit, %86, %27
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @options_need_argument(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @asprintf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpq2dfiaig.c'
source_filename = "/tmp/tmpq2dfiaig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %12
12: ; preds = %24, %3
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds i32, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = getelementptr inbounds i32, ptr %21, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %16
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpq2dfiaig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i32, ptr %16, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp1v0a7bh0.c'
source_filename = "/tmp/tmp1v0a7bh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tube_BASICTrans_Error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @updateOverflow(i32 noundef 1, ptr noundef %3)
ret void
}
declare i32 @updateOverflow(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/tmp1v0a7bh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tube_BASICTrans_Error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @updateOverflow(i32 noundef 1, ptr noundef %3)
ret void
}
declare i32 @updateOverflow(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/tmp6ovdiyrt.c'
source_filename = "/tmp/tmp6ovdiyrt.c"
target datalayout = "e-m:e-p270: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/tmp6ovdiyrt.c"
target datalayout = "e-m:e-p270: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/tmp5z2zve7a.c'
source_filename = "/tmp/tmp5z2zve7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakP200_ExtractBytes(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp ult i32 %9, 25
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = add i32 %13, %14
%16 = icmp ule i32 %15, 25
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i32, ptr %8, align 4
%25 = call i32 @memcpy(ptr noundef %19, ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5z2zve7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakP200_ExtractBytes(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp ult i32 %9, 25
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = add i32 %13, %14
%16 = icmp ule i32 %15, 25
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i32, ptr %8, align 4
%25 = call i32 @memcpy(ptr noundef %19, ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf4boxlu0.c'
source_filename = "/tmp/tmpf4boxlu0.c"
target datalayout = "e-m:e-p270: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/tmpf4boxlu0.c"
target datalayout = "e-m:e-p270: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_9t2x5lw.c'
source_filename = "/tmp/tmp_9t2x5lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_select_cell_to_go_to(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_9t2x5lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_select_cell_to_go_to(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5nsp7m2.c'
source_filename = "/tmp/tmpr5nsp7m2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_irrelevant(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @skip_spaces(ptr noundef %3)
store ptr %4, ptr %2, align 8
br label %5
5: ; preds = %17, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 35
br label %15
15: ; preds = %10, %5
%16 = phi i1 [ false, %5 ], [ %14, %10 ]
br i1 %16, label %17, label %22
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = call ptr @next_line(ptr noundef %18)
store ptr %19, ptr %2, align 8
%20 = load ptr, ptr %2, align 8
%21 = call ptr @skip_spaces(ptr noundef %20)
store ptr %21, ptr %2, align 8
br label %5, !llvm.loop !6
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @skip_spaces(ptr noundef) #1
declare ptr @next_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpr5nsp7m2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_irrelevant(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @skip_spaces(ptr noundef %3)
store ptr %4, ptr %2, align 8
br label %5
5: ; preds = %17, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 35
br label %15
15: ; preds = %10, %5
%16 = phi i1 [ false, %5 ], [ %14, %10 ]
br i1 %16, label %17, label %22
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = call ptr @next_line(ptr noundef %18)
store ptr %19, ptr %2, align 8
%20 = load ptr, ptr %2, align 8
%21 = call ptr @skip_spaces(ptr noundef %20)
store ptr %21, ptr %2, align 8
br label %5, !llvm.loop !6
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @skip_spaces(ptr noundef) #1
declare ptr @next_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp446erkpa.c'
source_filename = "/tmp/tmp446erkpa.c"
target datalayout = "e-m:e-p270: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.setupRC.whiteLight = private unnamed_addr constant [4 x float] [float 0x3FDCCCCCC0000000, float 0x3FDCCCCCC0000000, float 0x3FDCCCCCC0000000, float 1.000000e+00], align 16
@__const.setupRC.sourceLight = private unnamed_addr constant [4 x float] [float 2.500000e-01, float 2.500000e-01, float 2.500000e-01, float 1.000000e+00], align 16
@__const.setupRC.lightPos = private unnamed_addr constant [4 x float] [float -5.000000e+01, float 2.500000e+01, float 2.500000e+02, float 0.000000e+00], align 16
@GL_DEPTH_TEST = dso_local global i32 0, align 4
@GL_CCW = dso_local global i32 0, align 4
@GL_CULL_FACE = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_AMBIENT = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_COLOR_MATERIAL = dso_local global i32 0, align 4
@GL_FRONT = dso_local global i32 0, align 4
@GL_AMBIENT_AND_DIFFUSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setupRC() #0 {
%1 = alloca [4 x float], align 16
%2 = alloca [4 x float], align 16
%3 = alloca [4 x float], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.setupRC.whiteLight, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.setupRC.sourceLight, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.setupRC.lightPos, i64 16, i1 false)
%4 = load i32, ptr @GL_DEPTH_TEST, align 4
%5 = call i32 @glEnable(i32 noundef %4)
%6 = load i32, ptr @GL_CCW, align 4
%7 = call i32 @glFrontFace(i32 noundef %6)
%8 = load i32, ptr @GL_CULL_FACE, align 4
%9 = call i32 @glEnable(i32 noundef %8)
%10 = load i32, ptr @GL_LIGHTING, align 4
%11 = call i32 @glEnable(i32 noundef %10)
%12 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%13 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%14 = call i32 @glLightModelfv(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr @GL_LIGHT0, align 4
%16 = load i32, ptr @GL_AMBIENT, align 4
%17 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%18 = call i32 @glLightfv(i32 noundef %15, i32 noundef %16, ptr noundef %17)
%19 = load i32, ptr @GL_LIGHT0, align 4
%20 = load i32, ptr @GL_DIFFUSE, align 4
%21 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%22 = call i32 @glLightfv(i32 noundef %19, i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr @GL_LIGHT0, align 4
%24 = load i32, ptr @GL_POSITION, align 4
%25 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%26 = call i32 @glLightfv(i32 noundef %23, i32 noundef %24, ptr noundef %25)
%27 = load i32, ptr @GL_LIGHT0, align 4
%28 = call i32 @glEnable(i32 noundef %27)
%29 = load i32, ptr @GL_COLOR_MATERIAL, align 4
%30 = call i32 @glEnable(i32 noundef %29)
%31 = load i32, ptr @GL_FRONT, align 4
%32 = load i32, ptr @GL_AMBIENT_AND_DIFFUSE, align 4
%33 = call i32 @glColorMaterial(i32 noundef %31, i32 noundef %32)
%34 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
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 @glEnable(i32 noundef) #2
declare i32 @glFrontFace(i32 noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glColorMaterial(i32 noundef, i32 noundef) #2
declare i32 @glClearColor(float noundef, float noundef, float noundef, float 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/tmp446erkpa.c"
target datalayout = "e-m:e-p270: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.setupRC.whiteLight = private unnamed_addr constant [4 x float] [float 0x3FDCCCCCC0000000, float 0x3FDCCCCCC0000000, float 0x3FDCCCCCC0000000, float 1.000000e+00], align 16
@__const.setupRC.sourceLight = private unnamed_addr constant [4 x float] [float 2.500000e-01, float 2.500000e-01, float 2.500000e-01, float 1.000000e+00], align 16
@__const.setupRC.lightPos = private unnamed_addr constant [4 x float] [float -5.000000e+01, float 2.500000e+01, float 2.500000e+02, float 0.000000e+00], align 16
@GL_DEPTH_TEST = dso_local global i32 0, align 4
@GL_CCW = dso_local global i32 0, align 4
@GL_CULL_FACE = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_AMBIENT = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_COLOR_MATERIAL = dso_local global i32 0, align 4
@GL_FRONT = dso_local global i32 0, align 4
@GL_AMBIENT_AND_DIFFUSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setupRC() #0 {
%1 = alloca [4 x float], align 16
%2 = alloca [4 x float], align 16
%3 = alloca [4 x float], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.setupRC.whiteLight, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.setupRC.sourceLight, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.setupRC.lightPos, i64 16, i1 false)
%4 = load i32, ptr @GL_DEPTH_TEST, align 4
%5 = call i32 @glEnable(i32 noundef %4)
%6 = load i32, ptr @GL_CCW, align 4
%7 = call i32 @glFrontFace(i32 noundef %6)
%8 = load i32, ptr @GL_CULL_FACE, align 4
%9 = call i32 @glEnable(i32 noundef %8)
%10 = load i32, ptr @GL_LIGHTING, align 4
%11 = call i32 @glEnable(i32 noundef %10)
%12 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%13 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%14 = call i32 @glLightModelfv(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr @GL_LIGHT0, align 4
%16 = load i32, ptr @GL_AMBIENT, align 4
%17 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%18 = call i32 @glLightfv(i32 noundef %15, i32 noundef %16, ptr noundef %17)
%19 = load i32, ptr @GL_LIGHT0, align 4
%20 = load i32, ptr @GL_DIFFUSE, align 4
%21 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%22 = call i32 @glLightfv(i32 noundef %19, i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr @GL_LIGHT0, align 4
%24 = load i32, ptr @GL_POSITION, align 4
%25 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%26 = call i32 @glLightfv(i32 noundef %23, i32 noundef %24, ptr noundef %25)
%27 = load i32, ptr @GL_LIGHT0, align 4
%28 = call i32 @glEnable(i32 noundef %27)
%29 = load i32, ptr @GL_COLOR_MATERIAL, align 4
%30 = call i32 @glEnable(i32 noundef %29)
%31 = load i32, ptr @GL_FRONT, align 4
%32 = load i32, ptr @GL_AMBIENT_AND_DIFFUSE, align 4
%33 = call i32 @glColorMaterial(i32 noundef %31, i32 noundef %32)
%34 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
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 @glEnable(i32 noundef) #2
declare i32 @glFrontFace(i32 noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glColorMaterial(i32 noundef, i32 noundef) #2
declare i32 @glClearColor(float noundef, float noundef, float noundef, float 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/tmph3iugxko.c'
source_filename = "/tmp/tmph3iugxko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @test__blsi_u64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @__blsi_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @__blsi_u64(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/tmph3iugxko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @test__blsi_u64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @__blsi_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @__blsi_u64(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/tmp6lsy3lm6.c'
source_filename = "/tmp/tmp6lsy3lm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test4() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @my_malloc2(i32 noundef 1, i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @my_free1(ptr noundef %4)
%6 = call i64 @my_malloc2(i32 noundef 1, i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %1, align 8
%8 = load ptr, ptr %1, align 8
%9 = call i32 @my_free1(ptr noundef %8)
%10 = load ptr, ptr %1, align 8
%11 = load i32, ptr %10, align 4
ret i32 %11
}
declare i64 @my_malloc2(i32 noundef, i32 noundef) #1
declare i32 @my_free1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6lsy3lm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test4() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @my_malloc2(i32 noundef 1, i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @my_free1(ptr noundef %4)
%6 = call i64 @my_malloc2(i32 noundef 1, i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %1, align 8
%8 = load ptr, ptr %1, align 8
%9 = call i32 @my_free1(ptr noundef %8)
%10 = load ptr, ptr %1, align 8
%11 = load i32, ptr %10, align 4
ret i32 %11
}
declare i64 @my_malloc2(i32 noundef, i32 noundef) #1
declare i32 @my_free1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpofuvewef.c'
source_filename = "/tmp/tmpofuvewef.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delay(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca %struct.timespec, align 8
%6 = alloca %struct.timespec, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = load i64, ptr %4, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
store i64 %9, ptr %10, align 8
%11 = call i32 @nanosleep(ptr noundef %5, ptr noundef %6)
ret i32 %11
}
declare i32 @nanosleep(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/tmpofuvewef.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delay(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca %struct.timespec, align 8
%6 = alloca %struct.timespec, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = load i64, ptr %4, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
store i64 %9, ptr %10, align 8
%11 = call i32 @nanosleep(ptr noundef %5, ptr noundef %6)
ret i32 %11
}
declare i32 @nanosleep(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/tmpybv9696c.c'
source_filename = "/tmp/tmpybv9696c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test()
ret void
}
declare i32 @test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybv9696c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test()
ret void
}
declare i32 @test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuqdjqbc_.c'
source_filename = "/tmp/tmpuqdjqbc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"love love no a love lave live lovf thus a olive abc 123 ikman love\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"love\00", align 1
@.str.2 = private unnamed_addr constant [5 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @comp(ptr noundef %5, ptr noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str.2, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @comp(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/tmpuqdjqbc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"love love no a love lave live lovf thus a olive abc 123 ikman love\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"love\00", align 1
@.str.2 = private unnamed_addr constant [5 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @comp(ptr noundef %5, ptr noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str.2, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @comp(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/tmpyoybtj5s.c'
source_filename = "/tmp/tmpyoybtj5s.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"wrong number of hash bits (argument #2)\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"rank can only be 2 or 3 (argument #1)\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"max fastdiv 0x%08zx\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"max fastdiv nkeys 0x%08zx\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"max nkeys 0x%08zx\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"max nverts 0x%08zx\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strtol(ptr noundef %20, ptr noundef null, i32 noundef 10)
br label %23
22: ; preds = %2
br label %23
23: ; preds = %22, %17
%24 = phi i32 [ %21, %17 ], [ 2, %22 ]
%25 = sext i32 %24 to i64
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp eq i64 %26, 2
%28 = zext i1 %27 to i64
%29 = select i1 %27, double 2.125000e+00, double 1.250000e+00
store double %29, ptr %7, align 8
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %30, 2
br i1 %31, label %32, label %37
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strtol(ptr noundef %35, ptr noundef null, i32 noundef 10)
br label %38
37: ; preds = %23
br label %38
38: ; preds = %37, %32
%39 = phi i32 [ %36, %32 ], [ 128, %37 ]
%40 = sext i32 %39 to i64
store i64 %40, ptr %8, align 8
%41 = load i64, ptr %8, align 8
%42 = icmp ne i64 %41, 32
br i1 %42, label %43, label %56
43: ; preds = %38
%44 = load i64, ptr %8, align 8
%45 = icmp ne i64 %44, 64
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = load i64, ptr %8, align 8
%48 = icmp ne i64 %47, 96
br i1 %48, label %49, label %56
49: ; preds = %46
%50 = load i64, ptr %8, align 8
%51 = icmp ne i64 %50, 128
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr @stderr, align 4
%54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str)
%55 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %55, ptr %3, align 4
br label %150
56: ; preds = %49, %46, %43, %38
%57 = load i64, ptr %6, align 8
%58 = icmp slt i64 %57, 2
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load i64, ptr %6, align 8
%61 = icmp sgt i64 %60, 3
br i1 %61, label %62, label %66
62: ; preds = %59, %56
%63 = load i32, ptr @stderr, align 4
%64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.1)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %150
66: ; preds = %59
%67 = load i64, ptr %8, align 8
%68 = load i64, ptr %6, align 8
%69 = mul nsw i64 %68, 32
%70 = icmp sge i64 %67, %69
%71 = zext i1 %70 to i32
store i32 %71, ptr %9, align 4
%72 = load i32, ptr @CHAR_BIT, align 4
%73 = sext i32 %72 to i64
%74 = mul i64 4, %73
%75 = load i32, ptr %9, align 4
%76 = icmp ne i32 %75, 0
%77 = xor i1 %76, true
%78 = zext i1 %77 to i32
%79 = sext i32 %78 to i64
%80 = sub i64 %74, %79
store i64 %80, ptr %10, align 8
%81 = load i64, ptr %8, align 8
%82 = load i64, ptr %6, align 8
%83 = call i64 @calc_max_nkeys(i64 noundef %81, i64 noundef %82)
store i64 %83, ptr %11, align 8
%84 = load i64, ptr %11, align 8
%85 = load i64, ptr %6, align 8
%86 = call i64 @graph_nverts(i64 noundef %84, i64 noundef %85)
store i64 %86, ptr %12, align 8
%87 = load i64, ptr %12, align 8
%88 = load i64, ptr %6, align 8
%89 = udiv i64 %87, %88
store i64 %89, ptr %14, align 8
%90 = load i64, ptr %12, align 8
%91 = load i64, ptr %11, align 8
%92 = icmp ugt i64 %90, %91
br i1 %92, label %93, label %99
93: ; preds = %66
%94 = load i64, ptr %12, align 8
%95 = load i64, ptr %14, align 8
%96 = load i64, ptr %6, align 8
%97 = mul i64 %95, %96
%98 = icmp eq i64 %94, %97
br label %99
99: ; preds = %93, %66
%100 = phi i1 [ false, %66 ], [ %98, %93 ]
%101 = zext i1 %100 to i32
%102 = call i32 @assert(i32 noundef %101)
br label %103
103: ; preds = %109, %99
%104 = load i64, ptr %14, align 8
%105 = load i64, ptr %10, align 8
%106 = call i32 @is_fastdiv(i64 noundef %104, i64 noundef %105)
%107 = icmp ne i32 %106, 0
%108 = xor i1 %107, true
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i64, ptr %14, align 8
%111 = add i64 %110, -1
store i64 %111, ptr %14, align 8
br label %103, !llvm.loop !6
112: ; preds = %103
%113 = load i64, ptr %14, align 8
%114 = sub i64 %113, 1
%115 = load i64, ptr %6, align 8
%116 = mul i64 %114, %115
%117 = uitofp i64 %116 to double
%118 = load double, ptr %7, align 8
%119 = fdiv double %117, %118
%120 = fptoui double %119 to i64
store i64 %120, ptr %13, align 8
br label %121
121: ; preds = %135, %112
%122 = load i64, ptr %13, align 8
%123 = load i64, ptr %11, align 8
%124 = icmp ule i64 %122, %123
br i1 %124, label %125, label %133
125: ; preds = %121
%126 = load i64, ptr %13, align 8
%127 = load i64, ptr %6, align 8
%128 = call i64 @graph_nverts(i64 noundef %126, i64 noundef %127)
%129 = load i64, ptr %14, align 8
%130 = load i64, ptr %6, align 8
%131 = mul i64 %129, %130
%132 = icmp ule i64 %128, %131
br label %133
133: ; preds = %125, %121
%134 = phi i1 [ false, %121 ], [ %132, %125 ]
br i1 %134, label %135, label %138
135: ; preds = %133
%136 = load i64, ptr %13, align 8
%137 = add i64 %136, 1
store i64 %137, ptr %13, align 8
br label %121, !llvm.loop !8
138: ; preds = %133
%139 = load i64, ptr %13, align 8
%140 = add i64 %139, -1
store i64 %140, ptr %13, align 8
%141 = load i64, ptr %14, align 8
%142 = call i32 @printf(ptr noundef @.str.2, i64 noundef %141)
%143 = load i64, ptr %13, align 8
%144 = call i32 @printf(ptr noundef @.str.3, i64 noundef %143)
%145 = load i64, ptr %11, align 8
%146 = call i32 @printf(ptr noundef @.str.4, i64 noundef %145)
%147 = load i64, ptr %12, align 8
%148 = call i32 @printf(ptr noundef @.str.5, i64 noundef %147)
%149 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %149, ptr %3, align 4
br label %150
150: ; preds = %138, %62, %52
%151 = load i32, ptr %3, align 4
ret i32 %151
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @calc_max_nkeys(i64 noundef, i64 noundef) #1
declare i64 @graph_nverts(i64 noundef, i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @is_fastdiv(i64 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyoybtj5s.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"wrong number of hash bits (argument #2)\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"rank can only be 2 or 3 (argument #1)\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"max fastdiv 0x%08zx\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"max fastdiv nkeys 0x%08zx\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"max nkeys 0x%08zx\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"max nverts 0x%08zx\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strtol(ptr noundef %20, ptr noundef null, i32 noundef 10)
br label %23
22: ; preds = %2
br label %23
23: ; preds = %22, %17
%24 = phi i32 [ %21, %17 ], [ 2, %22 ]
%25 = sext i32 %24 to i64
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp eq i64 %26, 2
%28 = zext i1 %27 to i64
%29 = select i1 %27, double 2.125000e+00, double 1.250000e+00
store double %29, ptr %7, align 8
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %30, 2
br i1 %31, label %32, label %37
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strtol(ptr noundef %35, ptr noundef null, i32 noundef 10)
br label %38
37: ; preds = %23
br label %38
38: ; preds = %37, %32
%39 = phi i32 [ %36, %32 ], [ 128, %37 ]
%40 = sext i32 %39 to i64
store i64 %40, ptr %8, align 8
%41 = load i64, ptr %8, align 8
%42 = icmp ne i64 %41, 32
br i1 %42, label %43, label %56
43: ; preds = %38
%44 = load i64, ptr %8, align 8
%45 = icmp ne i64 %44, 64
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = load i64, ptr %8, align 8
%48 = icmp ne i64 %47, 96
br i1 %48, label %49, label %56
49: ; preds = %46
%50 = load i64, ptr %8, align 8
%51 = icmp ne i64 %50, 128
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr @stderr, align 4
%54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str)
%55 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %55, ptr %3, align 4
br label %154
56: ; preds = %49, %46, %43, %38
%57 = load i64, ptr %6, align 8
%58 = icmp slt i64 %57, 2
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load i64, ptr %6, align 8
%61 = icmp sgt i64 %60, 3
br i1 %61, label %62, label %66
62: ; preds = %59, %56
%63 = load i32, ptr @stderr, align 4
%64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.1)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %154
66: ; preds = %59
%67 = load i64, ptr %8, align 8
%68 = load i64, ptr %6, align 8
%69 = mul nsw i64 %68, 32
%70 = icmp sge i64 %67, %69
%71 = zext i1 %70 to i32
store i32 %71, ptr %9, align 4
%72 = load i32, ptr @CHAR_BIT, align 4
%73 = sext i32 %72 to i64
%74 = mul i64 4, %73
%75 = load i32, ptr %9, align 4
%76 = icmp ne i32 %75, 0
%77 = xor i1 %76, true
%78 = zext i1 %77 to i32
%79 = sext i32 %78 to i64
%80 = sub i64 %74, %79
store i64 %80, ptr %10, align 8
%81 = load i64, ptr %8, align 8
%82 = load i64, ptr %6, align 8
%83 = call i64 @calc_max_nkeys(i64 noundef %81, i64 noundef %82)
store i64 %83, ptr %11, align 8
%84 = load i64, ptr %11, align 8
%85 = load i64, ptr %6, align 8
%86 = call i64 @graph_nverts(i64 noundef %84, i64 noundef %85)
store i64 %86, ptr %12, align 8
%87 = load i64, ptr %12, align 8
%88 = load i64, ptr %6, align 8
%89 = udiv i64 %87, %88
store i64 %89, ptr %14, align 8
%90 = load i64, ptr %12, align 8
%91 = load i64, ptr %11, align 8
%92 = icmp ugt i64 %90, %91
br i1 %92, label %93, label %99
93: ; preds = %66
%94 = load i64, ptr %12, align 8
%95 = load i64, ptr %14, align 8
%96 = load i64, ptr %6, align 8
%97 = mul i64 %95, %96
%98 = icmp eq i64 %94, %97
br label %99
99: ; preds = %93, %66
%100 = phi i1 [ false, %66 ], [ %98, %93 ]
%101 = zext i1 %100 to i32
%102 = call i32 @assert(i32 noundef %101)
%103 = load i64, ptr %14, align 8
%104 = load i64, ptr %10, align 8
%105 = call i32 @is_fastdiv(i64 noundef %103, i64 noundef %104)
%106 = icmp ne i32 %105, 0
%107 = xor i1 %106, true
br i1 %107, label %.lr.ph, label %116
.lr.ph: ; preds = %99
br label %108
108: ; preds = %.lr.ph, %108
%109 = load i64, ptr %14, align 8
%110 = add i64 %109, -1
store i64 %110, ptr %14, align 8
%111 = load i64, ptr %14, align 8
%112 = load i64, ptr %10, align 8
%113 = call i32 @is_fastdiv(i64 noundef %111, i64 noundef %112)
%114 = icmp ne i32 %113, 0
%115 = xor i1 %114, true
br i1 %115, label %108, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %108
br label %116
116: ; preds = %._crit_edge, %99
%117 = load i64, ptr %14, align 8
%118 = sub i64 %117, 1
%119 = load i64, ptr %6, align 8
%120 = mul i64 %118, %119
%121 = uitofp i64 %120 to double
%122 = load double, ptr %7, align 8
%123 = fdiv double %121, %122
%124 = fptoui double %123 to i64
store i64 %124, ptr %13, align 8
br label %125
125: ; preds = %139, %116
%126 = load i64, ptr %13, align 8
%127 = load i64, ptr %11, align 8
%128 = icmp ule i64 %126, %127
br i1 %128, label %129, label %137
129: ; preds = %125
%130 = load i64, ptr %13, align 8
%131 = load i64, ptr %6, align 8
%132 = call i64 @graph_nverts(i64 noundef %130, i64 noundef %131)
%133 = load i64, ptr %14, align 8
%134 = load i64, ptr %6, align 8
%135 = mul i64 %133, %134
%136 = icmp ule i64 %132, %135
br label %137
137: ; preds = %129, %125
%138 = phi i1 [ false, %125 ], [ %136, %129 ]
br i1 %138, label %139, label %142
139: ; preds = %137
%140 = load i64, ptr %13, align 8
%141 = add i64 %140, 1
store i64 %141, ptr %13, align 8
br label %125, !llvm.loop !8
142: ; preds = %137
%143 = load i64, ptr %13, align 8
%144 = add i64 %143, -1
store i64 %144, ptr %13, align 8
%145 = load i64, ptr %14, align 8
%146 = call i32 @printf(ptr noundef @.str.2, i64 noundef %145)
%147 = load i64, ptr %13, align 8
%148 = call i32 @printf(ptr noundef @.str.3, i64 noundef %147)
%149 = load i64, ptr %11, align 8
%150 = call i32 @printf(ptr noundef @.str.4, i64 noundef %149)
%151 = load i64, ptr %12, align 8
%152 = call i32 @printf(ptr noundef @.str.5, i64 noundef %151)
%153 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %153, ptr %3, align 4
br label %154
154: ; preds = %142, %62, %52
%155 = load i32, ptr %3, align 4
ret i32 %155
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @calc_max_nkeys(i64 noundef, i64 noundef) #1
declare i64 @graph_nverts(i64 noundef, i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @is_fastdiv(i64 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpspz3u18s.c'
source_filename = "/tmp/tmpspz3u18s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaCs2c6(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6) #0 {
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
store float %0, ptr %8, align 4
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%26 = load float, ptr %8, align 4
%27 = fpext float %26 to double
store double %27, ptr %15, align 8
%28 = load float, ptr %9, align 4
%29 = fpext float %28 to double
store double %29, ptr %16, align 8
%30 = load double, ptr %15, align 8
%31 = call i64 @sin(double noundef %30)
%32 = sitofp i64 %31 to float
store float %32, ptr %17, align 4
%33 = load double, ptr %15, align 8
%34 = call i64 @cos(double noundef %33)
%35 = sitofp i64 %34 to float
store float %35, ptr %18, align 4
%36 = load double, ptr %16, align 8
%37 = call i64 @sin(double noundef %36)
%38 = sitofp i64 %37 to float
store float %38, ptr %19, align 4
%39 = load double, ptr %16, align 8
%40 = call i64 @cos(double noundef %39)
%41 = sitofp i64 %40 to float
store float %41, ptr %20, align 4
%42 = load float, ptr %10, align 4
%43 = load float, ptr %20, align 4
%44 = fmul float %42, %43
store float %44, ptr %21, align 4
%45 = load float, ptr %21, align 4
%46 = load float, ptr %18, align 4
%47 = fmul float %45, %46
store float %47, ptr %22, align 4
%48 = load float, ptr %21, align 4
%49 = load float, ptr %17, align 4
%50 = fmul float %48, %49
store float %50, ptr %23, align 4
%51 = load float, ptr %10, align 4
%52 = load float, ptr %12, align 4
%53 = fmul float %51, %52
store float %53, ptr %24, align 4
%54 = load float, ptr %24, align 4
%55 = load float, ptr %19, align 4
%56 = load float, ptr %20, align 4
%57 = load float, ptr %13, align 4
%58 = fmul float %56, %57
%59 = fneg float %58
%60 = call float @llvm.fmuladd.f32(float %54, float %55, float %59)
store float %60, ptr %25, align 4
%61 = load float, ptr %22, align 4
%62 = load ptr, ptr %14, align 8
%63 = getelementptr inbounds float, ptr %62, i64 0
store float %61, ptr %63, align 4
%64 = load float, ptr %23, align 4
%65 = load ptr, ptr %14, align 8
%66 = getelementptr inbounds float, ptr %65, i64 1
store float %64, ptr %66, align 4
%67 = load float, ptr %10, align 4
%68 = load float, ptr %19, align 4
%69 = fmul float %67, %68
%70 = load ptr, ptr %14, align 8
%71 = getelementptr inbounds float, ptr %70, i64 2
store float %69, ptr %71, align 4
%72 = load float, ptr %23, align 4
%73 = fneg float %72
%74 = load float, ptr %11, align 4
%75 = load float, ptr %25, align 4
%76 = load float, ptr %18, align 4
%77 = fmul float %75, %76
%78 = fneg float %77
%79 = call float @llvm.fmuladd.f32(float %73, float %74, float %78)
%80 = load ptr, ptr %14, align 8
%81 = getelementptr inbounds float, ptr %80, i64 3
store float %79, ptr %81, align 4
%82 = load float, ptr %22, align 4
%83 = load float, ptr %11, align 4
%84 = load float, ptr %25, align 4
%85 = load float, ptr %17, align 4
%86 = fmul float %84, %85
%87 = fneg float %86
%88 = call float @llvm.fmuladd.f32(float %82, float %83, float %87)
%89 = load ptr, ptr %14, align 8
%90 = getelementptr inbounds float, ptr %89, i64 4
store float %88, ptr %90, align 4
%91 = load float, ptr %24, align 4
%92 = load float, ptr %20, align 4
%93 = load float, ptr %19, align 4
%94 = load float, ptr %13, align 4
%95 = fmul float %93, %94
%96 = call float @llvm.fmuladd.f32(float %91, float %92, float %95)
%97 = load ptr, ptr %14, align 8
%98 = getelementptr inbounds float, ptr %97, i64 5
store float %96, ptr %98, align 4
ret void
}
declare i64 @sin(double noundef) #1
declare i64 @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpspz3u18s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaCs2c6(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6) #0 {
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
store float %0, ptr %8, align 4
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%26 = load float, ptr %8, align 4
%27 = fpext float %26 to double
store double %27, ptr %15, align 8
%28 = load float, ptr %9, align 4
%29 = fpext float %28 to double
store double %29, ptr %16, align 8
%30 = load double, ptr %15, align 8
%31 = call i64 @sin(double noundef %30)
%32 = sitofp i64 %31 to float
store float %32, ptr %17, align 4
%33 = load double, ptr %15, align 8
%34 = call i64 @cos(double noundef %33)
%35 = sitofp i64 %34 to float
store float %35, ptr %18, align 4
%36 = load double, ptr %16, align 8
%37 = call i64 @sin(double noundef %36)
%38 = sitofp i64 %37 to float
store float %38, ptr %19, align 4
%39 = load double, ptr %16, align 8
%40 = call i64 @cos(double noundef %39)
%41 = sitofp i64 %40 to float
store float %41, ptr %20, align 4
%42 = load float, ptr %10, align 4
%43 = load float, ptr %20, align 4
%44 = fmul float %42, %43
store float %44, ptr %21, align 4
%45 = load float, ptr %21, align 4
%46 = load float, ptr %18, align 4
%47 = fmul float %45, %46
store float %47, ptr %22, align 4
%48 = load float, ptr %21, align 4
%49 = load float, ptr %17, align 4
%50 = fmul float %48, %49
store float %50, ptr %23, align 4
%51 = load float, ptr %10, align 4
%52 = load float, ptr %12, align 4
%53 = fmul float %51, %52
store float %53, ptr %24, align 4
%54 = load float, ptr %24, align 4
%55 = load float, ptr %19, align 4
%56 = load float, ptr %20, align 4
%57 = load float, ptr %13, align 4
%58 = fmul float %56, %57
%59 = fneg float %58
%60 = call float @llvm.fmuladd.f32(float %54, float %55, float %59)
store float %60, ptr %25, align 4
%61 = load float, ptr %22, align 4
%62 = load ptr, ptr %14, align 8
%63 = getelementptr inbounds float, ptr %62, i64 0
store float %61, ptr %63, align 4
%64 = load float, ptr %23, align 4
%65 = load ptr, ptr %14, align 8
%66 = getelementptr inbounds float, ptr %65, i64 1
store float %64, ptr %66, align 4
%67 = load float, ptr %10, align 4
%68 = load float, ptr %19, align 4
%69 = fmul float %67, %68
%70 = load ptr, ptr %14, align 8
%71 = getelementptr inbounds float, ptr %70, i64 2
store float %69, ptr %71, align 4
%72 = load float, ptr %23, align 4
%73 = fneg float %72
%74 = load float, ptr %11, align 4
%75 = load float, ptr %25, align 4
%76 = load float, ptr %18, align 4
%77 = fmul float %75, %76
%78 = fneg float %77
%79 = call float @llvm.fmuladd.f32(float %73, float %74, float %78)
%80 = load ptr, ptr %14, align 8
%81 = getelementptr inbounds float, ptr %80, i64 3
store float %79, ptr %81, align 4
%82 = load float, ptr %22, align 4
%83 = load float, ptr %11, align 4
%84 = load float, ptr %25, align 4
%85 = load float, ptr %17, align 4
%86 = fmul float %84, %85
%87 = fneg float %86
%88 = call float @llvm.fmuladd.f32(float %82, float %83, float %87)
%89 = load ptr, ptr %14, align 8
%90 = getelementptr inbounds float, ptr %89, i64 4
store float %88, ptr %90, align 4
%91 = load float, ptr %24, align 4
%92 = load float, ptr %20, align 4
%93 = load float, ptr %19, align 4
%94 = load float, ptr %13, align 4
%95 = fmul float %93, %94
%96 = call float @llvm.fmuladd.f32(float %91, float %92, float %95)
%97 = load ptr, ptr %14, align 8
%98 = getelementptr inbounds float, ptr %97, i64 5
store float %96, ptr %98, align 4
ret void
}
declare i64 @sin(double noundef) #1
declare i64 @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi0i9gxq_.c'
source_filename = "/tmp/tmpi0i9gxq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is cmd1!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi0i9gxq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is cmd1!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgq_i4f9m.c'
source_filename = "/tmp/tmpgq_i4f9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"fft_mixed_radix_test -- test mixed-radix DFTs, compare to slow DFT method\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"options (default values in []):\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" h : print usage/help\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c" n : fft size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgq_i4f9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"fft_mixed_radix_test -- test mixed-radix DFTs, compare to slow DFT method\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"options (default values in []):\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" h : print usage/help\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c" n : fft size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwca1lesc.c'
source_filename = "/tmp/tmpwca1lesc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alt_getchar() #0 {
%1 = call i32 (...) @getchar()
ret i32 %1
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwca1lesc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alt_getchar() #0 {
%1 = call i32 (...) @getchar()
ret i32 %1
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvepkid7h.c'
source_filename = "/tmp/tmpvepkid7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sweep_set_standard_start(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [2 x i32], align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
store i32 0, ptr %8, align 4
%9 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @_ada_use_c2phc4c(i32 noundef 618, ptr noundef %9, ptr noundef %3, ptr noundef %10, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvepkid7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sweep_set_standard_start(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [2 x i32], align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
store i32 0, ptr %8, align 4
%9 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @_ada_use_c2phc4c(i32 noundef 618, ptr noundef %9, ptr noundef %3, ptr noundef %10, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvfjxngpz.c'
source_filename = "/tmp/tmpvfjxngpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpvfjxngpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwihq6j7b.c'
source_filename = "/tmp/tmpwihq6j7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.c = private unnamed_addr constant [4 x i8] c"abcd", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [4 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.c, i64 4, i1 false)
%2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @perm(ptr noundef %2, i32 noundef 4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @perm(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/tmpwihq6j7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.c = private unnamed_addr constant [4 x i8] c"abcd", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [4 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.c, i64 4, i1 false)
%2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @perm(ptr noundef %2, i32 noundef 4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @perm(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/tmpuq3ylu5e.c'
source_filename = "/tmp/tmpuq3ylu5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"192.168.1.88\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"inet_pton: AF_INET error\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"sock_ntop error\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"after sock_ntop: str = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @AF_INET, align 4
%5 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %4, ptr %5, align 4
%6 = call i32 @htons(i32 noundef 12345)
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%10 = call i64 @inet_pton(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = icmp sle i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %22
14: ; preds = %0
%15 = call ptr @sock_ntop(ptr noundef %3, i32 noundef 12)
store ptr %15, ptr %2, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %22
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = call i32 @printf(ptr noundef @.str.3, ptr noundef %20)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %19, %17, %12
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @htons(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @sock_ntop(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuq3ylu5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"192.168.1.88\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"inet_pton: AF_INET error\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"sock_ntop error\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"after sock_ntop: str = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @AF_INET, align 4
%5 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %4, ptr %5, align 4
%6 = call i32 @htons(i32 noundef 12345)
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%10 = call i64 @inet_pton(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = icmp sle i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %22
14: ; preds = %0
%15 = call ptr @sock_ntop(ptr noundef %3, i32 noundef 12)
store ptr %15, ptr %2, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %22
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = call i32 @printf(ptr noundef @.str.3, ptr noundef %20)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %19, %17, %12
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @htons(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @sock_ntop(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz8288pzo.c'
source_filename = "/tmp/tmpz8288pzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %87, %5
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %90
16: ; preds = %12
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp slt i32 %21, 20
br i1 %22, label %23, label %75
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp slt i32 %28, %33
br i1 %34, label %35, label %41
35: ; preds = %23
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
br label %47
41: ; preds = %23
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
br label %47
47: ; preds = %41, %35
%48 = phi i32 [ %40, %35 ], [ %46, %41 ]
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = icmp slt i32 %53, %58
br i1 %59, label %60, label %66
60: ; preds = %47
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
br label %72
66: ; preds = %47
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
br label %72
72: ; preds = %66, %60
%73 = phi i32 [ %65, %60 ], [ %71, %66 ]
%74 = sub nsw i32 %48, %73
br label %81
75: ; preds = %16
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %11, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
br label %81
81: ; preds = %75, %72
%82 = phi i32 [ %74, %72 ], [ %80, %75 ]
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store i32 %82, ptr %86, align 4
br label %87
87: ; preds = %81
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %11, align 4
br label %12, !llvm.loop !6
90: ; preds = %12
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/tmpz8288pzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %92
.lr.ph: ; preds = %5
br label %15
15: ; preds = %.lr.ph, %86
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp slt i32 %20, 20
br i1 %21, label %22, label %74
22: ; preds = %15
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp slt i32 %27, %32
br i1 %33, label %34, label %40
34: ; preds = %22
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
br label %46
40: ; preds = %22
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
br label %46
46: ; preds = %40, %34
%47 = phi i32 [ %39, %34 ], [ %45, %40 ]
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp slt i32 %52, %57
br i1 %58, label %59, label %65
59: ; preds = %46
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
br label %71
65: ; preds = %46
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
br label %71
71: ; preds = %65, %59
%72 = phi i32 [ %64, %59 ], [ %70, %65 ]
%73 = sub nsw i32 %47, %72
br label %80
74: ; preds = %15
%75 = load ptr, ptr %9, align 8
%76 = load i32, ptr %11, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
%79 = load i32, ptr %78, align 4
br label %80
80: ; preds = %74, %71
%81 = phi i32 [ %73, %71 ], [ %79, %74 ]
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %11, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
store i32 %81, ptr %85, align 4
br label %86
86: ; preds = %80
%87 = load i32, ptr %11, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %11, align 4
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %10, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %92
92: ; preds = %._crit_edge, %5
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/tmpd30i_lku.c'
source_filename = "/tmp/tmpd30i_lku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @itoa(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 100)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 100, ptr noundef @.str, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(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/tmpd30i_lku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @itoa(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 100)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 100, ptr noundef @.str, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(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/tmpabycbscb.c'
source_filename = "/tmp/tmpabycbscb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%c %s %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [6 x i8], align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 97, ptr %2, align 1
store i8 122, ptr %4, align 1
%5 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 -1
store i8 88, ptr %7, align 1
%8 = load i8, ptr %2, align 1
%9 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%10 = load i8, ptr %4, align 1
%11 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %8, ptr noundef %9, i8 noundef signext %10)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabycbscb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%c %s %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [6 x i8], align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 97, ptr %2, align 1
store i8 122, ptr %4, align 1
%5 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 -1
store i8 88, ptr %7, align 1
%8 = load i8, ptr %2, align 1
%9 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%10 = load i8, ptr %4, align 1
%11 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %8, ptr noundef %9, i8 noundef signext %10)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyseblc0q.c'
source_filename = "/tmp/tmpyseblc0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"---- \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @format2_line_type3() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 16
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyseblc0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"---- \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @format2_line_type3() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 16
br i1 %3, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %6
%5 = call i32 @printf(ptr noundef @.str)
br label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %9, 16
br i1 %10, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
%12 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbze73a80.c'
source_filename = "/tmp/tmpbze73a80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @lrand() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i64 (...) @rand()
%4 = shl i64 %3, 28
%5 = call i64 (...) @rand()
%6 = or i64 %4, %5
ret i64 %6
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbze73a80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @lrand() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i64 (...) @rand()
%4 = shl i64 %3, 28
%5 = call i64 (...) @rand()
%6 = or i64 %4, %5
ret i64 %6
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppi8nw5_p.c'
source_filename = "/tmp/tmppi8nw5_p.c"
target datalayout = "e-m:e-p270: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_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_TRIANGLES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = call i32 @glClearColor(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%2 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%3 = call i32 @glClear(i32 noundef %2)
%4 = load i32, ptr @GL_TRIANGLES, align 4
%5 = call i32 @glBegin(i32 noundef %4)
%6 = call i32 @glColor3f(i32 noundef 1, i32 noundef 0, i32 noundef 0)
%7 = call i32 @glVertex2f(double noundef 0.000000e+00, double noundef 0.000000e+00)
%8 = call i32 @glColor3f(i32 noundef 0, i32 noundef 1, i32 noundef 0)
%9 = call i32 @glVertex2f(double noundef 5.000000e-01, double noundef 0.000000e+00)
%10 = call i32 @glColor3f(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%11 = call i32 @glVertex2f(double noundef 5.000000e-01, double noundef 5.000000e-01)
%12 = call i32 (...) @glEnd()
%13 = call i32 (...) @glutSwapBuffers()
ret void
}
declare i32 @glClearColor(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glClear(i32 noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glColor3f(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glVertex2f(double noundef, double noundef) #1
declare i32 @glEnd(...) #1
declare i32 @glutSwapBuffers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppi8nw5_p.c"
target datalayout = "e-m:e-p270: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_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_TRIANGLES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = call i32 @glClearColor(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%2 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%3 = call i32 @glClear(i32 noundef %2)
%4 = load i32, ptr @GL_TRIANGLES, align 4
%5 = call i32 @glBegin(i32 noundef %4)
%6 = call i32 @glColor3f(i32 noundef 1, i32 noundef 0, i32 noundef 0)
%7 = call i32 @glVertex2f(double noundef 0.000000e+00, double noundef 0.000000e+00)
%8 = call i32 @glColor3f(i32 noundef 0, i32 noundef 1, i32 noundef 0)
%9 = call i32 @glVertex2f(double noundef 5.000000e-01, double noundef 0.000000e+00)
%10 = call i32 @glColor3f(i32 noundef 0, i32 noundef 0, i32 noundef 1)
%11 = call i32 @glVertex2f(double noundef 5.000000e-01, double noundef 5.000000e-01)
%12 = call i32 (...) @glEnd()
%13 = call i32 (...) @glutSwapBuffers()
ret void
}
declare i32 @glClearColor(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glClear(i32 noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glColor3f(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glVertex2f(double noundef, double noundef) #1
declare i32 @glEnd(...) #1
declare i32 @glutSwapBuffers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxnemjrdc.c'
source_filename = "/tmp/tmpxnemjrdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 600, ptr %8, align 4
store ptr null, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 3
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load i32, ptr @AF_UNIX, align 4
%18 = load i32, ptr @SOCK_SEQPACKET, align 4
%19 = load i32, ptr @IPPROTO_UDP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %21
21: ; preds = %34, %2
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %37
25: ; preds = %21
%26 = load i32, ptr %8, align 4
%27 = call ptr @svcudp_create(i32 noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr %11, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %11, align 4
br label %33
33: ; preds = %30, %25
br label %34
34: ; preds = %33
%35 = load i32, ptr %12, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %12, align 4
br label %21, !llvm.loop !6
37: ; preds = %21
%38 = load i32, ptr %6, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %45
40: ; preds = %37
%41 = load i32, ptr %10, align 4
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
%43 = load i32, ptr %11, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43)
br label %45
45: ; preds = %40, %37
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp eq i32 %46, %47
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 0, i32 1
store i32 %50, ptr %7, align 4
%51 = load ptr, ptr %9, align 8
%52 = call i32 @svc_destroy(ptr noundef %51)
%53 = load i32, ptr %7, align 4
%54 = call i32 @printf(ptr noundef @.str.2, i32 noundef %53)
%55 = load i32, ptr %7, align 4
ret i32 %55
}
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @svcudp_create(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @svc_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxnemjrdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 600, ptr %8, align 4
store ptr null, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 3
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load i32, ptr @AF_UNIX, align 4
%18 = load i32, ptr @SOCK_SEQPACKET, align 4
%19 = load i32, ptr @IPPROTO_UDP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
store i32 0, ptr %12, align 4
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %24
24: ; preds = %.lr.ph, %33
%25 = load i32, ptr %8, align 4
%26 = call ptr @svcudp_create(i32 noundef %25)
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %11, align 4
br label %32
32: ; preds = %29, %24
br label %33
33: ; preds = %32
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %11, align 4
%46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45)
br label %47
47: ; preds = %42, %39
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
%51 = zext i1 %50 to i64
%52 = select i1 %50, i32 0, i32 1
store i32 %52, ptr %7, align 4
%53 = load ptr, ptr %9, align 8
%54 = call i32 @svc_destroy(ptr noundef %53)
%55 = load i32, ptr %7, align 4
%56 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @svcudp_create(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @svc_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdy1lcay2.c'
source_filename = "/tmp/tmpdy1lcay2.c"
target datalayout = "e-m:e-p270: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/tmpdy1lcay2.c"
target datalayout = "e-m:e-p270: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/tmpx_7kie_l.c'
source_filename = "/tmp/tmpx_7kie_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swift_idflash_clear() #0 {
%1 = alloca i64, align 8
store i64 0, ptr %1, align 8
br label %2
2: ; preds = %11, %0
%3 = load i64, ptr %1, align 8
%4 = icmp ult i64 %3, 8192
br i1 %4, label %5, label %14
5: ; preds = %2
%6 = load i64, ptr %1, align 8
%7 = shl i64 %6, 1
%8 = call i32 @swift_inv_insn_tag(i64 noundef %7)
%9 = load i64, ptr %1, align 8
%10 = call i32 @swift_inv_data_tag(i64 noundef %9)
br label %11
11: ; preds = %5
%12 = load i64, ptr %1, align 8
%13 = add i64 %12, 16
store i64 %13, ptr %1, align 8
br label %2, !llvm.loop !6
14: ; preds = %2
ret void
}
declare i32 @swift_inv_insn_tag(i64 noundef) #1
declare i32 @swift_inv_data_tag(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_7kie_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swift_idflash_clear() #0 {
%1 = alloca i64, align 8
store i64 0, ptr %1, align 8
%2 = load i64, ptr %1, align 8
%3 = icmp ult i64 %2, 8192
br i1 %3, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %10
%5 = load i64, ptr %1, align 8
%6 = shl i64 %5, 1
%7 = call i32 @swift_inv_insn_tag(i64 noundef %6)
%8 = load i64, ptr %1, align 8
%9 = call i32 @swift_inv_data_tag(i64 noundef %8)
br label %10
10: ; preds = %4
%11 = load i64, ptr %1, align 8
%12 = add i64 %11, 16
store i64 %12, ptr %1, align 8
%13 = load i64, ptr %1, align 8
%14 = icmp ult i64 %13, 8192
br i1 %14, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
ret void
}
declare i32 @swift_inv_insn_tag(i64 noundef) #1
declare i32 @swift_inv_data_tag(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp86rx8ixx.c'
source_filename = "/tmp/tmp86rx8ixx.c"
target datalayout = "e-m:e-p270: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/tmp86rx8ixx.c"
target datalayout = "e-m:e-p270: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_erc45ij.c'
source_filename = "/tmp/tmp_erc45ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eor\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r1\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"r0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dp_5_check(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call ptr (...) @createStringArray()
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @splitString(ptr noundef %8, ptr noundef %9, ptr noundef %4)
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
store i32 %17, ptr %5, align 4
store i32 0, ptr %6, align 4
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %1
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.2)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %54
29: ; preds = %23, %1
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %29
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.2)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %54
41: ; preds = %35, %29
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 3
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.1)
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.2)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %47, %41
store i32 1, ptr %6, align 4
br label %54
54: ; preds = %53, %47, %35, %23
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %5, align 4
%57 = mul nsw i32 %55, %56
ret i32 %57
}
declare ptr @createStringArray(...) #1
declare i32 @splitString(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_erc45ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eor\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r1\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"r0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dp_5_check(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call ptr (...) @createStringArray()
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @splitString(ptr noundef %8, ptr noundef %9, ptr noundef %4)
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
store i32 %17, ptr %5, align 4
store i32 0, ptr %6, align 4
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %1
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.2)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %54
29: ; preds = %23, %1
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %29
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.2)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %54
41: ; preds = %35, %29
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 3
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.1)
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.2)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %47, %41
store i32 1, ptr %6, align 4
br label %54
54: ; preds = %53, %47, %35, %23
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %5, align 4
%57 = mul nsw i32 %55, %56
ret i32 %57
}
declare ptr @createStringArray(...) #1
declare i32 @splitString(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl11nwdsk.c'
source_filename = "/tmp/tmpl11nwdsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getline_my(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
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %21, %1
%6 = call i32 (...) @getchar()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 10
br label %12
12: ; preds = %9, %5
%13 = phi i1 [ false, %5 ], [ %11, %9 ]
br i1 %13, label %14, label %24
14: ; preds = %12
%15 = load i32, ptr %4, align 4
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
br label %21
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %5, !llvm.loop !6
24: ; preds = %12
ret void
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl11nwdsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getline_my(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
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %21, %1
%6 = call i32 (...) @getchar()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 10
br label %12
12: ; preds = %9, %5
%13 = phi i1 [ false, %5 ], [ %11, %9 ]
br i1 %13, label %14, label %24
14: ; preds = %12
%15 = load i32, ptr %4, align 4
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
br label %21
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %5, !llvm.loop !6
24: ; preds = %12
ret void
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp955490jy.c'
source_filename = "/tmp/tmp955490jy.c"
target datalayout = "e-m:e-p270: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 [418 x i8] c"Usage: bis [OPTION]... [FILE]\0A\0AOptions are:\0A -b SIZE[k] specify block size (default: 200k)\0A -c write to standard output\0A -d decompress\0A -h display this help message\0A -o OUTFILE specify output file\0A\0ABy default, append the .bis suffix when compressing and strip\0Ait when decompressing (if possible). If no input file is\0Aspecified, read standard input and write to standard output.\0A\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 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp955490jy.c"
target datalayout = "e-m:e-p270: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 [418 x i8] c"Usage: bis [OPTION]... [FILE]\0A\0AOptions are:\0A -b SIZE[k] specify block size (default: 200k)\0A -c write to standard output\0A -d decompress\0A -h display this help message\0A -o OUTFILE specify output file\0A\0ABy default, append the .bis suffix when compressing and strip\0Ait when decompressing (if possible). If no input file is\0Aspecified, read standard input and write to standard output.\0A\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 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpscn3xssw.c'
source_filename = "/tmp/tmpscn3xssw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x06\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x06() #0 {
%1 = call i64 @isodigit(i32 noundef 6)
%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 35, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpscn3xssw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x06\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x06() #0 {
%1 = call i64 @isodigit(i32 noundef 6)
%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 35, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp16_7e7xz.c'
source_filename = "/tmp/tmp16_7e7xz.c"
target datalayout = "e-m:e-p270: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/tmp16_7e7xz.c"
target datalayout = "e-m:e-p270: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/tmpfoi0xis_.c'
source_filename = "/tmp/tmpfoi0xis_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_kill_wrapper(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
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfoi0xis_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_kill_wrapper(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
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2qdoiyre.c'
source_filename = "/tmp/tmp2qdoiyre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmp2qdoiyre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmp8j97f61d.c'
source_filename = "/tmp/tmp8j97f61d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [73 x i8] c"defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"All hidden files and directories are visible now.\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.7 = private unnamed_addr constant [74 x i8] c"defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c"All hidden files and directories are invisible now.\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"-v\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"--version\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"hiddenfiles v1.1 - 10-23-2015\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %57
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14, %8
%21 = call i32 @system(ptr noundef @.str.2)
%22 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.4)
br label %56
23: ; preds = %14
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.5)
%28 = icmp eq i64 %27, 0
br i1 %28, label %35, label %29
29: ; preds = %23
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %29, %23
%36 = call i32 @system(ptr noundef @.str.7)
%37 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.8)
br label %55
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.9)
%43 = icmp eq i64 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %38
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 1
%47 = load ptr, ptr %46, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.10)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %44, %38
%51 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.11)
br label %54
52: ; preds = %44
%53 = call i32 (...) @show_error_message()
br label %54
54: ; preds = %52, %50
br label %55
55: ; preds = %54, %35
br label %56
56: ; preds = %55, %20
br label %59
57: ; preds = %2
%58 = call i32 (...) @show_error_message()
br label %59
59: ; preds = %57, %56
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @show_error_message(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8j97f61d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [73 x i8] c"defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"All hidden files and directories are visible now.\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.7 = private unnamed_addr constant [74 x i8] c"defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c"All hidden files and directories are invisible now.\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"-v\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"--version\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"hiddenfiles v1.1 - 10-23-2015\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %57
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14, %8
%21 = call i32 @system(ptr noundef @.str.2)
%22 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.4)
br label %56
23: ; preds = %14
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.5)
%28 = icmp eq i64 %27, 0
br i1 %28, label %35, label %29
29: ; preds = %23
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %29, %23
%36 = call i32 @system(ptr noundef @.str.7)
%37 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.8)
br label %55
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.9)
%43 = icmp eq i64 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %38
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 1
%47 = load ptr, ptr %46, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.10)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %44, %38
%51 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.11)
br label %54
52: ; preds = %44
%53 = call i32 (...) @show_error_message()
br label %54
54: ; preds = %52, %50
br label %55
55: ; preds = %54, %35
br label %56
56: ; preds = %55, %20
br label %59
57: ; preds = %2
%58 = call i32 (...) @show_error_message()
br label %59
59: ; preds = %57, %56
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @show_error_message(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpevppb2mr.c'
source_filename = "/tmp/tmpevppb2mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_ENCRYPT = 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/tmpevppb2mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_ENCRYPT = 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/tmplfwgswjt.c'
source_filename = "/tmp/tmplfwgswjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-scan/.libs/lt-fc-scan.c\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i64 @malloc(i64 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 311, ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i64 noundef) #1
declare i32 @lt_fatal(ptr 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/tmplfwgswjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-scan/.libs/lt-fc-scan.c\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i64 @malloc(i64 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 311, ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i64 noundef) #1
declare i32 @lt_fatal(ptr 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/tmpl0zdp4ii.c'
source_filename = "/tmp/tmpl0zdp4ii.c"
target datalayout = "e-m:e-p270: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/tmpl0zdp4ii.c"
target datalayout = "e-m:e-p270: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/tmpexk16nnk.c'
source_filename = "/tmp/tmpexk16nnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbgCalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 %6, %7
%9 = call ptr @dbgMalloc(i64 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = mul i64 %14, %15
%17 = call i32 @memset(ptr noundef %13, i32 noundef 0, i64 noundef %16)
br label %18
18: ; preds = %12, %2
%19 = load ptr, ptr %5, align 8
ret ptr %19
}
declare ptr @dbgMalloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexk16nnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbgCalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 %6, %7
%9 = call ptr @dbgMalloc(i64 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = mul i64 %14, %15
%17 = call i32 @memset(ptr noundef %13, i32 noundef 0, i64 noundef %16)
br label %18
18: ; preds = %12, %2
%19 = load ptr, ptr %5, align 8
ret ptr %19
}
declare ptr @dbgMalloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjavefaaj.c'
source_filename = "/tmp/tmpjavefaaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gauss() #0 {
%1 = call double (...) @drand48()
%2 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1, double -1.000000e+00)
ret double %2
}
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjavefaaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gauss() #0 {
%1 = call double (...) @drand48()
%2 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1, double -1.000000e+00)
ret double %2
}
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2tledg6z.c'
source_filename = "/tmp/tmp2tledg6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@port_to_str.portbuf = internal global [16 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @port_to_str(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 @snprintf(ptr noundef @port_to_str.portbuf, i32 noundef 16, ptr noundef @.str, i32 noundef %3)
ret ptr @port_to_str.portbuf
}
declare i32 @snprintf(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/tmp2tledg6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@port_to_str.portbuf = internal global [16 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @port_to_str(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 @snprintf(ptr noundef @port_to_str.portbuf, i32 noundef 16, ptr noundef @.str, i32 noundef %3)
ret ptr @port_to_str.portbuf
}
declare i32 @snprintf(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/tmpqtq7qwzd.c'
source_filename = "/tmp/tmpqtq7qwzd.c"
target datalayout = "e-m:e-p270: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/tmpqtq7qwzd.c"
target datalayout = "e-m:e-p270: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/tmpused_n74.c'
source_filename = "/tmp/tmpused_n74.c"
target datalayout = "e-m:e-p270: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/tmpused_n74.c"
target datalayout = "e-m:e-p270: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/tmpm4211tuw.c'
source_filename = "/tmp/tmpm4211tuw.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nsleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca %struct.timespec, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 1000000000
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 0, ptr %9, align 4
%10 = load i32, ptr %2, align 4
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %10, ptr %11, align 4
br label %19
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = sdiv i32 %13, 1000000000
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 1000000000
%18 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %17, ptr %18, align 4
br label %19
19: ; preds = %12, %8
br label %20
20: ; preds = %24, %19
%21 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %31
24: ; preds = %20
%25 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %26, ptr %27, align 4
%28 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %29, ptr %30, align 4
br label %20
31: ; preds = %20
ret void
}
declare i32 @nanosleep(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/tmpm4211tuw.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nsleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca %struct.timespec, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 1000000000
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 0, ptr %9, align 4
%10 = load i32, ptr %2, align 4
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %10, ptr %11, align 4
br label %19
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = sdiv i32 %13, 1000000000
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 1000000000
%18 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %17, ptr %18, align 4
br label %19
19: ; preds = %12, %8
%20 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %.lr.ph, label %33
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %23
%24 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
%28 = load i32, ptr %27, align 4
%29 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %28, ptr %29, align 4
%30 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4)
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %23, label %._crit_edge
._crit_edge: ; preds = %23
br label %33
33: ; preds = %._crit_edge, %19
ret void
}
declare i32 @nanosleep(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/tmp4dthb2tg.c'
source_filename = "/tmp/tmp4dthb2tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%e %e %e \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayPoints(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %32, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %35
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 %12, 3
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %11, i64 %14
%16 = load double, ptr %15, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = mul nsw i32 %18, 3
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %17, i64 %21
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = mul nsw i32 %25, 3
%27 = add nsw i32 %26, 2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %24, i64 %28
%30 = load double, ptr %29, align 8
%31 = call i32 @printf(ptr noundef @.str, double noundef %16, double noundef %23, double noundef %30)
br label %32
32: ; preds = %10
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %6, !llvm.loop !6
35: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4dthb2tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%e %e %e \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayPoints(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %31
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %11, 3
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %10, i64 %13
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = mul nsw i32 %17, 3
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %16, i64 %20
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = mul nsw i32 %24, 3
%26 = add nsw i32 %25, 2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %23, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 @printf(ptr noundef @.str, double noundef %15, double noundef %22, double noundef %29)
br label %31
31: ; preds = %9
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiva6bicq.c'
source_filename = "/tmp/tmpiva6bicq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter strings:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"/Users/chen/file\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"can't open file!\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"The new sequence :\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [3 x [10 x i8]], align 16
%4 = alloca [10 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %20, %0
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %23
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %16
%18 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0
%19 = call i32 @gets(ptr noundef %18)
br label %20
20: ; preds = %14
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %10, !llvm.loop !6
23: ; preds = %10
store i32 0, ptr %5, align 4
br label %24
24: ; preds = %81, %23
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %26, 1
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %84
29: ; preds = %24
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %33
33: ; preds = %51, %29
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %54
37: ; preds = %33
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %39
%41 = getelementptr inbounds [10 x i8], ptr %40, i64 0, i64 0
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %43
%45 = getelementptr inbounds [10 x i8], ptr %44, i64 0, i64 0
%46 = call i64 @strcmp(ptr noundef %41, ptr noundef %45)
%47 = icmp sgt i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %7, align 4
br label %50
50: ; preds = %48, %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
br label %33, !llvm.loop !8
54: ; preds = %33
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %80
58: ; preds = %54
%59 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %61
%63 = getelementptr inbounds [10 x i8], ptr %62, i64 0, i64 0
%64 = call i32 @strcpy(ptr noundef %59, ptr noundef %63)
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %66
%68 = getelementptr inbounds [10 x i8], ptr %67, i64 0, i64 0
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %70
%72 = getelementptr inbounds [10 x i8], ptr %71, i64 0, i64 0
%73 = call i32 @strcpy(ptr noundef %68, ptr noundef %72)
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %75
%77 = getelementptr inbounds [10 x i8], ptr %76, i64 0, i64 0
%78 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%79 = call i32 @strcpy(ptr noundef %77, ptr noundef %78)
br label %80
80: ; preds = %58, %54
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
br label %24, !llvm.loop !9
84: ; preds = %24
%85 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %85, ptr %2, align 8
%86 = icmp eq ptr %85, null
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%89 = call i32 @exit(i32 noundef 0) #3
unreachable
90: ; preds = %84
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
br label %92
92: ; preds = %110, %90
%93 = load i32, ptr %5, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %113
96: ; preds = %92
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %98
%100 = getelementptr inbounds [10 x i8], ptr %99, i64 0, i64 0
%101 = load ptr, ptr %2, align 8
%102 = call i32 @fputs(ptr noundef %100, ptr noundef %101)
%103 = load ptr, ptr %2, align 8
%104 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %103)
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %106
%108 = getelementptr inbounds [10 x i8], ptr %107, i64 0, i64 0
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %108)
br label %110
110: ; preds = %96
%111 = load i32, ptr %5, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %5, align 4
br label %92, !llvm.loop !10
113: ; preds = %92
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fputs(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiva6bicq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter strings:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"/Users/chen/file\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"can't open file!\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"The new sequence :\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [3 x [10 x i8]], align 16
%4 = alloca [10 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %19
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %15
%17 = getelementptr inbounds [10 x i8], ptr %16, i64 0, i64 0
%18 = call i32 @gets(ptr noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %.lr.ph5, label %91
.lr.ph5: ; preds = %25
br label %30
30: ; preds = %.lr.ph5, %84
%31 = load i32, ptr %5, align 4
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %57
.lr.ph2: ; preds = %30
br label %37
37: ; preds = %.lr.ph2, %51
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %39
%41 = getelementptr inbounds [10 x i8], ptr %40, i64 0, i64 0
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %43
%45 = getelementptr inbounds [10 x i8], ptr %44, i64 0, i64 0
%46 = call i64 @strcmp(ptr noundef %41, ptr noundef %45)
%47 = icmp sgt i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %7, align 4
br label %50
50: ; preds = %48, %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %57
57: ; preds = %._crit_edge3, %30
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %5, align 4
%60 = icmp ne i32 %58, %59
br i1 %60, label %61, label %83
61: ; preds = %57
%62 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %64
%66 = getelementptr inbounds [10 x i8], ptr %65, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %62, ptr noundef %66)
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %69
%71 = getelementptr inbounds [10 x i8], ptr %70, i64 0, i64 0
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %73
%75 = getelementptr inbounds [10 x i8], ptr %74, i64 0, i64 0
%76 = call i32 @strcpy(ptr noundef %71, ptr noundef %75)
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %78
%80 = getelementptr inbounds [10 x i8], ptr %79, i64 0, i64 0
%81 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%82 = call i32 @strcpy(ptr noundef %80, ptr noundef %81)
br label %83
83: ; preds = %61, %57
br label %84
84: ; preds = %83
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %88, 1
%90 = icmp slt i32 %87, %89
br i1 %90, label %30, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %84
br label %91
91: ; preds = %._crit_edge6, %25
%92 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %92, ptr %2, align 8
%93 = icmp eq ptr %92, null
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%96 = call i32 @exit(i32 noundef 0) #3
unreachable
97: ; preds = %91
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
%99 = load i32, ptr %5, align 4
%100 = load i32, ptr %8, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph8, label %122
.lr.ph8: ; preds = %97
br label %102
102: ; preds = %.lr.ph8, %116
%103 = load i32, ptr %5, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %104
%106 = getelementptr inbounds [10 x i8], ptr %105, i64 0, i64 0
%107 = load ptr, ptr %2, align 8
%108 = call i32 @fputs(ptr noundef %106, ptr noundef %107)
%109 = load ptr, ptr %2, align 8
%110 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %109)
%111 = load i32, ptr %5, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %112
%114 = getelementptr inbounds [10 x i8], ptr %113, i64 0, i64 0
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %114)
br label %116
116: ; preds = %102
%117 = load i32, ptr %5, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %5, align 4
%119 = load i32, ptr %5, align 4
%120 = load i32, ptr %8, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %102, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %116
br label %122
122: ; preds = %._crit_edge9, %97
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fputs(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8ynvgy7o.c'
source_filename = "/tmp/tmp8ynvgy7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_1() #0 {
%1 = call i32 (...) @dcl_rv()
%2 = call i32 (...) @dcl_rc()
%3 = call i32 (...) @dcl_rs()
%4 = call i32 (...) @dcl_ri()
%5 = call i32 (...) @dcl_rll()
%6 = call i32 (...) @dcl_rf()
%7 = call i32 (...) @dcl_rd()
%8 = call i32 (...) @dcl_rp()
ret void
}
declare i32 @dcl_rv(...) #1
declare i32 @dcl_rc(...) #1
declare i32 @dcl_rs(...) #1
declare i32 @dcl_ri(...) #1
declare i32 @dcl_rll(...) #1
declare i32 @dcl_rf(...) #1
declare i32 @dcl_rd(...) #1
declare i32 @dcl_rp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ynvgy7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_1() #0 {
%1 = call i32 (...) @dcl_rv()
%2 = call i32 (...) @dcl_rc()
%3 = call i32 (...) @dcl_rs()
%4 = call i32 (...) @dcl_ri()
%5 = call i32 (...) @dcl_rll()
%6 = call i32 (...) @dcl_rf()
%7 = call i32 (...) @dcl_rd()
%8 = call i32 (...) @dcl_rp()
ret void
}
declare i32 @dcl_rv(...) #1
declare i32 @dcl_rc(...) #1
declare i32 @dcl_rs(...) #1
declare i32 @dcl_ri(...) #1
declare i32 @dcl_rll(...) #1
declare i32 @dcl_rf(...) #1
declare i32 @dcl_rd(...) #1
declare i32 @dcl_rp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppb657p02.c'
source_filename = "/tmp/tmppb657p02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clk now %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time1_test() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @clock()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @clock(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppb657p02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clk now %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time1_test() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @clock()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @clock(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp49jk08ld.c'
source_filename = "/tmp/tmp49jk08ld.c"
target datalayout = "e-m:e-p270: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/tmp49jk08ld.c"
target datalayout = "e-m:e-p270: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/tmpr823u0xp.c'
source_filename = "/tmp/tmpr823u0xp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_letter_counts(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 26
br i1 %9, label %10, label %27
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp ne i32 %15, %20
br i1 %21, label %22, label %23
22: ; preds = %10
store i32 0, ptr %3, align 4
br label %28
23: ; preds = %10
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %27, %22
%29 = load i32, ptr %3, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr823u0xp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_letter_counts(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 26
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %23
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, 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 i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp ne i32 %14, %19
br i1 %20, label %21, label %22
21: ; preds = %9
store i32 0, ptr %3, align 4
br label %29
22: ; preds = %9
br label %23
23: ; preds = %22
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %29
29: ; preds = %28, %21
%30 = load i32, ptr %3, align 4
ret i32 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwkc63kuv.c'
source_filename = "/tmp/tmpwkc63kuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @EuclDistLog(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 ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @EuclDist(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = add nsw i64 %10, 1
%12 = call float @log(i64 noundef %11)
%13 = fmul float 1.000000e+05, %12
ret float %13
}
declare float @log(i64 noundef) #1
declare i64 @EuclDist(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/tmpwkc63kuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @EuclDistLog(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 ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @EuclDist(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = add nsw i64 %10, 1
%12 = call float @log(i64 noundef %11)
%13 = fmul float 1.000000e+05, %12
ret float %13
}
declare float @log(i64 noundef) #1
declare i64 @EuclDist(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/tmpdv24veyf.c'
source_filename = "/tmp/tmpdv24veyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"DPSP.L\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @C67_DPSP(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @C67_asm(ptr noundef @.str, i32 noundef 0, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @C67_asm(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdv24veyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"DPSP.L\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @C67_DPSP(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @C67_asm(ptr noundef @.str, i32 noundef 0, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @C67_asm(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqb214zqz.c'
source_filename = "/tmp/tmpqb214zqz.c"
target datalayout = "e-m:e-p270: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/tmpqb214zqz.c"
target datalayout = "e-m:e-p270: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/tmptqxhwu63.c'
source_filename = "/tmp/tmptqxhwu63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Gethostname error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Socket Error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"Connect Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_connect(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call ptr @gethostbyname(ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = icmp eq ptr null, %10
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %47
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %8, align 4
%19 = icmp eq i32 -1, %18
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr @errno, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %47
25: ; preds = %15
%26 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%27 = load i32, ptr @AF_INET, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @htons(i32 noundef %29)
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %30, ptr %31, align 4
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = inttoptr i64 %35 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %36, i64 4, i1 false)
%37 = load i32, ptr %8, align 4
%38 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef 4)
%39 = icmp eq i32 -1, %38
br i1 %39, label %40, label %45
40: ; preds = %25
%41 = load i32, ptr @stderr, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %43)
store i32 -1, ptr %3, align 4
br label %47
45: ; preds = %25
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %3, align 4
br label %47
47: ; preds = %45, %40, %20, %12
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(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 @connect(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" }
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/tmptqxhwu63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Gethostname error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Socket Error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"Connect Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_connect(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call ptr @gethostbyname(ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = icmp eq ptr null, %10
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %47
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %8, align 4
%19 = icmp eq i32 -1, %18
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr @errno, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %47
25: ; preds = %15
%26 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%27 = load i32, ptr @AF_INET, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @htons(i32 noundef %29)
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %30, ptr %31, align 4
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = inttoptr i64 %35 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %36, i64 4, i1 false)
%37 = load i32, ptr %8, align 4
%38 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef 4)
%39 = icmp eq i32 -1, %38
br i1 %39, label %40, label %45
40: ; preds = %25
%41 = load i32, ptr @stderr, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %43)
store i32 -1, ptr %3, align 4
br label %47
45: ; preds = %25
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %3, align 4
br label %47
47: ; preds = %45, %40, %20, %12
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(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 @connect(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" }
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/tmpsq253n1l.c'
source_filename = "/tmp/tmpsq253n1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"test_big_data.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"read %d lines\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 4, ptr %4, align 8
store ptr @.str, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call ptr @safe_fopen(ptr noundef %9, ptr noundef @.str.1)
store ptr %10, ptr %8, align 8
%11 = load i32, ptr @stdin, align 4
%12 = load i64, ptr %4, align 8
%13 = call i64 @read_data_single_col(i32 noundef %11, i64 noundef %12, ptr noundef %6)
store i64 %13, ptr %5, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @log_message(ptr noundef @.str.2, i64 noundef %14)
store i64 0, ptr %2, align 8
br label %16
16: ; preds = %26, %0
%17 = load i64, ptr %2, align 8
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %2, align 8
%23 = getelementptr inbounds double, ptr %21, i64 %22
%24 = load double, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str.3, double noundef %24)
br label %26
26: ; preds = %20
%27 = load i64, ptr %2, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %2, align 8
br label %16, !llvm.loop !6
29: ; preds = %16
%30 = load ptr, ptr %6, align 8
%31 = call i32 @free(ptr noundef %30)
%32 = load ptr, ptr %8, align 8
%33 = call i32 @fclose(ptr noundef %32)
ret i32 0
}
declare ptr @safe_fopen(ptr noundef, ptr noundef) #1
declare i64 @read_data_single_col(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @log_message(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsq253n1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"test_big_data.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"read %d lines\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 4, ptr %4, align 8
store ptr @.str, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call ptr @safe_fopen(ptr noundef %9, ptr noundef @.str.1)
store ptr %10, ptr %8, align 8
%11 = load i32, ptr @stdin, align 4
%12 = load i64, ptr %4, align 8
%13 = call i64 @read_data_single_col(i32 noundef %11, i64 noundef %12, ptr noundef %6)
store i64 %13, ptr %5, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @log_message(ptr noundef @.str.2, i64 noundef %14)
store i64 0, ptr %2, align 8
%16 = load i64, ptr %2, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %25
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %2, align 8
%22 = getelementptr inbounds double, ptr %20, i64 %21
%23 = load double, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str.3, double noundef %23)
br label %25
25: ; preds = %19
%26 = load i64, ptr %2, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %2, align 8
%28 = load i64, ptr %2, align 8
%29 = load i64, ptr %5, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %0
%32 = load ptr, ptr %6, align 8
%33 = call i32 @free(ptr noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = call i32 @fclose(ptr noundef %34)
ret i32 0
}
declare ptr @safe_fopen(ptr noundef, ptr noundef) #1
declare i64 @read_data_single_col(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @log_message(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpevhj0k64.c'
source_filename = "/tmp/tmpevhj0k64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_TRANSIENT = 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/tmpevhj0k64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_TRANSIENT = 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/tmpdqg2aog3.c'
source_filename = "/tmp/tmpdqg2aog3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @BKDRHash(ptr noundef %11, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, -1114471758
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
ret i32 0
}
declare i32 @BKDRHash(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdqg2aog3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @BKDRHash(ptr noundef %11, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, -1114471758
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
ret i32 0
}
declare i32 @BKDRHash(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1w2gr0og.c'
source_filename = "/tmp/tmp1w2gr0og.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randport() #0 {
%1 = alloca i16, align 2
%2 = call zeroext i16 (...) @random()
store i16 %2, ptr %1, align 2
br label %3
3: ; preds = %7, %0
%4 = load i16, ptr %1, align 2
%5 = zext i16 %4 to i32
%6 = icmp slt i32 %5, 1024
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i16, ptr %1, align 2
%9 = zext i16 %8 to i32
%10 = add nsw i32 %9, 1024
%11 = trunc i32 %10 to i16
store i16 %11, ptr %1, align 2
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load i16, ptr %1, align 2
%14 = zext i16 %13 to i32
ret i32 %14
}
declare zeroext i16 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp1w2gr0og.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randport() #0 {
%1 = alloca i16, align 2
%2 = call zeroext i16 (...) @random()
store i16 %2, ptr %1, align 2
%3 = load i16, ptr %1, align 2
%4 = zext i16 %3 to i32
%5 = icmp slt i32 %4, 1024
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i16, ptr %1, align 2
%8 = zext i16 %7 to i32
%9 = add nsw i32 %8, 1024
%10 = trunc i32 %9 to i16
store i16 %10, ptr %1, align 2
%11 = load i16, ptr %1, align 2
%12 = zext i16 %11 to i32
%13 = icmp slt i32 %12, 1024
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i16, ptr %1, align 2
%16 = zext i16 %15 to i32
ret i32 %16
}
declare zeroext i16 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphi0y121b.c'
source_filename = "/tmp/tmphi0y121b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @effect_random_sparkle_flash(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
%8 = 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
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %33, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %36
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %26, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %29
18: ; preds = %14
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 8
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 8
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 8
%25 = call i32 @setvoxel(i32 noundef %20, i32 noundef %22, i32 noundef %24)
br label %26
26: ; preds = %18
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %14, !llvm.loop !6
29: ; preds = %14
%30 = load i32, ptr %6, align 4
%31 = call i32 @delay_ms(i32 noundef %30)
%32 = call i32 @fill(i32 noundef 0)
br label %33
33: ; preds = %29
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %9, !llvm.loop !8
36: ; preds = %9
ret void
}
declare i32 @setvoxel(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @delay_ms(i32 noundef) #1
declare i32 @fill(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/tmphi0y121b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @effect_random_sparkle_flash(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
%8 = 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
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %40
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %34
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %24
%17 = call i32 (...) @rand()
%18 = srem i32 %17, 8
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 8
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 8
%23 = call i32 @setvoxel(i32 noundef %18, i32 noundef %20, i32 noundef %22)
br label %24
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %12
%31 = load i32, ptr %6, align 4
%32 = call i32 @delay_ms(i32 noundef %31)
%33 = call i32 @fill(i32 noundef 0)
br label %34
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @setvoxel(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @delay_ms(i32 noundef) #1
declare i32 @fill(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/tmpp2j12_jd.c'
source_filename = "/tmp/tmpp2j12_jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Successful termination.\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Got message from %d:%d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handlemsg_master(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -2000, ptr %9, align 4
br label %25
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %6, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22, ptr noundef %23)
br label %25
25: ; preds = %20, %18
br label %26
26: ; preds = %25, %4
%27 = load i32, ptr %9, align 4
ret i32 %27
}
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/tmpp2j12_jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Successful termination.\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Got message from %d:%d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handlemsg_master(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -2000, ptr %9, align 4
br label %25
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %6, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22, ptr noundef %23)
br label %25
25: ; preds = %20, %18
br label %26
26: ; preds = %25, %4
%27 = load i32, ptr %9, align 4
ret i32 %27
}
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/tmp7htqpuqu.c'
source_filename = "/tmp/tmp7htqpuqu.c"
target datalayout = "e-m:e-p270: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/tmp7htqpuqu.c"
target datalayout = "e-m:e-p270: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/tmpru5jpyty.c'
source_filename = "/tmp/tmpru5jpyty.c"
target datalayout = "e-m:e-p270: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/tmpru5jpyty.c"
target datalayout = "e-m:e-p270: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/tmpyhi37uqz.c'
source_filename = "/tmp/tmpyhi37uqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftcxb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %39
16: ; preds = %4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %7, align 4
%23 = sub nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = mul i64 4, %24
%26 = trunc i64 %25 to i32
%27 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %28, i64 %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 4, %35
%37 = trunc i64 %36 to i32
%38 = call i32 @memset(ptr noundef %31, i32 noundef 0, i32 noundef %37)
br label %39
39: ; preds = %16, %4
%40 = load i32, ptr %8, align 4
%41 = sdiv i32 %40, 2
store i32 %41, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %42
42: ; preds = %93, %39
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %10, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %96
46: ; preds = %42
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %47, i64 %49
%51 = load float, ptr %50, align 4
store float %51, ptr %12, align 4
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %52, i64 %56
%58 = load float, ptr %57, align 4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %59, i64 %61
store float %58, ptr %62, align 4
%63 = load float, ptr %12, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %65, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %64, i64 %68
store float %63, ptr %69, align 4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %70, i64 %72
%74 = load float, ptr %73, align 4
store float %74, ptr %12, align 4
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds float, ptr %75, i64 %79
%81 = load float, ptr %80, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %82, i64 %84
store float %81, ptr %85, align 4
%86 = load float, ptr %12, align 4
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %9, align 4
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %87, i64 %91
store float %86, ptr %92, align 4
br label %93
93: ; preds = %46
%94 = load i32, ptr %9, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %9, align 4
br label %42, !llvm.loop !6
96: ; preds = %42
%97 = load i32, ptr %8, align 4
%98 = load ptr, ptr %5, align 8
%99 = load ptr, ptr %6, align 8
%100 = call i32 @fft(double noundef -1.000000e+00, i32 noundef %97, ptr noundef %98, ptr noundef %99)
%101 = load i32, ptr %8, align 4
%102 = sitofp i32 %101 to double
%103 = fdiv double 1.000000e+00, %102
%104 = fptrunc double %103 to float
store float %104, ptr %11, align 4
store i32 0, ptr %9, align 4
br label %105
105: ; preds = %124, %96
%106 = load i32, ptr %9, align 4
%107 = load i32, ptr %8, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %127
109: ; preds = %105
%110 = load float, ptr %11, align 4
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %9, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds float, ptr %111, i64 %113
%115 = load float, ptr %114, align 4
%116 = fmul float %115, %110
store float %116, ptr %114, align 4
%117 = load float, ptr %11, align 4
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %9, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds float, ptr %118, i64 %120
%122 = load float, ptr %121, align 4
%123 = fmul float %122, %117
store float %123, ptr %121, align 4
br label %124
124: ; preds = %109
%125 = load i32, ptr %9, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %9, align 4
br label %105, !llvm.loop !8
127: ; preds = %105
%128 = load i32, ptr %8, align 4
ret i32 %128
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fft(double noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyhi37uqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftcxb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %39
16: ; preds = %4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %7, align 4
%23 = sub nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = mul i64 4, %24
%26 = trunc i64 %25 to i32
%27 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %28, i64 %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 4, %35
%37 = trunc i64 %36 to i32
%38 = call i32 @memset(ptr noundef %31, i32 noundef 0, i32 noundef %37)
br label %39
39: ; preds = %16, %4
%40 = load i32, ptr %8, align 4
%41 = sdiv i32 %40, 2
store i32 %41, ptr %10, align 4
store i32 0, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %10, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph, label %98
.lr.ph: ; preds = %39
br label %45
45: ; preds = %.lr.ph, %92
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
store float %50, ptr %12, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %51, i64 %55
%57 = load float, ptr %56, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %58, i64 %60
store float %57, ptr %61, align 4
%62 = load float, ptr %12, align 4
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %63, i64 %67
store float %62, ptr %68, align 4
%69 = load ptr, ptr %6, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %69, i64 %71
%73 = load float, ptr %72, align 4
store float %73, ptr %12, align 4
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds float, ptr %74, i64 %78
%80 = load float, ptr %79, align 4
%81 = load ptr, ptr %6, align 8
%82 = load i32, ptr %9, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %81, i64 %83
store float %80, ptr %84, align 4
%85 = load float, ptr %12, align 4
%86 = load ptr, ptr %6, align 8
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = add nsw i32 %87, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds float, ptr %86, i64 %90
store float %85, ptr %91, align 4
br label %92
92: ; preds = %45
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %10, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %92
br label %98
98: ; preds = %._crit_edge, %39
%99 = load i32, ptr %8, align 4
%100 = load ptr, ptr %5, align 8
%101 = load ptr, ptr %6, align 8
%102 = call i32 @fft(double noundef -1.000000e+00, i32 noundef %99, ptr noundef %100, ptr noundef %101)
%103 = load i32, ptr %8, align 4
%104 = sitofp i32 %103 to double
%105 = fdiv double 1.000000e+00, %104
%106 = fptrunc double %105 to float
store float %106, ptr %11, align 4
store i32 0, ptr %9, align 4
%107 = load i32, ptr %9, align 4
%108 = load i32, ptr %8, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %.lr.ph2, label %131
.lr.ph2: ; preds = %98
br label %110
110: ; preds = %.lr.ph2, %125
%111 = load float, ptr %11, align 4
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds float, ptr %112, i64 %114
%116 = load float, ptr %115, align 4
%117 = fmul float %116, %111
store float %117, ptr %115, align 4
%118 = load float, ptr %11, align 4
%119 = load ptr, ptr %6, align 8
%120 = load i32, ptr %9, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %119, i64 %121
%123 = load float, ptr %122, align 4
%124 = fmul float %123, %118
store float %124, ptr %122, align 4
br label %125
125: ; preds = %110
%126 = load i32, ptr %9, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %9, align 4
%128 = load i32, ptr %9, align 4
%129 = load i32, ptr %8, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %110, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %125
br label %131
131: ; preds = %._crit_edge3, %98
%132 = load i32, ptr %8, align 4
ret i32 %132
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fft(double noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp242b_b4c.c'
source_filename = "/tmp/tmp242b_b4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.last = private unnamed_addr constant [11 x i8] c"Washington\00", align 1
@__const.main.first = private unnamed_addr constant [8 x i8] c"George \00", align 1
@.str = private unnamed_addr constant [11 x i8] c"Hello, %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.last, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.first, i64 8, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @strcat(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp242b_b4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.last = private unnamed_addr constant [11 x i8] c"Washington\00", align 1
@__const.main.first = private unnamed_addr constant [8 x i8] c"George \00", align 1
@.str = private unnamed_addr constant [11 x i8] c"Hello, %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.last, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.first, i64 8, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @strcat(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnhc9paq5.c'
source_filename = "/tmp/tmpnhc9paq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [6 x i8] c"%spp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnhc9paq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [6 x i8] c"%spp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnejc8o1a.c'
source_filename = "/tmp/tmpnejc8o1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Error: %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"write() wrote %d bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"read() read %d bytes:\0A\09\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%hhx \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ps3_keyup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [16 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16)
%8 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %8, align 16
%9 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 1
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 2
store i8 -93, ptr %10, align 2
%11 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 3
store i8 0, ptr %11, align 1
%12 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 4
store i8 0, ptr %12, align 4
%13 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 5
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 6
store i8 0, ptr %14, align 2
%15 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 7
store i8 0, ptr %15, align 1
%16 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 8
store i8 0, ptr %16, align 8
%17 = load i32, ptr %2, align 4
%18 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 9)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %1
%23 = load i32, ptr @errno, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
%25 = call i32 @perror(ptr noundef @.str.1)
br label %29
26: ; preds = %1
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27)
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %2, align 4
%31 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 16)
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @perror(ptr noundef @.str.3)
br label %56
37: ; preds = %29
%38 = load i32, ptr %4, align 4
%39 = call i32 @printf(ptr noundef @.str.4, i32 noundef %38)
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %51, %37
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %54
44: ; preds = %40
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = call i32 @printf(ptr noundef @.str.5, i32 noundef %49)
br label %51
51: ; preds = %44
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
br label %40, !llvm.loop !6
54: ; preds = %40
%55 = call i32 @puts(ptr noundef @.str.6)
br label %56
56: ; preds = %54, %35
%57 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %57, align 16
%58 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 1
store i8 -86, ptr %58, align 1
%59 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 2
store i8 0, ptr %59, align 2
%60 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 3
store i8 85, ptr %60, align 1
%61 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 4
store i8 -91, ptr %61, align 4
%62 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 5
store i8 90, ptr %62, align 1
%63 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 6
store i8 102, ptr %63, align 2
%64 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 7
store i8 -103, ptr %64, align 1
%65 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 8
store i8 105, ptr %65, align 8
%66 = load i32, ptr %2, align 4
%67 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%68 = call i32 @write(i32 noundef %66, ptr noundef %67, i32 noundef 9)
store i32 %68, ptr %4, align 4
%69 = load i32, ptr %4, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %75
71: ; preds = %56
%72 = load i32, ptr @errno, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %72)
%74 = call i32 @perror(ptr noundef @.str.1)
br label %78
75: ; preds = %56
%76 = load i32, ptr %4, align 4
%77 = call i32 @printf(ptr noundef @.str.2, i32 noundef %76)
br label %78
78: ; preds = %75, %71
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnejc8o1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Error: %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"write() wrote %d bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"read() read %d bytes:\0A\09\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%hhx \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ps3_keyup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [16 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16)
%8 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %8, align 16
%9 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 1
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 2
store i8 -93, ptr %10, align 2
%11 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 3
store i8 0, ptr %11, align 1
%12 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 4
store i8 0, ptr %12, align 4
%13 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 5
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 6
store i8 0, ptr %14, align 2
%15 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 7
store i8 0, ptr %15, align 1
%16 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 8
store i8 0, ptr %16, align 8
%17 = load i32, ptr %2, align 4
%18 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 9)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %1
%23 = load i32, ptr @errno, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
%25 = call i32 @perror(ptr noundef @.str.1)
br label %29
26: ; preds = %1
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27)
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %2, align 4
%31 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 16)
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @perror(ptr noundef @.str.3)
br label %58
37: ; preds = %29
%38 = load i32, ptr %4, align 4
%39 = call i32 @printf(ptr noundef @.str.4, i32 noundef %38)
store i32 0, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph, label %56
.lr.ph: ; preds = %37
br label %43
43: ; preds = %.lr.ph, %50
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = call i32 @printf(ptr noundef @.str.5, i32 noundef %48)
br label %50
50: ; preds = %43
%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 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %37
%57 = call i32 @puts(ptr noundef @.str.6)
br label %58
58: ; preds = %56, %35
%59 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %59, align 16
%60 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 1
store i8 -86, ptr %60, align 1
%61 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 2
store i8 0, ptr %61, align 2
%62 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 3
store i8 85, ptr %62, align 1
%63 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 4
store i8 -91, ptr %63, align 4
%64 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 5
store i8 90, ptr %64, align 1
%65 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 6
store i8 102, ptr %65, align 2
%66 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 7
store i8 -103, ptr %66, align 1
%67 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 8
store i8 105, ptr %67, align 8
%68 = load i32, ptr %2, align 4
%69 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%70 = call i32 @write(i32 noundef %68, ptr noundef %69, i32 noundef 9)
store i32 %70, ptr %4, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %77
73: ; preds = %58
%74 = load i32, ptr @errno, align 4
%75 = call i32 @printf(ptr noundef @.str, i32 noundef %74)
%76 = call i32 @perror(ptr noundef @.str.1)
br label %80
77: ; preds = %58
%78 = load i32, ptr %4, align 4
%79 = call i32 @printf(ptr noundef @.str.2, i32 noundef %78)
br label %80
80: ; preds = %77, %73
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw229krx1.c'
source_filename = "/tmp/tmpw229krx1.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_ustime_sec() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i64, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000000
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %2, align 8
%10 = add nsw i64 %9, %8
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
ret i64 %11
}
declare i32 @gettimeofday(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/tmpw229krx1.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_ustime_sec() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i64, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000000
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %2, align 8
%10 = add nsw i64 %9, %8
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
ret i64 %11
}
declare i32 @gettimeofday(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/tmpgkmrbwnt.c'
source_filename = "/tmp/tmpgkmrbwnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bear_streq(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 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
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %11, %12
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %59
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = and i64 %21, 9223372036854775807
%23 = trunc i64 %22 to i32
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = and i64 %25, 9223372036854775807
%27 = trunc i64 %26 to i32
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %15
store i32 0, ptr %3, align 4
br label %59
32: ; preds = %15
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 1
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 1
store ptr %36, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %37
37: ; preds = %55, %32
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %58
41: ; preds = %37
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i64, ptr %42, i64 %44
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i64, ptr %47, i64 %49
%51 = load i64, ptr %50, align 8
%52 = icmp ne i64 %46, %51
br i1 %52, label %53, label %54
53: ; preds = %41
store i32 0, ptr %3, align 4
br label %59
54: ; preds = %41
br label %55
55: ; preds = %54
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %37, !llvm.loop !6
58: ; preds = %37
store i32 1, ptr %3, align 4
br label %59
59: ; preds = %58, %53, %31, %14
%60 = load i32, ptr %3, align 4
ret i32 %60
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgkmrbwnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bear_streq(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 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
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %11, %12
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %61
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = and i64 %21, 9223372036854775807
%23 = trunc i64 %22 to i32
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = and i64 %25, 9223372036854775807
%27 = trunc i64 %26 to i32
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %15
store i32 0, ptr %3, align 4
br label %61
32: ; preds = %15
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 1
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 1
store ptr %36, ptr %9, align 8
store i32 0, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph, label %60
.lr.ph: ; preds = %32
br label %40
40: ; preds = %.lr.ph, %54
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i64, ptr %41, i64 %43
%45 = load i64, ptr %44, align 8
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %46, i64 %48
%50 = load i64, ptr %49, align 8
%51 = icmp ne i64 %45, %50
br i1 %51, label %52, label %53
52: ; preds = %40
store i32 0, ptr %3, align 4
br label %61
53: ; preds = %40
br label %54
54: ; preds = %53
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %32
store i32 1, ptr %3, align 4
br label %61
61: ; preds = %60, %52, %31, %14
%62 = load i32, ptr %3, align 4
ret i32 %62
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8oaly9bq.c'
source_filename = "/tmp/tmp8oaly9bq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Is \22%s\22 a permutation of \22%s\22?\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\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 ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 3
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @sort_and_compare(ptr noundef %22, ptr noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.2, ptr @.str.3
%29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @sort_and_compare(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/tmp8oaly9bq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Is \22%s\22 a permutation of \22%s\22?\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\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 ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 3
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @sort_and_compare(ptr noundef %22, ptr noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.2, ptr @.str.3
%29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @sort_and_compare(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/tmps0p5pdxh.c'
source_filename = "/tmp/tmps0p5pdxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str_buff = private unnamed_addr constant [2048 x i8] c"http://dict.youdao.com/search?q=suffix.mp3&code=12qwas\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"URL: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Finde type is: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2048 x i8], align 16
%7 = alloca [64 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str_buff, i64 2048, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 64, i1 false)
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 1
br i1 %9, label %10, label %24
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 0, %16
br i1 %17, label %18, label %24
18: ; preds = %10
%19 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @snprintf(ptr noundef %19, i32 noundef 2048, ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %18, %10, %2
%25 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%28 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%29 = call i32 @get_link_category(ptr noundef %27, ptr noundef %28, i32 noundef 64)
%30 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%31 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @printf(ptr noundef, ptr noundef) #3
declare i32 @get_link_category(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps0p5pdxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str_buff = private unnamed_addr constant [2048 x i8] c"http://dict.youdao.com/search?q=suffix.mp3&code=12qwas\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"URL: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Finde type is: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2048 x i8], align 16
%7 = alloca [64 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str_buff, i64 2048, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 64, i1 false)
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 1
br i1 %9, label %10, label %24
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 0, %16
br i1 %17, label %18, label %24
18: ; preds = %10
%19 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @snprintf(ptr noundef %19, i32 noundef 2048, ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %18, %10, %2
%25 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%28 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%29 = call i32 @get_link_category(ptr noundef %27, ptr noundef %28, i32 noundef 64)
%30 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%31 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @printf(ptr noundef, ptr noundef) #3
declare i32 @get_link_category(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2gv4g_li.c'
source_filename = "/tmp/tmp2gv4g_li.c"
target datalayout = "e-m:e-p270: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/tmp2gv4g_li.c"
target datalayout = "e-m:e-p270: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/tmpmuk8_y7f.c'
source_filename = "/tmp/tmpmuk8_y7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden void @__atexit_handler_wrapper(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 %7
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
call void %6()
br label %7
7: ; preds = %5, %1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmuk8_y7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden void @__atexit_handler_wrapper(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 %7
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
call void %6()
br label %7
7: ; preds = %5, %1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz0sbnmfb.c'
source_filename = "/tmp/tmpz0sbnmfb.c"
target datalayout = "e-m:e-p270: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/tmpz0sbnmfb.c"
target datalayout = "e-m:e-p270: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/tmpa6n3866r.c'
source_filename = "/tmp/tmpa6n3866r.c"
target datalayout = "e-m:e-p270: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/tmpa6n3866r.c"
target datalayout = "e-m:e-p270: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/tmpug4ahkov.c'
source_filename = "/tmp/tmpug4ahkov.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpug4ahkov.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz0xu_x1_.c'
source_filename = "/tmp/tmpz0xu_x1_.c"
target datalayout = "e-m:e-p270: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_3__ = type { i32 }
@ButtonPressMask = dso_local global i32 0, align 4
@KeyPressMask = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_done(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @XFlush(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @ButtonPressMask, align 4
%12 = load i32, ptr @KeyPressMask, align 4
%13 = or i32 %11, %12
%14 = call i32 @XSelectInput(ptr noundef %9, i32 noundef %10, i32 noundef %13)
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %25, %2
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %26
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call i32 @XNextEvent(ptr noundef %20, ptr noundef %6)
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%23 = load i32, ptr %22, align 4
switch i32 %23, label %25 [
i32 128, label %24
i32 129, label %24
]
24: ; preds = %19, %19
store i32 1, ptr %5, align 4
br label %25
25: ; preds = %24, %19
br label %15, !llvm.loop !6
26: ; preds = %15
%27 = load ptr, ptr %3, align 8
%28 = call i32 @XCloseDisplay(ptr noundef %27)
ret void
}
declare i32 @XFlush(ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpz0xu_x1_.c"
target datalayout = "e-m:e-p270: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_3__ = type { i32 }
@ButtonPressMask = dso_local global i32 0, align 4
@KeyPressMask = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_done(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @XFlush(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @ButtonPressMask, align 4
%12 = load i32, ptr @KeyPressMask, align 4
%13 = or i32 %11, %12
%14 = call i32 @XSelectInput(ptr noundef %9, i32 noundef %10, i32 noundef %13)
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %24
%19 = load ptr, ptr %3, align 8
%20 = call i32 @XNextEvent(ptr noundef %19, ptr noundef %6)
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%22 = load i32, ptr %21, align 4
switch i32 %22, label %24 [
i32 128, label %23
i32 129, label %23
]
23: ; preds = %18, %18
store i32 1, ptr %5, align 4
br label %24
24: ; preds = %23, %18
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
%27 = xor i1 %26, true
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %28
28: ; preds = %._crit_edge, %2
%29 = load ptr, ptr %3, align 8
%30 = call i32 @XCloseDisplay(ptr noundef %29)
ret void
}
declare i32 @XFlush(ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpk81d9cr6.c'
source_filename = "/tmp/tmpk81d9cr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @roundf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @round(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @round(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk81d9cr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @roundf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @round(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @round(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmh1s4zg9.c'
source_filename = "/tmp/tmpmh1s4zg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@INET6_ADDRSTRLEN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmh1s4zg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@INET6_ADDRSTRLEN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxusvcm1t.c'
source_filename = "/tmp/tmpxusvcm1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"warning: truncated line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
store i8 1, ptr %13, align 1
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 1, ptr %18, align 1
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr @stdin, align 4
%22 = call ptr @fgets(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %3
store i32 0, ptr %4, align 4
br label %64
25: ; preds = %3
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %26, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %63
37: ; preds = %25
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %6, align 4
%40 = sub nsw i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 10
br i1 %45, label %46, label %63
46: ; preds = %37
br label %47
47: ; preds = %56, %46
%48 = call i32 (...) @getchar()
store i32 %48, ptr %8, align 4
br label %49
49: ; preds = %47
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr @EOF, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %8, align 4
%55 = icmp ne i32 %54, 10
br label %56
56: ; preds = %53, %49
%57 = phi i1 [ false, %49 ], [ %55, %53 ]
br i1 %57, label %47, label %58, !llvm.loop !6
58: ; preds = %56
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %60, align 4
%62 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str, i32 noundef %61)
br label %63
63: ; preds = %58, %37, %25
store i32 1, ptr %4, align 4
br label %64
64: ; preds = %63, %24
%65 = load i32, ptr %4, align 4
ret i32 %65
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxusvcm1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"warning: truncated line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
store i8 1, ptr %13, align 1
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 1, ptr %18, align 1
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr @stdin, align 4
%22 = call ptr @fgets(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %3
store i32 0, ptr %4, align 4
br label %64
25: ; preds = %3
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %26, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %63
37: ; preds = %25
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %6, align 4
%40 = sub nsw i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 10
br i1 %45, label %46, label %63
46: ; preds = %37
br label %47
47: ; preds = %56, %46
%48 = call i32 (...) @getchar()
store i32 %48, ptr %8, align 4
br label %49
49: ; preds = %47
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr @EOF, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %8, align 4
%55 = icmp ne i32 %54, 10
br label %56
56: ; preds = %53, %49
%57 = phi i1 [ false, %49 ], [ %55, %53 ]
br i1 %57, label %47, label %58, !llvm.loop !6
58: ; preds = %56
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %60, align 4
%62 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str, i32 noundef %61)
br label %63
63: ; preds = %58, %37, %25
store i32 1, ptr %4, align 4
br label %64
64: ; preds = %63, %24
%65 = load i32, ptr %4, align 4
ret i32 %65
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptbwjex1i.c'
source_filename = "/tmp/tmptbwjex1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fgets(ptr noundef %0, i32 noundef %1, ptr 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 i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
br label %11
11: ; preds = %38, %3
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %41
14: ; preds = %11
%15 = load ptr, ptr %7, align 8
%16 = call i32 @fgetc(ptr noundef %15)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr @EOF, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %14
%21 = load ptr, ptr %9, align 8
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %9, align 8
%23 = load ptr, ptr %5, align 8
%24 = icmp eq ptr %22, %23
br i1 %24, label %25, label %26
25: ; preds = %20
br label %28
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
br label %28
28: ; preds = %26, %25
%29 = phi ptr [ null, %25 ], [ %27, %26 ]
store ptr %29, ptr %4, align 8
br label %48
30: ; preds = %14
%31 = load i32, ptr %8, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %9, align 8
store i8 %32, ptr %33, align 1
%35 = load i32, ptr %8, align 4
%36 = icmp eq i32 %35, 10
br i1 %36, label %37, label %38
37: ; preds = %30
br label %41
38: ; preds = %30
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %6, align 4
br label %11, !llvm.loop !6
41: ; preds = %37, %11
%42 = load i32, ptr %6, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = load ptr, ptr %9, align 8
store i8 0, ptr %45, align 1
br label %46
46: ; preds = %44, %41
%47 = load ptr, ptr %5, align 8
store ptr %47, ptr %4, align 8
br label %48
48: ; preds = %46, %28
%49 = load ptr, ptr %4, align 8
ret ptr %49
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmptbwjex1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fgets(ptr noundef %0, i32 noundef %1, ptr 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 i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %37
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fgetc(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %13
%20 = load ptr, ptr %9, align 8
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %9, align 8
%22 = load ptr, ptr %5, align 8
%23 = icmp eq ptr %21, %22
br i1 %23, label %24, label %25
24: ; preds = %19
br label %27
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
br label %27
27: ; preds = %25, %24
%28 = phi ptr [ null, %24 ], [ %26, %25 ]
store ptr %28, ptr %4, align 8
br label %49
29: ; preds = %13
%30 = load i32, ptr %8, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %9, align 8
store i8 %31, ptr %32, align 1
%34 = load i32, ptr %8, align 4
%35 = icmp eq i32 %34, 10
br i1 %35, label %36, label %37
36: ; preds = %29
br label %42
37: ; preds = %29
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %40, 1
br i1 %41, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %37
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %42
42: ; preds = %.loopexit, %36
%43 = load i32, ptr %6, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load ptr, ptr %9, align 8
store i8 0, ptr %46, align 1
br label %47
47: ; preds = %45, %42
%48 = load ptr, ptr %5, align 8
store ptr %48, ptr %4, align 8
br label %49
49: ; preds = %47, %27
%50 = load ptr, ptr %4, align 8
ret ptr %50
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgc1w71ol.c'
source_filename = "/tmp/tmpgc1w71ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %10, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %28, %0
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load ptr, ptr %10, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %18, !llvm.loop !6
31: ; preds = %18
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = srem i32 %32, %33
store i32 %34, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %35
35: ; preds = %69, %31
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %72
39: ; preds = %35
%40 = load ptr, ptr %10, align 8
%41 = load i32, ptr %2, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %2, align 4
%47 = sub nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %62, %39
%49 = load i32, ptr %7, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %65
51: ; preds = %48
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %51
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %7, align 4
br label %48, !llvm.loop !8
65: ; preds = %48
%66 = load i32, ptr %8, align 4
%67 = load ptr, ptr %10, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 0
store i32 %66, ptr %68, align 4
br label %69
69: ; preds = %65
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
br label %35, !llvm.loop !9
72: ; preds = %35
store i32 0, ptr %6, align 4
br label %73
73: ; preds = %85, %72
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %5, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %88
77: ; preds = %73
%78 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%79 = load ptr, ptr %10, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = call i32 @printf(ptr noundef @.str.2, i32 noundef %83)
br label %85
85: ; preds = %77
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %6, align 4
br label %73, !llvm.loop !10
88: ; preds = %73
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgc1w71ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %10, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
store i32 0, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %27
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %21
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %0
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %2, align 4
%36 = srem i32 %34, %35
store i32 %36, ptr %4, align 4
store i32 0, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph5, label %77
.lr.ph5: ; preds = %33
br label %40
40: ; preds = %.lr.ph5, %71
%41 = load ptr, ptr %10, align 8
%42 = load i32, ptr %2, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %41, i64 %44
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %2, align 4
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %.lr.ph2, label %67
.lr.ph2: ; preds = %40
br label %51
51: ; preds = %.lr.ph2, %62
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %51
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %67
67: ; preds = %._crit_edge3, %40
%68 = load i32, ptr %8, align 4
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 0
store i32 %68, ptr %70, align 4
br label %71
71: ; preds = %67
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %40, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %77
77: ; preds = %._crit_edge6, %33
store i32 0, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %5, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph8, label %95
.lr.ph8: ; preds = %77
br label %81
81: ; preds = %.lr.ph8, %89
%82 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = call i32 @printf(ptr noundef @.str.2, i32 noundef %87)
br label %89
89: ; preds = %81
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %6, align 4
%92 = load i32, ptr %6, align 4
%93 = load i32, ptr %5, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %81, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %89
br label %95
95: ; preds = %._crit_edge9, %77
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpe2fprexi.c'
source_filename = "/tmp/tmpe2fprexi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillCircle(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3) #0 {
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i16, align 2
store i16 %0, ptr %5, align 2
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i16 %3, ptr %8, align 2
%9 = load i16, ptr %5, align 2
%10 = load i16, ptr %6, align 2
%11 = sext i16 %10 to i32
%12 = load i16, ptr %7, align 2
%13 = sext i16 %12 to i32
%14 = sub nsw i32 %11, %13
%15 = trunc i32 %14 to i16
%16 = load i16, ptr %7, align 2
%17 = sext i16 %16 to i32
%18 = mul nsw i32 2, %17
%19 = add nsw i32 %18, 1
%20 = load i16, ptr %8, align 2
%21 = call i32 @writeFastVLine(i16 noundef signext %9, i16 noundef signext %15, i32 noundef %19, i16 noundef signext %20)
%22 = load i16, ptr %5, align 2
%23 = load i16, ptr %6, align 2
%24 = load i16, ptr %7, align 2
%25 = load i16, ptr %8, align 2
%26 = call i32 @fillCircleHelper(i16 noundef signext %22, i16 noundef signext %23, i16 noundef signext %24, i32 noundef 3, i32 noundef 0, i16 noundef signext %25)
ret void
}
declare i32 @writeFastVLine(i16 noundef signext, i16 noundef signext, i32 noundef, i16 noundef signext) #1
declare i32 @fillCircleHelper(i16 noundef signext, i16 noundef signext, i16 noundef signext, i32 noundef, i32 noundef, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe2fprexi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillCircle(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3) #0 {
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i16, align 2
store i16 %0, ptr %5, align 2
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i16 %3, ptr %8, align 2
%9 = load i16, ptr %5, align 2
%10 = load i16, ptr %6, align 2
%11 = sext i16 %10 to i32
%12 = load i16, ptr %7, align 2
%13 = sext i16 %12 to i32
%14 = sub nsw i32 %11, %13
%15 = trunc i32 %14 to i16
%16 = load i16, ptr %7, align 2
%17 = sext i16 %16 to i32
%18 = mul nsw i32 2, %17
%19 = add nsw i32 %18, 1
%20 = load i16, ptr %8, align 2
%21 = call i32 @writeFastVLine(i16 noundef signext %9, i16 noundef signext %15, i32 noundef %19, i16 noundef signext %20)
%22 = load i16, ptr %5, align 2
%23 = load i16, ptr %6, align 2
%24 = load i16, ptr %7, align 2
%25 = load i16, ptr %8, align 2
%26 = call i32 @fillCircleHelper(i16 noundef signext %22, i16 noundef signext %23, i16 noundef signext %24, i32 noundef 3, i32 noundef 0, i16 noundef signext %25)
ret void
}
declare i32 @writeFastVLine(i16 noundef signext, i16 noundef signext, i32 noundef, i16 noundef signext) #1
declare i32 @fillCircleHelper(i16 noundef signext, i16 noundef signext, i16 noundef signext, i32 noundef, i32 noundef, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7e96gv26.c'
source_filename = "/tmp/tmp7e96gv26.c"
target datalayout = "e-m:e-p270: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.termios = type { ptr, i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_tty_raw(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.termios, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @tcgetattr(i32 noundef %4, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %1
%9 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0
%10 = load ptr, ptr %9, align 8
%11 = load i64, ptr @VMIN, align 8
%12 = getelementptr inbounds i32, ptr %10, i64 %11
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr @VTIME, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
store i32 0, ptr %16, align 4
%17 = load i32, ptr @ECHO, align 4
%18 = load i32, ptr @ICANON, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @IEXTEN, align 4
%21 = or i32 %19, %20
%22 = xor i32 %21, -1
%23 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1
%24 = load i32, ptr %23, align 8
%25 = and i32 %24, %22
store i32 %25, ptr %23, align 8
br label %26
26: ; preds = %8, %1
%27 = load i32, ptr @STDIN_FILENO, align 4
%28 = load i32, ptr @TCSANOW, align 4
%29 = call i32 @tcsetattr(i32 noundef %27, i32 noundef %28, ptr noundef %3)
ret void
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(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/tmp7e96gv26.c"
target datalayout = "e-m:e-p270: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.termios = type { ptr, i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_tty_raw(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.termios, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @tcgetattr(i32 noundef %4, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %1
%9 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0
%10 = load ptr, ptr %9, align 8
%11 = load i64, ptr @VMIN, align 8
%12 = getelementptr inbounds i32, ptr %10, i64 %11
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr @VTIME, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
store i32 0, ptr %16, align 4
%17 = load i32, ptr @ECHO, align 4
%18 = load i32, ptr @ICANON, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @IEXTEN, align 4
%21 = or i32 %19, %20
%22 = xor i32 %21, -1
%23 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1
%24 = load i32, ptr %23, align 8
%25 = and i32 %24, %22
store i32 %25, ptr %23, align 8
br label %26
26: ; preds = %8, %1
%27 = load i32, ptr @STDIN_FILENO, align 4
%28 = load i32, ptr @TCSANOW, align 4
%29 = call i32 @tcsetattr(i32 noundef %27, i32 noundef %28, ptr noundef %3)
ret void
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(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/tmprwq581ys.c'
source_filename = "/tmp/tmprwq581ys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"sample.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %24
8: ; preds = %0
br label %9
9: ; preds = %16, %8
%10 = load ptr, ptr %2, align 8
%11 = call signext i8 @fgetc(ptr noundef %10)
store i8 %11, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr @EOF, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %12, %14
br i1 %15, label %16, label %20
16: ; preds = %9
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load ptr, ptr %2, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %20, %7
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwq581ys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"sample.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %29
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call signext i8 @fgetc(ptr noundef %9)
store i8 %10, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = load i8, ptr @EOF, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %11, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %8
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i8, ptr %3, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call signext i8 @fgetc(ptr noundef %19)
store i8 %20, ptr %3, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %25
25: ; preds = %._crit_edge, %8
%26 = load ptr, ptr %2, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %25, %7
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.