llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpdenqi_g1.c'
source_filename = "/tmp/tmpdenqi_g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdenqi_g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hsiynq1.c'
source_filename = "/tmp/tmp6hsiynq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Reference results:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"e: 0x\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\0Ak: 0x\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"\0Aek: 0x\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_reference(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %21, %3
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 32
br i1 %12, label %13, label %24
13: ; preds = %10
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %37, %24
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 32
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %29
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %26, !llvm.loop !8
40: ; preds = %26
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @curve25519_donna_ref(ptr noundef %41, ptr noundef %42, ptr noundef %43)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %7, align 4
br label %46
46: ; preds = %57, %40
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %47, 32
br i1 %48, label %49, label %60
49: ; preds = %46
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
br label %57
57: ; preds = %49
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
br label %46, !llvm.loop !9
60: ; preds = %46
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @curve25519_donna_ref(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hsiynq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Reference results:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"e: 0x\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\0Ak: 0x\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"\0Aek: 0x\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_reference(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 32
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 32
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %3
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 32
br i1 %28, label %.lr.ph2, label %42
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %37
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %29
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %40, 32
br i1 %41, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %25
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = call i32 @curve25519_donna_ref(ptr noundef %43, ptr noundef %44, ptr noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %48, 32
br i1 %49, label %.lr.ph5, label %63
.lr.ph5: ; preds = %42
br label %50
50: ; preds = %.lr.ph5, %58
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = zext i8 %55 to i32
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56)
br label %58
58: ; preds = %50
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %61, 32
br i1 %62, label %50, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %58
br label %63
63: ; preds = %._crit_edge6, %42
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @curve25519_donna_ref(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdso1wrjg.c'
source_filename = "/tmp/tmpdso1wrjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdso1wrjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_8cbgdnf.c'
source_filename = "/tmp/tmp_8cbgdnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @menu()
ret i32 0
}
declare i32 @menu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_8cbgdnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @menu()
ret i32 0
}
declare i32 @menu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7yde4otf.c'
source_filename = "/tmp/tmp7yde4otf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c" :: M A I N T E N A N C E :: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @maintenance() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7yde4otf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c" :: M A I N T E N A N C E :: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @maintenance() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd8a7ygy_.c'
source_filename = "/tmp/tmpd8a7ygy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Anzahl: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d. Zahl: \00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0AMinimum: %d\0AMaximum: %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
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %5, align 4
br label %10
10: ; preds = %36, %0
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %39
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load i32, ptr %5, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = load i32, ptr %6, align 4
store i32 %21, ptr %3, align 4
store i32 %21, ptr %4, align 4
br label %35
22: ; preds = %14
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = load i32, ptr %6, align 4
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %26, %22
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %28
br label %35
35: ; preds = %34, %20
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %10, !llvm.loop !6
39: ; preds = %10
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %3, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40, i32 noundef %41)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd8a7ygy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Anzahl: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d. Zahl: \00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0AMinimum: %d\0AMaximum: %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
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %35
%14 = load i32, ptr %5, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
store i32 %20, ptr %4, align 4
br label %34
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %25, %21
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr %6, align 4
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %31, %27
br label %34
34: ; preds = %33, %19
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %0
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %43)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4rufrokl.c'
source_filename = "/tmp/tmp4rufrokl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [116 x i8] c"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz\00", align 1
@.str.1 = private unnamed_addr constant [134 x i8] c"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"00000000000000000000000\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"1111111111111111111111111111111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_eit_test3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 15
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @ts_eit_add_short_event_descriptor(ptr noundef %8, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str, ptr noundef @.str.1)
%10 = icmp ne i32 %9, 1
br i1 %10, label %11, label %12
11: ; preds = %7
br label %16
12: ; preds = %7
br label %13
13: ; preds = %12
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %11, %4
%17 = load ptr, ptr %2, align 8
%18 = call i32 @ts_eit_add_short_event_descriptor(ptr noundef %17, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @ts_eit_add_short_event_descriptor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4rufrokl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [116 x i8] c"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz\00", align 1
@.str.1 = private unnamed_addr constant [134 x i8] c"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"00000000000000000000000\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"1111111111111111111111111111111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_eit_test3(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 i32, ptr %3, align 4
%5 = icmp slt i32 %4, 15
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %12
%7 = load ptr, ptr %2, align 8
%8 = call i32 @ts_eit_add_short_event_descriptor(ptr noundef %7, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str, ptr noundef @.str.1)
%9 = icmp ne i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %6
br label %17
11: ; preds = %6
br label %12
12: ; preds = %11
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 15
br i1 %16, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %12
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %17
17: ; preds = %.loopexit, %10
%18 = load ptr, ptr %2, align 8
%19 = call i32 @ts_eit_add_short_event_descriptor(ptr noundef %18, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @ts_eit_add_short_event_descriptor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkkoby7md.c'
source_filename = "/tmp/tmpkkoby7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @section_table() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 0, ptr %5, align 8
%6 = call i64 @mgetsize(ptr noundef %1, ptr noundef %2)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %39
9: ; preds = %0
%10 = call i64 (...) @msynch()
%11 = call i64 (...) @mgetuleb128()
store i64 %11, ptr %4, align 8
%12 = call i32 @mputuleb128(i64 noundef %11)
%13 = call i64 (...) @msynch()
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, %13
store i64 %15, ptr %5, align 8
br label %16
16: ; preds = %20, %9
%17 = load i64, ptr %4, align 8
%18 = add i64 %17, -1
store i64 %18, ptr %4, align 8
%19 = icmp ne i64 %17, 0
br i1 %19, label %20, label %32
20: ; preds = %16
%21 = call i64 (...) @mgetuleb128()
%22 = call i32 @mputuleb128(i64 noundef %21)
%23 = call i64 (...) @mgetuleb128()
%24 = call i32 @mputuleb128(i64 noundef %23)
%25 = call i64 (...) @mgetuleb128()
%26 = call i32 @mputuleb128(i64 noundef %25)
%27 = call i64 (...) @mgetuleb128()
%28 = call i32 @mputuleb128(i64 noundef %27)
%29 = call i64 (...) @msynch()
%30 = load i64, ptr %5, align 8
%31 = add nsw i64 %30, %29
store i64 %31, ptr %5, align 8
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = load i64, ptr %1, align 8
%34 = load i64, ptr %2, align 8
%35 = load i64, ptr %5, align 8
%36 = call i64 @msetsize(i64 noundef %33, i64 noundef %34, i64 noundef %35)
%37 = load i64, ptr %5, align 8
%38 = add nsw i64 %37, %36
store i64 %38, ptr %5, align 8
br label %43
39: ; preds = %0
%40 = call i64 (...) @msynch()
%41 = load i64, ptr %5, align 8
%42 = add nsw i64 %41, %40
store i64 %42, ptr %5, align 8
br label %43
43: ; preds = %39, %32
%44 = load i64, ptr %5, align 8
ret i64 %44
}
declare i64 @mgetsize(ptr noundef, ptr noundef) #1
declare i64 @msynch(...) #1
declare i32 @mputuleb128(i64 noundef) #1
declare i64 @mgetuleb128(...) #1
declare i64 @msetsize(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkoby7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @section_table() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 0, ptr %5, align 8
%6 = call i64 @mgetsize(ptr noundef %1, ptr noundef %2)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %41
9: ; preds = %0
%10 = call i64 (...) @msynch()
%11 = call i64 (...) @mgetuleb128()
store i64 %11, ptr %4, align 8
%12 = call i32 @mputuleb128(i64 noundef %11)
%13 = call i64 (...) @msynch()
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, %13
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %4, align 8
%17 = add i64 %16, -1
store i64 %17, ptr %4, align 8
%18 = icmp ne i64 %16, 0
br i1 %18, label %.lr.ph, label %34
.lr.ph: ; preds = %9
br label %19
19: ; preds = %.lr.ph, %19
%20 = call i64 (...) @mgetuleb128()
%21 = call i32 @mputuleb128(i64 noundef %20)
%22 = call i64 (...) @mgetuleb128()
%23 = call i32 @mputuleb128(i64 noundef %22)
%24 = call i64 (...) @mgetuleb128()
%25 = call i32 @mputuleb128(i64 noundef %24)
%26 = call i64 (...) @mgetuleb128()
%27 = call i32 @mputuleb128(i64 noundef %26)
%28 = call i64 (...) @msynch()
%29 = load i64, ptr %5, align 8
%30 = add nsw i64 %29, %28
store i64 %30, ptr %5, align 8
%31 = load i64, ptr %4, align 8
%32 = add i64 %31, -1
store i64 %32, ptr %4, align 8
%33 = icmp ne i64 %31, 0
br i1 %33, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %34
34: ; preds = %._crit_edge, %9
%35 = load i64, ptr %1, align 8
%36 = load i64, ptr %2, align 8
%37 = load i64, ptr %5, align 8
%38 = call i64 @msetsize(i64 noundef %35, i64 noundef %36, i64 noundef %37)
%39 = load i64, ptr %5, align 8
%40 = add nsw i64 %39, %38
store i64 %40, ptr %5, align 8
br label %45
41: ; preds = %0
%42 = call i64 (...) @msynch()
%43 = load i64, ptr %5, align 8
%44 = add nsw i64 %43, %42
store i64 %44, ptr %5, align 8
br label %45
45: ; preds = %41, %34
%46 = load i64, ptr %5, align 8
ret i64 %46
}
declare i64 @mgetsize(ptr noundef, ptr noundef) #1
declare i64 @msynch(...) #1
declare i32 @mputuleb128(i64 noundef) #1
declare i64 @mgetuleb128(...) #1
declare i64 @msetsize(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgscamext.c'
source_filename = "/tmp/tmpgscamext.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dragoncopy.c\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"dragoncopy.copy\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 @syscall(i32 noundef 548, ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgscamext.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dragoncopy.c\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"dragoncopy.copy\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 @syscall(i32 noundef 548, ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx83cdiv_.c'
source_filename = "/tmp/tmpx83cdiv_.c"
target datalayout = "e-m:e-p270: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/tmpx83cdiv_.c"
target datalayout = "e-m:e-p270: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_33ydcy.c'
source_filename = "/tmp/tmpx_33ydcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"teste Q1: preenche_matriz_um_e_zero.\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" ok.\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c" not ok.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_preenche_matriz_um_e_zero() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x [20 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
%7 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 0
%8 = call i32 @preenche_matriz_um_e_zero(ptr noundef %7)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %48, %0
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 20
br i1 %11, label %12, label %51
12: ; preds = %9
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %44, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 20
br i1 %15, label %16, label %47
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = srem i32 %17, 2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [20 x i32], ptr %23, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp ne i32 %27, 1
br i1 %28, label %42, label %29
29: ; preds = %20, %16
%30 = load i32, ptr %3, align 4
%31 = srem i32 %30, 2
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %43
33: ; preds = %29
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 %35
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [20 x i32], ptr %36, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %33, %20
store i32 0, ptr %1, align 4
br label %43
43: ; preds = %42, %33, %29
br label %44
44: ; preds = %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %13, !llvm.loop !6
47: ; preds = %13
br label %48
48: ; preds = %47
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
br label %9, !llvm.loop !8
51: ; preds = %9
%52 = load i32, ptr %1, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(ptr noundef @.str.2)
br label %58
56: ; preds = %51
%57 = call i32 @printf(ptr noundef @.str.3)
br label %58
58: ; preds = %56, %54
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @preenche_matriz_um_e_zero(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpx_33ydcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"teste Q1: preenche_matriz_um_e_zero.\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" ok.\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c" not ok.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_preenche_matriz_um_e_zero() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x [20 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
%7 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 0
%8 = call i32 @preenche_matriz_um_e_zero(ptr noundef %7)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 20
br i1 %10, label %.lr.ph2, label %53
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %48
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 20
br i1 %13, label %.lr.ph, label %47
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %42
%15 = load i32, ptr %3, align 4
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 %20
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [20 x i32], ptr %21, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp ne i32 %25, 1
br i1 %26, label %40, label %27
27: ; preds = %18, %14
%28 = load i32, ptr %3, align 4
%29 = srem i32 %28, 2
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %41
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [20 x [20 x i32]], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [20 x i32], ptr %34, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %31, %18
store i32 0, ptr %1, align 4
br label %41
41: ; preds = %40, %31, %27
br label %42
42: ; preds = %41
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 20
br i1 %46, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %11
br label %48
48: ; preds = %47
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp slt i32 %51, 20
br i1 %52, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %53
53: ; preds = %._crit_edge3, %0
%54 = load i32, ptr %1, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @printf(ptr noundef @.str.2)
br label %60
58: ; preds = %53
%59 = call i32 @printf(ptr noundef @.str.3)
br label %60
60: ; preds = %58, %56
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @preenche_matriz_um_e_zero(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmppih_0t25.c'
source_filename = "/tmp/tmppih_0t25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRandWord() #0 {
%1 = call i32 (...) @drand48()
%2 = mul nsw i32 %1, 65535
ret i32 %2
}
declare i32 @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppih_0t25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRandWord() #0 {
%1 = call i32 (...) @drand48()
%2 = mul nsw i32 %1, 65535
ret i32 %2
}
declare i32 @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3znepjxj.c'
source_filename = "/tmp/tmp3znepjxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocSizeZero1() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 12)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @realloc(ptr noundef %4, i32 noundef 0)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
br label %14
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @free(ptr noundef %12)
br label %14
14: ; preds = %11, %8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3znepjxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocSizeZero1() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 12)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @realloc(ptr noundef %4, i32 noundef 0)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
br label %14
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @free(ptr noundef %12)
br label %14
14: ; preds = %11, %8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmnusgwmg.c'
source_filename = "/tmp/tmpmnusgwmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ML_vertical_scroll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [64 x i8], align 16
%6 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%7 = call ptr (...) @ML_vram_adress()
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 64
store i32 %9, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %56, %1
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 16
br i1 %12, label %13, label %59
13: ; preds = %10
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %29, %13
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 64
br i1 %16, label %17, label %32
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %4, align 4
%20 = shl i32 %19, 4
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %18, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %27
store i8 %25, ptr %28, align 1
br label %29
29: ; preds = %17
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %14, !llvm.loop !6
32: ; preds = %14
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %52, %32
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 64
br i1 %35, label %36, label %55
36: ; preds = %33
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = sub nsw i32 %37, %38
%40 = add nsw i32 %39, 64
%41 = and i32 %40, 63
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %4, align 4
%47 = shl i32 %46, 4
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %45, i64 %50
store i8 %44, ptr %51, align 1
br label %52
52: ; preds = %36
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
br label %33, !llvm.loop !8
55: ; preds = %33
br label %56
56: ; preds = %55
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
br label %10, !llvm.loop !9
59: ; preds = %10
ret void
}
declare ptr @ML_vram_adress(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmnusgwmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ML_vertical_scroll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [64 x i8], align 16
%6 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%7 = call ptr (...) @ML_vram_adress()
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 64
store i32 %9, ptr %2, align 4
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 16
br i1 %11, label %.lr.ph5, label %62
.lr.ph5: ; preds = %1
br label %12
12: ; preds = %.lr.ph5, %57
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 64
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %4, align 4
%18 = shl i32 %17, 4
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %25
store i8 %23, ptr %26, align 1
br label %27
27: ; preds = %15
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 64
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %12
store i32 0, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 64
br i1 %34, label %.lr.ph2, label %56
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %51
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 %36, %37
%39 = add nsw i32 %38, 64
%40 = and i32 %39, 63
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %4, align 4
%46 = shl i32 %45, 4
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %46, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %44, i64 %49
store i8 %43, ptr %50, align 1
br label %51
51: ; preds = %35
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %54, 64
br i1 %55, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %56
56: ; preds = %._crit_edge3, %32
br label %57
57: ; preds = %56
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = icmp slt i32 %60, 16
br i1 %61, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %62
62: ; preds = %._crit_edge6, %1
ret void
}
declare ptr @ML_vram_adress(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpg76svpqy.c'
source_filename = "/tmp/tmpg76svpqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"6\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"stack\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"trace\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, 12345
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 @malloc(i32 noundef 1)
store i32 1, ptr %4, align 4
br label %23
12: ; preds = %3
%13 = call i32 @atoi(ptr noundef @.str)
%14 = call i32 @factorial(i32 noundef %13)
%15 = call i32 (...) @marker1()
%16 = call i32 @marker2(i32 noundef 43)
%17 = call i32 @marker3(ptr noundef @.str.1, ptr noundef @.str.2)
%18 = call i32 @marker4(i64 noundef 177601976)
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 12345
%21 = zext i1 %20 to i32
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %12, %10
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @malloc(i32 noundef) #1
declare i32 @factorial(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @marker1(...) #1
declare i32 @marker2(i32 noundef) #1
declare i32 @marker3(ptr noundef, ptr noundef) #1
declare i32 @marker4(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/tmpg76svpqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"6\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"stack\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"trace\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, 12345
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 @malloc(i32 noundef 1)
store i32 1, ptr %4, align 4
br label %23
12: ; preds = %3
%13 = call i32 @atoi(ptr noundef @.str)
%14 = call i32 @factorial(i32 noundef %13)
%15 = call i32 (...) @marker1()
%16 = call i32 @marker2(i32 noundef 43)
%17 = call i32 @marker3(ptr noundef @.str.1, ptr noundef @.str.2)
%18 = call i32 @marker4(i64 noundef 177601976)
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 12345
%21 = zext i1 %20 to i32
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %12, %10
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @malloc(i32 noundef) #1
declare i32 @factorial(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @marker1(...) #1
declare i32 @marker2(i32 noundef) #1
declare i32 @marker3(ptr noundef, ptr noundef) #1
declare i32 @marker4(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/tmp16yl0pf8.c'
source_filename = "/tmp/tmp16yl0pf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR71\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR71_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16yl0pf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR71\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR71_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyjrxhar4.c'
source_filename = "/tmp/tmpyjrxhar4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = add i32 %7, 5
%9 = load i32, ptr %6, align 4
%10 = call i32 @test01(i32 noundef %8, i32 noundef %9)
%11 = call i32 @test02(i32 noundef 14, i32 noundef 16)
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test01(i32 noundef, i32 noundef) #1
declare i32 @test02(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjrxhar4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = add i32 %7, 5
%9 = load i32, ptr %6, align 4
%10 = call i32 @test01(i32 noundef %8, i32 noundef %9)
%11 = call i32 @test02(i32 noundef 14, i32 noundef 16)
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test01(i32 noundef, i32 noundef) #1
declare i32 @test02(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgfw98zl8.c'
source_filename = "/tmp/tmpgfw98zl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libjte_write_unmatched(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
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
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @jtwrite(ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
ret i32 %15
}
declare i32 @jtwrite(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgfw98zl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libjte_write_unmatched(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
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
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @jtwrite(ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
ret i32 %15
}
declare i32 @jtwrite(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxsyml6me.c'
source_filename = "/tmp/tmpxsyml6me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"The creature is afflicted by the following indeffinite madness:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"\22Being drunk keeps me sane.\22\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\22I keep whatever I find.\22\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [109 x i8] c"\22I try to become more like someone else I know--adopting his or her style of dress, mannerisms, and name.\22\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [90 x i8] c"\22I must bend the truth, exaggerate, or outright lie to be interesting to other people.\22\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [105 x i8] c"\22Achieving my goal is the only thing of interest to me, and I'll ignore everything else to pursue it.\22\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [66 x i8] c"\22I find it hard to care about anything that goes on around me.\22\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"\22I don't like the way people judge me all the time.\22\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [85 x i8] c"\22I am the smartest, wisest, strongest, fastest, and most beautiful person I know.\22\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [139 x i8] c"\22I am convinced that powerful enemies are hunting me, and their agents are everywhere I go. I am sure they're watching me all the time.\22\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [81 x i8] c"\22There's only one person I can trust. And only I can see this special friend.\22\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [92 x i8] c"\22I can't take anything seriously. The more serious the situation, the funnier I find it.\22\0A\0A\00", align 1
@.str.12 = private unnamed_addr constant [54 x i8] c"\22I've discoverd that I really like killing people.\22\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @indefinitemadness() #0 {
%1 = alloca i32, align 4
%2 = call i32 @d(i32 noundef 100)
store i32 %2, ptr %1, align 4
%3 = call i32 @niceprint(ptr noundef @.str)
%4 = load i32, ptr %1, align 4
%5 = icmp ult i32 %4, 16
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @niceprint(ptr noundef @.str.1)
br label %70
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp ult i32 %9, 26
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @niceprint(ptr noundef @.str.2)
br label %69
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = icmp ult i32 %14, 31
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @niceprint(ptr noundef @.str.3)
br label %68
18: ; preds = %13
%19 = load i32, ptr %1, align 4
%20 = icmp ult i32 %19, 36
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @niceprint(ptr noundef @.str.4)
br label %67
23: ; preds = %18
%24 = load i32, ptr %1, align 4
%25 = icmp ult i32 %24, 46
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @niceprint(ptr noundef @.str.5)
br label %66
28: ; preds = %23
%29 = load i32, ptr %1, align 4
%30 = icmp ult i32 %29, 51
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @niceprint(ptr noundef @.str.6)
br label %65
33: ; preds = %28
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 56
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @niceprint(ptr noundef @.str.7)
br label %64
38: ; preds = %33
%39 = load i32, ptr %1, align 4
%40 = icmp ult i32 %39, 71
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @niceprint(ptr noundef @.str.8)
br label %63
43: ; preds = %38
%44 = load i32, ptr %1, align 4
%45 = icmp ult i32 %44, 81
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @niceprint(ptr noundef @.str.9)
br label %62
48: ; preds = %43
%49 = load i32, ptr %1, align 4
%50 = icmp ult i32 %49, 86
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @niceprint(ptr noundef @.str.10)
br label %61
53: ; preds = %48
%54 = load i32, ptr %1, align 4
%55 = icmp ult i32 %54, 96
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @niceprint(ptr noundef @.str.11)
br label %60
58: ; preds = %53
%59 = call i32 @niceprint(ptr noundef @.str.12)
br label %60
60: ; preds = %58, %56
br label %61
61: ; preds = %60, %51
br label %62
62: ; preds = %61, %46
br label %63
63: ; preds = %62, %41
br label %64
64: ; preds = %63, %36
br label %65
65: ; preds = %64, %31
br label %66
66: ; preds = %65, %26
br label %67
67: ; preds = %66, %21
br label %68
68: ; preds = %67, %16
br label %69
69: ; preds = %68, %11
br label %70
70: ; preds = %69, %6
ret void
}
declare i32 @d(i32 noundef) #1
declare i32 @niceprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxsyml6me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"The creature is afflicted by the following indeffinite madness:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"\22Being drunk keeps me sane.\22\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\22I keep whatever I find.\22\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [109 x i8] c"\22I try to become more like someone else I know--adopting his or her style of dress, mannerisms, and name.\22\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [90 x i8] c"\22I must bend the truth, exaggerate, or outright lie to be interesting to other people.\22\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [105 x i8] c"\22Achieving my goal is the only thing of interest to me, and I'll ignore everything else to pursue it.\22\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [66 x i8] c"\22I find it hard to care about anything that goes on around me.\22\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"\22I don't like the way people judge me all the time.\22\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [85 x i8] c"\22I am the smartest, wisest, strongest, fastest, and most beautiful person I know.\22\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [139 x i8] c"\22I am convinced that powerful enemies are hunting me, and their agents are everywhere I go. I am sure they're watching me all the time.\22\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [81 x i8] c"\22There's only one person I can trust. And only I can see this special friend.\22\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [92 x i8] c"\22I can't take anything seriously. The more serious the situation, the funnier I find it.\22\0A\0A\00", align 1
@.str.12 = private unnamed_addr constant [54 x i8] c"\22I've discoverd that I really like killing people.\22\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @indefinitemadness() #0 {
%1 = alloca i32, align 4
%2 = call i32 @d(i32 noundef 100)
store i32 %2, ptr %1, align 4
%3 = call i32 @niceprint(ptr noundef @.str)
%4 = load i32, ptr %1, align 4
%5 = icmp ult i32 %4, 16
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @niceprint(ptr noundef @.str.1)
br label %70
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp ult i32 %9, 26
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @niceprint(ptr noundef @.str.2)
br label %69
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = icmp ult i32 %14, 31
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @niceprint(ptr noundef @.str.3)
br label %68
18: ; preds = %13
%19 = load i32, ptr %1, align 4
%20 = icmp ult i32 %19, 36
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @niceprint(ptr noundef @.str.4)
br label %67
23: ; preds = %18
%24 = load i32, ptr %1, align 4
%25 = icmp ult i32 %24, 46
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @niceprint(ptr noundef @.str.5)
br label %66
28: ; preds = %23
%29 = load i32, ptr %1, align 4
%30 = icmp ult i32 %29, 51
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @niceprint(ptr noundef @.str.6)
br label %65
33: ; preds = %28
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 56
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @niceprint(ptr noundef @.str.7)
br label %64
38: ; preds = %33
%39 = load i32, ptr %1, align 4
%40 = icmp ult i32 %39, 71
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @niceprint(ptr noundef @.str.8)
br label %63
43: ; preds = %38
%44 = load i32, ptr %1, align 4
%45 = icmp ult i32 %44, 81
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @niceprint(ptr noundef @.str.9)
br label %62
48: ; preds = %43
%49 = load i32, ptr %1, align 4
%50 = icmp ult i32 %49, 86
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @niceprint(ptr noundef @.str.10)
br label %61
53: ; preds = %48
%54 = load i32, ptr %1, align 4
%55 = icmp ult i32 %54, 96
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @niceprint(ptr noundef @.str.11)
br label %60
58: ; preds = %53
%59 = call i32 @niceprint(ptr noundef @.str.12)
br label %60
60: ; preds = %58, %56
br label %61
61: ; preds = %60, %51
br label %62
62: ; preds = %61, %46
br label %63
63: ; preds = %62, %41
br label %64
64: ; preds = %63, %36
br label %65
65: ; preds = %64, %31
br label %66
66: ; preds = %65, %26
br label %67
67: ; preds = %66, %21
br label %68
68: ; preds = %67, %16
br label %69
69: ; preds = %68, %11
br label %70
70: ; preds = %69, %6
ret void
}
declare i32 @d(i32 noundef) #1
declare i32 @niceprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa1pcujqb.c'
source_filename = "/tmp/tmpa1pcujqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergeSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %30
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %13, %14
%16 = sdiv i32 %15, 2
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
call void @MergeSort(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @MergeSort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @Merge(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = call i32 (...) @print()
br label %30
30: ; preds = %12, %11
ret void
}
declare i32 @Merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @print(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa1pcujqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergeSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %30
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %13, %14
%16 = sdiv i32 %15, 2
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
call void @MergeSort(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @MergeSort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @Merge(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = call i32 (...) @print()
br label %30
30: ; preds = %12, %11
ret void
}
declare i32 @Merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @print(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfykukjew.c'
source_filename = "/tmp/tmpfykukjew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @haiku_lchmod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %2
%11 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @S_ISLNK(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOSYS, align 4
%17 = sub nsw i32 0, %16
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %22
18: ; preds = %10, %2
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call i32 @chmod(ptr noundef %19, i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %15
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @chmod(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/tmpfykukjew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @haiku_lchmod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %2
%11 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @S_ISLNK(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOSYS, align 4
%17 = sub nsw i32 0, %16
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %22
18: ; preds = %10, %2
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call i32 @chmod(ptr noundef %19, i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %15
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @chmod(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/tmpo8enh552.c'
source_filename = "/tmp/tmpo8enh552.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: Usage \22%s <file> <offset> <len>\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@MAP_FILE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"%s: mmap(): %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"mapped \22%s\22 from %i to %i (0x%x to 0x%x) \0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"%s: write(): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = 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
%17 = call i32 (...) @getpagesize()
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 4
br i1 %19, label %32, label %20
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %9)
%25 = icmp ne i32 %24, 1
br i1 %25, label %32, label %26
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 3
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %12)
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %42
32: ; preds = %26, %20, %2
%33 = load i32, ptr @stderr, align 4
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %36, ptr noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %26
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strtoul(ptr noundef %45, ptr noundef %16, i32 noundef 0)
store i32 %46, ptr %9, align 4
%47 = load ptr, ptr %16, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %64
49: ; preds = %42
%50 = load ptr, ptr %16, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %64
54: ; preds = %49
%55 = load i32, ptr @stderr, align 4
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 0
%61 = load ptr, ptr %60, align 8
%62 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.1, ptr noundef %58, ptr noundef %61)
%63 = call i32 @exit(i32 noundef 1) #3
unreachable
64: ; preds = %49, %42
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
%67 = load ptr, ptr %66, align 8
store ptr %67, ptr %6, align 8
%68 = load ptr, ptr %6, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.2)
store ptr %69, ptr %7, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %81, label %71
71: ; preds = %64
%72 = load i32, ptr @stderr, align 4
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 0
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr @errno, align 4
%78 = call ptr @strerror(i32 noundef %77)
%79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.3, ptr noundef %75, ptr noundef %76, ptr noundef %78)
%80 = call i32 @exit(i32 noundef 1) #3
unreachable
81: ; preds = %64
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %8, align 4
%84 = sub nsw i32 %83, 1
%85 = xor i32 %84, -1
%86 = and i32 %82, %85
store i32 %86, ptr %10, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %88, 1
%90 = and i32 %87, %89
store i32 %90, ptr %11, align 4
%91 = load i32, ptr %12, align 4
%92 = load i32, ptr %11, align 4
%93 = add i32 %91, %92
%94 = load i32, ptr %8, align 4
%95 = add i32 %93, %94
%96 = sub i32 %95, 1
%97 = load i32, ptr %8, align 4
%98 = sub nsw i32 %97, 1
%99 = xor i32 %98, -1
%100 = and i32 %96, %99
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %11, align 4
%103 = add i32 %101, %102
%104 = load i32, ptr %8, align 4
%105 = sub nsw i32 %104, 1
%106 = and i32 %103, %105
store i32 %106, ptr %14, align 4
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr @PROT_READ, align 4
%109 = load i32, ptr @MAP_FILE, align 4
%110 = load i32, ptr @MAP_PRIVATE, align 4
%111 = or i32 %109, %110
%112 = load ptr, ptr %7, align 8
%113 = call i32 @fileno(ptr noundef %112)
%114 = load i32, ptr %10, align 4
%115 = call ptr @mmap(i32 noundef 0, i32 noundef %107, i32 noundef %108, i32 noundef %111, i32 noundef %113, i32 noundef %114)
store ptr %115, ptr %15, align 8
%116 = load ptr, ptr %15, align 8
%117 = icmp eq ptr %116, inttoptr (i64 -1 to ptr)
br i1 %117, label %118, label %127
118: ; preds = %81
%119 = load i32, ptr @stderr, align 4
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds ptr, ptr %120, i64 0
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr @errno, align 4
%124 = call ptr @strerror(i32 noundef %123)
%125 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.4, ptr noundef %122, ptr noundef %124)
%126 = call i32 @exit(i32 noundef 1) #3
unreachable
127: ; preds = %81
%128 = load ptr, ptr %7, align 8
%129 = call i32 @fclose(ptr noundef %128)
%130 = load i32, ptr @stderr, align 4
%131 = load ptr, ptr %6, align 8
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %9, align 4
%134 = load i32, ptr %12, align 4
%135 = add i32 %133, %134
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %10, align 4
%138 = load i32, ptr %13, align 4
%139 = add i32 %137, %138
%140 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.5, ptr noundef %131, i32 noundef %132, i32 noundef %135, i32 noundef %136, i32 noundef %139)
%141 = load ptr, ptr %15, align 8
%142 = load i32, ptr %11, align 4
%143 = zext i32 %142 to i64
%144 = getelementptr i8, ptr %141, i64 %143
%145 = load i32, ptr %12, align 4
%146 = load i32, ptr @stdout, align 4
%147 = call i32 @fwrite(ptr noundef %144, i32 noundef 1, i32 noundef %145, i32 noundef %146)
%148 = load i32, ptr %12, align 4
%149 = icmp ne i32 %147, %148
br i1 %149, label %150, label %159
150: ; preds = %127
%151 = load i32, ptr @stderr, align 4
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds ptr, ptr %152, i64 0
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr @errno, align 4
%156 = call ptr @strerror(i32 noundef %155)
%157 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.6, ptr noundef %154, ptr noundef %156)
%158 = call i32 @exit(i32 noundef 1) #3
unreachable
159: ; preds = %127
ret i32 0
}
declare i32 @getpagesize(...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8enh552.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: Usage \22%s <file> <offset> <len>\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@MAP_FILE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"%s: mmap(): %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"mapped \22%s\22 from %i to %i (0x%x to 0x%x) \0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"%s: write(): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = 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
%17 = call i32 (...) @getpagesize()
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 4
br i1 %19, label %32, label %20
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %9)
%25 = icmp ne i32 %24, 1
br i1 %25, label %32, label %26
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 3
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %12)
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %42
32: ; preds = %26, %20, %2
%33 = load i32, ptr @stderr, align 4
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %36, ptr noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %26
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strtoul(ptr noundef %45, ptr noundef %16, i32 noundef 0)
store i32 %46, ptr %9, align 4
%47 = load ptr, ptr %16, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %64
49: ; preds = %42
%50 = load ptr, ptr %16, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %64
54: ; preds = %49
%55 = load i32, ptr @stderr, align 4
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 0
%61 = load ptr, ptr %60, align 8
%62 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.1, ptr noundef %58, ptr noundef %61)
%63 = call i32 @exit(i32 noundef 1) #3
unreachable
64: ; preds = %49, %42
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
%67 = load ptr, ptr %66, align 8
store ptr %67, ptr %6, align 8
%68 = load ptr, ptr %6, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.2)
store ptr %69, ptr %7, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %81, label %71
71: ; preds = %64
%72 = load i32, ptr @stderr, align 4
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 0
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr @errno, align 4
%78 = call ptr @strerror(i32 noundef %77)
%79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.3, ptr noundef %75, ptr noundef %76, ptr noundef %78)
%80 = call i32 @exit(i32 noundef 1) #3
unreachable
81: ; preds = %64
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %8, align 4
%84 = sub nsw i32 %83, 1
%85 = xor i32 %84, -1
%86 = and i32 %82, %85
store i32 %86, ptr %10, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %88, 1
%90 = and i32 %87, %89
store i32 %90, ptr %11, align 4
%91 = load i32, ptr %12, align 4
%92 = load i32, ptr %11, align 4
%93 = add i32 %91, %92
%94 = load i32, ptr %8, align 4
%95 = add i32 %93, %94
%96 = sub i32 %95, 1
%97 = load i32, ptr %8, align 4
%98 = sub nsw i32 %97, 1
%99 = xor i32 %98, -1
%100 = and i32 %96, %99
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %11, align 4
%103 = add i32 %101, %102
%104 = load i32, ptr %8, align 4
%105 = sub nsw i32 %104, 1
%106 = and i32 %103, %105
store i32 %106, ptr %14, align 4
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr @PROT_READ, align 4
%109 = load i32, ptr @MAP_FILE, align 4
%110 = load i32, ptr @MAP_PRIVATE, align 4
%111 = or i32 %109, %110
%112 = load ptr, ptr %7, align 8
%113 = call i32 @fileno(ptr noundef %112)
%114 = load i32, ptr %10, align 4
%115 = call ptr @mmap(i32 noundef 0, i32 noundef %107, i32 noundef %108, i32 noundef %111, i32 noundef %113, i32 noundef %114)
store ptr %115, ptr %15, align 8
%116 = load ptr, ptr %15, align 8
%117 = icmp eq ptr %116, inttoptr (i64 -1 to ptr)
br i1 %117, label %118, label %127
118: ; preds = %81
%119 = load i32, ptr @stderr, align 4
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds ptr, ptr %120, i64 0
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr @errno, align 4
%124 = call ptr @strerror(i32 noundef %123)
%125 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.4, ptr noundef %122, ptr noundef %124)
%126 = call i32 @exit(i32 noundef 1) #3
unreachable
127: ; preds = %81
%128 = load ptr, ptr %7, align 8
%129 = call i32 @fclose(ptr noundef %128)
%130 = load i32, ptr @stderr, align 4
%131 = load ptr, ptr %6, align 8
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %9, align 4
%134 = load i32, ptr %12, align 4
%135 = add i32 %133, %134
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %10, align 4
%138 = load i32, ptr %13, align 4
%139 = add i32 %137, %138
%140 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.5, ptr noundef %131, i32 noundef %132, i32 noundef %135, i32 noundef %136, i32 noundef %139)
%141 = load ptr, ptr %15, align 8
%142 = load i32, ptr %11, align 4
%143 = zext i32 %142 to i64
%144 = getelementptr i8, ptr %141, i64 %143
%145 = load i32, ptr %12, align 4
%146 = load i32, ptr @stdout, align 4
%147 = call i32 @fwrite(ptr noundef %144, i32 noundef 1, i32 noundef %145, i32 noundef %146)
%148 = load i32, ptr %12, align 4
%149 = icmp ne i32 %147, %148
br i1 %149, label %150, label %159
150: ; preds = %127
%151 = load i32, ptr @stderr, align 4
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds ptr, ptr %152, i64 0
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr @errno, align 4
%156 = call ptr @strerror(i32 noundef %155)
%157 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.6, ptr noundef %154, ptr noundef %156)
%158 = call i32 @exit(i32 noundef 1) #3
unreachable
159: ; preds = %127
ret i32 0
}
declare i32 @getpagesize(...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpktu99ck8.c'
source_filename = "/tmp/tmpktu99ck8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0D!0x%p does not hold\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"\0A!0x%p holds\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0D(0x%p != NULL) does not hold\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0A(0x%p != NULL) holds\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
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
br label %3
3: ; preds = %9, %0
%4 = load ptr, ptr %2, align 8
%5 = ptrtoint ptr %4 to i64
%6 = shl i64 %5, 1
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %2, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load ptr, ptr %2, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
br label %15
15: ; preds = %21, %12
%16 = load ptr, ptr %2, align 8
%17 = ptrtoint ptr %16 to i64
%18 = shl i64 %17, 1
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %2, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load ptr, ptr %2, align 8
%23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22)
br label %15, !llvm.loop !8
24: ; preds = %15
%25 = load ptr, ptr %2, align 8
%26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktu99ck8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0D!0x%p does not hold\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"\0A!0x%p holds\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0D(0x%p != NULL) does not hold\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0A(0x%p != NULL) holds\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
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = shl i64 %4, 1
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = ptrtoint ptr %11 to i64
%13 = shl i64 %12, 1
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %2, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %16
16: ; preds = %._crit_edge, %0
%17 = load ptr, ptr %2, align 8
%18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17)
store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = ptrtoint ptr %19 to i64
%21 = shl i64 %20, 1
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %2, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph2, label %32
.lr.ph2: ; preds = %16
br label %24
24: ; preds = %.lr.ph2, %24
%25 = load ptr, ptr %2, align 8
%26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = ptrtoint ptr %27 to i64
%29 = shl i64 %28, 1
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %2, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %32
32: ; preds = %._crit_edge3, %16
%33 = load ptr, ptr %2, align 8
%34 = call i32 @printf(ptr noundef @.str.3, ptr noundef %33)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgv_evn8_.c'
source_filename = "/tmp/tmpgv_evn8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Errore numero argomenti.\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Errore allocazione vet.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"Numeri binari: \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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %37
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %7, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %13
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %37
29: ; preds = %13
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2)
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @binary(ptr noundef %32, i32 noundef %33)
%35 = load ptr, ptr %7, align 8
%36 = call i32 @free(ptr noundef %35)
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %29, %26, %10
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @binary(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgv_evn8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Errore numero argomenti.\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Errore allocazione vet.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"Numeri binari: \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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %37
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %7, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %13
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %37
29: ; preds = %13
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2)
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @binary(ptr noundef %32, i32 noundef %33)
%35 = load ptr, ptr %7, align 8
%36 = call i32 @free(ptr noundef %35)
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %29, %26, %10
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @binary(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg0fj1kzn.c'
source_filename = "/tmp/tmpg0fj1kzn.c"
target datalayout = "e-m:e-p270: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.myDrawUppLeftLeg.spec = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diff = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffb = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffl = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffBL = private unnamed_addr constant [4 x double] [double 1.000000e-01, double 2.000000e-01, double 1.000000e+00, double 1.000000e+00], align 16
@GL_FRONT = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GLU_FILL = dso_local global i32 0, align 4
@GLU_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myDrawUppLeftLeg() #0 {
%1 = alloca ptr, align 8
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
%6 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myDrawUppLeftLeg.spec, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myDrawUppLeftLeg.diff, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.myDrawUppLeftLeg.diffb, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myDrawUppLeftLeg.diffl, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.myDrawUppLeftLeg.diffBL, i64 32, i1 false)
%7 = load i32, ptr @GL_FRONT, align 4
%8 = load i32, ptr @GL_SHININESS, align 4
%9 = call i32 @glMaterialf(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = load i32, ptr @GL_FRONT, align 4
%11 = load i32, ptr @GL_SPECULAR, align 4
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = call i32 @glMaterialfv(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = load i32, ptr @GL_FRONT, align 4
%15 = load i32, ptr @GL_DIFFUSE, align 4
%16 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%17 = call i32 @glMaterialfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @GL_FRONT, align 4
%19 = load i32, ptr @GL_DIFFUSE, align 4
%20 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 0
%21 = call i32 @glMaterialfv(i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = call ptr (...) @gluNewQuadric()
store ptr %22, ptr %1, align 8
%23 = load ptr, ptr %1, align 8
%24 = load i32, ptr @GLU_FILL, align 4
%25 = call i32 @gluQuadricDrawStyle(ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %1, align 8
%27 = load i32, ptr @GLU_SMOOTH, align 4
%28 = call i32 @gluQuadricNormals(ptr noundef %26, i32 noundef %27)
%29 = load ptr, ptr %1, align 8
%30 = call i32 @gluSphere(ptr noundef %29, double noundef 1.450000e+00, i32 noundef 30, i32 noundef 30)
%31 = call i32 @glRotated(double noundef -9.000000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%32 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -3.300000e+00)
%33 = load ptr, ptr %1, align 8
%34 = call i32 @gluCylinder(ptr noundef %33, double noundef 1.300000e+00, double noundef 1.450000e+00, double noundef 3.500000e+00, i32 noundef 30, i32 noundef 30)
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 @glMaterialf(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #2
declare ptr @gluNewQuadric(...) #2
declare i32 @gluQuadricDrawStyle(ptr noundef, i32 noundef) #2
declare i32 @gluQuadricNormals(ptr noundef, i32 noundef) #2
declare i32 @gluSphere(ptr noundef, double noundef, i32 noundef, i32 noundef) #2
declare i32 @glRotated(double noundef, double noundef, double noundef, double noundef) #2
declare i32 @glTranslated(double noundef, double noundef, double noundef) #2
declare i32 @gluCylinder(ptr noundef, double noundef, double noundef, double noundef, i32 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/tmpg0fj1kzn.c"
target datalayout = "e-m:e-p270: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.myDrawUppLeftLeg.spec = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diff = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffb = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffl = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myDrawUppLeftLeg.diffBL = private unnamed_addr constant [4 x double] [double 1.000000e-01, double 2.000000e-01, double 1.000000e+00, double 1.000000e+00], align 16
@GL_FRONT = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GLU_FILL = dso_local global i32 0, align 4
@GLU_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myDrawUppLeftLeg() #0 {
%1 = alloca ptr, align 8
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
%6 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myDrawUppLeftLeg.spec, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myDrawUppLeftLeg.diff, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.myDrawUppLeftLeg.diffb, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myDrawUppLeftLeg.diffl, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.myDrawUppLeftLeg.diffBL, i64 32, i1 false)
%7 = load i32, ptr @GL_FRONT, align 4
%8 = load i32, ptr @GL_SHININESS, align 4
%9 = call i32 @glMaterialf(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = load i32, ptr @GL_FRONT, align 4
%11 = load i32, ptr @GL_SPECULAR, align 4
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = call i32 @glMaterialfv(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = load i32, ptr @GL_FRONT, align 4
%15 = load i32, ptr @GL_DIFFUSE, align 4
%16 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%17 = call i32 @glMaterialfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @GL_FRONT, align 4
%19 = load i32, ptr @GL_DIFFUSE, align 4
%20 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 0
%21 = call i32 @glMaterialfv(i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = call ptr (...) @gluNewQuadric()
store ptr %22, ptr %1, align 8
%23 = load ptr, ptr %1, align 8
%24 = load i32, ptr @GLU_FILL, align 4
%25 = call i32 @gluQuadricDrawStyle(ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %1, align 8
%27 = load i32, ptr @GLU_SMOOTH, align 4
%28 = call i32 @gluQuadricNormals(ptr noundef %26, i32 noundef %27)
%29 = load ptr, ptr %1, align 8
%30 = call i32 @gluSphere(ptr noundef %29, double noundef 1.450000e+00, i32 noundef 30, i32 noundef 30)
%31 = call i32 @glRotated(double noundef -9.000000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%32 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -3.300000e+00)
%33 = load ptr, ptr %1, align 8
%34 = call i32 @gluCylinder(ptr noundef %33, double noundef 1.300000e+00, double noundef 1.450000e+00, double noundef 3.500000e+00, i32 noundef 30, i32 noundef 30)
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 @glMaterialf(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #2
declare ptr @gluNewQuadric(...) #2
declare i32 @gluQuadricDrawStyle(ptr noundef, i32 noundef) #2
declare i32 @gluQuadricNormals(ptr noundef, i32 noundef) #2
declare i32 @gluSphere(ptr noundef, double noundef, i32 noundef, i32 noundef) #2
declare i32 @glRotated(double noundef, double noundef, double noundef, double noundef) #2
declare i32 @glTranslated(double noundef, double noundef, double noundef) #2
declare i32 @gluCylinder(ptr noundef, double noundef, double noundef, double noundef, i32 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/tmp9v9_tehf.c'
source_filename = "/tmp/tmp9v9_tehf.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Lindeberg convolution \0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" gaussconv_lindeberg in sigma gamma(laplacian scheme) out \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
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/tmp9v9_tehf.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Lindeberg convolution \0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" gaussconv_lindeberg in sigma gamma(laplacian scheme) out \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
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/tmp6jve2jm0.c'
source_filename = "/tmp/tmp6jve2jm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -443946297, ptr %3, align 4
store i32 2, ptr %2, align 4
br label %5
5: ; preds = %22, %0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @sqrt(i32 noundef %7)
%9 = icmp sle i32 %6, %8
br i1 %9, label %10, label %25
10: ; preds = %5
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = srem i32 %11, %12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %10
%16 = load i32, ptr %2, align 4
%17 = call i64 @is_prime(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19, %15, %10
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %5, !llvm.loop !6
25: ; preds = %5
%26 = load i32, ptr %4, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
ret i32 0
}
declare i32 @sqrt(i32 noundef) #1
declare i64 @is_prime(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jve2jm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -443946297, ptr %3, align 4
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @sqrt(i32 noundef %6)
%8 = icmp sle i32 %5, %7
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %21
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = srem i32 %10, %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = call i64 @is_prime(i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %18, %14, %9
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = call i32 @sqrt(i32 noundef %25)
%27 = icmp sle i32 %24, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %4, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
ret i32 0
}
declare i32 @sqrt(i32 noundef) #1
declare i64 @is_prime(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"}
|
; ModuleID = '/tmp/tmpjcp97vei.c'
source_filename = "/tmp/tmpjcp97vei.c"
target datalayout = "e-m:e-p270: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/tmpjcp97vei.c"
target datalayout = "e-m:e-p270: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/tmpmb0u13qd.c'
source_filename = "/tmp/tmpmb0u13qd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin_x_plus_sin_2x(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fptosi double %3 to i32
%5 = call double @sin(i32 noundef %4)
%6 = load double, ptr %2, align 8
%7 = fmul double 2.000000e+00, %6
%8 = fptosi double %7 to i32
%9 = call double @sin(i32 noundef %8)
%10 = fadd double %5, %9
ret double %10
}
declare double @sin(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/tmpmb0u13qd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin_x_plus_sin_2x(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fptosi double %3 to i32
%5 = call double @sin(i32 noundef %4)
%6 = load double, ptr %2, align 8
%7 = fmul double 2.000000e+00, %6
%8 = fptosi double %7 to i32
%9 = call double @sin(i32 noundef %8)
%10 = fadd double %5, %9
ret double %10
}
declare double @sin(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/tmpvb4x_qbf.c'
source_filename = "/tmp/tmpvb4x_qbf.c"
target datalayout = "e-m:e-p270: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/tmpvb4x_qbf.c"
target datalayout = "e-m:e-p270: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/tmpc40ggxtv.c'
source_filename = "/tmp/tmpc40ggxtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fileEOF(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @feof(ptr noundef %5)
ret i32 %6
}
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc40ggxtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fileEOF(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @feof(ptr noundef %5)
ret i32 %6
}
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg_dvzbnm.c'
source_filename = "/tmp/tmpg_dvzbnm.c"
target datalayout = "e-m:e-p270: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/tmpg_dvzbnm.c"
target datalayout = "e-m:e-p270: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/tmp0swdu7ed.c'
source_filename = "/tmp/tmp0swdu7ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max\00", align 1
@INT64_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_offset(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcasecmp(ptr noundef @.str, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i64, ptr @INT64_MAX, align 8
%15 = load ptr, ptr %5, align 8
store i64 %14, ptr %15, align 8
br label %16
16: ; preds = %13, %10
store i32 1, ptr %3, align 4
br label %36
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = call i64 @parse_size_p(ptr noundef %18, ptr noundef %6)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr @INT64_MAX, align 8
%24 = icmp sle i64 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i64, ptr %6, align 8
%30 = load ptr, ptr %5, align 8
store i64 %29, ptr %30, align 8
br label %31
31: ; preds = %28, %25
store i32 1, ptr %3, align 4
br label %36
32: ; preds = %21
%33 = load i32, ptr @ERANGE, align 4
store i32 %33, ptr @errno, align 4
br label %34
34: ; preds = %32, %17
br label %35
35: ; preds = %34
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %35, %31, %16
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) #1
declare i64 @parse_size_p(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/tmp0swdu7ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max\00", align 1
@INT64_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_offset(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcasecmp(ptr noundef @.str, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i64, ptr @INT64_MAX, align 8
%15 = load ptr, ptr %5, align 8
store i64 %14, ptr %15, align 8
br label %16
16: ; preds = %13, %10
store i32 1, ptr %3, align 4
br label %36
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = call i64 @parse_size_p(ptr noundef %18, ptr noundef %6)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr @INT64_MAX, align 8
%24 = icmp sle i64 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i64, ptr %6, align 8
%30 = load ptr, ptr %5, align 8
store i64 %29, ptr %30, align 8
br label %31
31: ; preds = %28, %25
store i32 1, ptr %3, align 4
br label %36
32: ; preds = %21
%33 = load i32, ptr @ERANGE, align 4
store i32 %33, ptr @errno, align 4
br label %34
34: ; preds = %32, %17
br label %35
35: ; preds = %34
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %35, %31, %16
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) #1
declare i64 @parse_size_p(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/tmp82227prp.c'
source_filename = "/tmp/tmp82227prp.c"
target datalayout = "e-m:e-p270: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/tmp82227prp.c"
target datalayout = "e-m:e-p270: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/tmp7tkstyda.c'
source_filename = "/tmp/tmp7tkstyda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c" \09\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store ptr null, ptr %2, align 8
br label %122
12: ; preds = %7
br label %13
13: ; preds = %26, %12
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %30
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i8, ptr %20, align 1
%22 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %18
br label %30
25: ; preds = %18
br label %26
26: ; preds = %25
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %27, align 8
br label %13, !llvm.loop !6
30: ; preds = %24, %13
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30
store ptr null, ptr %2, align 8
br label %122
37: ; preds = %30
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
%41 = call i64 @strchr(ptr noundef @.str.1, i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %83
43: ; preds = %37
%44 = load ptr, ptr %3, align 8
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %44, align 8
%47 = load ptr, ptr %3, align 8
%48 = load ptr, ptr %47, align 8
store ptr %48, ptr %4, align 8
br label %49
49: ; preds = %66, %43
%50 = load ptr, ptr %3, align 8
%51 = load ptr, ptr %50, align 8
%52 = load i8, ptr %51, align 1
%53 = icmp ne i8 %52, 0
br i1 %53, label %54, label %70
54: ; preds = %49
%55 = load ptr, ptr %3, align 8
%56 = load ptr, ptr %55, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 -1
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %58, %62
br i1 %63, label %64, label %65
64: ; preds = %54
br label %70
65: ; preds = %54
br label %66
66: ; preds = %65
%67 = load ptr, ptr %3, align 8
%68 = load ptr, ptr %67, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %67, align 8
br label %49, !llvm.loop !8
70: ; preds = %64, %49
%71 = load ptr, ptr %3, align 8
%72 = load ptr, ptr %71, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store ptr null, ptr %2, align 8
br label %122
77: ; preds = %70
%78 = load ptr, ptr %3, align 8
%79 = load ptr, ptr %78, align 8
store i8 0, ptr %79, align 1
%80 = load ptr, ptr %3, align 8
%81 = load ptr, ptr %80, align 8
%82 = getelementptr inbounds i8, ptr %81, i32 1
store ptr %82, ptr %80, align 8
br label %120
83: ; preds = %37
%84 = load ptr, ptr %3, align 8
%85 = load ptr, ptr %84, align 8
store ptr %85, ptr %4, align 8
br label %86
86: ; preds = %99, %83
%87 = load ptr, ptr %3, align 8
%88 = load ptr, ptr %87, align 8
%89 = load i8, ptr %88, align 1
%90 = icmp ne i8 %89, 0
br i1 %90, label %91, label %103
91: ; preds = %86
%92 = load ptr, ptr %3, align 8
%93 = load ptr, ptr %92, align 8
%94 = load i8, ptr %93, align 1
%95 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %94)
%96 = icmp ne i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %91
br label %103
98: ; preds = %91
br label %99
99: ; preds = %98
%100 = load ptr, ptr %3, align 8
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %100, align 8
br label %86, !llvm.loop !9
103: ; preds = %97, %86
%104 = load ptr, ptr %3, align 8
%105 = load ptr, ptr %104, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %113
109: ; preds = %103
%110 = load ptr, ptr %3, align 8
%111 = load ptr, ptr %110, align 8
store i8 0, ptr %111, align 1
%112 = load ptr, ptr %3, align 8
store ptr null, ptr %112, align 8
br label %119
113: ; preds = %103
%114 = load ptr, ptr %3, align 8
%115 = load ptr, ptr %114, align 8
store i8 0, ptr %115, align 1
%116 = load ptr, ptr %3, align 8
%117 = load ptr, ptr %116, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %116, align 8
br label %119
119: ; preds = %113, %109
br label %120
120: ; preds = %119, %77
%121 = load ptr, ptr %4, align 8
store ptr %121, ptr %2, align 8
br label %122
122: ; preds = %120, %76, %36, %11
%123 = load ptr, ptr %2, align 8
ret ptr %123
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7tkstyda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c" \09\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store ptr null, ptr %2, align 8
br label %131
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %13, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %.loopexit2
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %25
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %18, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %17
br label %33
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %26, align 8
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %29, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %17, label %..loopexit2_crit_edge, !llvm.loop !6
..loopexit2_crit_edge: ; preds = %25
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %12
br label %33
33: ; preds = %.loopexit2, %23
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %34, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %33
store ptr null, ptr %2, align 8
br label %131
40: ; preds = %33
%41 = load ptr, ptr %3, align 8
%42 = load ptr, ptr %41, align 8
%43 = load i8, ptr %42, align 1
%44 = call i64 @strchr(ptr noundef @.str.1, i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %89
46: ; preds = %40
%47 = load ptr, ptr %3, align 8
%48 = load ptr, ptr %47, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %47, align 8
%50 = load ptr, ptr %3, align 8
%51 = load ptr, ptr %50, align 8
store ptr %51, ptr %4, align 8
%52 = load ptr, ptr %3, align 8
%53 = load ptr, ptr %52, align 8
%54 = load i8, ptr %53, align 1
%55 = icmp ne i8 %54, 0
br i1 %55, label %.lr.ph4, label %.loopexit
.lr.ph4: ; preds = %46
br label %56
56: ; preds = %.lr.ph4, %68
%57 = load ptr, ptr %3, align 8
%58 = load ptr, ptr %57, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 -1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %60, %64
br i1 %65, label %66, label %67
66: ; preds = %56
br label %76
67: ; preds = %56
br label %68
68: ; preds = %67
%69 = load ptr, ptr %3, align 8
%70 = load ptr, ptr %69, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %69, align 8
%72 = load ptr, ptr %3, align 8
%73 = load ptr, ptr %72, align 8
%74 = load i8, ptr %73, align 1
%75 = icmp ne i8 %74, 0
br i1 %75, label %56, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %68
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %46
br label %76
76: ; preds = %.loopexit, %66
%77 = load ptr, ptr %3, align 8
%78 = load ptr, ptr %77, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %76
store ptr null, ptr %2, align 8
br label %131
83: ; preds = %76
%84 = load ptr, ptr %3, align 8
%85 = load ptr, ptr %84, align 8
store i8 0, ptr %85, align 1
%86 = load ptr, ptr %3, align 8
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %86, align 8
br label %129
89: ; preds = %40
%90 = load ptr, ptr %3, align 8
%91 = load ptr, ptr %90, align 8
store ptr %91, ptr %4, align 8
%92 = load ptr, ptr %3, align 8
%93 = load ptr, ptr %92, align 8
%94 = load i8, ptr %93, align 1
%95 = icmp ne i8 %94, 0
br i1 %95, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %89
br label %96
96: ; preds = %.lr.ph3, %104
%97 = load ptr, ptr %3, align 8
%98 = load ptr, ptr %97, align 8
%99 = load i8, ptr %98, align 1
%100 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %99)
%101 = icmp ne i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %96
br label %112
103: ; preds = %96
br label %104
104: ; preds = %103
%105 = load ptr, ptr %3, align 8
%106 = load ptr, ptr %105, align 8
%107 = getelementptr inbounds i8, ptr %106, i32 1
store ptr %107, ptr %105, align 8
%108 = load ptr, ptr %3, align 8
%109 = load ptr, ptr %108, align 8
%110 = load i8, ptr %109, align 1
%111 = icmp ne i8 %110, 0
br i1 %111, label %96, label %..loopexit1_crit_edge, !llvm.loop !9
..loopexit1_crit_edge: ; preds = %104
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %89
br label %112
112: ; preds = %.loopexit1, %102
%113 = load ptr, ptr %3, align 8
%114 = load ptr, ptr %113, align 8
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %122
118: ; preds = %112
%119 = load ptr, ptr %3, align 8
%120 = load ptr, ptr %119, align 8
store i8 0, ptr %120, align 1
%121 = load ptr, ptr %3, align 8
store ptr null, ptr %121, align 8
br label %128
122: ; preds = %112
%123 = load ptr, ptr %3, align 8
%124 = load ptr, ptr %123, align 8
store i8 0, ptr %124, align 1
%125 = load ptr, ptr %3, align 8
%126 = load ptr, ptr %125, align 8
%127 = getelementptr inbounds i8, ptr %126, i32 1
store ptr %127, ptr %125, align 8
br label %128
128: ; preds = %122, %118
br label %129
129: ; preds = %128, %83
%130 = load ptr, ptr %4, align 8
store ptr %130, ptr %2, align 8
br label %131
131: ; preds = %129, %82, %39, %11
%132 = load ptr, ptr %2, align 8
ret ptr %132
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphj7sbhtq.c'
source_filename = "/tmp/tmphj7sbhtq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@optind = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"sysio startup\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"rename\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %10
10: ; preds = %19, %2
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load i32, ptr %6, align 4
switch i32 %16, label %17 [
]
17: ; preds = %15
%18 = call i32 (...) @usage()
br label %19
19: ; preds = %17
br label %10, !llvm.loop !6
20: ; preds = %10
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr @optind, align 4
%23 = sub nsw i32 %21, %22
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %20
%26 = call i32 (...) @usage()
br label %27
27: ; preds = %25, %20
%28 = call i32 @_test_sysio_startup()
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = load i32, ptr %7, align 4
%33 = sub nsw i32 0, %32
store i32 %33, ptr @errno, align 4
%34 = call i32 @perror(ptr noundef @.str.1)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %27
%37 = call i32 @umask(i32 noundef 18)
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr @optind, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr @optind, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds ptr, ptr %38, i64 %41
%43 = load ptr, ptr %42, align 8
store ptr %43, ptr %8, align 8
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr @optind, align 4
%46 = sub nsw i32 %44, %45
%47 = icmp ne i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %36
%49 = call i32 (...) @usage()
br label %50
50: ; preds = %48, %36
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr @optind, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr @optind, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds ptr, ptr %51, i64 %54
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %9, align 8
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr @optind, align 4
%59 = sub nsw i32 %57, %58
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %50
%62 = call i32 (...) @usage()
br label %63
63: ; preds = %61, %50
%64 = load ptr, ptr %8, align 8
%65 = load ptr, ptr %9, align 8
%66 = call i32 @rename(ptr noundef %64, ptr noundef %65)
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %63
%70 = call i32 @perror(ptr noundef @.str.2)
br label %71
71: ; preds = %69, %63
%72 = call i32 (...) @_test_sysio_shutdown()
%73 = load i32, ptr %7, align 4
ret i32 %73
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @_test_sysio_startup() #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @umask(i32 noundef) #1
declare i32 @rename(ptr noundef, ptr noundef) #1
declare i32 @_test_sysio_shutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphj7sbhtq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@optind = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"sysio startup\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"rename\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %18
%15 = load i32, ptr %6, align 4
switch i32 %15, label %16 [
]
16: ; preds = %14
%17 = call i32 (...) @usage()
br label %18
18: ; preds = %16
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str)
store i32 %21, ptr %6, align 4
%22 = icmp ne i32 %21, -1
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr @optind, align 4
%26 = sub nsw i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %23
%29 = call i32 (...) @usage()
br label %30
30: ; preds = %28, %23
%31 = call i32 @_test_sysio_startup()
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = sub nsw i32 0, %35
store i32 %36, ptr @errno, align 4
%37 = call i32 @perror(ptr noundef @.str.1)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %30
%40 = call i32 @umask(i32 noundef 18)
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr @optind, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr @optind, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds ptr, ptr %41, i64 %44
%46 = load ptr, ptr %45, align 8
store ptr %46, ptr %8, align 8
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr @optind, align 4
%49 = sub nsw i32 %47, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %39
%52 = call i32 (...) @usage()
br label %53
53: ; preds = %51, %39
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr @optind, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr @optind, align 4
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds ptr, ptr %54, i64 %57
%59 = load ptr, ptr %58, align 8
store ptr %59, ptr %9, align 8
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr @optind, align 4
%62 = sub nsw i32 %60, %61
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %53
%65 = call i32 (...) @usage()
br label %66
66: ; preds = %64, %53
%67 = load ptr, ptr %8, align 8
%68 = load ptr, ptr %9, align 8
%69 = call i32 @rename(ptr noundef %67, ptr noundef %68)
store i32 %69, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %66
%73 = call i32 @perror(ptr noundef @.str.2)
br label %74
74: ; preds = %72, %66
%75 = call i32 (...) @_test_sysio_shutdown()
%76 = load i32, ptr %7, align 4
ret i32 %76
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @_test_sysio_startup() #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @umask(i32 noundef) #1
declare i32 @rename(ptr noundef, ptr noundef) #1
declare i32 @_test_sysio_shutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprr1bs9df.c'
source_filename = "/tmp/tmprr1bs9df.c"
target datalayout = "e-m:e-p270: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 = type { i32 }
@EAGAIN = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_only_from(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca %struct.sockaddr, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
%18 = load i64, ptr %10, align 8
%19 = mul i64 1, %18
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %15, align 8
%22 = load ptr, ptr %15, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %6
store i32 -1, ptr %7, align 4
br label %38
25: ; preds = %6
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i64, ptr %10, align 8
%29 = load i32, ptr %11, align 4
%30 = call i32 @recvfrom(i32 noundef %26, ptr noundef %27, i64 noundef %28, i32 noundef %29, ptr noundef %16, ptr noundef %17)
store i32 %30, ptr %14, align 4
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %15, align 8
%33 = load i64, ptr %10, align 8
%34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33)
%35 = load ptr, ptr %15, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load i32, ptr %14, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %25, %24
%39 = load i32, ptr %7, align 4
ret i32 %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprr1bs9df.c"
target datalayout = "e-m:e-p270: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 = type { i32 }
@EAGAIN = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_only_from(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca %struct.sockaddr, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
%18 = load i64, ptr %10, align 8
%19 = mul i64 1, %18
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %15, align 8
%22 = load ptr, ptr %15, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %6
store i32 -1, ptr %7, align 4
br label %38
25: ; preds = %6
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i64, ptr %10, align 8
%29 = load i32, ptr %11, align 4
%30 = call i32 @recvfrom(i32 noundef %26, ptr noundef %27, i64 noundef %28, i32 noundef %29, ptr noundef %16, ptr noundef %17)
store i32 %30, ptr %14, align 4
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %15, align 8
%33 = load i64, ptr %10, align 8
%34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33)
%35 = load ptr, ptr %15, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load i32, ptr %14, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %25, %24
%39 = load i32, ptr %7, align 4
ret i32 %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprsntp1p_.c'
source_filename = "/tmp/tmprsntp1p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".masm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 @strlen(ptr noundef @.str)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %39, %14
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %42
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [6 x i8], ptr @.str, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %26, %34
br i1 %35, label %36, label %38
36: ; preds = %19
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %19
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %15, !llvm.loop !6
42: ; preds = %15
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp ne i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %42
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %5, align 4
%52 = sub nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %49, i64 %53
store i8 0, ptr %54, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprsntp1p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".masm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 @strlen(ptr noundef @.str)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %44
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %38
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [6 x i8], ptr @.str, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %26, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %25, %33
br i1 %34, label %35, label %37
35: ; preds = %18
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %18
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %14
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %44
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %5, align 4
%54 = sub nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
store i8 0, ptr %56, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgek49i5d.c'
source_filename = "/tmp/tmpgek49i5d.c"
target datalayout = "e-m:e-p270: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/tmpgek49i5d.c"
target datalayout = "e-m:e-p270: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_98joq_8.c'
source_filename = "/tmp/tmp_98joq_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XVisualInfo_blue_mask(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_98joq_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XVisualInfo_blue_mask(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp76bmr2tf.c'
source_filename = "/tmp/tmp76bmr2tf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ls1c_spi_get_base(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
store ptr null, ptr %3, align 8
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %8 [
i32 0, label %6
i32 1, label %7
]
6: ; preds = %1
store ptr inttoptr (i64 3219652608 to ptr), ptr %3, align 8
br label %9
7: ; preds = %1
store ptr inttoptr (i64 3219914752 to ptr), ptr %3, align 8
br label %9
8: ; preds = %1
store ptr null, ptr %3, align 8
br label %9
9: ; preds = %8, %7, %6
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp76bmr2tf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ls1c_spi_get_base(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
store ptr null, ptr %3, align 8
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %8 [
i32 0, label %6
i32 1, label %7
]
6: ; preds = %1
store ptr inttoptr (i64 3219652608 to ptr), ptr %3, align 8
br label %9
7: ; preds = %1
store ptr inttoptr (i64 3219914752 to ptr), ptr %3, align 8
br label %9
8: ; preds = %1
store ptr null, ptr %3, align 8
br label %9
9: ; preds = %8, %7, %6
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4ztux8ho.c'
source_filename = "/tmp/tmp4ztux8ho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filebuf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.stat, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fileno(ptr noundef %7)
%9 = call i64 @fstat(i32 noundef %8, ptr noundef %5)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %4, align 8
store i32 %16, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
store i32 4194304, ptr %22, align 4
br label %23
23: ; preds = %21, %14
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %25, 1
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = call i32 @perror(ptr noundef @.str.1)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %23
%33 = load ptr, ptr %6, align 8
ret ptr %33
}
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ztux8ho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filebuf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.stat, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fileno(ptr noundef %7)
%9 = call i64 @fstat(i32 noundef %8, ptr noundef %5)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %4, align 8
store i32 %16, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
store i32 4194304, ptr %22, align 4
br label %23
23: ; preds = %21, %14
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %25, 1
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = call i32 @perror(ptr noundef @.str.1)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %23
%33 = load ptr, ptr %6, align 8
ret ptr %33
}
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp92d271b6.c'
source_filename = "/tmp/tmp92d271b6.c"
target datalayout = "e-m:e-p270: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/tmp92d271b6.c"
target datalayout = "e-m:e-p270: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/tmp4efie_ji.c'
source_filename = "/tmp/tmp4efie_ji.c"
target datalayout = "e-m:e-p270: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_OK = 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/tmp4efie_ji.c"
target datalayout = "e-m:e-p270: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_OK = 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/tmpgx12h45m.c'
source_filename = "/tmp/tmpgx12h45m.c"
target datalayout = "e-m:e-p270: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/tmpgx12h45m.c"
target datalayout = "e-m:e-p270: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/tmpo9579jcb.c'
source_filename = "/tmp/tmpo9579jcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100 x i32], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @sieve(ptr noundef %3, i32 noundef 100)
ret i32 0
}
declare i32 @sieve(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/tmpo9579jcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100 x i32], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @sieve(ptr noundef %3, i32 noundef 100)
ret i32 0
}
declare i32 @sieve(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/tmpm52_qxiw.c'
source_filename = "/tmp/tmpm52_qxiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_write_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm52_qxiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_write_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk877oahy.c'
source_filename = "/tmp/tmpk877oahy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEvent_xerror_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = inttoptr i64 %6 to ptr
ret ptr %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk877oahy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEvent_xerror_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = inttoptr i64 %6 to ptr
ret ptr %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc06_0zq5.c'
source_filename = "/tmp/tmpc06_0zq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uriWindowsFilenameToUriStringA(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @uriFilenameToUriStringA(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret i32 %7
}
declare i32 @uriFilenameToUriStringA(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/tmpc06_0zq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uriWindowsFilenameToUriStringA(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @uriFilenameToUriStringA(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret i32 %7
}
declare i32 @uriFilenameToUriStringA(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/tmplyzpokan.c'
source_filename = "/tmp/tmplyzpokan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@linkat = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__link(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @linkat, align 4
%6 = load i32, ptr @AT_FDCWD, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @AT_FDCWD, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @INLINE_SYSCALL(i32 noundef %5, i32 noundef 5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @INLINE_SYSCALL(i32 noundef, i32 noundef, i32 noundef, 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/tmplyzpokan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@linkat = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__link(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @linkat, align 4
%6 = load i32, ptr @AT_FDCWD, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @AT_FDCWD, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @INLINE_SYSCALL(i32 noundef %5, i32 noundef 5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @INLINE_SYSCALL(i32 noundef, i32 noundef, i32 noundef, 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/tmph81zbrrr.c'
source_filename = "/tmp/tmph81zbrrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"cslob error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cslob_printerror(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 ptr @cslob_errstring(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @cslob_errstring(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/tmph81zbrrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"cslob error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cslob_printerror(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 ptr @cslob_errstring(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @cslob_errstring(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/tmpc3n_7qsn.c'
source_filename = "/tmp/tmpc3n_7qsn.c"
target datalayout = "e-m:e-p270: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/tmpc3n_7qsn.c"
target datalayout = "e-m:e-p270: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/tmpnwpn7f6b.c'
source_filename = "/tmp/tmpnwpn7f6b.c"
target datalayout = "e-m:e-p270: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/tmpnwpn7f6b.c"
target datalayout = "e-m:e-p270: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/tmpr_9nk1vz.c'
source_filename = "/tmp/tmpr_9nk1vz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @crc16Calculate(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i16 0, ptr %5, align 2
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i16, ptr %5, align 2
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call zeroext i16 @crcAdd(i16 noundef zeroext %12, i8 noundef zeroext %17)
store i16 %18, ptr %5, align 2
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = load i16, ptr %5, align 2
ret i16 %23
}
declare zeroext i16 @crcAdd(i16 noundef zeroext, 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/tmpr_9nk1vz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @crc16Calculate(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i16 0, ptr %5, align 2
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i16, ptr %5, align 2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call zeroext i16 @crcAdd(i16 noundef zeroext %11, i8 noundef zeroext %16)
store i16 %17, ptr %5, align 2
br label %18
18: ; preds = %10
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = load i16, ptr %5, align 2
ret i16 %25
}
declare zeroext i16 @crcAdd(i16 noundef zeroext, 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/tmpnry1x2y4.c'
source_filename = "/tmp/tmpnry1x2y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"DH section\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i8], align 16
%3 = alloca [64 x i8], align 16
%4 = alloca [32 x i8], align 16
%5 = alloca [64 x i8], align 16
%6 = alloca [64 x i8], align 16
%7 = alloca [64 x i8], align 16
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %42, %0
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %45
14: ; preds = %11
%15 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @randombytes(ptr noundef %15, i32 noundef 32)
%17 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%18 = call i32 @randombytes(ptr noundef %17, i32 noundef 32)
%19 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%20 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @crypto_scalarmult_nistp256_base(ptr noundef %19, ptr noundef %20)
%22 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @crypto_scalarmult_nistp256_base(ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%27 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%28 = call i32 @crypto_scalarmult_nistp256(ptr noundef %25, ptr noundef %26, ptr noundef %27)
%29 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%30 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%31 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @crypto_scalarmult_nistp256(ptr noundef %29, ptr noundef %30, ptr noundef %31)
%33 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%34 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%35 = call i64 @memcmp(ptr noundef %33, ptr noundef %34, i32 noundef 64)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %14
%38 = call i32 @printf(ptr noundef @.str.2)
br label %41
39: ; preds = %14
%40 = call i32 @printf(ptr noundef @.str.3)
br label %41
41: ; preds = %39, %37
br label %42
42: ; preds = %41
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %11, !llvm.loop !6
45: ; preds = %11
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef) #1
declare i32 @randombytes(ptr noundef, i32 noundef) #1
declare i32 @crypto_scalarmult_nistp256_base(ptr noundef, ptr noundef) #1
declare i32 @crypto_scalarmult_nistp256(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnry1x2y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"DH section\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i8], align 16
%3 = alloca [64 x i8], align 16
%4 = alloca [32 x i8], align 16
%5 = alloca [64 x i8], align 16
%6 = alloca [64 x i8], align 16
%7 = alloca [64 x i8], align 16
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph, label %46
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %41
%14 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @randombytes(ptr noundef %14, i32 noundef 32)
%16 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @randombytes(ptr noundef %16, i32 noundef 32)
%18 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @crypto_scalarmult_nistp256_base(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%22 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%23 = call i32 @crypto_scalarmult_nistp256_base(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%25 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%26 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @crypto_scalarmult_nistp256(ptr noundef %24, ptr noundef %25, ptr noundef %26)
%28 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%29 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%30 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%31 = call i32 @crypto_scalarmult_nistp256(ptr noundef %28, ptr noundef %29, ptr noundef %30)
%32 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%34 = call i64 @memcmp(ptr noundef %32, ptr noundef %33, i32 noundef 64)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %13
%37 = call i32 @printf(ptr noundef @.str.2)
br label %40
38: ; preds = %13
%39 = call i32 @printf(ptr noundef @.str.3)
br label %40
40: ; preds = %38, %36
br label %41
41: ; preds = %40
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 10
br i1 %45, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %0
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef) #1
declare i32 @randombytes(ptr noundef, i32 noundef) #1
declare i32 @crypto_scalarmult_nistp256_base(ptr noundef, ptr noundef) #1
declare i32 @crypto_scalarmult_nistp256(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmg7zr56u.c'
source_filename = "/tmp/tmpmg7zr56u.c"
target datalayout = "e-m:e-p270: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/tmpmg7zr56u.c"
target datalayout = "e-m:e-p270: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_4fyu3h5.c'
source_filename = "/tmp/tmp_4fyu3h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Usage: domain_search <domain name> <TLD> <TLD> ... \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"www.uwhois.com\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@stdout = 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 [50000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @puts(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = call i32 @open_socket(ptr noundef @.str.1, i32 noundef 999)
store i32 %16, ptr %7, align 4
store i32 1, ptr %9, align 4
br label %17
17: ; preds = %31, %15
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcat(ptr noundef %22, ptr noundef %27)
%29 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str.2)
br label %31
31: ; preds = %21
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
%35 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @strcat(ptr noundef %35, ptr noundef @.str.3)
%37 = load i32, ptr %7, align 4
%38 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = call i32 @write(i32 noundef %37, ptr noundef %38, i32 noundef %40)
store i32 %41, ptr %8, align 4
br label %42
42: ; preds = %55, %34
%43 = load i32, ptr %7, align 4
%44 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%45 = call i32 @read(i32 noundef %43, ptr noundef %44, i32 noundef 49999)
store i32 %45, ptr %8, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %42
%48 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%49 = load i32, ptr %8, align 4
%50 = call i32 @write(i32 noundef 1, ptr noundef %48, i32 noundef %49)
%51 = load i32, ptr %8, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %55
53: ; preds = %47
%54 = call i32 @perror(ptr noundef @.str.4)
br label %55
55: ; preds = %53, %47
%56 = load i32, ptr @stdout, align 4
%57 = call i32 @fflush(i32 noundef %56)
br label %42, !llvm.loop !8
58: ; preds = %42
%59 = load i32, ptr %7, align 4
%60 = call i32 @shutdown(i32 noundef %59, i32 noundef 1)
%61 = load i32, ptr %7, align 4
%62 = call i32 @close(i32 noundef %61)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open_socket(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_4fyu3h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Usage: domain_search <domain name> <TLD> <TLD> ... \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"www.uwhois.com\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@stdout = 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 [50000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @puts(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = call i32 @open_socket(ptr noundef @.str.1, i32 noundef 999)
store i32 %16, ptr %7, align 4
store i32 1, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %36
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %30
%21 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcat(ptr noundef %21, ptr noundef %26)
%28 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @strcat(ptr noundef %28, ptr noundef @.str.2)
br label %30
30: ; preds = %20
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %15
%37 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.3)
%39 = load i32, ptr %7, align 4
%40 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%41 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%42 = call i32 @strlen(ptr noundef %41)
%43 = call i32 @write(i32 noundef %39, ptr noundef %40, i32 noundef %42)
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %7, align 4
%45 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%46 = call i32 @read(i32 noundef %44, ptr noundef %45, i32 noundef 49999)
store i32 %46, ptr %8, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %.lr.ph2, label %62
.lr.ph2: ; preds = %36
br label %48
48: ; preds = %.lr.ph2, %56
%49 = getelementptr inbounds [50000 x i8], ptr %6, i64 0, i64 0
%50 = load i32, ptr %8, align 4
%51 = call i32 @write(i32 noundef 1, ptr noundef %49, i32 noundef %50)
%52 = load i32, ptr %8, align 4
%53 = icmp ne i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.4)
br label %56
56: ; preds = %54, %48
%57 = load i32, ptr @stdout, align 4
%58 = call i32 @fflush(i32 noundef %57)
%59 = load i32, ptr %7, align 4
%60 = call i32 @read(i32 noundef %59, ptr noundef %45, i32 noundef 49999)
store i32 %60, ptr %8, align 4
%61 = icmp sgt i32 %60, 0
br i1 %61, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %36
%63 = load i32, ptr %7, align 4
%64 = call i32 @shutdown(i32 noundef %63, i32 noundef 1)
%65 = load i32, ptr %7, align 4
%66 = call i32 @close(i32 noundef %65)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open_socket(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnrot4zm9.c'
source_filename = "/tmp/tmpnrot4zm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_dist_to_destination.text = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"%D (%W)|%D\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_dist_to_destination() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @roadmap_message_format(ptr noundef @get_dist_to_destination.text, i32 noundef 256, ptr noundef @.str)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store ptr @get_dist_to_destination.text, ptr %1, align 8
br label %6
5: ; preds = %0
store ptr @.str.1, ptr %1, align 8
br label %6
6: ; preds = %5, %4
%7 = load ptr, ptr %1, align 8
ret ptr %7
}
declare i64 @roadmap_message_format(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/tmpnrot4zm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_dist_to_destination.text = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"%D (%W)|%D\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_dist_to_destination() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @roadmap_message_format(ptr noundef @get_dist_to_destination.text, i32 noundef 256, ptr noundef @.str)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store ptr @get_dist_to_destination.text, ptr %1, align 8
br label %6
5: ; preds = %0
store ptr @.str.1, ptr %1, align 8
br label %6
6: ; preds = %5, %4
%7 = load ptr, ptr %1, align 8
ret ptr %7
}
declare i64 @roadmap_message_format(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/tmpd1nbcbev.c'
source_filename = "/tmp/tmpd1nbcbev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Test A failure! Failed at state component: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"cur val:\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"src val:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %8, align 8
%14 = call i32 @hexdump(ptr noundef %12, i64 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %8, align 8
%18 = call i32 @hexdump(ptr noundef %16, i64 noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @hexdump(ptr noundef, i64 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1nbcbev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Test A failure! Failed at state component: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"cur val:\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"src val:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %8, align 8
%14 = call i32 @hexdump(ptr noundef %12, i64 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %8, align 8
%18 = call i32 @hexdump(ptr noundef %16, i64 noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @hexdump(ptr noundef, i64 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz9a8ktcm.c'
source_filename = "/tmp/tmpz9a8ktcm.c"
target datalayout = "e-m:e-p270: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/tmpz9a8ktcm.c"
target datalayout = "e-m:e-p270: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/tmp778rheqj.c'
source_filename = "/tmp/tmp778rheqj.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: driver /path/to/interests /path/to/data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmp778rheqj.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: driver /path/to/interests /path/to/data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmpdlilx9bw.c'
source_filename = "/tmp/tmpdlilx9bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bDeltaForParallelLine(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = call double @llvm.fmuladd.f64(double %6, double %7, double 1.000000e+00)
%9 = fptosi double %8 to i32
%10 = call double @sqrt(i32 noundef %9)
%11 = fmul double %5, %10
ret double %11
}
declare double @sqrt(i32 noundef) #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/tmpdlilx9bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bDeltaForParallelLine(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = call double @llvm.fmuladd.f64(double %6, double %7, double 1.000000e+00)
%9 = fptosi double %8 to i32
%10 = call double @sqrt(i32 noundef %9)
%11 = fmul double %5, %10
ret double %11
}
declare double @sqrt(i32 noundef) #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/tmpcltq0wfq.c'
source_filename = "/tmp/tmpcltq0wfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcltq0wfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2j7kcr08.c'
source_filename = "/tmp/tmp2j7kcr08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %d, y = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2j7kcr08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %d, y = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx57_n8zb.c'
source_filename = "/tmp/tmpx57_n8zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s size\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"p edge %d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"e %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
br label %47
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22)
store i32 1, ptr %6, align 4
br label %24
24: ; preds = %43, %16
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %46
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %39, %28
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %42
35: ; preds = %31
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36, i32 noundef %37)
br label %39
39: ; preds = %35
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %31, !llvm.loop !6
42: ; preds = %31
br label %43
43: ; preds = %42
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %24, !llvm.loop !8
46: ; preds = %24
br label %47
47: ; preds = %46, %11
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpx57_n8zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s size\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"p edge %d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"e %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
br label %51
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22)
store i32 1, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph2, label %50
.lr.ph2: ; preds = %16
br label %27
27: ; preds = %.lr.ph2, %44
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %27
br label %33
33: ; preds = %.lr.ph, %37
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, i32 noundef %35)
br label %37
37: ; preds = %33
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %27
br label %44
44: ; preds = %43
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %16
br label %51
51: ; preds = %50, %11
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpcn_62w_1.c'
source_filename = "/tmp/tmpcn_62w_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Okay\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printOkay() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcn_62w_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Okay\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printOkay() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxl3v0cz.c'
source_filename = "/tmp/tmpuxl3v0cz.c"
target datalayout = "e-m:e-p270: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/tmpuxl3v0cz.c"
target datalayout = "e-m:e-p270: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/tmpqxdzro5m.c'
source_filename = "/tmp/tmpqxdzro5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @my_strndup(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @my_strndup(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqxdzro5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @my_strndup(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @my_strndup(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiebz8amw.c'
source_filename = "/tmp/tmpiebz8amw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIO_check_event(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sub nsw i32 %5, 32
store volatile i32 %6, ptr %4, align 4
%7 = load volatile i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load volatile i32, ptr inttoptr (i64 2097216 to ptr), align 4
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %10, %11
store i32 %12, ptr %2, align 4
br label %17
13: ; preds = %1
%14 = load volatile i32, ptr inttoptr (i64 2097220 to ptr), align 4
%15 = load volatile i32, ptr %4, align 4
%16 = ashr i32 %14, %15
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %13, %9
%18 = load i32, ptr %2, align 4
ret i32 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiebz8amw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIO_check_event(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sub nsw i32 %5, 32
store volatile i32 %6, ptr %4, align 4
%7 = load volatile i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load volatile i32, ptr inttoptr (i64 2097216 to ptr), align 4
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %10, %11
store i32 %12, ptr %2, align 4
br label %17
13: ; preds = %1
%14 = load volatile i32, ptr inttoptr (i64 2097220 to ptr), align 4
%15 = load volatile i32, ptr %4, align 4
%16 = ashr i32 %14, %15
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %13, %9
%18 = load i32, ptr %2, align 4
ret i32 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpimwikvw3.c'
source_filename = "/tmp/tmpimwikvw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"pumpd is not running.\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"control\00", align 1
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pumpd_stop() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @__pid_path()
%3 = call i32 @pidfile(i32 noundef %2, ptr noundef @.str)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @abort_report(ptr noundef @.str.1, ptr noundef @.str.2)
br label %9
9: ; preds = %7, %0
%10 = call i32 (...) @__pid_path()
%11 = call i32 @remove(i32 noundef %10)
%12 = call i32 @__channel_path(ptr noundef @.str.3)
%13 = call i32 @dpx_remove(i32 noundef %12)
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr @SIGTERM, align 4
%16 = call i32 @kill(i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @pidfile(i32 noundef, ptr noundef) #1
declare i32 @__pid_path(...) #1
declare i32 @abort_report(ptr noundef, ...) #1
declare i32 @remove(i32 noundef) #1
declare i32 @dpx_remove(i32 noundef) #1
declare i32 @__channel_path(ptr noundef) #1
declare i32 @kill(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/tmpimwikvw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"pumpd is not running.\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"control\00", align 1
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pumpd_stop() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @__pid_path()
%3 = call i32 @pidfile(i32 noundef %2, ptr noundef @.str)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @abort_report(ptr noundef @.str.1, ptr noundef @.str.2)
br label %9
9: ; preds = %7, %0
%10 = call i32 (...) @__pid_path()
%11 = call i32 @remove(i32 noundef %10)
%12 = call i32 @__channel_path(ptr noundef @.str.3)
%13 = call i32 @dpx_remove(i32 noundef %12)
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr @SIGTERM, align 4
%16 = call i32 @kill(i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @pidfile(i32 noundef, ptr noundef) #1
declare i32 @__pid_path(...) #1
declare i32 @abort_report(ptr noundef, ...) #1
declare i32 @remove(i32 noundef) #1
declare i32 @dpx_remove(i32 noundef) #1
declare i32 @__channel_path(ptr noundef) #1
declare i32 @kill(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/tmp170zxbmb.c'
source_filename = "/tmp/tmp170zxbmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumer() #0 {
%1 = call i32 @wait_clocks(i32 noundef 1000)
%2 = call i32 (...) @input_a()
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call i32 @wait_clocks(i32 noundef 1000)
%7 = call i32 (...) @input_a()
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = call i32 @wait_clocks(i32 noundef 1000)
%12 = call i32 (...) @input_a()
%13 = icmp eq i32 %12, 3
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = call i32 @wait_clocks(i32 noundef 1000)
%17 = call i32 (...) @input_a()
%18 = icmp eq i32 %17, 4
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = call i32 @wait_clocks(i32 noundef 1000)
%22 = call i32 (...) @input_a()
%23 = icmp eq i32 %22, 5
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = call i32 @wait_clocks(i32 noundef 1000)
%27 = call i32 (...) @input_a()
%28 = icmp eq i32 %27, 6
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = call i32 @wait_clocks(i32 noundef 1000)
%32 = call i32 (...) @input_a()
%33 = icmp eq i32 %32, 7
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
%36 = call i32 @wait_clocks(i32 noundef 1000)
%37 = call i32 (...) @input_a()
%38 = icmp eq i32 %37, 8
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = call i32 @wait_clocks(i32 noundef 1000)
%42 = call i32 (...) @input_a()
%43 = icmp eq i32 %42, 9
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = call i32 @wait_clocks(i32 noundef 1000)
%47 = call i32 (...) @input_a()
%48 = icmp eq i32 %47, 10
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = call i32 @report(i32 noundef 1)
ret void
}
declare i32 @wait_clocks(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @input_a(...) #1
declare i32 @report(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/tmp170zxbmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumer() #0 {
%1 = call i32 @wait_clocks(i32 noundef 1000)
%2 = call i32 (...) @input_a()
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call i32 @wait_clocks(i32 noundef 1000)
%7 = call i32 (...) @input_a()
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = call i32 @wait_clocks(i32 noundef 1000)
%12 = call i32 (...) @input_a()
%13 = icmp eq i32 %12, 3
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = call i32 @wait_clocks(i32 noundef 1000)
%17 = call i32 (...) @input_a()
%18 = icmp eq i32 %17, 4
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = call i32 @wait_clocks(i32 noundef 1000)
%22 = call i32 (...) @input_a()
%23 = icmp eq i32 %22, 5
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = call i32 @wait_clocks(i32 noundef 1000)
%27 = call i32 (...) @input_a()
%28 = icmp eq i32 %27, 6
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = call i32 @wait_clocks(i32 noundef 1000)
%32 = call i32 (...) @input_a()
%33 = icmp eq i32 %32, 7
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
%36 = call i32 @wait_clocks(i32 noundef 1000)
%37 = call i32 (...) @input_a()
%38 = icmp eq i32 %37, 8
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = call i32 @wait_clocks(i32 noundef 1000)
%42 = call i32 (...) @input_a()
%43 = icmp eq i32 %42, 9
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = call i32 @wait_clocks(i32 noundef 1000)
%47 = call i32 (...) @input_a()
%48 = icmp eq i32 %47, 10
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = call i32 @report(i32 noundef 1)
ret void
}
declare i32 @wait_clocks(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @input_a(...) #1
declare i32 @report(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/tmpz292o3b0.c'
source_filename = "/tmp/tmpz292o3b0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @SIGALRM, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sigaddset(ptr noundef %1, i32 noundef %5)
store i32 %6, ptr %3, align 4
ret void
}
declare i32 @sigaddset(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/tmpz292o3b0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @SIGALRM, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sigaddset(ptr noundef %1, i32 noundef %5)
store i32 %6, ptr %3, align 4
ret void
}
declare i32 @sigaddset(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/tmp3piw5ehw.c'
source_filename = "/tmp/tmp3piw5ehw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3piw5ehw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeztvk83f.c'
source_filename = "/tmp/tmpeztvk83f.c"
target datalayout = "e-m:e-p270: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/tmpeztvk83f.c"
target datalayout = "e-m:e-p270: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/tmpo7iie1ui.c'
source_filename = "/tmp/tmpo7iie1ui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Help\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c"Order of Operation: Multiply - Division, Addition - Subtraction\0A\00", align 1
@.str.2 = private unnamed_addr constant [1094 x i8] c"The key to solving the equations generated by this program lies in using the Order of Operations (given above) in order to help one solve them. When solving equations, you normally work left to right, provided that each operator (+, -, /, *) has the same precedence. However, if you have a multiplication or division operator, you must do its terms first, prior to doing any addition or subtraction. Operators of the same precedence still work left to right, so, for example, if you have the first and third operator being multiplication or division operators, do the first operator first, then the third, then do the second operator with the results of the first and third operators (in this example, the second operator has a different precedence).\0AAlso, remember that an addition of a negative number is the samething as subtraction, and that the subtraction of a negative number is the same thing as addition. Dividing 0 by any number has a result of 0, and multiplying any number by 0 has a result of 0. Although this program doesn't generate any, any number divided by 0 does not exist.\0A\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 void @display_help() #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)
%5 = call i32 @pause_clear(i32 noundef 1, i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @pause_clear(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/tmpo7iie1ui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Help\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c"Order of Operation: Multiply - Division, Addition - Subtraction\0A\00", align 1
@.str.2 = private unnamed_addr constant [1094 x i8] c"The key to solving the equations generated by this program lies in using the Order of Operations (given above) in order to help one solve them. When solving equations, you normally work left to right, provided that each operator (+, -, /, *) has the same precedence. However, if you have a multiplication or division operator, you must do its terms first, prior to doing any addition or subtraction. Operators of the same precedence still work left to right, so, for example, if you have the first and third operator being multiplication or division operators, do the first operator first, then the third, then do the second operator with the results of the first and third operators (in this example, the second operator has a different precedence).\0AAlso, remember that an addition of a negative number is the samething as subtraction, and that the subtraction of a negative number is the same thing as addition. Dividing 0 by any number has a result of 0, and multiplying any number by 0 has a result of 0. Although this program doesn't generate any, any number divided by 0 does not exist.\0A\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 void @display_help() #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)
%5 = call i32 @pause_clear(i32 noundef 1, i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @pause_clear(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/tmpclaconx0.c'
source_filename = "/tmp/tmpclaconx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_num(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 -1, ptr %2, align 4
br label %59
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %54, %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %57
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp slt i32 %26, 48
br i1 %27, label %36, label %28
28: ; preds = %20
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp sgt i32 %34, 57
br i1 %35, label %36, label %53
36: ; preds = %28, %20
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 43
br i1 %43, label %44, label %53
44: ; preds = %36
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 45
br i1 %51, label %52, label %53
52: ; preds = %44
store i32 0, ptr %5, align 4
br label %57
53: ; preds = %44, %36, %28
br label %54
54: ; preds = %53
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %16, !llvm.loop !6
57: ; preds = %52, %16
%58 = load i32, ptr %5, align 4
store i32 %58, ptr %2, align 4
br label %59
59: ; preds = %57, %12
%60 = load i32, ptr %2, align 4
ret i32 %60
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpclaconx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_num(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 -1, ptr %2, align 4
br label %61
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %6, align 4
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %53
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp slt i32 %25, 48
br i1 %26, label %35, label %27
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sgt i32 %33, 57
br i1 %34, label %35, label %52
35: ; preds = %27, %19
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 43
br i1 %42, label %43, label %52
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 45
br i1 %50, label %51, label %52
51: ; preds = %43
store i32 0, ptr %5, align 4
br label %59
52: ; preds = %43, %35, %27
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %19, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %53
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %13
br label %59
59: ; preds = %.loopexit, %51
%60 = load i32, ptr %5, align 4
store i32 %60, ptr %2, align 4
br label %61
61: ; preds = %59, %12
%62 = load i32, ptr %2, align 4
ret i32 %62
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpal4yspz0.c'
source_filename = "/tmp/tmpal4yspz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c" ......... \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPoints() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpal4yspz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c" ......... \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPoints() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf4kr1f2p.c'
source_filename = "/tmp/tmpf4kr1f2p.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"%s: test unit for hash functions\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" %s rnum bnum : print collision rate\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" %s rnum : print values\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %2, align 8
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf4kr1f2p.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"%s: test unit for hash functions\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" %s rnum bnum : print collision rate\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" %s rnum : print values\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %2, align 8
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgc56es7r.c'
source_filename = "/tmp/tmpgc56es7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [69 x i8] c"\0A### Computation of mean and standard deviation - Antal Quicky Code\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"### enter values, `stop' to stop:\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"### %d values\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"### mean: %14.6f\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"### variance: %14.6f\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"### st.dev.: %14.6f\0A\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca [100 x float], align 16
%9 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%12 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str.2)
br label %14
14: ; preds = %34, %0
%15 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%16 = load i8, ptr %15, align 16
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 115
br i1 %18, label %19, label %35
19: ; preds = %14
%20 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%21 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %20)
%22 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%23 = load i8, ptr %22, align 16
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 115
br i1 %25, label %26, label %34
26: ; preds = %19
%27 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %29
%31 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str.4, ptr noundef %30)
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %26, %19
br label %14, !llvm.loop !6
35: ; preds = %14
%36 = load i32, ptr %3, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36)
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %2, align 4
br label %38
38: ; preds = %49, %35
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %52
42: ; preds = %38
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %44
%46 = load float, ptr %45, align 4
%47 = load float, ptr %4, align 4
%48 = fadd float %47, %46
store float %48, ptr %4, align 4
br label %49
49: ; preds = %42
%50 = load i32, ptr %2, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %2, align 4
br label %38, !llvm.loop !8
52: ; preds = %38
%53 = load float, ptr %4, align 4
%54 = load i32, ptr %3, align 4
%55 = sitofp i32 %54 to float
%56 = fdiv float %53, %55
store float %56, ptr %5, align 4
store float 0.000000e+00, ptr %6, align 4
store i32 0, ptr %2, align 4
br label %57
57: ; preds = %76, %52
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %79
61: ; preds = %57
%62 = load i32, ptr %2, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %63
%65 = load float, ptr %64, align 4
%66 = load float, ptr %5, align 4
%67 = fsub float %65, %66
%68 = load i32, ptr %2, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %69
%71 = load float, ptr %70, align 4
%72 = load float, ptr %5, align 4
%73 = fsub float %71, %72
%74 = load float, ptr %6, align 4
%75 = call float @llvm.fmuladd.f32(float %67, float %73, float %74)
store float %75, ptr %6, align 4
br label %76
76: ; preds = %61
%77 = load i32, ptr %2, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %2, align 4
br label %57, !llvm.loop !9
79: ; preds = %57
%80 = load i32, ptr %3, align 4
%81 = sitofp i32 %80 to float
%82 = load float, ptr %6, align 4
%83 = fdiv float %82, %81
store float %83, ptr %6, align 4
%84 = load float, ptr %6, align 4
%85 = call float @sqrt(float noundef %84)
store float %85, ptr %7, align 4
%86 = load float, ptr %5, align 4
%87 = fpext float %86 to double
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %87)
%89 = load float, ptr %6, align 4
%90 = fpext float %89 to double
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %90)
%92 = load float, ptr %7, align 4
%93 = fpext float %92 to double
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %93)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgc56es7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [69 x i8] c"\0A### Computation of mean and standard deviation - Antal Quicky Code\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"### enter values, `stop' to stop:\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"### %d values\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"### mean: %14.6f\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"### variance: %14.6f\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"### st.dev.: %14.6f\0A\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca [100 x float], align 16
%9 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%12 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str.2)
%14 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%15 = load i8, ptr %14, align 16
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 115
br i1 %17, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %33
%19 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %19)
%21 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%22 = load i8, ptr %21, align 16
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 115
br i1 %24, label %25, label %33
25: ; preds = %18
%26 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %28
%30 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.4, ptr noundef %29)
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %25, %18
%34 = load i8, ptr %14, align 16
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 115
br i1 %36, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %37
37: ; preds = %._crit_edge, %0
%38 = load i32, ptr %3, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %38)
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph2, label %56
.lr.ph2: ; preds = %37
br label %43
43: ; preds = %.lr.ph2, %50
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %45
%47 = load float, ptr %46, align 4
%48 = load float, ptr %4, align 4
%49 = fadd float %48, %47
store float %49, ptr %4, align 4
br label %50
50: ; preds = %43
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %37
%57 = load float, ptr %4, align 4
%58 = load i32, ptr %3, align 4
%59 = sitofp i32 %58 to float
%60 = fdiv float %57, %59
store float %60, ptr %5, align 4
store float 0.000000e+00, ptr %6, align 4
store i32 0, ptr %2, align 4
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph5, label %85
.lr.ph5: ; preds = %56
br label %64
64: ; preds = %.lr.ph5, %79
%65 = load i32, ptr %2, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = load float, ptr %5, align 4
%70 = fsub float %68, %69
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [100 x float], ptr %8, i64 0, i64 %72
%74 = load float, ptr %73, align 4
%75 = load float, ptr %5, align 4
%76 = fsub float %74, %75
%77 = load float, ptr %6, align 4
%78 = call float @llvm.fmuladd.f32(float %70, float %76, float %77)
store float %78, ptr %6, align 4
br label %79
79: ; preds = %64
%80 = load i32, ptr %2, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %2, align 4
%82 = load i32, ptr %2, align 4
%83 = load i32, ptr %3, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %79
br label %85
85: ; preds = %._crit_edge6, %56
%86 = load i32, ptr %3, align 4
%87 = sitofp i32 %86 to float
%88 = load float, ptr %6, align 4
%89 = fdiv float %88, %87
store float %89, ptr %6, align 4
%90 = load float, ptr %6, align 4
%91 = call float @sqrt(float noundef %90)
store float %91, ptr %7, align 4
%92 = load float, ptr %5, align 4
%93 = fpext float %92 to double
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %93)
%95 = load float, ptr %6, align 4
%96 = fpext float %95 to double
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %96)
%98 = load float, ptr %7, align 4
%99 = fpext float %98 to double
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %99)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpkzs83i6y.c'
source_filename = "/tmp/tmpkzs83i6y.c"
target datalayout = "e-m:e-p270: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 [54 x i8] c"Assertion \22%s\22 failed, file %s, line %d, function %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assertion(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13)
%15 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkzs83i6y.c"
target datalayout = "e-m:e-p270: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 [54 x i8] c"Assertion \22%s\22 failed, file %s, line %d, function %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assertion(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13)
%15 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfu8rxyhx.c'
source_filename = "/tmp/tmpfu8rxyhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Swi_LedBlink() #0 {
%1 = call i32 @Swi_MLoad(i32 noundef 130, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Swi_MLoad(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfu8rxyhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Swi_LedBlink() #0 {
%1 = call i32 @Swi_MLoad(i32 noundef 130, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Swi_MLoad(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn1ytfuc3.c'
source_filename = "/tmp/tmpn1ytfuc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @d(i32 noundef 1, i32 noundef 1)
ret i32 0
}
declare i32 @d(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/tmpn1ytfuc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @d(i32 noundef 1, i32 noundef 1)
ret i32 0
}
declare i32 @d(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/tmp909b6dyx.c'
source_filename = "/tmp/tmp909b6dyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp909b6dyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsuuihj_u.c'
source_filename = "/tmp/tmpsuuihj_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"|x = toggle information box|\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"|i = list instructions |\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"*--------------------------*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbottombettingbox() #0 {
%1 = call i32 @move(i32 noundef 17, i32 noundef 42)
%2 = call i32 @printw(ptr noundef @.str)
%3 = call i32 @move(i32 noundef 18, i32 noundef 42)
%4 = call i32 @printw(ptr noundef @.str.1)
%5 = call i32 @move(i32 noundef 19, i32 noundef 42)
%6 = call i32 @printw(ptr noundef @.str.2)
ret void
}
declare i32 @move(i32 noundef, i32 noundef) #1
declare i32 @printw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsuuihj_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"|x = toggle information box|\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"|i = list instructions |\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"*--------------------------*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbottombettingbox() #0 {
%1 = call i32 @move(i32 noundef 17, i32 noundef 42)
%2 = call i32 @printw(ptr noundef @.str)
%3 = call i32 @move(i32 noundef 18, i32 noundef 42)
%4 = call i32 @printw(ptr noundef @.str.1)
%5 = call i32 @move(i32 noundef 19, i32 noundef 42)
%6 = call i32 @printw(ptr noundef @.str.2)
ret void
}
declare i32 @move(i32 noundef, i32 noundef) #1
declare i32 @printw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcdzj2x4h.c'
source_filename = "/tmp/tmpcdzj2x4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @gui_run()
%2 = call i32 (...) @gui_cleanup()
ret void
}
declare i32 @gui_run(...) #1
declare i32 @gui_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcdzj2x4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @gui_run()
%2 = call i32 (...) @gui_cleanup()
ret void
}
declare i32 @gui_run(...) #1
declare i32 @gui_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp04phx1_o.c'
source_filename = "/tmp/tmp04phx1_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opk_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 @error_handler(ptr noundef %3)
ret void
}
declare i32 @error_handler(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp04phx1_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opk_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 @error_handler(ptr noundef %3)
ret void
}
declare i32 @error_handler(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd4d73ok7.c'
source_filename = "/tmp/tmpd4d73ok7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"42,1122,0531,0703,0707,65535,0\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"nmea_uint() 1: Failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"nmea_uint() 2: Failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"nmea_uint() 3: Failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"nmea_uint() 4: Failed\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"nmea_uint() 5: Failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"nmea_uint() 6: Failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"nmea_uint() 7: Failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"nmea_uint(): Passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_nmea_uint() #0 {
%1 = alloca i32, align 4
%2 = alloca [255 x i8], align 16
%3 = alloca ptr, align 8
%4 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @nmea_uint(ptr noundef %7)
%9 = icmp ne i32 %8, 42
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %70
13: ; preds = %0
%14 = load ptr, ptr %3, align 8
%15 = call ptr @nmea_next_field(ptr noundef %14)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @nmea_uint(ptr noundef %16)
%18 = icmp ne i32 %17, 1122
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %70
22: ; preds = %13
%23 = load ptr, ptr %3, align 8
%24 = call ptr @nmea_next_field(ptr noundef %23)
store ptr %24, ptr %3, align 8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @nmea_uint(ptr noundef %25)
%27 = icmp ne i32 %26, 531
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %70
31: ; preds = %22
%32 = load ptr, ptr %3, align 8
%33 = call ptr @nmea_next_field(ptr noundef %32)
store ptr %33, ptr %3, align 8
%34 = load ptr, ptr %3, align 8
%35 = call i32 @nmea_uint(ptr noundef %34)
%36 = icmp ne i32 %35, 703
br i1 %36, label %37, label %40
37: ; preds = %31
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %70
40: ; preds = %31
%41 = load ptr, ptr %3, align 8
%42 = call ptr @nmea_next_field(ptr noundef %41)
store ptr %42, ptr %3, align 8
%43 = load ptr, ptr %3, align 8
%44 = call i32 @nmea_uint(ptr noundef %43)
%45 = icmp ne i32 %44, 707
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %70
49: ; preds = %40
%50 = load ptr, ptr %3, align 8
%51 = call ptr @nmea_next_field(ptr noundef %50)
store ptr %51, ptr %3, align 8
%52 = load ptr, ptr %3, align 8
%53 = call i32 @nmea_uint(ptr noundef %52)
%54 = icmp ne i32 %53, 65535
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load i32, ptr @stderr, align 4
%57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %70
58: ; preds = %49
%59 = load ptr, ptr %3, align 8
%60 = call ptr @nmea_next_field(ptr noundef %59)
store ptr %60, ptr %3, align 8
%61 = load ptr, ptr %3, align 8
%62 = call i32 @nmea_uint(ptr noundef %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %58
%65 = load i32, ptr @stderr, align 4
%66 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.7)
store i32 0, ptr %1, align 4
br label %70
67: ; preds = %58
%68 = load i32, ptr @stderr, align 4
%69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.8)
store i32 1, ptr %1, align 4
br label %70
70: ; preds = %67, %64, %55, %46, %37, %28, %19, %10
%71 = load i32, ptr %1, align 4
ret i32 %71
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @nmea_uint(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @nmea_next_field(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd4d73ok7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"42,1122,0531,0703,0707,65535,0\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"nmea_uint() 1: Failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"nmea_uint() 2: Failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"nmea_uint() 3: Failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"nmea_uint() 4: Failed\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"nmea_uint() 5: Failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"nmea_uint() 6: Failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"nmea_uint() 7: Failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"nmea_uint(): Passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_nmea_uint() #0 {
%1 = alloca i32, align 4
%2 = alloca [255 x i8], align 16
%3 = alloca ptr, align 8
%4 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @nmea_uint(ptr noundef %7)
%9 = icmp ne i32 %8, 42
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %70
13: ; preds = %0
%14 = load ptr, ptr %3, align 8
%15 = call ptr @nmea_next_field(ptr noundef %14)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @nmea_uint(ptr noundef %16)
%18 = icmp ne i32 %17, 1122
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %70
22: ; preds = %13
%23 = load ptr, ptr %3, align 8
%24 = call ptr @nmea_next_field(ptr noundef %23)
store ptr %24, ptr %3, align 8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @nmea_uint(ptr noundef %25)
%27 = icmp ne i32 %26, 531
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %70
31: ; preds = %22
%32 = load ptr, ptr %3, align 8
%33 = call ptr @nmea_next_field(ptr noundef %32)
store ptr %33, ptr %3, align 8
%34 = load ptr, ptr %3, align 8
%35 = call i32 @nmea_uint(ptr noundef %34)
%36 = icmp ne i32 %35, 703
br i1 %36, label %37, label %40
37: ; preds = %31
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %70
40: ; preds = %31
%41 = load ptr, ptr %3, align 8
%42 = call ptr @nmea_next_field(ptr noundef %41)
store ptr %42, ptr %3, align 8
%43 = load ptr, ptr %3, align 8
%44 = call i32 @nmea_uint(ptr noundef %43)
%45 = icmp ne i32 %44, 707
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %70
49: ; preds = %40
%50 = load ptr, ptr %3, align 8
%51 = call ptr @nmea_next_field(ptr noundef %50)
store ptr %51, ptr %3, align 8
%52 = load ptr, ptr %3, align 8
%53 = call i32 @nmea_uint(ptr noundef %52)
%54 = icmp ne i32 %53, 65535
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load i32, ptr @stderr, align 4
%57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %70
58: ; preds = %49
%59 = load ptr, ptr %3, align 8
%60 = call ptr @nmea_next_field(ptr noundef %59)
store ptr %60, ptr %3, align 8
%61 = load ptr, ptr %3, align 8
%62 = call i32 @nmea_uint(ptr noundef %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %58
%65 = load i32, ptr @stderr, align 4
%66 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.7)
store i32 0, ptr %1, align 4
br label %70
67: ; preds = %58
%68 = load i32, ptr @stderr, align 4
%69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.8)
store i32 1, ptr %1, align 4
br label %70
70: ; preds = %67, %64, %55, %46, %37, %28, %19, %10
%71 = load i32, ptr %1, align 4
ret i32 %71
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @nmea_uint(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @nmea_next_field(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybp_y2dx.c'
source_filename = "/tmp/tmpybp_y2dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [77 x i8] c"ERROR: coordinate transformations are not defined for altitudes < 0 km: %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [66 x i8] c"ERROR: coefficients are not valid for altitudes above %d km: %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"ERROR: latitude must be in the range -90 to +90 degrees: %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [61 x i8] c"ERROR: longitude must be in the range 0 to 360 degrees: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @AACGM_v2_Convert(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store double %0, ptr %9, align 8
store double %1, ptr %10, align 8
store double %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store i32 10, ptr %17, align 4
%18 = load double, ptr %11, align 8
%19 = fcmp olt double %18, 0.000000e+00
br i1 %19, label %20, label %24
20: ; preds = %7
%21 = load i32, ptr @stderr, align 4
%22 = load double, ptr %11, align 8
%23 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %21, ptr noundef @.str, double noundef %22)
store i32 -2, ptr %8, align 4
br label %70
24: ; preds = %7
%25 = load double, ptr %11, align 8
%26 = fcmp ogt double %25, 2.000000e+03
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr @stderr, align 4
%29 = load double, ptr %11, align 8
%30 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %28, ptr noundef @.str.1, double noundef 2.000000e+03, double noundef %29)
store i32 -4, ptr %8, align 4
br label %70
31: ; preds = %24
%32 = load double, ptr %9, align 8
%33 = call i32 @fabs(double noundef %32)
%34 = sitofp i32 %33 to double
%35 = fcmp ogt double %34, 9.000000e+01
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load i32, ptr @stderr, align 4
%38 = load double, ptr %9, align 8
%39 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, double noundef %38)
store i32 -8, ptr %8, align 4
br label %70
40: ; preds = %31
%41 = load double, ptr %10, align 8
%42 = fcmp olt double %41, 0.000000e+00
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load double, ptr %10, align 8
%45 = fadd double %44, 3.600000e+02
store double %45, ptr %10, align 8
br label %46
46: ; preds = %43, %40
%47 = load double, ptr %10, align 8
%48 = fcmp olt double %47, 0.000000e+00
br i1 %48, label %52, label %49
49: ; preds = %46
%50 = load double, ptr %10, align 8
%51 = fcmp ogt double %50, 3.600000e+02
br i1 %51, label %52, label %56
52: ; preds = %49, %46
%53 = load i32, ptr @stderr, align 4
%54 = load double, ptr %10, align 8
%55 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3, double noundef %54)
store i32 -16, ptr %8, align 4
br label %70
56: ; preds = %49
%57 = load double, ptr %9, align 8
%58 = load double, ptr %10, align 8
%59 = load double, ptr %11, align 8
%60 = load ptr, ptr %12, align 8
%61 = load ptr, ptr %13, align 8
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %17, align 4
%64 = call i32 @convert_geo_coord(double noundef %57, double noundef %58, double noundef %59, ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63)
store i32 %64, ptr %16, align 4
%65 = load ptr, ptr %14, align 8
store double 1.000000e+00, ptr %65, align 8
%66 = load i32, ptr %16, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %56
store i32 -1, ptr %8, align 4
br label %70
69: ; preds = %56
store i32 0, ptr %8, align 4
br label %70
70: ; preds = %69, %68, %52, %36, %27, %20
%71 = load i32, ptr %8, align 4
ret i32 %71
}
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, ...) #1
declare i32 @fabs(double noundef) #1
declare i32 @convert_geo_coord(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybp_y2dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [77 x i8] c"ERROR: coordinate transformations are not defined for altitudes < 0 km: %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [66 x i8] c"ERROR: coefficients are not valid for altitudes above %d km: %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"ERROR: latitude must be in the range -90 to +90 degrees: %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [61 x i8] c"ERROR: longitude must be in the range 0 to 360 degrees: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @AACGM_v2_Convert(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store double %0, ptr %9, align 8
store double %1, ptr %10, align 8
store double %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store i32 10, ptr %17, align 4
%18 = load double, ptr %11, align 8
%19 = fcmp olt double %18, 0.000000e+00
br i1 %19, label %20, label %24
20: ; preds = %7
%21 = load i32, ptr @stderr, align 4
%22 = load double, ptr %11, align 8
%23 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %21, ptr noundef @.str, double noundef %22)
store i32 -2, ptr %8, align 4
br label %70
24: ; preds = %7
%25 = load double, ptr %11, align 8
%26 = fcmp ogt double %25, 2.000000e+03
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr @stderr, align 4
%29 = load double, ptr %11, align 8
%30 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %28, ptr noundef @.str.1, double noundef 2.000000e+03, double noundef %29)
store i32 -4, ptr %8, align 4
br label %70
31: ; preds = %24
%32 = load double, ptr %9, align 8
%33 = call i32 @fabs(double noundef %32)
%34 = sitofp i32 %33 to double
%35 = fcmp ogt double %34, 9.000000e+01
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load i32, ptr @stderr, align 4
%38 = load double, ptr %9, align 8
%39 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, double noundef %38)
store i32 -8, ptr %8, align 4
br label %70
40: ; preds = %31
%41 = load double, ptr %10, align 8
%42 = fcmp olt double %41, 0.000000e+00
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load double, ptr %10, align 8
%45 = fadd double %44, 3.600000e+02
store double %45, ptr %10, align 8
br label %46
46: ; preds = %43, %40
%47 = load double, ptr %10, align 8
%48 = fcmp olt double %47, 0.000000e+00
br i1 %48, label %52, label %49
49: ; preds = %46
%50 = load double, ptr %10, align 8
%51 = fcmp ogt double %50, 3.600000e+02
br i1 %51, label %52, label %56
52: ; preds = %49, %46
%53 = load i32, ptr @stderr, align 4
%54 = load double, ptr %10, align 8
%55 = call i32 (i32, ptr, double, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3, double noundef %54)
store i32 -16, ptr %8, align 4
br label %70
56: ; preds = %49
%57 = load double, ptr %9, align 8
%58 = load double, ptr %10, align 8
%59 = load double, ptr %11, align 8
%60 = load ptr, ptr %12, align 8
%61 = load ptr, ptr %13, align 8
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %17, align 4
%64 = call i32 @convert_geo_coord(double noundef %57, double noundef %58, double noundef %59, ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63)
store i32 %64, ptr %16, align 4
%65 = load ptr, ptr %14, align 8
store double 1.000000e+00, ptr %65, align 8
%66 = load i32, ptr %16, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %56
store i32 -1, ptr %8, align 4
br label %70
69: ; preds = %56
store i32 0, ptr %8, align 4
br label %70
70: ; preds = %69, %68, %52, %36, %27, %20
%71 = load i32, ptr %8, align 4
ret i32 %71
}
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, ...) #1
declare i32 @fabs(double noundef) #1
declare i32 @convert_geo_coord(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4rmox_5w.c'
source_filename = "/tmp/tmp4rmox_5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %24, %0
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %14, i64 %21
%23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%29 = load i32, ptr %3, align 4
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %40, %27
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %2, align 4
%33 = sub nsw i32 %32, 1
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %43
35: ; preds = %30
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %14, i64 %37
%39 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %38)
br label %40
40: ; preds = %35
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %30, !llvm.loop !8
43: ; preds = %30
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %2, align 4
%46 = sub i32 %45, 1
%47 = call i32 @solves(i32 noundef %44, ptr noundef %14, i32 noundef %46)
store i32 0, ptr %1, align 4
%48 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %48)
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @solves(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4rmox_5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %6, align 8
store i32 0, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %14, i64 %20
%22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%31 = load i32, ptr %3, align 4
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %2, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph2, label %48
.lr.ph2: ; preds = %29
br label %36
36: ; preds = %.lr.ph2, %41
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %14, i64 %38
%40 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %39)
br label %41
41: ; preds = %36
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %2, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %48
48: ; preds = %._crit_edge3, %29
%49 = load i32, ptr %4, align 4
%50 = load i32, ptr %2, align 4
%51 = sub i32 %50, 1
%52 = call i32 @solves(i32 noundef %49, ptr noundef %14, i32 noundef %51)
store i32 0, ptr %1, align 4
%53 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %53)
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @solves(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3391totv.c'
source_filename = "/tmp/tmp3391totv.c"
target datalayout = "e-m:e-p270: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/tmp3391totv.c"
target datalayout = "e-m:e-p270: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/tmpiui12ual.c'
source_filename = "/tmp/tmpiui12ual.c"
target datalayout = "e-m:e-p270: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/tmpiui12ual.c"
target datalayout = "e-m:e-p270: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/tmpbgs7__g3.c'
source_filename = "/tmp/tmpbgs7__g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mse(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load double, ptr %9, align 8
%15 = load double, ptr %10, align 8
%16 = call i32 @sse(ptr noundef %11, ptr noundef %12, i32 noundef %13, double noundef %14, double noundef %15)
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %17, 2
%19 = sdiv i32 %16, %18
%20 = sitofp i32 %19 to double
ret double %20
}
declare i32 @sse(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgs7__g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mse(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load double, ptr %9, align 8
%15 = load double, ptr %10, align 8
%16 = call i32 @sse(ptr noundef %11, ptr noundef %12, i32 noundef %13, double noundef %14, double noundef %15)
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %17, 2
%19 = sdiv i32 %16, %18
%20 = sitofp i32 %19 to double
ret double %20
}
declare i32 @sse(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqfuwegui.c'
source_filename = "/tmp/tmpqfuwegui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fork()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
6: ; preds = %0
br label %7
7: ; preds = %6, %7
br label %7
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfuwegui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fork()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
6: ; preds = %0
br label %7
7: ; preds = %7, %6
br label %7
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo89lhbcq.c'
source_filename = "/tmp/tmpo89lhbcq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.buf = internal global [16384 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [58 x i8] c"Padding file \22%s\22 to %lu (=0x%lX) bytes (all 0xFF bytes)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ab+\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file \00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [60 x i8] c"File is already %lud (=0x%luX) bytes long : Not truncating\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"Format : brompad [<size>] <file-name>\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"Pads the given file to a size using 0xFF bytes\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"<size> by default is 2 MegaBytes\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"<size> can be specified in C-format integer constants\0A\00", align 1
@.str.8 = private unnamed_addr constant [43 x i8] c"(Hence you can use hex, octal or decimal)\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c"A constant may be suffixed by k or K for kilo-bytes\0A\00", align 1
@.str.10 = private unnamed_addr constant [53 x i8] c"A constant may be suffixed by m or M for mega-bytes\0A\00", align 1
@.str.11 = private unnamed_addr constant [60 x i8] c"You can add any number of such costants together using '+'\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 3
br i1 %18, label %19, label %20
19: ; preds = %16, %2
br label %141
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %24
23: ; preds = %20
store i64 2097152, ptr %6, align 8
store i32 1, ptr %9, align 4
br label %70
24: ; preds = %20
store i64 0, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
store ptr %27, ptr %11, align 8
br label %28
28: ; preds = %63, %24
%29 = load ptr, ptr %11, align 8
%30 = call i64 @strtoul(ptr noundef %29, ptr noundef %12, i32 noundef 0)
store i64 %30, ptr %13, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp eq ptr %31, %32
br i1 %33, label %34, label %35
34: ; preds = %28
store i64 1, ptr %13, align 8
br label %37
35: ; preds = %28
%36 = load ptr, ptr %12, align 8
store ptr %36, ptr %11, align 8
br label %37
37: ; preds = %35, %34
%38 = load ptr, ptr %11, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %51 [
i32 107, label %41
i32 75, label %41
i32 109, label %46
i32 77, label %46
]
41: ; preds = %37, %37
%42 = load i64, ptr %13, align 8
%43 = mul i64 %42, 1024
store i64 %43, ptr %13, align 8
%44 = load ptr, ptr %11, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %11, align 8
br label %51
46: ; preds = %37, %37
%47 = load i64, ptr %13, align 8
%48 = mul i64 %47, 1048576
store i64 %48, ptr %13, align 8
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %11, align 8
br label %51
51: ; preds = %37, %46, %41
%52 = load i64, ptr %13, align 8
%53 = load i64, ptr %6, align 8
%54 = add i64 %53, %52
store i64 %54, ptr %6, align 8
%55 = load ptr, ptr %11, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 43
br i1 %58, label %59, label %62
59: ; preds = %51
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %11, align 8
br label %63
62: ; preds = %51
br label %64
63: ; preds = %59
br i1 true, label %28, label %64
64: ; preds = %63, %62
%65 = load ptr, ptr %11, align 8
%66 = load i8, ptr %65, align 1
%67 = icmp ne i8 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %64
br label %141
69: ; preds = %64
store i32 2, ptr %9, align 4
br label %70
70: ; preds = %69, %23
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i64, ptr %6, align 8
%77 = load i64, ptr %6, align 8
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %75, i64 noundef %76, i64 noundef %77)
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = call ptr @fopen(ptr noundef %83, ptr noundef @.str.1)
store ptr %84, ptr %10, align 8
%85 = load ptr, ptr %10, align 8
%86 = icmp eq ptr %85, null
br i1 %86, label %87, label %89
87: ; preds = %70
%88 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %150
89: ; preds = %70
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr @SEEK_END, align 4
%92 = call i32 @fseek(ptr noundef %90, i64 noundef 0, i32 noundef %91)
%93 = load ptr, ptr %10, align 8
%94 = call i64 @ftell(ptr noundef %93)
store i64 %94, ptr %7, align 8
%95 = load i64, ptr %7, align 8
%96 = load i64, ptr %6, align 8
%97 = icmp ugt i64 %95, %96
br i1 %97, label %98, label %104
98: ; preds = %89
%99 = load i64, ptr %7, align 8
%100 = load i64, ptr %7, align 8
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %99, i64 noundef %100)
%102 = load ptr, ptr %10, align 8
%103 = call i32 @fclose(ptr noundef %102)
store i32 1, ptr %3, align 4
br label %150
104: ; preds = %89
store i64 0, ptr %8, align 8
br label %105
105: ; preds = %111, %104
%106 = load i64, ptr %8, align 8
%107 = icmp ult i64 %106, 16384
br i1 %107, label %108, label %114
108: ; preds = %105
%109 = load i64, ptr %8, align 8
%110 = getelementptr inbounds [16384 x i8], ptr @main.buf, i64 0, i64 %109
store i8 -1, ptr %110, align 1
br label %111
111: ; preds = %108
%112 = load i64, ptr %8, align 8
%113 = add i64 %112, 1
store i64 %113, ptr %8, align 8
br label %105, !llvm.loop !6
114: ; preds = %105
br label %115
115: ; preds = %134, %114
%116 = load i64, ptr %7, align 8
%117 = load i64, ptr %6, align 8
%118 = icmp ult i64 %116, %117
br i1 %118, label %119, label %138
119: ; preds = %115
store i64 16384, ptr %8, align 8
%120 = load i64, ptr %7, align 8
%121 = load i64, ptr %8, align 8
%122 = add i64 %120, %121
%123 = load i64, ptr %6, align 8
%124 = icmp ugt i64 %122, %123
br i1 %124, label %125, label %129
125: ; preds = %119
%126 = load i64, ptr %6, align 8
%127 = load i64, ptr %7, align 8
%128 = sub i64 %126, %127
store i64 %128, ptr %8, align 8
br label %129
129: ; preds = %125, %119
%130 = load i64, ptr %8, align 8
%131 = trunc i64 %130 to i32
%132 = load ptr, ptr %10, align 8
%133 = call i32 @fwrite(ptr noundef @main.buf, i32 noundef 1, i32 noundef %131, ptr noundef %132)
br label %134
134: ; preds = %129
%135 = load i64, ptr %8, align 8
%136 = load i64, ptr %7, align 8
%137 = add i64 %136, %135
store i64 %137, ptr %7, align 8
br label %115, !llvm.loop !8
138: ; preds = %115
%139 = load ptr, ptr %10, align 8
%140 = call i32 @fclose(ptr noundef %139)
store i32 0, ptr %3, align 4
br label %150
141: ; preds = %68, %19
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 1, ptr %3, align 4
br label %150
150: ; preds = %141, %138, %98, %87
%151 = load i32, ptr %3, align 4
ret i32 %151
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo89lhbcq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.buf = internal global [16384 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [58 x i8] c"Padding file \22%s\22 to %lu (=0x%lX) bytes (all 0xFF bytes)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ab+\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file \00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [60 x i8] c"File is already %lud (=0x%luX) bytes long : Not truncating\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"Format : brompad [<size>] <file-name>\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"Pads the given file to a size using 0xFF bytes\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"<size> by default is 2 MegaBytes\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"<size> can be specified in C-format integer constants\0A\00", align 1
@.str.8 = private unnamed_addr constant [43 x i8] c"(Hence you can use hex, octal or decimal)\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c"A constant may be suffixed by k or K for kilo-bytes\0A\00", align 1
@.str.10 = private unnamed_addr constant [53 x i8] c"A constant may be suffixed by m or M for mega-bytes\0A\00", align 1
@.str.11 = private unnamed_addr constant [60 x i8] c"You can add any number of such costants together using '+'\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 3
br i1 %18, label %19, label %20
19: ; preds = %16, %2
br label %144
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %24
23: ; preds = %20
store i64 2097152, ptr %6, align 8
store i32 1, ptr %9, align 4
br label %70
24: ; preds = %20
store i64 0, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
store ptr %27, ptr %11, align 8
br label %28
28: ; preds = %63, %24
%29 = load ptr, ptr %11, align 8
%30 = call i64 @strtoul(ptr noundef %29, ptr noundef %12, i32 noundef 0)
store i64 %30, ptr %13, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp eq ptr %31, %32
br i1 %33, label %34, label %35
34: ; preds = %28
store i64 1, ptr %13, align 8
br label %37
35: ; preds = %28
%36 = load ptr, ptr %12, align 8
store ptr %36, ptr %11, align 8
br label %37
37: ; preds = %35, %34
%38 = load ptr, ptr %11, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %51 [
i32 107, label %41
i32 75, label %41
i32 109, label %46
i32 77, label %46
]
41: ; preds = %37, %37
%42 = load i64, ptr %13, align 8
%43 = mul i64 %42, 1024
store i64 %43, ptr %13, align 8
%44 = load ptr, ptr %11, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %11, align 8
br label %51
46: ; preds = %37, %37
%47 = load i64, ptr %13, align 8
%48 = mul i64 %47, 1048576
store i64 %48, ptr %13, align 8
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %11, align 8
br label %51
51: ; preds = %46, %41, %37
%52 = load i64, ptr %13, align 8
%53 = load i64, ptr %6, align 8
%54 = add i64 %53, %52
store i64 %54, ptr %6, align 8
%55 = load ptr, ptr %11, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 43
br i1 %58, label %59, label %62
59: ; preds = %51
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %11, align 8
br label %63
62: ; preds = %51
br label %64
63: ; preds = %59
br i1 true, label %28, label %.loopexit
.loopexit: ; preds = %63
br label %64
64: ; preds = %.loopexit, %62
%65 = load ptr, ptr %11, align 8
%66 = load i8, ptr %65, align 1
%67 = icmp ne i8 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %64
br label %144
69: ; preds = %64
store i32 2, ptr %9, align 4
br label %70
70: ; preds = %69, %23
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i64, ptr %6, align 8
%77 = load i64, ptr %6, align 8
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %75, i64 noundef %76, i64 noundef %77)
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = call ptr @fopen(ptr noundef %83, ptr noundef @.str.1)
store ptr %84, ptr %10, align 8
%85 = load ptr, ptr %10, align 8
%86 = icmp eq ptr %85, null
br i1 %86, label %87, label %89
87: ; preds = %70
%88 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %153
89: ; preds = %70
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr @SEEK_END, align 4
%92 = call i32 @fseek(ptr noundef %90, i64 noundef 0, i32 noundef %91)
%93 = load ptr, ptr %10, align 8
%94 = call i64 @ftell(ptr noundef %93)
store i64 %94, ptr %7, align 8
%95 = load i64, ptr %7, align 8
%96 = load i64, ptr %6, align 8
%97 = icmp ugt i64 %95, %96
br i1 %97, label %98, label %104
98: ; preds = %89
%99 = load i64, ptr %7, align 8
%100 = load i64, ptr %7, align 8
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %99, i64 noundef %100)
%102 = load ptr, ptr %10, align 8
%103 = call i32 @fclose(ptr noundef %102)
store i32 1, ptr %3, align 4
br label %153
104: ; preds = %89
store i64 0, ptr %8, align 8
%105 = load i64, ptr %8, align 8
%106 = icmp ult i64 %105, 16384
br i1 %106, label %.lr.ph, label %115
.lr.ph: ; preds = %104
br label %107
107: ; preds = %.lr.ph, %110
%108 = load i64, ptr %8, align 8
%109 = getelementptr inbounds [16384 x i8], ptr @main.buf, i64 0, i64 %108
store i8 -1, ptr %109, align 1
br label %110
110: ; preds = %107
%111 = load i64, ptr %8, align 8
%112 = add i64 %111, 1
store i64 %112, ptr %8, align 8
%113 = load i64, ptr %8, align 8
%114 = icmp ult i64 %113, 16384
br i1 %114, label %107, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %110
br label %115
115: ; preds = %._crit_edge, %104
%116 = load i64, ptr %7, align 8
%117 = load i64, ptr %6, align 8
%118 = icmp ult i64 %116, %117
br i1 %118, label %.lr.ph2, label %141
.lr.ph2: ; preds = %115
br label %119
119: ; preds = %.lr.ph2, %134
store i64 16384, ptr %8, align 8
%120 = load i64, ptr %7, align 8
%121 = load i64, ptr %8, align 8
%122 = add i64 %120, %121
%123 = load i64, ptr %6, align 8
%124 = icmp ugt i64 %122, %123
br i1 %124, label %125, label %129
125: ; preds = %119
%126 = load i64, ptr %6, align 8
%127 = load i64, ptr %7, align 8
%128 = sub i64 %126, %127
store i64 %128, ptr %8, align 8
br label %129
129: ; preds = %125, %119
%130 = load i64, ptr %8, align 8
%131 = trunc i64 %130 to i32
%132 = load ptr, ptr %10, align 8
%133 = call i32 @fwrite(ptr noundef @main.buf, i32 noundef 1, i32 noundef %131, ptr noundef %132)
br label %134
134: ; preds = %129
%135 = load i64, ptr %8, align 8
%136 = load i64, ptr %7, align 8
%137 = add i64 %136, %135
store i64 %137, ptr %7, align 8
%138 = load i64, ptr %7, align 8
%139 = load i64, ptr %6, align 8
%140 = icmp ult i64 %138, %139
br i1 %140, label %119, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %134
br label %141
141: ; preds = %._crit_edge3, %115
%142 = load ptr, ptr %10, align 8
%143 = call i32 @fclose(ptr noundef %142)
store i32 0, ptr %3, align 4
br label %153
144: ; preds = %68, %19
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%150 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 1, ptr %3, align 4
br label %153
153: ; preds = %144, %141, %98, %87
%154 = load i32, ptr %3, align 4
ret i32 %154
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpea2p0t30.c'
source_filename = "/tmp/tmpea2p0t30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.usage = internal global [286 x i8] c"usage: chop [options] [input]\0A options:\0A -h ... display this message\0A -n <lines> ... reproduce this many lines of file [Default: to EOF]\0A -s <line> ... start at this line number [Default: 1]\0A -S <num> ... skip <num> lines between each output [Default: 1]\0A\00", align 16
@stderr = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"chop: unknown arg %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"chop: can't open %s\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %11
11: ; preds = %100, %2
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
br label %22
22: ; preds = %15, %11
%23 = phi i1 [ false, %11 ], [ %21, %15 ]
br i1 %23, label %24, label %101
24: ; preds = %22
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %26, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
switch i32 %30, label %93 [
i32 104, label %31
i32 110, label %36
i32 115, label %55
i32 83, label %74
]
31: ; preds = %24
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @main.usage)
%34 = load i32, ptr @EXIT_SUCCESS, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %24
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %38, align 8
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %36
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %44, align 8
%46 = call i32 @atoi(ptr noundef %45)
store i32 %46, ptr %8, align 4
br label %54
47: ; preds = %36
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i32 1
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
store i32 %53, ptr %8, align 4
br label %54
54: ; preds = %47, %43
br label %100
55: ; preds = %24
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %57, align 8
%60 = load i8, ptr %59, align 1
%61 = icmp ne i8 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %55
%63 = load ptr, ptr %5, align 8
%64 = load ptr, ptr %63, align 8
%65 = call i32 @atoi(ptr noundef %64)
store i32 %65, ptr %7, align 4
br label %73
66: ; preds = %55
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %4, align 4
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds ptr, ptr %69, i32 1
store ptr %70, ptr %5, align 8
%71 = load ptr, ptr %70, align 8
%72 = call i32 @atoi(ptr noundef %71)
store i32 %72, ptr %7, align 4
br label %73
73: ; preds = %66, %62
br label %100
74: ; preds = %24
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds ptr, ptr %75, i64 0
%77 = load ptr, ptr %76, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %76, align 8
%79 = load i8, ptr %78, align 1
%80 = icmp ne i8 %79, 0
br i1 %80, label %81, label %85
81: ; preds = %74
%82 = load ptr, ptr %5, align 8
%83 = load ptr, ptr %82, align 8
%84 = call i32 @atoi(ptr noundef %83)
store i32 %84, ptr %9, align 4
br label %92
85: ; preds = %74
%86 = load i32, ptr %4, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %4, align 4
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds ptr, ptr %88, i32 1
store ptr %89, ptr %5, align 8
%90 = load ptr, ptr %89, align 8
%91 = call i32 @atoi(ptr noundef %90)
store i32 %91, ptr %9, align 4
br label %92
92: ; preds = %85, %81
br label %100
93: ; preds = %24
%94 = load i32, ptr @stderr, align 4
%95 = load ptr, ptr %5, align 8
%96 = load ptr, ptr %95, align 8
%97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str, ptr noundef %96)
%98 = load i32, ptr @EXIT_FAILURE, align 4
%99 = call i32 @exit(i32 noundef %98) #3
unreachable
100: ; preds = %92, %73, %54
br label %11, !llvm.loop !6
101: ; preds = %22
%102 = load i32, ptr %4, align 4
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %142
104: ; preds = %101
store i32 0, ptr %6, align 4
br label %105
105: ; preds = %138, %104
%106 = load i32, ptr %6, align 4
%107 = load i32, ptr %4, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %141
109: ; preds = %105
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %6, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds ptr, ptr %110, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = call ptr @fopen(ptr noundef %114, ptr noundef @.str.1)
store ptr %115, ptr %10, align 8
%116 = icmp ne ptr %115, null
br i1 %116, label %129, label %117
117: ; preds = %109
%118 = load i32, ptr @stderr, align 4
%119 = load ptr, ptr %5, align 8
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %119, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.2, ptr noundef %123)
%125 = load i32, ptr @stderr, align 4
%126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @main.usage)
%127 = load i32, ptr @EXIT_FAILURE, align 4
%128 = call i32 @exit(i32 noundef %127) #3
unreachable
129: ; preds = %109
%130 = load ptr, ptr %10, align 8
%131 = load i32, ptr %7, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %9, align 4
%134 = call i32 @chop(ptr noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133)
%135 = load ptr, ptr %10, align 8
%136 = call i32 @fclose(ptr noundef %135)
br label %137
137: ; preds = %129
br label %138
138: ; preds = %137
%139 = load i32, ptr %6, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %6, align 4
br label %105, !llvm.loop !8
141: ; preds = %105
br label %154
142: ; preds = %101
%143 = load ptr, ptr @stdin, align 8
%144 = load i32, ptr %7, align 4
%145 = load i32, ptr %8, align 4
%146 = load i32, ptr %9, align 4
%147 = call i32 @chop(ptr noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146)
br label %148
148: ; preds = %152, %142
%149 = call i32 (...) @getchar()
store i32 %149, ptr %6, align 4
%150 = load i32, ptr @EOF, align 4
%151 = icmp ne i32 %149, %150
br i1 %151, label %152, label %153
152: ; preds = %148
br label %148, !llvm.loop !9
153: ; preds = %148
br label %154
154: ; preds = %153, %141
%155 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %155
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @chop(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(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" }
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpea2p0t30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.usage = internal global [286 x i8] c"usage: chop [options] [input]\0A options:\0A -h ... display this message\0A -n <lines> ... reproduce this many lines of file [Default: to EOF]\0A -s <line> ... start at this line number [Default: 1]\0A -S <num> ... skip <num> lines between each output [Default: 1]\0A\00", align 16
@stderr = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"chop: unknown arg %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"chop: can't open %s\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %11
11: ; preds = %100, %2
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
br label %22
22: ; preds = %15, %11
%23 = phi i1 [ false, %11 ], [ %21, %15 ]
br i1 %23, label %24, label %101
24: ; preds = %22
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %26, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
switch i32 %30, label %93 [
i32 104, label %31
i32 110, label %36
i32 115, label %55
i32 83, label %74
]
31: ; preds = %24
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @main.usage)
%34 = load i32, ptr @EXIT_SUCCESS, align 4
%35 = call i32 @exit(i32 noundef %34) #3
unreachable
36: ; preds = %24
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %38, align 8
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %36
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %44, align 8
%46 = call i32 @atoi(ptr noundef %45)
store i32 %46, ptr %8, align 4
br label %54
47: ; preds = %36
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i32 1
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
store i32 %53, ptr %8, align 4
br label %54
54: ; preds = %47, %43
br label %100
55: ; preds = %24
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %57, align 8
%60 = load i8, ptr %59, align 1
%61 = icmp ne i8 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %55
%63 = load ptr, ptr %5, align 8
%64 = load ptr, ptr %63, align 8
%65 = call i32 @atoi(ptr noundef %64)
store i32 %65, ptr %7, align 4
br label %73
66: ; preds = %55
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %4, align 4
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds ptr, ptr %69, i32 1
store ptr %70, ptr %5, align 8
%71 = load ptr, ptr %70, align 8
%72 = call i32 @atoi(ptr noundef %71)
store i32 %72, ptr %7, align 4
br label %73
73: ; preds = %66, %62
br label %100
74: ; preds = %24
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds ptr, ptr %75, i64 0
%77 = load ptr, ptr %76, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %76, align 8
%79 = load i8, ptr %78, align 1
%80 = icmp ne i8 %79, 0
br i1 %80, label %81, label %85
81: ; preds = %74
%82 = load ptr, ptr %5, align 8
%83 = load ptr, ptr %82, align 8
%84 = call i32 @atoi(ptr noundef %83)
store i32 %84, ptr %9, align 4
br label %92
85: ; preds = %74
%86 = load i32, ptr %4, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %4, align 4
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds ptr, ptr %88, i32 1
store ptr %89, ptr %5, align 8
%90 = load ptr, ptr %89, align 8
%91 = call i32 @atoi(ptr noundef %90)
store i32 %91, ptr %9, align 4
br label %92
92: ; preds = %85, %81
br label %100
93: ; preds = %24
%94 = load i32, ptr @stderr, align 4
%95 = load ptr, ptr %5, align 8
%96 = load ptr, ptr %95, align 8
%97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str, ptr noundef %96)
%98 = load i32, ptr @EXIT_FAILURE, align 4
%99 = call i32 @exit(i32 noundef %98) #3
unreachable
100: ; preds = %92, %73, %54
br label %11, !llvm.loop !6
101: ; preds = %22
%102 = load i32, ptr %4, align 4
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %144
104: ; preds = %101
store i32 0, ptr %6, align 4
%105 = load i32, ptr %6, align 4
%106 = load i32, ptr %4, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %.lr.ph, label %143
.lr.ph: ; preds = %104
br label %108
108: ; preds = %.lr.ph, %137
%109 = load ptr, ptr %5, align 8
%110 = load i32, ptr %6, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds ptr, ptr %109, i64 %111
%113 = load ptr, ptr %112, align 8
%114 = call ptr @fopen(ptr noundef %113, ptr noundef @.str.1)
store ptr %114, ptr %10, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %128, label %116
116: ; preds = %108
%117 = load i32, ptr @stderr, align 4
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %6, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %118, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.2, ptr noundef %122)
%124 = load i32, ptr @stderr, align 4
%125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @main.usage)
%126 = load i32, ptr @EXIT_FAILURE, align 4
%127 = call i32 @exit(i32 noundef %126) #3
unreachable
128: ; preds = %108
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %7, align 4
%131 = load i32, ptr %8, align 4
%132 = load i32, ptr %9, align 4
%133 = call i32 @chop(ptr noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %132)
%134 = load ptr, ptr %10, align 8
%135 = call i32 @fclose(ptr noundef %134)
br label %136
136: ; preds = %128
br label %137
137: ; preds = %136
%138 = load i32, ptr %6, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %6, align 4
%140 = load i32, ptr %6, align 4
%141 = load i32, ptr %4, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %108, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %137
br label %143
143: ; preds = %._crit_edge, %104
br label %155
144: ; preds = %101
%145 = load ptr, ptr @stdin, align 8
%146 = load i32, ptr %7, align 4
%147 = load i32, ptr %8, align 4
%148 = load i32, ptr %9, align 4
%149 = call i32 @chop(ptr noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef %148)
br label %150
150: ; preds = %150, %144
%151 = call i32 (...) @getchar()
store i32 %151, ptr %6, align 4
%152 = load i32, ptr @EOF, align 4
%153 = icmp ne i32 %151, %152
br i1 %153, label %150, label %154, !llvm.loop !9
154: ; preds = %150
br label %155
155: ; preds = %154, %143
%156 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %156
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @chop(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(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" }
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}
|
; ModuleID = '/tmp/tmptvr8t4et.c'
source_filename = "/tmp/tmptvr8t4et.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md2str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %49
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = call i64 @malloc(i32 noundef 33)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15
store ptr null, ptr %3, align 8
br label %49
21: ; preds = %15
br label %22
22: ; preds = %21, %12
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %8, align 8
store i32 0, ptr %6, align 4
br label %24
24: ; preds = %43, %22
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %25, 16
br i1 %26, label %27, label %46
27: ; preds = %24
%28 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i8 noundef zeroext %33)
%35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%36 = load i8, ptr %35, align 16
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
store i8 %36, ptr %37, align 1
%39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %5, align 8
store i8 %40, ptr %41, align 1
br label %43
43: ; preds = %27
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %24, !llvm.loop !6
46: ; preds = %24
%47 = load ptr, ptr %5, align 8
store i8 0, ptr %47, align 1
%48 = load ptr, ptr %8, align 8
store ptr %48, ptr %3, align 8
br label %49
49: ; preds = %46, %20, %11
%50 = load ptr, ptr %3, align 8
ret ptr %50
}
declare i64 @malloc(i32 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/tmptvr8t4et.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md2str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %50
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = call i64 @malloc(i32 noundef 33)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15
store ptr null, ptr %3, align 8
br label %50
21: ; preds = %15
br label %22
22: ; preds = %21, %12
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %8, align 8
store i32 0, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 16
br i1 %25, label %.lr.ph, label %47
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %42
%27 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str, i8 noundef zeroext %32)
%34 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%35 = load i8, ptr %34, align 16
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %5, align 8
store i8 %35, ptr %36, align 1
%38 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1
%39 = load i8, ptr %38, align 1
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %5, align 8
store i8 %39, ptr %40, align 1
br label %42
42: ; preds = %26
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %45, 16
br i1 %46, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %22
%48 = load ptr, ptr %5, align 8
store i8 0, ptr %48, align 1
%49 = load ptr, ptr %8, align 8
store ptr %49, ptr %3, align 8
br label %50
50: ; preds = %47, %20, %11
%51 = load ptr, ptr %3, align 8
ret ptr %51
}
declare i64 @malloc(i32 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/tmptb0ht3dg.c'
source_filename = "/tmp/tmptb0ht3dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mlock(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptb0ht3dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mlock(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyx5qybf4.c'
source_filename = "/tmp/tmpyx5qybf4.c"
target datalayout = "e-m:e-p270: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/tmpyx5qybf4.c"
target datalayout = "e-m:e-p270: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/tmppn5nqsuc.c'
source_filename = "/tmp/tmppn5nqsuc.c"
target datalayout = "e-m:e-p270: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/tmppn5nqsuc.c"
target datalayout = "e-m:e-p270: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/tmpgczqil78.c'
source_filename = "/tmp/tmpgczqil78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SKP_Silk_resample_4_3(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [240 x i16], align 16
%13 = alloca [480 x i16], align 16
%14 = alloca [360 x i32], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = shl i32 %15, 2
%17 = sdiv i32 %16, 3
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %21, %4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %67
21: ; preds = %18
%22 = load i32, ptr %9, align 4
%23 = call i32 @SKP_min_int(i32 noundef 80, i32 noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = trunc i32 %24 to i16
%26 = sext i16 %25 to i32
%27 = mul nsw i32 0, %26
%28 = load i32, ptr %11, align 4
%29 = trunc i32 %28 to i16
%30 = sext i16 %29 to i32
%31 = mul nsw i32 49152, %30
%32 = ashr i32 %31, 16
%33 = add nsw i32 %27, %32
store i32 %33, ptr %10, align 4
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = getelementptr inbounds [240 x i16], ptr %12, i64 0, i64 0
%38 = getelementptr inbounds [360 x i32], ptr %14, i64 0, i64 0
%39 = load i32, ptr %10, align 4
%40 = call i32 @SKP_Silk_resample_2_1_coarse(ptr noundef %34, ptr noundef %36, ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = getelementptr inbounds [240 x i16], ptr %12, i64 0, i64 0
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i32, ptr %42, i64 4
%44 = getelementptr inbounds [480 x i16], ptr %13, i64 0, i64 0
%45 = getelementptr inbounds [360 x i32], ptr %14, i64 0, i64 0
%46 = load i32, ptr %10, align 4
%47 = shl i32 %46, 1
%48 = call i32 @SKP_Silk_resample_2_1_coarse(ptr noundef %41, ptr noundef %43, ptr noundef %44, ptr noundef %45, i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 8
%52 = getelementptr inbounds [480 x i16], ptr %13, i64 0, i64 0
%53 = load i32, ptr %10, align 4
%54 = shl i32 %53, 2
%55 = call i32 @SKP_Silk_resample_1_3(ptr noundef %49, ptr noundef %51, ptr noundef %52, i32 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = load ptr, ptr %7, align 8
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i16, ptr %57, i64 %58
store ptr %59, ptr %7, align 8
%60 = load i32, ptr %11, align 4
%61 = load ptr, ptr %5, align 8
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i16, ptr %61, i64 %62
store ptr %63, ptr %5, align 8
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %9, align 4
%66 = sub nsw i32 %65, %64
store i32 %66, ptr %9, align 4
br label %18, !llvm.loop !6
67: ; preds = %18
ret void
}
declare i32 @SKP_min_int(i32 noundef, i32 noundef) #1
declare i32 @SKP_Silk_resample_2_1_coarse(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_resample_1_3(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgczqil78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SKP_Silk_resample_4_3(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [240 x i16], align 16
%13 = alloca [480 x i16], align 16
%14 = alloca [360 x i32], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = shl i32 %15, 2
%17 = sdiv i32 %16, 3
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %.lr.ph, label %68
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %20
%21 = load i32, ptr %9, align 4
%22 = call i32 @SKP_min_int(i32 noundef 80, i32 noundef %21)
store i32 %22, ptr %11, align 4
%23 = load i32, ptr %11, align 4
%24 = trunc i32 %23 to i16
%25 = sext i16 %24 to i32
%26 = mul nsw i32 0, %25
%27 = load i32, ptr %11, align 4
%28 = trunc i32 %27 to i16
%29 = sext i16 %28 to i32
%30 = mul nsw i32 49152, %29
%31 = ashr i32 %30, 16
%32 = add nsw i32 %26, %31
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
%36 = getelementptr inbounds [240 x i16], ptr %12, i64 0, i64 0
%37 = getelementptr inbounds [360 x i32], ptr %14, i64 0, i64 0
%38 = load i32, ptr %10, align 4
%39 = call i32 @SKP_Silk_resample_2_1_coarse(ptr noundef %33, ptr noundef %35, ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = getelementptr inbounds [240 x i16], ptr %12, i64 0, i64 0
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 4
%43 = getelementptr inbounds [480 x i16], ptr %13, i64 0, i64 0
%44 = getelementptr inbounds [360 x i32], ptr %14, i64 0, i64 0
%45 = load i32, ptr %10, align 4
%46 = shl i32 %45, 1
%47 = call i32 @SKP_Silk_resample_2_1_coarse(ptr noundef %40, ptr noundef %42, ptr noundef %43, ptr noundef %44, i32 noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i32, ptr %49, i64 8
%51 = getelementptr inbounds [480 x i16], ptr %13, i64 0, i64 0
%52 = load i32, ptr %10, align 4
%53 = shl i32 %52, 2
%54 = call i32 @SKP_Silk_resample_1_3(ptr noundef %48, ptr noundef %50, ptr noundef %51, i32 noundef %53)
%55 = load i32, ptr %10, align 4
%56 = load ptr, ptr %7, align 8
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i16, ptr %56, i64 %57
store ptr %58, ptr %7, align 8
%59 = load i32, ptr %11, align 4
%60 = load ptr, ptr %5, align 8
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds i16, ptr %60, i64 %61
store ptr %62, ptr %5, align 8
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 %64, %63
store i32 %65, ptr %9, align 4
%66 = load i32, ptr %9, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %68
68: ; preds = %._crit_edge, %4
ret void
}
declare i32 @SKP_min_int(i32 noundef, i32 noundef) #1
declare i32 @SKP_Silk_resample_2_1_coarse(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_resample_1_3(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits