llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmprcpqay0j.c'
source_filename = "/tmp/tmprcpqay0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\0AInserisci un numero intero \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A Inserisci una sequenza di %d interi:\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\0A La sequenza di %d interi inserita e':\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c"Stampo elementi con un pari nella posizione precedente\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %8
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 20
br label %14
14: ; preds = %11, %8
%15 = phi i1 [ true, %8 ], [ %13, %11 ]
br i1 %15, label %5, label %16, !llvm.loop !6
16: ; preds = %14
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %28, %16
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %23
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %19, !llvm.loop !8
31: ; preds = %19
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %32)
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %44, %31
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %47
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
br label %44
44: ; preds = %38
%45 = load i32, ptr %3, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %3, align 4
br label %34, !llvm.loop !9
47: ; preds = %34
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %49
49: ; preds = %68, %47
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %71
53: ; preds = %49
%54 = load i32, ptr %3, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = srem i32 %58, 2
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %67
61: ; preds = %53
%62 = load i32, ptr %3, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65)
br label %67
67: ; preds = %61, %53
br label %68
68: ; preds = %67
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %3, align 4
br label %49, !llvm.loop !10
71: ; preds = %49
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprcpqay0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\0AInserisci un numero intero \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A Inserisci una sequenza di %d interi:\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\0A La sequenza di %d interi inserita e':\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c"Stampo elementi con un pari nella posizione precedente\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %8
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 20
br label %14
14: ; preds = %11, %8
%15 = phi i1 [ true, %8 ], [ %13, %11 ]
br i1 %15, label %5, label %16, !llvm.loop !6
16: ; preds = %14
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
store i32 0, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %16
br label %22
22: ; preds = %.lr.ph, %27
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %16
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
store i32 0, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %51
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %45
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
br label %45
45: ; preds = %39
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %39, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %33
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph5, label %77
.lr.ph5: ; preds = %51
br label %56
56: ; preds = %.lr.ph5, %71
%57 = load i32, ptr %3, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = srem i32 %61, 2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %70
64: ; preds = %56
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %68)
br label %70
70: ; preds = %64, %56
br label %71
71: ; preds = %70
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %3, align 4
%74 = load i32, ptr %3, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %56, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %71
br label %77
77: ; preds = %._crit_edge6, %51
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyzebynva.c'
source_filename = "/tmp/tmpyzebynva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @UnunpackEntry(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @UnunpackEntry(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/tmpyzebynva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @UnunpackEntry(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @UnunpackEntry(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/tmpnpl9_rlq.c'
source_filename = "/tmp/tmpnpl9_rlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am test exe1.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpl9_rlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am test exe1.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphfnizu8i.c'
source_filename = "/tmp/tmphfnizu8i.c"
target datalayout = "e-m:e-p270: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/tmphfnizu8i.c"
target datalayout = "e-m:e-p270: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/tmp7g8bbjo4.c'
source_filename = "/tmp/tmp7g8bbjo4.c"
target datalayout = "e-m:e-p270: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/tmp7g8bbjo4.c"
target datalayout = "e-m:e-p270: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/tmp2ly9cl3m.c'
source_filename = "/tmp/tmp2ly9cl3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csr_atoi(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 i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @strtol(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/tmp2ly9cl3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csr_atoi(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 i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @strtol(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/tmpx9ws0sfk.c'
source_filename = "/tmp/tmpx9ws0sfk.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"Run-time error:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Exiting to system.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @erhand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = 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/tmpx9ws0sfk.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"Run-time error:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Exiting to system.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @erhand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = 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/tmpvawytgg1.c'
source_filename = "/tmp/tmpvawytgg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af1d(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvawytgg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af1d(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1svmkens.c'
source_filename = "/tmp/tmp1svmkens.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"%s: data parity error\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\09%s voltage: %.2fV\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @check_parity_and_print_voltage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 %11, 48
%13 = trunc i32 %12 to i8
store i8 %13, ptr %6, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 4
store i8 0, ptr %15, align 1
%16 = load ptr, ptr %4, align 8
%17 = call signext i16 @strtoul(ptr noundef %16, ptr noundef null, i32 noundef 16)
store i16 %17, ptr %7, align 2
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = load i16, ptr %7, align 2
%21 = call signext i8 @data_parity(i16 noundef signext %20)
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %19, %22
br i1 %23, label %24, label %28
24: ; preds = %2
%25 = load i32, ptr @stderr, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, ptr noundef %26)
store i8 0, ptr %3, align 1
br label %38
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = sitofp i32 %31 to double
%33 = fdiv double %32, 4.095000e+03
%34 = fmul double %33, 6.000000e+00
%35 = fmul double %34, 2.485000e+00
%36 = fptosi double %35 to i16
%37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29, i16 noundef signext %36)
store i8 1, ptr %3, align 1
br label %38
38: ; preds = %28, %24
%39 = load i8, ptr %3, align 1
ret i8 %39
}
declare signext i16 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare signext i8 @data_parity(i16 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1svmkens.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"%s: data parity error\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\09%s voltage: %.2fV\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @check_parity_and_print_voltage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 %11, 48
%13 = trunc i32 %12 to i8
store i8 %13, ptr %6, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 4
store i8 0, ptr %15, align 1
%16 = load ptr, ptr %4, align 8
%17 = call signext i16 @strtoul(ptr noundef %16, ptr noundef null, i32 noundef 16)
store i16 %17, ptr %7, align 2
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = load i16, ptr %7, align 2
%21 = call signext i8 @data_parity(i16 noundef signext %20)
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %19, %22
br i1 %23, label %24, label %28
24: ; preds = %2
%25 = load i32, ptr @stderr, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, ptr noundef %26)
store i8 0, ptr %3, align 1
br label %38
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = sitofp i32 %31 to double
%33 = fdiv double %32, 4.095000e+03
%34 = fmul double %33, 6.000000e+00
%35 = fmul double %34, 2.485000e+00
%36 = fptosi double %35 to i16
%37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29, i16 noundef signext %36)
store i8 1, ptr %3, align 1
br label %38
38: ; preds = %28, %24
%39 = load i8, ptr %3, align 1
ret i8 %39
}
declare signext i16 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare signext i8 @data_parity(i16 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqyhkmit.c'
source_filename = "/tmp/tmpbqyhkmit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funcio_polinomica(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 8, %8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %34, %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %37
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = fmul double 2.500000e+01, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = call double @llvm.fmuladd.f64(double %22, double %27, double 1.000000e+00)
%29 = fdiv double 1.000000e+00, %28
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
store double %29, ptr %33, align 8
br label %34
34: ; preds = %16
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
br label %12, !llvm.loop !6
37: ; preds = %12
%38 = load ptr, ptr %6, align 8
ret ptr %38
}
declare ptr @malloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqyhkmit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funcio_polinomica(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 8, %8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %6, align 8
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %33
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fmul double 2.500000e+01, %20
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = call double @llvm.fmuladd.f64(double %21, double %26, double 1.000000e+00)
%28 = fdiv double 1.000000e+00, %27
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double %28, ptr %32, align 8
br label %33
33: ; preds = %15
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
%40 = load ptr, ptr %6, align 8
ret ptr %40
}
declare ptr @malloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc493axxr.c'
source_filename = "/tmp/tmpc493axxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%hi\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readShort1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @__fpurge(i32 noundef %7)
br label %9
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %4, label %12, !llvm.loop !6
12: ; preds = %9
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(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/tmpc493axxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%hi\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readShort1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @__fpurge(i32 noundef %7)
br label %9
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %4, label %12, !llvm.loop !6
12: ; preds = %9
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(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/tmpz8xz0i07.c'
source_filename = "/tmp/tmpz8xz0i07.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_sss_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr @AF_INET, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i64, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = call i32 @internal_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @internal_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmpz8xz0i07.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_sss_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr @AF_INET, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i64, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = call i32 @internal_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @internal_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmp8krhotcc.c'
source_filename = "/tmp/tmp8krhotcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Nothing to parse.\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Invalid first char.\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Button\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setparsed(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x ptr], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
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 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %13, %2
store ptr @.str, ptr %3, align 8
br label %153
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = call i64 @isalpha(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %36
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
store ptr %28, ptr %29, align 16
%30 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1
store ptr null, ptr %30, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%35 = call ptr @var_set(ptr noundef %33, ptr noundef %34)
store ptr %35, ptr %3, align 8
br label %153
36: ; preds = %19
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 60
br i1 %41, label %42, label %43
42: ; preds = %36
store ptr @.str.1, ptr %3, align 8
br label %153
43: ; preds = %36
br label %44
44: ; preds = %43
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.2)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %58
50: ; preds = %44
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 0
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
%57 = call ptr @button_add(ptr noundef %53, ptr noundef %56)
store ptr %57, ptr %3, align 8
br label %153
58: ; preds = %44
%59 = call i32 @memset(ptr noundef %6, i8 noundef signext 45, i32 noundef 2)
store i32 0, ptr %8, align 4
br label %60
60: ; preds = %124, %58
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %67, label %71
67: ; preds = %60
%68 = load i32, ptr %8, align 4
%69 = zext i32 %68 to i64
%70 = icmp ult i64 %69, 2
br label %71
71: ; preds = %67, %60
%72 = phi i1 [ false, %60 ], [ %70, %67 ]
br i1 %72, label %73, label %127
73: ; preds = %71
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = add i32 %75, 2
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 39
br i1 %81, label %82, label %83
82: ; preds = %73
br label %118
83: ; preds = %73
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %8, align 4
%86 = add i32 %85, 2
%87 = zext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
%89 = load i8, ptr %88, align 1
%90 = call i64 @isdigit(i8 noundef signext %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %83
br label %116
93: ; preds = %83
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %8, align 4
%96 = add i32 %95, 2
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 60
br i1 %101, label %102, label %103
102: ; preds = %93
br label %114
103: ; preds = %93
%104 = load ptr, ptr %4, align 8
%105 = load i32, ptr %8, align 4
%106 = add i32 %105, 2
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %104, i64 %107
%109 = load i8, ptr %108, align 1
%110 = call i64 @isalpha(i8 noundef signext %109)
%111 = icmp ne i64 %110, 0
%112 = zext i1 %111 to i64
%113 = select i1 %111, i32 110, i32 45
br label %114
114: ; preds = %103, %102
%115 = phi i32 [ 109, %102 ], [ %113, %103 ]
br label %116
116: ; preds = %114, %92
%117 = phi i32 [ 105, %92 ], [ %115, %114 ]
br label %118
118: ; preds = %116, %82
%119 = phi i32 [ 99, %82 ], [ %117, %116 ]
%120 = trunc i32 %119 to i8
%121 = load i32, ptr %8, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 %122
store i8 %120, ptr %123, align 1
br label %124
124: ; preds = %118
%125 = load i32, ptr %8, align 4
%126 = add i32 %125, 1
store i32 %126, ptr %8, align 4
br label %60, !llvm.loop !6
127: ; preds = %71
store i32 0, ptr %8, align 4
br label %128
128: ; preds = %142, %127
%129 = load i32, ptr %8, align 4
%130 = zext i32 %129 to i64
%131 = icmp ult i64 %130, 2
br i1 %131, label %132, label %145
132: ; preds = %128
%133 = load ptr, ptr %5, align 8
%134 = load i32, ptr %8, align 4
%135 = add i32 %134, 2
%136 = zext i32 %135 to i64
%137 = getelementptr inbounds ptr, ptr %133, i64 %136
%138 = load ptr, ptr %137, align 8
%139 = load i32, ptr %8, align 4
%140 = zext i32 %139 to i64
%141 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %140
store ptr %138, ptr %141, align 8
br label %142
142: ; preds = %132
%143 = load i32, ptr %8, align 4
%144 = add i32 %143, 1
store i32 %144, ptr %8, align 4
br label %128, !llvm.loop !8
145: ; preds = %128
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds ptr, ptr %146, i64 0
%148 = load ptr, ptr %147, align 8
%149 = load ptr, ptr %5, align 8
%150 = getelementptr inbounds ptr, ptr %149, i64 1
%151 = load ptr, ptr %150, align 8
%152 = call ptr @key_add(ptr noundef %148, ptr noundef %151, ptr noundef %7, ptr noundef %6)
store ptr %152, ptr %3, align 8
br label %153
153: ; preds = %145, %50, %42, %25, %18
%154 = load ptr, ptr %3, align 8
ret ptr %154
}
declare i64 @isalpha(i8 noundef signext) #1
declare ptr @var_set(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare ptr @button_add(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare ptr @key_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8krhotcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Nothing to parse.\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Invalid first char.\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Button\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setparsed(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x ptr], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
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 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %13, %2
store ptr @.str, ptr %3, align 8
br label %155
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = call i64 @isalpha(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %36
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
store ptr %28, ptr %29, align 16
%30 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1
store ptr null, ptr %30, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%35 = call ptr @var_set(ptr noundef %33, ptr noundef %34)
store ptr %35, ptr %3, align 8
br label %155
36: ; preds = %19
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 60
br i1 %41, label %42, label %43
42: ; preds = %36
store ptr @.str.1, ptr %3, align 8
br label %155
43: ; preds = %36
br label %44
44: ; preds = %43
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.2)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %58
50: ; preds = %44
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 0
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
%57 = call ptr @button_add(ptr noundef %53, ptr noundef %56)
store ptr %57, ptr %3, align 8
br label %155
58: ; preds = %44
%59 = call i32 @memset(ptr noundef %6, i8 noundef signext 45, i32 noundef 2)
store i32 0, ptr %8, align 4
br label %60
60: ; preds = %124, %58
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %67, label %71
67: ; preds = %60
%68 = load i32, ptr %8, align 4
%69 = zext i32 %68 to i64
%70 = icmp ult i64 %69, 2
br label %71
71: ; preds = %67, %60
%72 = phi i1 [ false, %60 ], [ %70, %67 ]
br i1 %72, label %73, label %127
73: ; preds = %71
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = add i32 %75, 2
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 39
br i1 %81, label %82, label %83
82: ; preds = %73
br label %118
83: ; preds = %73
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %8, align 4
%86 = add i32 %85, 2
%87 = zext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
%89 = load i8, ptr %88, align 1
%90 = call i64 @isdigit(i8 noundef signext %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %83
br label %116
93: ; preds = %83
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %8, align 4
%96 = add i32 %95, 2
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 60
br i1 %101, label %102, label %103
102: ; preds = %93
br label %114
103: ; preds = %93
%104 = load ptr, ptr %4, align 8
%105 = load i32, ptr %8, align 4
%106 = add i32 %105, 2
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %104, i64 %107
%109 = load i8, ptr %108, align 1
%110 = call i64 @isalpha(i8 noundef signext %109)
%111 = icmp ne i64 %110, 0
%112 = zext i1 %111 to i64
%113 = select i1 %111, i32 110, i32 45
br label %114
114: ; preds = %103, %102
%115 = phi i32 [ 109, %102 ], [ %113, %103 ]
br label %116
116: ; preds = %114, %92
%117 = phi i32 [ 105, %92 ], [ %115, %114 ]
br label %118
118: ; preds = %116, %82
%119 = phi i32 [ 99, %82 ], [ %117, %116 ]
%120 = trunc i32 %119 to i8
%121 = load i32, ptr %8, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 %122
store i8 %120, ptr %123, align 1
br label %124
124: ; preds = %118
%125 = load i32, ptr %8, align 4
%126 = add i32 %125, 1
store i32 %126, ptr %8, align 4
br label %60, !llvm.loop !6
127: ; preds = %71
store i32 0, ptr %8, align 4
%128 = load i32, ptr %8, align 4
%129 = zext i32 %128 to i64
%130 = icmp ult i64 %129, 2
br i1 %130, label %.lr.ph, label %147
.lr.ph: ; preds = %127
br label %131
131: ; preds = %.lr.ph, %141
%132 = load ptr, ptr %5, align 8
%133 = load i32, ptr %8, align 4
%134 = add i32 %133, 2
%135 = zext i32 %134 to i64
%136 = getelementptr inbounds ptr, ptr %132, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = load i32, ptr %8, align 4
%139 = zext i32 %138 to i64
%140 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %139
store ptr %137, ptr %140, align 8
br label %141
141: ; preds = %131
%142 = load i32, ptr %8, align 4
%143 = add i32 %142, 1
store i32 %143, ptr %8, align 4
%144 = load i32, ptr %8, align 4
%145 = zext i32 %144 to i64
%146 = icmp ult i64 %145, 2
br i1 %146, label %131, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %141
br label %147
147: ; preds = %._crit_edge, %127
%148 = load ptr, ptr %5, align 8
%149 = getelementptr inbounds ptr, ptr %148, i64 0
%150 = load ptr, ptr %149, align 8
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds ptr, ptr %151, i64 1
%153 = load ptr, ptr %152, align 8
%154 = call ptr @key_add(ptr noundef %150, ptr noundef %153, ptr noundef %7, ptr noundef %6)
store ptr %154, ptr %3, align 8
br label %155
155: ; preds = %147, %50, %42, %25, %18
%156 = load ptr, ptr %3, align 8
ret ptr %156
}
declare i64 @isalpha(i8 noundef signext) #1
declare ptr @var_set(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare ptr @button_add(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare ptr @key_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvec46gy5.c'
source_filename = "/tmp/tmpvec46gy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bind\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Bind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(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/tmpvec46gy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bind\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Bind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(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/tmpp4czxt9h.c'
source_filename = "/tmp/tmpp4czxt9h.c"
target datalayout = "e-m:e-p270: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/tmpp4czxt9h.c"
target datalayout = "e-m:e-p270: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/tmps93es9pn.c'
source_filename = "/tmp/tmps93es9pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlap_1D(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %44, %5
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %15, %16
%18 = sitofp i32 %17 to double
%19 = fmul double 5.000000e-01, %18
%20 = call i32 @floor(double noundef %19)
%21 = add nsw i32 1, %20
%22 = icmp slt i32 %14, %21
br i1 %22, label %23, label %47
23: ; preds = %13
%24 = load i32, ptr %11, align 4
%25 = mul nsw i32 2, %24
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = load double, ptr %8, align 8
%29 = load double, ptr %9, align 8
%30 = call double @binomial_prefactor(i32 noundef %25, i32 noundef %26, i32 noundef %27, double noundef %28, double noundef %29)
%31 = load i32, ptr %11, align 4
%32 = mul nsw i32 2, %31
%33 = sub nsw i32 %32, 1
%34 = call double @fact2(i32 noundef %33)
%35 = fmul double %30, %34
%36 = load double, ptr %10, align 8
%37 = fmul double 2.000000e+00, %36
%38 = fptosi double %37 to i32
%39 = load i32, ptr %11, align 4
%40 = call double @pow(i32 noundef %38, i32 noundef %39)
%41 = fdiv double %35, %40
%42 = load double, ptr %12, align 8
%43 = fadd double %42, %41
store double %43, ptr %12, align 8
br label %44
44: ; preds = %23
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %13, !llvm.loop !6
47: ; preds = %13
%48 = load double, ptr %12, align 8
ret double %48
}
declare i32 @floor(double noundef) #1
declare double @binomial_prefactor(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) #1
declare double @fact2(i32 noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps93es9pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlap_1D(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %14, %15
%17 = sitofp i32 %16 to double
%18 = fmul double 5.000000e-01, %17
%19 = call i32 @floor(double noundef %18)
%20 = add nsw i32 1, %19
%21 = icmp slt i32 %13, %20
br i1 %21, label %.lr.ph, label %55
.lr.ph: ; preds = %5
br label %22
22: ; preds = %.lr.ph, %43
%23 = load i32, ptr %11, align 4
%24 = mul nsw i32 2, %23
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = load double, ptr %8, align 8
%28 = load double, ptr %9, align 8
%29 = call double @binomial_prefactor(i32 noundef %24, i32 noundef %25, i32 noundef %26, double noundef %27, double noundef %28)
%30 = load i32, ptr %11, align 4
%31 = mul nsw i32 2, %30
%32 = sub nsw i32 %31, 1
%33 = call double @fact2(i32 noundef %32)
%34 = fmul double %29, %33
%35 = load double, ptr %10, align 8
%36 = fmul double 2.000000e+00, %35
%37 = fptosi double %36 to i32
%38 = load i32, ptr %11, align 4
%39 = call double @pow(i32 noundef %37, i32 noundef %38)
%40 = fdiv double %34, %39
%41 = load double, ptr %12, align 8
%42 = fadd double %41, %40
store double %42, ptr %12, align 8
br label %43
43: ; preds = %22
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %47, %48
%50 = sitofp i32 %49 to double
%51 = fmul double 5.000000e-01, %50
%52 = call i32 @floor(double noundef %51)
%53 = add nsw i32 1, %52
%54 = icmp slt i32 %46, %53
br i1 %54, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %55
55: ; preds = %._crit_edge, %5
%56 = load double, ptr %12, align 8
ret double %56
}
declare i32 @floor(double noundef) #1
declare double @binomial_prefactor(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) #1
declare double @fact2(i32 noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa3hds6p0.c'
source_filename = "/tmp/tmpa3hds6p0.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Usage:\0A entropy [options] < stdin\0A\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\0ADescription:\0A Calculates the number of bits per symbol (bps) of entropy\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" with a 0th order model.\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" No options, defaults to 256 bit character\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c" -1 Input is a 8-bit number\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c" -2 Input is a 16-bit number\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" -4 Input is a 32-bit number\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -8 Input is a 64-bit number\0A\00", align 1
@.str.9 = private unnamed_addr constant [54 x i8] c" -r Performs a 99%% test, exitcode = 0 is random\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c" -v verbose\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)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
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/tmpa3hds6p0.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Usage:\0A entropy [options] < stdin\0A\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\0ADescription:\0A Calculates the number of bits per symbol (bps) of entropy\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" with a 0th order model.\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" No options, defaults to 256 bit character\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c" -1 Input is a 8-bit number\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c" -2 Input is a 16-bit number\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" -4 Input is a 32-bit number\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -8 Input is a 64-bit number\0A\00", align 1
@.str.9 = private unnamed_addr constant [54 x i8] c" -r Performs a 99%% test, exitcode = 0 is random\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c" -v verbose\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)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
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/tmplc87r0py.c'
source_filename = "/tmp/tmplc87r0py.c"
target datalayout = "e-m:e-p270: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/tmplc87r0py.c"
target datalayout = "e-m:e-p270: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/tmp8z6p_n00.c'
source_filename = "/tmp/tmp8z6p_n00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIAddressMapSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 28
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmp8z6p_n00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIAddressMapSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 28
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmpyyev2cey.c'
source_filename = "/tmp/tmpyyev2cey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyyev2cey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm65a0j8c.c'
source_filename = "/tmp/tmpm65a0j8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"\0Aversion=1\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"encoding=\22UTF-8\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"CID=fffffffe\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"parentCID=ffffffff\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"isNativeSnapshot=\22no\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"createType=\22monolithicFlat\22\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"RW %ld FLAT \22%s\22 0\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"ddb.virtualHWVersion = \227\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"ddb.longContentID = \2229075898903f9855853610dffffffffe\22\0A\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"ddb.uuid = \2260 00 C2 91 8e 73 27 62-43 58 3b f8 05 ae 2e a0\22\0A\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"ddb.geometry.cylinders = \22%d\22\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"ddb.geometry.heads = \22%d\22\0A\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"ddb.geometry.sectors = \22%d\22\0A\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"ddb.adapterType = \22ide\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printvmdkfile(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %8, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.1)
%18 = load ptr, ptr %13, align 8
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load ptr, ptr %13, align 8
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.3)
%22 = load ptr, ptr %13, align 8
%23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.4)
%24 = load ptr, ptr %13, align 8
%25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.5)
%26 = load ptr, ptr %13, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.6)
%28 = load ptr, ptr %13, align 8
%29 = load i64, ptr %9, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.7, i64 noundef %29, ptr noundef %30)
%32 = load ptr, ptr %13, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.8)
%34 = load ptr, ptr %13, align 8
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.9)
%36 = load ptr, ptr %13, align 8
%37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.10)
%38 = load ptr, ptr %13, align 8
%39 = load i32, ptr %10, align 4
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.11, i32 noundef %39)
%41 = load ptr, ptr %13, align 8
%42 = load i32, ptr %11, align 4
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.12, i32 noundef %42)
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %12, align 4
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.13, i32 noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.14)
%49 = load ptr, ptr %13, align 8
%50 = call i32 @fclose(ptr noundef %49)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm65a0j8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"\0Aversion=1\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"encoding=\22UTF-8\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"CID=fffffffe\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"parentCID=ffffffff\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"isNativeSnapshot=\22no\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"createType=\22monolithicFlat\22\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"RW %ld FLAT \22%s\22 0\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"ddb.virtualHWVersion = \227\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"ddb.longContentID = \2229075898903f9855853610dffffffffe\22\0A\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"ddb.uuid = \2260 00 C2 91 8e 73 27 62-43 58 3b f8 05 ae 2e a0\22\0A\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"ddb.geometry.cylinders = \22%d\22\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"ddb.geometry.heads = \22%d\22\0A\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"ddb.geometry.sectors = \22%d\22\0A\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"ddb.adapterType = \22ide\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printvmdkfile(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %8, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.1)
%18 = load ptr, ptr %13, align 8
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load ptr, ptr %13, align 8
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.3)
%22 = load ptr, ptr %13, align 8
%23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.4)
%24 = load ptr, ptr %13, align 8
%25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.5)
%26 = load ptr, ptr %13, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.6)
%28 = load ptr, ptr %13, align 8
%29 = load i64, ptr %9, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.7, i64 noundef %29, ptr noundef %30)
%32 = load ptr, ptr %13, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.8)
%34 = load ptr, ptr %13, align 8
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.9)
%36 = load ptr, ptr %13, align 8
%37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.10)
%38 = load ptr, ptr %13, align 8
%39 = load i32, ptr %10, align 4
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.11, i32 noundef %39)
%41 = load ptr, ptr %13, align 8
%42 = load i32, ptr %11, align 4
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.12, i32 noundef %42)
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %12, align 4
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.13, i32 noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.14)
%49 = load ptr, ptr %13, align 8
%50 = call i32 @fclose(ptr noundef %49)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp52rp7g8c.c'
source_filename = "/tmp/tmp52rp7g8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_proc_umask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @umask(i32 noundef 0)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @umask(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @umask(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/tmp52rp7g8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_proc_umask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @umask(i32 noundef 0)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @umask(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @umask(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/tmp7g3_hl50.c'
source_filename = "/tmp/tmp7g3_hl50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_ginig(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @ne_get_init_global(i32 noundef %10, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %2, align 4
br label %37
16: ; preds = %1
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %17, 100
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 -1, ptr %2, align 4
br label %37
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = icmp ne i32 %21, 50
br i1 %22, label %23, label %24
23: ; preds = %20
store i32 -1, ptr %2, align 4
br label %37
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 5
br i1 %26, label %27, label %28
27: ; preds = %24
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %24
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %29, 2
br i1 %30, label %31, label %32
31: ; preds = %28
store i32 -1, ptr %2, align 4
br label %37
32: ; preds = %28
%33 = load i32, ptr %9, align 4
%34 = icmp ne i32 %33, 3
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 -1, ptr %2, align 4
br label %37
36: ; preds = %32
store i32 0, ptr %2, align 4
br label %37
37: ; preds = %36, %35, %31, %27, %23, %19, %14
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @ne_get_init_global(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7g3_hl50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_ginig(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @ne_get_init_global(i32 noundef %10, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %2, align 4
br label %37
16: ; preds = %1
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %17, 100
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 -1, ptr %2, align 4
br label %37
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = icmp ne i32 %21, 50
br i1 %22, label %23, label %24
23: ; preds = %20
store i32 -1, ptr %2, align 4
br label %37
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 5
br i1 %26, label %27, label %28
27: ; preds = %24
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %24
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %29, 2
br i1 %30, label %31, label %32
31: ; preds = %28
store i32 -1, ptr %2, align 4
br label %37
32: ; preds = %28
%33 = load i32, ptr %9, align 4
%34 = icmp ne i32 %33, 3
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 -1, ptr %2, align 4
br label %37
36: ; preds = %32
store i32 0, ptr %2, align 4
br label %37
37: ; preds = %36, %35, %31, %27, %23, %19, %14
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @ne_get_init_global(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrcvx0ry.c'
source_filename = "/tmp/tmpqrcvx0ry.c"
target datalayout = "e-m:e-p270: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/tmpqrcvx0ry.c"
target datalayout = "e-m:e-p270: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/tmpz2v0yfeq.c'
source_filename = "/tmp/tmpz2v0yfeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"./%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_path(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 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2v0yfeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"./%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_path(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 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_di0tqrz.c'
source_filename = "/tmp/tmp_di0tqrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIClockSourceSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 4040
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmp_di0tqrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIClockSourceSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 4040
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmpx93i4a_8.c'
source_filename = "/tmp/tmpx93i4a_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx93i4a_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl18v7bbi.c'
source_filename = "/tmp/tmpl18v7bbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strccat(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i8, ptr %4, align 1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 %8, ptr %12, align 1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 1
store i8 0, ptr %17, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl18v7bbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strccat(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i8, ptr %4, align 1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 %8, ptr %12, align 1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 1
store i8 0, ptr %17, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgag161ji.c'
source_filename = "/tmp/tmpgag161ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @start_measurement()
%4 = call i32 @sort(i32 noundef 200)
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @end_measurement()
%6 = load i32, ptr %2, align 4
%7 = call i32 @print_int(i32 noundef %6)
ret i32 0
}
declare i32 @start_measurement(...) #1
declare i32 @sort(i32 noundef) #1
declare i32 @end_measurement(...) #1
declare i32 @print_int(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/tmpgag161ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @start_measurement()
%4 = call i32 @sort(i32 noundef 200)
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @end_measurement()
%6 = load i32, ptr %2, align 4
%7 = call i32 @print_int(i32 noundef %6)
ret i32 0
}
declare i32 @start_measurement(...) #1
declare i32 @sort(i32 noundef) #1
declare i32 @end_measurement(...) #1
declare i32 @print_int(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/tmpfb7bj8a0.c'
source_filename = "/tmp/tmpfb7bj8a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @biggest(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %67
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 1, ptr %3, align 4
br label %67
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %66
26: ; preds = %22
store i32 0, ptr %8, align 4
br label %27
27: ; preds = %62, %26
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %65
31: ; preds = %27
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp sgt i32 %37, %43
br i1 %44, label %45, label %46
45: ; preds = %31
store i32 0, ptr %3, align 4
br label %67
46: ; preds = %31
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp slt i32 %52, %58
br i1 %59, label %60, label %61
60: ; preds = %46
store i32 1, ptr %3, align 4
br label %67
61: ; preds = %46
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
br label %27, !llvm.loop !6
65: ; preds = %27
br label %66
66: ; preds = %65, %22
store i32 -1, ptr %3, align 4
br label %67
67: ; preds = %66, %60, %45, %21, %16
%68 = load i32, ptr %3, align 4
ret i32 %68
}
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/tmpfb7bj8a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @biggest(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %69
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 1, ptr %3, align 4
br label %69
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %68
26: ; preds = %22
store i32 0, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %67
.lr.ph: ; preds = %26
br label %30
30: ; preds = %.lr.ph, %61
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, 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 sgt i32 %36, %42
br i1 %43, label %44, label %45
44: ; preds = %30
store i32 0, ptr %3, align 4
br label %69
45: ; preds = %30
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp slt i32 %51, %57
br i1 %58, label %59, label %60
59: ; preds = %45
store i32 1, ptr %3, align 4
br label %69
60: ; preds = %45
br label %61
61: ; preds = %60
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %67
67: ; preds = %._crit_edge, %26
br label %68
68: ; preds = %67, %22
store i32 -1, ptr %3, align 4
br label %69
69: ; preds = %68, %59, %44, %21, %16
%70 = load i32, ptr %3, align 4
ret i32 %70
}
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/tmpjpsw0os_.c'
source_filename = "/tmp/tmpjpsw0os_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi2uint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i16, align 2
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i16 %5, ptr %17, align 2
store i32 %6, ptr %18, align 4
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %108
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %64
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %64
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %60, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %63
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i16, ptr %39, i64 %40
%42 = load i16, ptr %41, align 2
%43 = sext i16 %42 to i32
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %38
%46 = load ptr, ptr %22, align 8
store i32 -11, ptr %46, align 4
%47 = load ptr, ptr %21, align 8
%48 = load i64, ptr %23, align 8
%49 = getelementptr inbounds i32, ptr %47, i64 %48
store i32 0, ptr %49, align 4
br label %59
50: ; preds = %38
%51 = load ptr, ptr %12, align 8
%52 = load i64, ptr %23, align 8
%53 = getelementptr inbounds i16, ptr %51, i64 %52
%54 = load i16, ptr %53, align 2
%55 = sext i16 %54 to i32
%56 = load ptr, ptr %21, align 8
%57 = load i64, ptr %23, align 8
%58 = getelementptr inbounds i32, ptr %56, i64 %57
store i32 %55, ptr %58, align 4
br label %59
59: ; preds = %50, %45
br label %60
60: ; preds = %59
%61 = load i64, ptr %23, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %23, align 8
br label %34, !llvm.loop !6
63: ; preds = %34
br label %107
64: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %65
65: ; preds = %103, %64
%66 = load i64, ptr %23, align 8
%67 = load i64, ptr %13, align 8
%68 = icmp slt i64 %66, %67
br i1 %68, label %69, label %106
69: ; preds = %65
%70 = load ptr, ptr %12, align 8
%71 = load i64, ptr %23, align 8
%72 = getelementptr inbounds i16, ptr %70, i64 %71
%73 = load i16, ptr %72, align 2
%74 = sext i16 %73 to i32
%75 = sitofp i32 %74 to double
%76 = load double, ptr %14, align 8
%77 = load double, ptr %15, align 8
%78 = call double @llvm.fmuladd.f64(double %75, double %76, double %77)
store double %78, ptr %24, align 8
%79 = load double, ptr %24, align 8
%80 = fcmp olt double %79, -4.900000e-01
br i1 %80, label %81, label %86
81: ; preds = %69
%82 = load ptr, ptr %22, align 8
store i32 -11, ptr %82, align 4
%83 = load ptr, ptr %21, align 8
%84 = load i64, ptr %23, align 8
%85 = getelementptr inbounds i32, ptr %83, i64 %84
store i32 0, ptr %85, align 4
br label %102
86: ; preds = %69
%87 = load double, ptr %24, align 8
%88 = fcmp ogt double %87, 0x41EFFFFFFFEFAE14
br i1 %88, label %89, label %95
89: ; preds = %86
%90 = load ptr, ptr %22, align 8
store i32 -11, ptr %90, align 4
%91 = load i32, ptr @UINT_MAX, align 4
%92 = load ptr, ptr %21, align 8
%93 = load i64, ptr %23, align 8
%94 = getelementptr inbounds i32, ptr %92, i64 %93
store i32 %91, ptr %94, align 4
br label %101
95: ; preds = %86
%96 = load double, ptr %24, align 8
%97 = fptoui double %96 to i32
%98 = load ptr, ptr %21, align 8
%99 = load i64, ptr %23, align 8
%100 = getelementptr inbounds i32, ptr %98, i64 %99
store i32 %97, ptr %100, align 4
br label %101
101: ; preds = %95, %89
br label %102
102: ; preds = %101, %81
br label %103
103: ; preds = %102
%104 = load i64, ptr %23, align 8
%105 = add nsw i64 %104, 1
store i64 %105, ptr %23, align 8
br label %65, !llvm.loop !8
106: ; preds = %65
br label %107
107: ; preds = %106, %63
br label %237
108: ; preds = %11
%109 = load double, ptr %14, align 8
%110 = fcmp oeq double %109, 1.000000e+00
br i1 %110, label %111, label %169
111: ; preds = %108
%112 = load double, ptr %15, align 8
%113 = fcmp oeq double %112, 0.000000e+00
br i1 %113, label %114, label %169
114: ; preds = %111
store i64 0, ptr %23, align 8
br label %115
115: ; preds = %165, %114
%116 = load i64, ptr %23, align 8
%117 = load i64, ptr %13, align 8
%118 = icmp slt i64 %116, %117
br i1 %118, label %119, label %168
119: ; preds = %115
%120 = load ptr, ptr %12, align 8
%121 = load i64, ptr %23, align 8
%122 = getelementptr inbounds i16, ptr %120, i64 %121
%123 = load i16, ptr %122, align 2
%124 = sext i16 %123 to i32
%125 = load i16, ptr %17, align 2
%126 = sext i16 %125 to i32
%127 = icmp eq i32 %124, %126
br i1 %127, label %128, label %142
128: ; preds = %119
%129 = load ptr, ptr %20, align 8
store i32 1, ptr %129, align 4
%130 = load i32, ptr %16, align 4
%131 = icmp eq i32 %130, 1
br i1 %131, label %132, label %137
132: ; preds = %128
%133 = load i32, ptr %18, align 4
%134 = load ptr, ptr %21, align 8
%135 = load i64, ptr %23, align 8
%136 = getelementptr inbounds i32, ptr %134, i64 %135
store i32 %133, ptr %136, align 4
br label %141
137: ; preds = %128
%138 = load ptr, ptr %19, align 8
%139 = load i64, ptr %23, align 8
%140 = getelementptr inbounds i8, ptr %138, i64 %139
store i8 1, ptr %140, align 1
br label %141
141: ; preds = %137, %132
br label %164
142: ; preds = %119
%143 = load ptr, ptr %12, align 8
%144 = load i64, ptr %23, align 8
%145 = getelementptr inbounds i16, ptr %143, i64 %144
%146 = load i16, ptr %145, align 2
%147 = sext i16 %146 to i32
%148 = icmp slt i32 %147, 0
br i1 %148, label %149, label %154
149: ; preds = %142
%150 = load ptr, ptr %22, align 8
store i32 -11, ptr %150, align 4
%151 = load ptr, ptr %21, align 8
%152 = load i64, ptr %23, align 8
%153 = getelementptr inbounds i32, ptr %151, i64 %152
store i32 0, ptr %153, align 4
br label %163
154: ; preds = %142
%155 = load ptr, ptr %12, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i16, ptr %155, i64 %156
%158 = load i16, ptr %157, align 2
%159 = sext i16 %158 to i32
%160 = load ptr, ptr %21, align 8
%161 = load i64, ptr %23, align 8
%162 = getelementptr inbounds i32, ptr %160, i64 %161
store i32 %159, ptr %162, align 4
br label %163
163: ; preds = %154, %149
br label %164
164: ; preds = %163, %141
br label %165
165: ; preds = %164
%166 = load i64, ptr %23, align 8
%167 = add nsw i64 %166, 1
store i64 %167, ptr %23, align 8
br label %115, !llvm.loop !9
168: ; preds = %115
br label %236
169: ; preds = %111, %108
store i64 0, ptr %23, align 8
br label %170
170: ; preds = %232, %169
%171 = load i64, ptr %23, align 8
%172 = load i64, ptr %13, align 8
%173 = icmp slt i64 %171, %172
br i1 %173, label %174, label %235
174: ; preds = %170
%175 = load ptr, ptr %12, align 8
%176 = load i64, ptr %23, align 8
%177 = getelementptr inbounds i16, ptr %175, i64 %176
%178 = load i16, ptr %177, align 2
%179 = sext i16 %178 to i32
%180 = load i16, ptr %17, align 2
%181 = sext i16 %180 to i32
%182 = icmp eq i32 %179, %181
br i1 %182, label %183, label %197
183: ; preds = %174
%184 = load ptr, ptr %20, align 8
store i32 1, ptr %184, align 4
%185 = load i32, ptr %16, align 4
%186 = icmp eq i32 %185, 1
br i1 %186, label %187, label %192
187: ; preds = %183
%188 = load i32, ptr %18, align 4
%189 = load ptr, ptr %21, align 8
%190 = load i64, ptr %23, align 8
%191 = getelementptr inbounds i32, ptr %189, i64 %190
store i32 %188, ptr %191, align 4
br label %196
192: ; preds = %183
%193 = load ptr, ptr %19, align 8
%194 = load i64, ptr %23, align 8
%195 = getelementptr inbounds i8, ptr %193, i64 %194
store i8 1, ptr %195, align 1
br label %196
196: ; preds = %192, %187
br label %231
197: ; preds = %174
%198 = load ptr, ptr %12, align 8
%199 = load i64, ptr %23, align 8
%200 = getelementptr inbounds i16, ptr %198, i64 %199
%201 = load i16, ptr %200, align 2
%202 = sext i16 %201 to i32
%203 = sitofp i32 %202 to double
%204 = load double, ptr %14, align 8
%205 = load double, ptr %15, align 8
%206 = call double @llvm.fmuladd.f64(double %203, double %204, double %205)
store double %206, ptr %24, align 8
%207 = load double, ptr %24, align 8
%208 = fcmp olt double %207, -4.900000e-01
br i1 %208, label %209, label %214
209: ; preds = %197
%210 = load ptr, ptr %22, align 8
store i32 -11, ptr %210, align 4
%211 = load ptr, ptr %21, align 8
%212 = load i64, ptr %23, align 8
%213 = getelementptr inbounds i32, ptr %211, i64 %212
store i32 0, ptr %213, align 4
br label %230
214: ; preds = %197
%215 = load double, ptr %24, align 8
%216 = fcmp ogt double %215, 0x41EFFFFFFFEFAE14
br i1 %216, label %217, label %223
217: ; preds = %214
%218 = load ptr, ptr %22, align 8
store i32 -11, ptr %218, align 4
%219 = load i32, ptr @UINT_MAX, align 4
%220 = load ptr, ptr %21, align 8
%221 = load i64, ptr %23, align 8
%222 = getelementptr inbounds i32, ptr %220, i64 %221
store i32 %219, ptr %222, align 4
br label %229
223: ; preds = %214
%224 = load double, ptr %24, align 8
%225 = fptoui double %224 to i32
%226 = load ptr, ptr %21, align 8
%227 = load i64, ptr %23, align 8
%228 = getelementptr inbounds i32, ptr %226, i64 %227
store i32 %225, ptr %228, align 4
br label %229
229: ; preds = %223, %217
br label %230
230: ; preds = %229, %209
br label %231
231: ; preds = %230, %196
br label %232
232: ; preds = %231
%233 = load i64, ptr %23, align 8
%234 = add nsw i64 %233, 1
store i64 %234, ptr %23, align 8
br label %170, !llvm.loop !10
235: ; preds = %170
br label %236
236: ; preds = %235, %168
br label %237
237: ; preds = %236, %107
%238 = load ptr, ptr %22, align 8
%239 = load i32, ptr %238, align 4
ret i32 %239
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjpsw0os_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi2uint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i16, align 2
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i16 %5, ptr %17, align 2
store i32 %6, ptr %18, align 4
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %112
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %66
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %66
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %65
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %59
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i16, ptr %38, i64 %39
%41 = load i16, ptr %40, align 2
%42 = sext i16 %41 to i32
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %37
%45 = load ptr, ptr %22, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %21, align 8
%47 = load i64, ptr %23, align 8
%48 = getelementptr inbounds i32, ptr %46, i64 %47
store i32 0, ptr %48, align 4
br label %58
49: ; preds = %37
%50 = load ptr, ptr %12, align 8
%51 = load i64, ptr %23, align 8
%52 = getelementptr inbounds i16, ptr %50, i64 %51
%53 = load i16, ptr %52, align 2
%54 = sext i16 %53 to i32
%55 = load ptr, ptr %21, align 8
%56 = load i64, ptr %23, align 8
%57 = getelementptr inbounds i32, ptr %55, i64 %56
store i32 %54, ptr %57, align 4
br label %58
58: ; preds = %49, %44
br label %59
59: ; preds = %58
%60 = load i64, ptr %23, align 8
%61 = add nsw i64 %60, 1
store i64 %61, ptr %23, align 8
%62 = load i64, ptr %23, align 8
%63 = load i64, ptr %13, align 8
%64 = icmp slt i64 %62, %63
br i1 %64, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %59
br label %65
65: ; preds = %._crit_edge9, %33
br label %111
66: ; preds = %30, %27
store i64 0, ptr %23, align 8
%67 = load i64, ptr %23, align 8
%68 = load i64, ptr %13, align 8
%69 = icmp slt i64 %67, %68
br i1 %69, label %.lr.ph5, label %110
.lr.ph5: ; preds = %66
br label %70
70: ; preds = %.lr.ph5, %104
%71 = load ptr, ptr %12, align 8
%72 = load i64, ptr %23, align 8
%73 = getelementptr inbounds i16, ptr %71, i64 %72
%74 = load i16, ptr %73, align 2
%75 = sext i16 %74 to i32
%76 = sitofp i32 %75 to double
%77 = load double, ptr %14, align 8
%78 = load double, ptr %15, align 8
%79 = call double @llvm.fmuladd.f64(double %76, double %77, double %78)
store double %79, ptr %24, align 8
%80 = load double, ptr %24, align 8
%81 = fcmp olt double %80, -4.900000e-01
br i1 %81, label %82, label %87
82: ; preds = %70
%83 = load ptr, ptr %22, align 8
store i32 -11, ptr %83, align 4
%84 = load ptr, ptr %21, align 8
%85 = load i64, ptr %23, align 8
%86 = getelementptr inbounds i32, ptr %84, i64 %85
store i32 0, ptr %86, align 4
br label %103
87: ; preds = %70
%88 = load double, ptr %24, align 8
%89 = fcmp ogt double %88, 0x41EFFFFFFFEFAE14
br i1 %89, label %90, label %96
90: ; preds = %87
%91 = load ptr, ptr %22, align 8
store i32 -11, ptr %91, align 4
%92 = load i32, ptr @UINT_MAX, align 4
%93 = load ptr, ptr %21, align 8
%94 = load i64, ptr %23, align 8
%95 = getelementptr inbounds i32, ptr %93, i64 %94
store i32 %92, ptr %95, align 4
br label %102
96: ; preds = %87
%97 = load double, ptr %24, align 8
%98 = fptoui double %97 to i32
%99 = load ptr, ptr %21, align 8
%100 = load i64, ptr %23, align 8
%101 = getelementptr inbounds i32, ptr %99, i64 %100
store i32 %98, ptr %101, align 4
br label %102
102: ; preds = %96, %90
br label %103
103: ; preds = %102, %82
br label %104
104: ; preds = %103
%105 = load i64, ptr %23, align 8
%106 = add nsw i64 %105, 1
store i64 %106, ptr %23, align 8
%107 = load i64, ptr %23, align 8
%108 = load i64, ptr %13, align 8
%109 = icmp slt i64 %107, %108
br i1 %109, label %70, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %104
br label %110
110: ; preds = %._crit_edge6, %66
br label %111
111: ; preds = %110, %65
br label %245
112: ; preds = %11
%113 = load double, ptr %14, align 8
%114 = fcmp oeq double %113, 1.000000e+00
br i1 %114, label %115, label %175
115: ; preds = %112
%116 = load double, ptr %15, align 8
%117 = fcmp oeq double %116, 0.000000e+00
br i1 %117, label %118, label %175
118: ; preds = %115
store i64 0, ptr %23, align 8
%119 = load i64, ptr %23, align 8
%120 = load i64, ptr %13, align 8
%121 = icmp slt i64 %119, %120
br i1 %121, label %.lr.ph2, label %174
.lr.ph2: ; preds = %118
br label %122
122: ; preds = %.lr.ph2, %168
%123 = load ptr, ptr %12, align 8
%124 = load i64, ptr %23, align 8
%125 = getelementptr inbounds i16, ptr %123, i64 %124
%126 = load i16, ptr %125, align 2
%127 = sext i16 %126 to i32
%128 = load i16, ptr %17, align 2
%129 = sext i16 %128 to i32
%130 = icmp eq i32 %127, %129
br i1 %130, label %131, label %145
131: ; preds = %122
%132 = load ptr, ptr %20, align 8
store i32 1, ptr %132, align 4
%133 = load i32, ptr %16, align 4
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %140
135: ; preds = %131
%136 = load i32, ptr %18, align 4
%137 = load ptr, ptr %21, align 8
%138 = load i64, ptr %23, align 8
%139 = getelementptr inbounds i32, ptr %137, i64 %138
store i32 %136, ptr %139, align 4
br label %144
140: ; preds = %131
%141 = load ptr, ptr %19, align 8
%142 = load i64, ptr %23, align 8
%143 = getelementptr inbounds i8, ptr %141, i64 %142
store i8 1, ptr %143, align 1
br label %144
144: ; preds = %140, %135
br label %167
145: ; preds = %122
%146 = load ptr, ptr %12, align 8
%147 = load i64, ptr %23, align 8
%148 = getelementptr inbounds i16, ptr %146, i64 %147
%149 = load i16, ptr %148, align 2
%150 = sext i16 %149 to i32
%151 = icmp slt i32 %150, 0
br i1 %151, label %152, label %157
152: ; preds = %145
%153 = load ptr, ptr %22, align 8
store i32 -11, ptr %153, align 4
%154 = load ptr, ptr %21, align 8
%155 = load i64, ptr %23, align 8
%156 = getelementptr inbounds i32, ptr %154, i64 %155
store i32 0, ptr %156, align 4
br label %166
157: ; preds = %145
%158 = load ptr, ptr %12, align 8
%159 = load i64, ptr %23, align 8
%160 = getelementptr inbounds i16, ptr %158, i64 %159
%161 = load i16, ptr %160, align 2
%162 = sext i16 %161 to i32
%163 = load ptr, ptr %21, align 8
%164 = load i64, ptr %23, align 8
%165 = getelementptr inbounds i32, ptr %163, i64 %164
store i32 %162, ptr %165, align 4
br label %166
166: ; preds = %157, %152
br label %167
167: ; preds = %166, %144
br label %168
168: ; preds = %167
%169 = load i64, ptr %23, align 8
%170 = add nsw i64 %169, 1
store i64 %170, ptr %23, align 8
%171 = load i64, ptr %23, align 8
%172 = load i64, ptr %13, align 8
%173 = icmp slt i64 %171, %172
br i1 %173, label %122, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %168
br label %174
174: ; preds = %._crit_edge3, %118
br label %244
175: ; preds = %115, %112
store i64 0, ptr %23, align 8
%176 = load i64, ptr %23, align 8
%177 = load i64, ptr %13, align 8
%178 = icmp slt i64 %176, %177
br i1 %178, label %.lr.ph, label %243
.lr.ph: ; preds = %175
br label %179
179: ; preds = %.lr.ph, %237
%180 = load ptr, ptr %12, align 8
%181 = load i64, ptr %23, align 8
%182 = getelementptr inbounds i16, ptr %180, i64 %181
%183 = load i16, ptr %182, align 2
%184 = sext i16 %183 to i32
%185 = load i16, ptr %17, align 2
%186 = sext i16 %185 to i32
%187 = icmp eq i32 %184, %186
br i1 %187, label %188, label %202
188: ; preds = %179
%189 = load ptr, ptr %20, align 8
store i32 1, ptr %189, align 4
%190 = load i32, ptr %16, align 4
%191 = icmp eq i32 %190, 1
br i1 %191, label %192, label %197
192: ; preds = %188
%193 = load i32, ptr %18, align 4
%194 = load ptr, ptr %21, align 8
%195 = load i64, ptr %23, align 8
%196 = getelementptr inbounds i32, ptr %194, i64 %195
store i32 %193, ptr %196, align 4
br label %201
197: ; preds = %188
%198 = load ptr, ptr %19, align 8
%199 = load i64, ptr %23, align 8
%200 = getelementptr inbounds i8, ptr %198, i64 %199
store i8 1, ptr %200, align 1
br label %201
201: ; preds = %197, %192
br label %236
202: ; preds = %179
%203 = load ptr, ptr %12, align 8
%204 = load i64, ptr %23, align 8
%205 = getelementptr inbounds i16, ptr %203, i64 %204
%206 = load i16, ptr %205, align 2
%207 = sext i16 %206 to i32
%208 = sitofp i32 %207 to double
%209 = load double, ptr %14, align 8
%210 = load double, ptr %15, align 8
%211 = call double @llvm.fmuladd.f64(double %208, double %209, double %210)
store double %211, ptr %24, align 8
%212 = load double, ptr %24, align 8
%213 = fcmp olt double %212, -4.900000e-01
br i1 %213, label %214, label %219
214: ; preds = %202
%215 = load ptr, ptr %22, align 8
store i32 -11, ptr %215, align 4
%216 = load ptr, ptr %21, align 8
%217 = load i64, ptr %23, align 8
%218 = getelementptr inbounds i32, ptr %216, i64 %217
store i32 0, ptr %218, align 4
br label %235
219: ; preds = %202
%220 = load double, ptr %24, align 8
%221 = fcmp ogt double %220, 0x41EFFFFFFFEFAE14
br i1 %221, label %222, label %228
222: ; preds = %219
%223 = load ptr, ptr %22, align 8
store i32 -11, ptr %223, align 4
%224 = load i32, ptr @UINT_MAX, align 4
%225 = load ptr, ptr %21, align 8
%226 = load i64, ptr %23, align 8
%227 = getelementptr inbounds i32, ptr %225, i64 %226
store i32 %224, ptr %227, align 4
br label %234
228: ; preds = %219
%229 = load double, ptr %24, align 8
%230 = fptoui double %229 to i32
%231 = load ptr, ptr %21, align 8
%232 = load i64, ptr %23, align 8
%233 = getelementptr inbounds i32, ptr %231, i64 %232
store i32 %230, ptr %233, align 4
br label %234
234: ; preds = %228, %222
br label %235
235: ; preds = %234, %214
br label %236
236: ; preds = %235, %201
br label %237
237: ; preds = %236
%238 = load i64, ptr %23, align 8
%239 = add nsw i64 %238, 1
store i64 %239, ptr %23, align 8
%240 = load i64, ptr %23, align 8
%241 = load i64, ptr %13, align 8
%242 = icmp slt i64 %240, %241
br i1 %242, label %179, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %237
br label %243
243: ; preds = %._crit_edge, %175
br label %244
244: ; preds = %243, %174
br label %245
245: ; preds = %244, %111
%246 = load ptr, ptr %22, align 8
%247 = load i32, ptr %246, align 4
ret i32 %247
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp7basp2ee.c'
source_filename = "/tmp/tmp7basp2ee.c"
target datalayout = "e-m:e-p270: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/tmp7basp2ee.c"
target datalayout = "e-m:e-p270: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/tmpsazensi3.c'
source_filename = "/tmp/tmpsazensi3.c"
target datalayout = "e-m:e-p270: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/tmpsazensi3.c"
target datalayout = "e-m:e-p270: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/tmp06wmfz1t.c'
source_filename = "/tmp/tmp06wmfz1t.c"
target datalayout = "e-m:e-p270: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/tmp06wmfz1t.c"
target datalayout = "e-m:e-p270: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/tmp4wsl_77h.c'
source_filename = "/tmp/tmp4wsl_77h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JSHash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1315423911, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %26, %1
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %6, %9
br i1 %10, label %11, label %29
11: ; preds = %5
%12 = load i32, ptr %3, align 4
%13 = shl i32 %12, 5
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = add nsw i32 %13, %19
%21 = load i32, ptr %3, align 4
%22 = ashr i32 %21, 2
%23 = add nsw i32 %20, %22
%24 = load i32, ptr %3, align 4
%25 = xor i32 %24, %23
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %11
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %5, !llvm.loop !6
29: ; preds = %5
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wsl_77h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JSHash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1315423911, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %5, %8
br i1 %9, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %25
%11 = load i32, ptr %3, align 4
%12 = shl i32 %11, 5
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = add nsw i32 %12, %18
%20 = load i32, ptr %3, align 4
%21 = ashr i32 %20, 2
%22 = add nsw i32 %19, %21
%23 = load i32, ptr %3, align 4
%24 = xor i32 %23, %22
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %10
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load ptr, ptr %2, align 8
%30 = call i64 @strlen(ptr noundef %29)
%31 = trunc i64 %30 to i32
%32 = icmp slt i32 %28, %31
br i1 %32, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %1
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp33k0geuo.c'
source_filename = "/tmp/tmp33k0geuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"exponent of %d not supported\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mypowc64(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = zext i32 %24 to i64
%26 = load i32, ptr %7, align 4
%27 = zext i32 %26 to i64
%28 = load i32, ptr %8, align 4
switch i32 %28, label %568 [
i32 1, label %29
i32 2, label %48
i32 3, label %73
i32 4, label %104
i32 5, label %141
i32 6, label %184
i32 7, label %233
i32 8, label %288
i32 9, label %349
i32 10, label %416
i32 11, label %489
]
29: ; preds = %6
store i32 0, ptr %13, align 4
br label %30
30: ; preds = %44, %29
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %47
34: ; preds = %30
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %13, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
store double %39, ptr %43, align 8
br label %44
44: ; preds = %34
%45 = load i32, ptr %13, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %13, align 4
br label %30, !llvm.loop !6
47: ; preds = %30
br label %572
48: ; preds = %6
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %69, %48
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %72
53: ; preds = %49
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = fmul double %58, %63
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %65, i64 %67
store double %64, ptr %68, align 8
br label %69
69: ; preds = %53
%70 = load i32, ptr %14, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %14, align 4
br label %49, !llvm.loop !8
72: ; preds = %49
br label %572
73: ; preds = %6
store i32 0, ptr %15, align 4
br label %74
74: ; preds = %100, %73
%75 = load i32, ptr %15, align 4
%76 = load i32, ptr %7, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %103
78: ; preds = %74
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %15, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load double, ptr %82, align 8
%84 = load ptr, ptr %9, align 8
%85 = load i32, ptr %15, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
%88 = load double, ptr %87, align 8
%89 = fmul double %83, %88
%90 = load ptr, ptr %9, align 8
%91 = load i32, ptr %15, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %90, i64 %92
%94 = load double, ptr %93, align 8
%95 = fmul double %89, %94
%96 = load ptr, ptr %11, align 8
%97 = load i32, ptr %15, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
store double %95, ptr %99, align 8
br label %100
100: ; preds = %78
%101 = load i32, ptr %15, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %15, align 4
br label %74, !llvm.loop !9
103: ; preds = %74
br label %572
104: ; preds = %6
store i32 0, ptr %16, align 4
br label %105
105: ; preds = %137, %104
%106 = load i32, ptr %16, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %140
109: ; preds = %105
%110 = load ptr, ptr %9, align 8
%111 = load i32, ptr %16, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = load ptr, ptr %9, align 8
%116 = load i32, ptr %16, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = fmul double %114, %119
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %16, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = fmul double %120, %125
%127 = load ptr, ptr %9, align 8
%128 = load i32, ptr %16, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %127, i64 %129
%131 = load double, ptr %130, align 8
%132 = fmul double %126, %131
%133 = load ptr, ptr %11, align 8
%134 = load i32, ptr %16, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %133, i64 %135
store double %132, ptr %136, align 8
br label %137
137: ; preds = %109
%138 = load i32, ptr %16, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %16, align 4
br label %105, !llvm.loop !10
140: ; preds = %105
br label %572
141: ; preds = %6
store i32 0, ptr %17, align 4
br label %142
142: ; preds = %180, %141
%143 = load i32, ptr %17, align 4
%144 = load i32, ptr %7, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %183
146: ; preds = %142
%147 = load ptr, ptr %9, align 8
%148 = load i32, ptr %17, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
%151 = load double, ptr %150, align 8
%152 = load ptr, ptr %9, align 8
%153 = load i32, ptr %17, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds double, ptr %152, i64 %154
%156 = load double, ptr %155, align 8
%157 = fmul double %151, %156
%158 = load ptr, ptr %9, align 8
%159 = load i32, ptr %17, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, ptr %158, i64 %160
%162 = load double, ptr %161, align 8
%163 = fmul double %157, %162
%164 = load ptr, ptr %9, align 8
%165 = load i32, ptr %17, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, ptr %164, i64 %166
%168 = load double, ptr %167, align 8
%169 = fmul double %163, %168
%170 = load ptr, ptr %9, align 8
%171 = load i32, ptr %17, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
%175 = fmul double %169, %174
%176 = load ptr, ptr %11, align 8
%177 = load i32, ptr %17, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
store double %175, ptr %179, align 8
br label %180
180: ; preds = %146
%181 = load i32, ptr %17, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %17, align 4
br label %142, !llvm.loop !11
183: ; preds = %142
br label %572
184: ; preds = %6
store i32 0, ptr %18, align 4
br label %185
185: ; preds = %229, %184
%186 = load i32, ptr %18, align 4
%187 = load i32, ptr %7, align 4
%188 = icmp slt i32 %186, %187
br i1 %188, label %189, label %232
189: ; preds = %185
%190 = load ptr, ptr %9, align 8
%191 = load i32, ptr %18, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %190, i64 %192
%194 = load double, ptr %193, align 8
%195 = load ptr, ptr %9, align 8
%196 = load i32, ptr %18, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
%199 = load double, ptr %198, align 8
%200 = fmul double %194, %199
%201 = load ptr, ptr %9, align 8
%202 = load i32, ptr %18, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, ptr %201, i64 %203
%205 = load double, ptr %204, align 8
%206 = fmul double %200, %205
%207 = load ptr, ptr %9, align 8
%208 = load i32, ptr %18, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
%211 = load double, ptr %210, align 8
%212 = fmul double %206, %211
%213 = load ptr, ptr %9, align 8
%214 = load i32, ptr %18, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds double, ptr %213, i64 %215
%217 = load double, ptr %216, align 8
%218 = fmul double %212, %217
%219 = load ptr, ptr %9, align 8
%220 = load i32, ptr %18, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds double, ptr %219, i64 %221
%223 = load double, ptr %222, align 8
%224 = fmul double %218, %223
%225 = load ptr, ptr %11, align 8
%226 = load i32, ptr %18, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds double, ptr %225, i64 %227
store double %224, ptr %228, align 8
br label %229
229: ; preds = %189
%230 = load i32, ptr %18, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %18, align 4
br label %185, !llvm.loop !12
232: ; preds = %185
br label %572
233: ; preds = %6
store i32 0, ptr %19, align 4
br label %234
234: ; preds = %284, %233
%235 = load i32, ptr %19, align 4
%236 = load i32, ptr %7, align 4
%237 = icmp slt i32 %235, %236
br i1 %237, label %238, label %287
238: ; preds = %234
%239 = load ptr, ptr %9, align 8
%240 = load i32, ptr %19, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, ptr %239, i64 %241
%243 = load double, ptr %242, align 8
%244 = load ptr, ptr %9, align 8
%245 = load i32, ptr %19, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %244, i64 %246
%248 = load double, ptr %247, align 8
%249 = fmul double %243, %248
%250 = load ptr, ptr %9, align 8
%251 = load i32, ptr %19, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds double, ptr %250, i64 %252
%254 = load double, ptr %253, align 8
%255 = fmul double %249, %254
%256 = load ptr, ptr %9, align 8
%257 = load i32, ptr %19, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, ptr %256, i64 %258
%260 = load double, ptr %259, align 8
%261 = fmul double %255, %260
%262 = load ptr, ptr %9, align 8
%263 = load i32, ptr %19, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds double, ptr %262, i64 %264
%266 = load double, ptr %265, align 8
%267 = fmul double %261, %266
%268 = load ptr, ptr %9, align 8
%269 = load i32, ptr %19, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds double, ptr %268, i64 %270
%272 = load double, ptr %271, align 8
%273 = fmul double %267, %272
%274 = load ptr, ptr %9, align 8
%275 = load i32, ptr %19, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds double, ptr %274, i64 %276
%278 = load double, ptr %277, align 8
%279 = fmul double %273, %278
%280 = load ptr, ptr %11, align 8
%281 = load i32, ptr %19, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds double, ptr %280, i64 %282
store double %279, ptr %283, align 8
br label %284
284: ; preds = %238
%285 = load i32, ptr %19, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %19, align 4
br label %234, !llvm.loop !13
287: ; preds = %234
br label %572
288: ; preds = %6
store i32 0, ptr %20, align 4
br label %289
289: ; preds = %345, %288
%290 = load i32, ptr %20, align 4
%291 = load i32, ptr %7, align 4
%292 = icmp slt i32 %290, %291
br i1 %292, label %293, label %348
293: ; preds = %289
%294 = load ptr, ptr %9, align 8
%295 = load i32, ptr %20, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds double, ptr %294, i64 %296
%298 = load double, ptr %297, align 8
%299 = load ptr, ptr %9, align 8
%300 = load i32, ptr %20, align 4
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds double, ptr %299, i64 %301
%303 = load double, ptr %302, align 8
%304 = fmul double %298, %303
%305 = load ptr, ptr %9, align 8
%306 = load i32, ptr %20, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds double, ptr %305, i64 %307
%309 = load double, ptr %308, align 8
%310 = fmul double %304, %309
%311 = load ptr, ptr %9, align 8
%312 = load i32, ptr %20, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds double, ptr %311, i64 %313
%315 = load double, ptr %314, align 8
%316 = fmul double %310, %315
%317 = load ptr, ptr %9, align 8
%318 = load i32, ptr %20, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds double, ptr %317, i64 %319
%321 = load double, ptr %320, align 8
%322 = fmul double %316, %321
%323 = load ptr, ptr %9, align 8
%324 = load i32, ptr %20, align 4
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds double, ptr %323, i64 %325
%327 = load double, ptr %326, align 8
%328 = fmul double %322, %327
%329 = load ptr, ptr %9, align 8
%330 = load i32, ptr %20, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds double, ptr %329, i64 %331
%333 = load double, ptr %332, align 8
%334 = fmul double %328, %333
%335 = load ptr, ptr %9, align 8
%336 = load i32, ptr %20, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds double, ptr %335, i64 %337
%339 = load double, ptr %338, align 8
%340 = fmul double %334, %339
%341 = load ptr, ptr %11, align 8
%342 = load i32, ptr %20, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds double, ptr %341, i64 %343
store double %340, ptr %344, align 8
br label %345
345: ; preds = %293
%346 = load i32, ptr %20, align 4
%347 = add nsw i32 %346, 1
store i32 %347, ptr %20, align 4
br label %289, !llvm.loop !14
348: ; preds = %289
br label %572
349: ; preds = %6
store i32 0, ptr %21, align 4
br label %350
350: ; preds = %412, %349
%351 = load i32, ptr %21, align 4
%352 = load i32, ptr %7, align 4
%353 = icmp slt i32 %351, %352
br i1 %353, label %354, label %415
354: ; preds = %350
%355 = load ptr, ptr %9, align 8
%356 = load i32, ptr %21, align 4
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds double, ptr %355, i64 %357
%359 = load double, ptr %358, align 8
%360 = load ptr, ptr %9, align 8
%361 = load i32, ptr %21, align 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds double, ptr %360, i64 %362
%364 = load double, ptr %363, align 8
%365 = fmul double %359, %364
%366 = load ptr, ptr %9, align 8
%367 = load i32, ptr %21, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds double, ptr %366, i64 %368
%370 = load double, ptr %369, align 8
%371 = fmul double %365, %370
%372 = load ptr, ptr %9, align 8
%373 = load i32, ptr %21, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds double, ptr %372, i64 %374
%376 = load double, ptr %375, align 8
%377 = fmul double %371, %376
%378 = load ptr, ptr %9, align 8
%379 = load i32, ptr %21, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds double, ptr %378, i64 %380
%382 = load double, ptr %381, align 8
%383 = fmul double %377, %382
%384 = load ptr, ptr %9, align 8
%385 = load i32, ptr %21, align 4
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds double, ptr %384, i64 %386
%388 = load double, ptr %387, align 8
%389 = fmul double %383, %388
%390 = load ptr, ptr %9, align 8
%391 = load i32, ptr %21, align 4
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds double, ptr %390, i64 %392
%394 = load double, ptr %393, align 8
%395 = fmul double %389, %394
%396 = load ptr, ptr %9, align 8
%397 = load i32, ptr %21, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds double, ptr %396, i64 %398
%400 = load double, ptr %399, align 8
%401 = fmul double %395, %400
%402 = load ptr, ptr %9, align 8
%403 = load i32, ptr %21, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds double, ptr %402, i64 %404
%406 = load double, ptr %405, align 8
%407 = fmul double %401, %406
%408 = load ptr, ptr %11, align 8
%409 = load i32, ptr %21, align 4
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds double, ptr %408, i64 %410
store double %407, ptr %411, align 8
br label %412
412: ; preds = %354
%413 = load i32, ptr %21, align 4
%414 = add nsw i32 %413, 1
store i32 %414, ptr %21, align 4
br label %350, !llvm.loop !15
415: ; preds = %350
br label %572
416: ; preds = %6
store i32 0, ptr %22, align 4
br label %417
417: ; preds = %485, %416
%418 = load i32, ptr %22, align 4
%419 = load i32, ptr %7, align 4
%420 = icmp slt i32 %418, %419
br i1 %420, label %421, label %488
421: ; preds = %417
%422 = load ptr, ptr %9, align 8
%423 = load i32, ptr %22, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, ptr %422, i64 %424
%426 = load double, ptr %425, align 8
%427 = load ptr, ptr %9, align 8
%428 = load i32, ptr %22, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds double, ptr %427, i64 %429
%431 = load double, ptr %430, align 8
%432 = fmul double %426, %431
%433 = load ptr, ptr %9, align 8
%434 = load i32, ptr %22, align 4
%435 = sext i32 %434 to i64
%436 = getelementptr inbounds double, ptr %433, i64 %435
%437 = load double, ptr %436, align 8
%438 = fmul double %432, %437
%439 = load ptr, ptr %9, align 8
%440 = load i32, ptr %22, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds double, ptr %439, i64 %441
%443 = load double, ptr %442, align 8
%444 = fmul double %438, %443
%445 = load ptr, ptr %9, align 8
%446 = load i32, ptr %22, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds double, ptr %445, i64 %447
%449 = load double, ptr %448, align 8
%450 = fmul double %444, %449
%451 = load ptr, ptr %9, align 8
%452 = load i32, ptr %22, align 4
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds double, ptr %451, i64 %453
%455 = load double, ptr %454, align 8
%456 = fmul double %450, %455
%457 = load ptr, ptr %9, align 8
%458 = load i32, ptr %22, align 4
%459 = sext i32 %458 to i64
%460 = getelementptr inbounds double, ptr %457, i64 %459
%461 = load double, ptr %460, align 8
%462 = fmul double %456, %461
%463 = load ptr, ptr %9, align 8
%464 = load i32, ptr %22, align 4
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds double, ptr %463, i64 %465
%467 = load double, ptr %466, align 8
%468 = fmul double %462, %467
%469 = load ptr, ptr %9, align 8
%470 = load i32, ptr %22, align 4
%471 = sext i32 %470 to i64
%472 = getelementptr inbounds double, ptr %469, i64 %471
%473 = load double, ptr %472, align 8
%474 = fmul double %468, %473
%475 = load ptr, ptr %9, align 8
%476 = load i32, ptr %22, align 4
%477 = sext i32 %476 to i64
%478 = getelementptr inbounds double, ptr %475, i64 %477
%479 = load double, ptr %478, align 8
%480 = fmul double %474, %479
%481 = load ptr, ptr %11, align 8
%482 = load i32, ptr %22, align 4
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, ptr %481, i64 %483
store double %480, ptr %484, align 8
br label %485
485: ; preds = %421
%486 = load i32, ptr %22, align 4
%487 = add nsw i32 %486, 1
store i32 %487, ptr %22, align 4
br label %417, !llvm.loop !16
488: ; preds = %417
br label %572
489: ; preds = %6
store i32 0, ptr %23, align 4
br label %490
490: ; preds = %564, %489
%491 = load i32, ptr %23, align 4
%492 = load i32, ptr %7, align 4
%493 = icmp slt i32 %491, %492
br i1 %493, label %494, label %567
494: ; preds = %490
%495 = load ptr, ptr %9, align 8
%496 = load i32, ptr %23, align 4
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds double, ptr %495, i64 %497
%499 = load double, ptr %498, align 8
%500 = load ptr, ptr %9, align 8
%501 = load i32, ptr %23, align 4
%502 = sext i32 %501 to i64
%503 = getelementptr inbounds double, ptr %500, i64 %502
%504 = load double, ptr %503, align 8
%505 = fmul double %499, %504
%506 = load ptr, ptr %9, align 8
%507 = load i32, ptr %23, align 4
%508 = sext i32 %507 to i64
%509 = getelementptr inbounds double, ptr %506, i64 %508
%510 = load double, ptr %509, align 8
%511 = fmul double %505, %510
%512 = load ptr, ptr %9, align 8
%513 = load i32, ptr %23, align 4
%514 = sext i32 %513 to i64
%515 = getelementptr inbounds double, ptr %512, i64 %514
%516 = load double, ptr %515, align 8
%517 = fmul double %511, %516
%518 = load ptr, ptr %9, align 8
%519 = load i32, ptr %23, align 4
%520 = sext i32 %519 to i64
%521 = getelementptr inbounds double, ptr %518, i64 %520
%522 = load double, ptr %521, align 8
%523 = fmul double %517, %522
%524 = load ptr, ptr %9, align 8
%525 = load i32, ptr %23, align 4
%526 = sext i32 %525 to i64
%527 = getelementptr inbounds double, ptr %524, i64 %526
%528 = load double, ptr %527, align 8
%529 = fmul double %523, %528
%530 = load ptr, ptr %9, align 8
%531 = load i32, ptr %23, align 4
%532 = sext i32 %531 to i64
%533 = getelementptr inbounds double, ptr %530, i64 %532
%534 = load double, ptr %533, align 8
%535 = fmul double %529, %534
%536 = load ptr, ptr %9, align 8
%537 = load i32, ptr %23, align 4
%538 = sext i32 %537 to i64
%539 = getelementptr inbounds double, ptr %536, i64 %538
%540 = load double, ptr %539, align 8
%541 = fmul double %535, %540
%542 = load ptr, ptr %9, align 8
%543 = load i32, ptr %23, align 4
%544 = sext i32 %543 to i64
%545 = getelementptr inbounds double, ptr %542, i64 %544
%546 = load double, ptr %545, align 8
%547 = fmul double %541, %546
%548 = load ptr, ptr %9, align 8
%549 = load i32, ptr %23, align 4
%550 = sext i32 %549 to i64
%551 = getelementptr inbounds double, ptr %548, i64 %550
%552 = load double, ptr %551, align 8
%553 = fmul double %547, %552
%554 = load ptr, ptr %9, align 8
%555 = load i32, ptr %23, align 4
%556 = sext i32 %555 to i64
%557 = getelementptr inbounds double, ptr %554, i64 %556
%558 = load double, ptr %557, align 8
%559 = fmul double %553, %558
%560 = load ptr, ptr %11, align 8
%561 = load i32, ptr %23, align 4
%562 = sext i32 %561 to i64
%563 = getelementptr inbounds double, ptr %560, i64 %562
store double %559, ptr %563, align 8
br label %564
564: ; preds = %494
%565 = load i32, ptr %23, align 4
%566 = add nsw i32 %565, 1
store i32 %566, ptr %23, align 4
br label %490, !llvm.loop !17
567: ; preds = %490
br label %572
568: ; preds = %6
%569 = load i32, ptr %8, align 4
%570 = call i32 @printf(ptr noundef @.str, i32 noundef %569)
%571 = call i32 (...) @abort() #3
unreachable
572: ; preds = %567, %488, %415, %348, %287, %232, %183, %140, %103, %72, %47
ret void
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp33k0geuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"exponent of %d not supported\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mypowc64(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = zext i32 %24 to i64
%26 = load i32, ptr %7, align 4
%27 = zext i32 %26 to i64
%28 = load i32, ptr %8, align 4
switch i32 %28, label %590 [
i32 1, label %29
i32 2, label %50
i32 3, label %77
i32 4, label %110
i32 5, label %149
i32 6, label %194
i32 7, label %245
i32 8, label %302
i32 9, label %365
i32 10, label %434
i32 11, label %509
]
29: ; preds = %6
store i32 0, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph29, label %49
.lr.ph29: ; preds = %29
br label %33
33: ; preds = %.lr.ph29, %43
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %13, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %11, align 8
%40 = load i32, ptr %13, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
store double %38, ptr %42, align 8
br label %43
43: ; preds = %33
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %33, label %._crit_edge30, !llvm.loop !6
._crit_edge30: ; preds = %43
br label %49
49: ; preds = %._crit_edge30, %29
br label %594
50: ; preds = %6
store i32 0, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph26, label %76
.lr.ph26: ; preds = %50
br label %54
54: ; preds = %.lr.ph26, %70
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = fmul double %59, %64
%66 = load ptr, ptr %11, align 8
%67 = load i32, ptr %14, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
store double %65, ptr %69, align 8
br label %70
70: ; preds = %54
%71 = load i32, ptr %14, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %14, align 4
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %54, label %._crit_edge27, !llvm.loop !8
._crit_edge27: ; preds = %70
br label %76
76: ; preds = %._crit_edge27, %50
br label %594
77: ; preds = %6
store i32 0, ptr %15, align 4
%78 = load i32, ptr %15, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph23, label %109
.lr.ph23: ; preds = %77
br label %81
81: ; preds = %.lr.ph23, %103
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %15, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %82, i64 %84
%86 = load double, ptr %85, align 8
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %15, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = fmul double %86, %91
%93 = load ptr, ptr %9, align 8
%94 = load i32, ptr %15, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = fmul double %92, %97
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %15, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
store double %98, ptr %102, align 8
br label %103
103: ; preds = %81
%104 = load i32, ptr %15, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %15, align 4
%106 = load i32, ptr %15, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %81, label %._crit_edge24, !llvm.loop !9
._crit_edge24: ; preds = %103
br label %109
109: ; preds = %._crit_edge24, %77
br label %594
110: ; preds = %6
store i32 0, ptr %16, align 4
%111 = load i32, ptr %16, align 4
%112 = load i32, ptr %7, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %.lr.ph20, label %148
.lr.ph20: ; preds = %110
br label %114
114: ; preds = %.lr.ph20, %142
%115 = load ptr, ptr %9, align 8
%116 = load i32, ptr %16, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = load ptr, ptr %9, align 8
%121 = load i32, ptr %16, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = fmul double %119, %124
%126 = load ptr, ptr %9, align 8
%127 = load i32, ptr %16, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
%131 = fmul double %125, %130
%132 = load ptr, ptr %9, align 8
%133 = load i32, ptr %16, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = fmul double %131, %136
%138 = load ptr, ptr %11, align 8
%139 = load i32, ptr %16, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
store double %137, ptr %141, align 8
br label %142
142: ; preds = %114
%143 = load i32, ptr %16, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %16, align 4
%145 = load i32, ptr %16, align 4
%146 = load i32, ptr %7, align 4
%147 = icmp slt i32 %145, %146
br i1 %147, label %114, label %._crit_edge21, !llvm.loop !10
._crit_edge21: ; preds = %142
br label %148
148: ; preds = %._crit_edge21, %110
br label %594
149: ; preds = %6
store i32 0, ptr %17, align 4
%150 = load i32, ptr %17, align 4
%151 = load i32, ptr %7, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %.lr.ph17, label %193
.lr.ph17: ; preds = %149
br label %153
153: ; preds = %.lr.ph17, %187
%154 = load ptr, ptr %9, align 8
%155 = load i32, ptr %17, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %154, i64 %156
%158 = load double, ptr %157, align 8
%159 = load ptr, ptr %9, align 8
%160 = load i32, ptr %17, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, ptr %159, i64 %161
%163 = load double, ptr %162, align 8
%164 = fmul double %158, %163
%165 = load ptr, ptr %9, align 8
%166 = load i32, ptr %17, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %165, i64 %167
%169 = load double, ptr %168, align 8
%170 = fmul double %164, %169
%171 = load ptr, ptr %9, align 8
%172 = load i32, ptr %17, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, ptr %171, i64 %173
%175 = load double, ptr %174, align 8
%176 = fmul double %170, %175
%177 = load ptr, ptr %9, align 8
%178 = load i32, ptr %17, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %177, i64 %179
%181 = load double, ptr %180, align 8
%182 = fmul double %176, %181
%183 = load ptr, ptr %11, align 8
%184 = load i32, ptr %17, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
store double %182, ptr %186, align 8
br label %187
187: ; preds = %153
%188 = load i32, ptr %17, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %17, align 4
%190 = load i32, ptr %17, align 4
%191 = load i32, ptr %7, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %153, label %._crit_edge18, !llvm.loop !11
._crit_edge18: ; preds = %187
br label %193
193: ; preds = %._crit_edge18, %149
br label %594
194: ; preds = %6
store i32 0, ptr %18, align 4
%195 = load i32, ptr %18, align 4
%196 = load i32, ptr %7, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %.lr.ph14, label %244
.lr.ph14: ; preds = %194
br label %198
198: ; preds = %.lr.ph14, %238
%199 = load ptr, ptr %9, align 8
%200 = load i32, ptr %18, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, ptr %199, i64 %201
%203 = load double, ptr %202, align 8
%204 = load ptr, ptr %9, align 8
%205 = load i32, ptr %18, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %204, i64 %206
%208 = load double, ptr %207, align 8
%209 = fmul double %203, %208
%210 = load ptr, ptr %9, align 8
%211 = load i32, ptr %18, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
%214 = load double, ptr %213, align 8
%215 = fmul double %209, %214
%216 = load ptr, ptr %9, align 8
%217 = load i32, ptr %18, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds double, ptr %216, i64 %218
%220 = load double, ptr %219, align 8
%221 = fmul double %215, %220
%222 = load ptr, ptr %9, align 8
%223 = load i32, ptr %18, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds double, ptr %222, i64 %224
%226 = load double, ptr %225, align 8
%227 = fmul double %221, %226
%228 = load ptr, ptr %9, align 8
%229 = load i32, ptr %18, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds double, ptr %228, i64 %230
%232 = load double, ptr %231, align 8
%233 = fmul double %227, %232
%234 = load ptr, ptr %11, align 8
%235 = load i32, ptr %18, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, ptr %234, i64 %236
store double %233, ptr %237, align 8
br label %238
238: ; preds = %198
%239 = load i32, ptr %18, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %18, align 4
%241 = load i32, ptr %18, align 4
%242 = load i32, ptr %7, align 4
%243 = icmp slt i32 %241, %242
br i1 %243, label %198, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %238
br label %244
244: ; preds = %._crit_edge15, %194
br label %594
245: ; preds = %6
store i32 0, ptr %19, align 4
%246 = load i32, ptr %19, align 4
%247 = load i32, ptr %7, align 4
%248 = icmp slt i32 %246, %247
br i1 %248, label %.lr.ph11, label %301
.lr.ph11: ; preds = %245
br label %249
249: ; preds = %.lr.ph11, %295
%250 = load ptr, ptr %9, align 8
%251 = load i32, ptr %19, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds double, ptr %250, i64 %252
%254 = load double, ptr %253, align 8
%255 = load ptr, ptr %9, align 8
%256 = load i32, ptr %19, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds double, ptr %255, i64 %257
%259 = load double, ptr %258, align 8
%260 = fmul double %254, %259
%261 = load ptr, ptr %9, align 8
%262 = load i32, ptr %19, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds double, ptr %261, i64 %263
%265 = load double, ptr %264, align 8
%266 = fmul double %260, %265
%267 = load ptr, ptr %9, align 8
%268 = load i32, ptr %19, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, ptr %267, i64 %269
%271 = load double, ptr %270, align 8
%272 = fmul double %266, %271
%273 = load ptr, ptr %9, align 8
%274 = load i32, ptr %19, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds double, ptr %273, i64 %275
%277 = load double, ptr %276, align 8
%278 = fmul double %272, %277
%279 = load ptr, ptr %9, align 8
%280 = load i32, ptr %19, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds double, ptr %279, i64 %281
%283 = load double, ptr %282, align 8
%284 = fmul double %278, %283
%285 = load ptr, ptr %9, align 8
%286 = load i32, ptr %19, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, ptr %285, i64 %287
%289 = load double, ptr %288, align 8
%290 = fmul double %284, %289
%291 = load ptr, ptr %11, align 8
%292 = load i32, ptr %19, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds double, ptr %291, i64 %293
store double %290, ptr %294, align 8
br label %295
295: ; preds = %249
%296 = load i32, ptr %19, align 4
%297 = add nsw i32 %296, 1
store i32 %297, ptr %19, align 4
%298 = load i32, ptr %19, align 4
%299 = load i32, ptr %7, align 4
%300 = icmp slt i32 %298, %299
br i1 %300, label %249, label %._crit_edge12, !llvm.loop !13
._crit_edge12: ; preds = %295
br label %301
301: ; preds = %._crit_edge12, %245
br label %594
302: ; preds = %6
store i32 0, ptr %20, align 4
%303 = load i32, ptr %20, align 4
%304 = load i32, ptr %7, align 4
%305 = icmp slt i32 %303, %304
br i1 %305, label %.lr.ph8, label %364
.lr.ph8: ; preds = %302
br label %306
306: ; preds = %.lr.ph8, %358
%307 = load ptr, ptr %9, align 8
%308 = load i32, ptr %20, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %307, i64 %309
%311 = load double, ptr %310, align 8
%312 = load ptr, ptr %9, align 8
%313 = load i32, ptr %20, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, ptr %312, i64 %314
%316 = load double, ptr %315, align 8
%317 = fmul double %311, %316
%318 = load ptr, ptr %9, align 8
%319 = load i32, ptr %20, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, ptr %318, i64 %320
%322 = load double, ptr %321, align 8
%323 = fmul double %317, %322
%324 = load ptr, ptr %9, align 8
%325 = load i32, ptr %20, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds double, ptr %324, i64 %326
%328 = load double, ptr %327, align 8
%329 = fmul double %323, %328
%330 = load ptr, ptr %9, align 8
%331 = load i32, ptr %20, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds double, ptr %330, i64 %332
%334 = load double, ptr %333, align 8
%335 = fmul double %329, %334
%336 = load ptr, ptr %9, align 8
%337 = load i32, ptr %20, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %336, i64 %338
%340 = load double, ptr %339, align 8
%341 = fmul double %335, %340
%342 = load ptr, ptr %9, align 8
%343 = load i32, ptr %20, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
%346 = load double, ptr %345, align 8
%347 = fmul double %341, %346
%348 = load ptr, ptr %9, align 8
%349 = load i32, ptr %20, align 4
%350 = sext i32 %349 to i64
%351 = getelementptr inbounds double, ptr %348, i64 %350
%352 = load double, ptr %351, align 8
%353 = fmul double %347, %352
%354 = load ptr, ptr %11, align 8
%355 = load i32, ptr %20, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds double, ptr %354, i64 %356
store double %353, ptr %357, align 8
br label %358
358: ; preds = %306
%359 = load i32, ptr %20, align 4
%360 = add nsw i32 %359, 1
store i32 %360, ptr %20, align 4
%361 = load i32, ptr %20, align 4
%362 = load i32, ptr %7, align 4
%363 = icmp slt i32 %361, %362
br i1 %363, label %306, label %._crit_edge9, !llvm.loop !14
._crit_edge9: ; preds = %358
br label %364
364: ; preds = %._crit_edge9, %302
br label %594
365: ; preds = %6
store i32 0, ptr %21, align 4
%366 = load i32, ptr %21, align 4
%367 = load i32, ptr %7, align 4
%368 = icmp slt i32 %366, %367
br i1 %368, label %.lr.ph5, label %433
.lr.ph5: ; preds = %365
br label %369
369: ; preds = %.lr.ph5, %427
%370 = load ptr, ptr %9, align 8
%371 = load i32, ptr %21, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds double, ptr %370, i64 %372
%374 = load double, ptr %373, align 8
%375 = load ptr, ptr %9, align 8
%376 = load i32, ptr %21, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds double, ptr %375, i64 %377
%379 = load double, ptr %378, align 8
%380 = fmul double %374, %379
%381 = load ptr, ptr %9, align 8
%382 = load i32, ptr %21, align 4
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds double, ptr %381, i64 %383
%385 = load double, ptr %384, align 8
%386 = fmul double %380, %385
%387 = load ptr, ptr %9, align 8
%388 = load i32, ptr %21, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds double, ptr %387, i64 %389
%391 = load double, ptr %390, align 8
%392 = fmul double %386, %391
%393 = load ptr, ptr %9, align 8
%394 = load i32, ptr %21, align 4
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds double, ptr %393, i64 %395
%397 = load double, ptr %396, align 8
%398 = fmul double %392, %397
%399 = load ptr, ptr %9, align 8
%400 = load i32, ptr %21, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds double, ptr %399, i64 %401
%403 = load double, ptr %402, align 8
%404 = fmul double %398, %403
%405 = load ptr, ptr %9, align 8
%406 = load i32, ptr %21, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds double, ptr %405, i64 %407
%409 = load double, ptr %408, align 8
%410 = fmul double %404, %409
%411 = load ptr, ptr %9, align 8
%412 = load i32, ptr %21, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds double, ptr %411, i64 %413
%415 = load double, ptr %414, align 8
%416 = fmul double %410, %415
%417 = load ptr, ptr %9, align 8
%418 = load i32, ptr %21, align 4
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds double, ptr %417, i64 %419
%421 = load double, ptr %420, align 8
%422 = fmul double %416, %421
%423 = load ptr, ptr %11, align 8
%424 = load i32, ptr %21, align 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds double, ptr %423, i64 %425
store double %422, ptr %426, align 8
br label %427
427: ; preds = %369
%428 = load i32, ptr %21, align 4
%429 = add nsw i32 %428, 1
store i32 %429, ptr %21, align 4
%430 = load i32, ptr %21, align 4
%431 = load i32, ptr %7, align 4
%432 = icmp slt i32 %430, %431
br i1 %432, label %369, label %._crit_edge6, !llvm.loop !15
._crit_edge6: ; preds = %427
br label %433
433: ; preds = %._crit_edge6, %365
br label %594
434: ; preds = %6
store i32 0, ptr %22, align 4
%435 = load i32, ptr %22, align 4
%436 = load i32, ptr %7, align 4
%437 = icmp slt i32 %435, %436
br i1 %437, label %.lr.ph2, label %508
.lr.ph2: ; preds = %434
br label %438
438: ; preds = %.lr.ph2, %502
%439 = load ptr, ptr %9, align 8
%440 = load i32, ptr %22, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds double, ptr %439, i64 %441
%443 = load double, ptr %442, align 8
%444 = load ptr, ptr %9, align 8
%445 = load i32, ptr %22, align 4
%446 = sext i32 %445 to i64
%447 = getelementptr inbounds double, ptr %444, i64 %446
%448 = load double, ptr %447, align 8
%449 = fmul double %443, %448
%450 = load ptr, ptr %9, align 8
%451 = load i32, ptr %22, align 4
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds double, ptr %450, i64 %452
%454 = load double, ptr %453, align 8
%455 = fmul double %449, %454
%456 = load ptr, ptr %9, align 8
%457 = load i32, ptr %22, align 4
%458 = sext i32 %457 to i64
%459 = getelementptr inbounds double, ptr %456, i64 %458
%460 = load double, ptr %459, align 8
%461 = fmul double %455, %460
%462 = load ptr, ptr %9, align 8
%463 = load i32, ptr %22, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds double, ptr %462, i64 %464
%466 = load double, ptr %465, align 8
%467 = fmul double %461, %466
%468 = load ptr, ptr %9, align 8
%469 = load i32, ptr %22, align 4
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, ptr %468, i64 %470
%472 = load double, ptr %471, align 8
%473 = fmul double %467, %472
%474 = load ptr, ptr %9, align 8
%475 = load i32, ptr %22, align 4
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds double, ptr %474, i64 %476
%478 = load double, ptr %477, align 8
%479 = fmul double %473, %478
%480 = load ptr, ptr %9, align 8
%481 = load i32, ptr %22, align 4
%482 = sext i32 %481 to i64
%483 = getelementptr inbounds double, ptr %480, i64 %482
%484 = load double, ptr %483, align 8
%485 = fmul double %479, %484
%486 = load ptr, ptr %9, align 8
%487 = load i32, ptr %22, align 4
%488 = sext i32 %487 to i64
%489 = getelementptr inbounds double, ptr %486, i64 %488
%490 = load double, ptr %489, align 8
%491 = fmul double %485, %490
%492 = load ptr, ptr %9, align 8
%493 = load i32, ptr %22, align 4
%494 = sext i32 %493 to i64
%495 = getelementptr inbounds double, ptr %492, i64 %494
%496 = load double, ptr %495, align 8
%497 = fmul double %491, %496
%498 = load ptr, ptr %11, align 8
%499 = load i32, ptr %22, align 4
%500 = sext i32 %499 to i64
%501 = getelementptr inbounds double, ptr %498, i64 %500
store double %497, ptr %501, align 8
br label %502
502: ; preds = %438
%503 = load i32, ptr %22, align 4
%504 = add nsw i32 %503, 1
store i32 %504, ptr %22, align 4
%505 = load i32, ptr %22, align 4
%506 = load i32, ptr %7, align 4
%507 = icmp slt i32 %505, %506
br i1 %507, label %438, label %._crit_edge3, !llvm.loop !16
._crit_edge3: ; preds = %502
br label %508
508: ; preds = %._crit_edge3, %434
br label %594
509: ; preds = %6
store i32 0, ptr %23, align 4
%510 = load i32, ptr %23, align 4
%511 = load i32, ptr %7, align 4
%512 = icmp slt i32 %510, %511
br i1 %512, label %.lr.ph, label %589
.lr.ph: ; preds = %509
br label %513
513: ; preds = %.lr.ph, %583
%514 = load ptr, ptr %9, align 8
%515 = load i32, ptr %23, align 4
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds double, ptr %514, i64 %516
%518 = load double, ptr %517, align 8
%519 = load ptr, ptr %9, align 8
%520 = load i32, ptr %23, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds double, ptr %519, i64 %521
%523 = load double, ptr %522, align 8
%524 = fmul double %518, %523
%525 = load ptr, ptr %9, align 8
%526 = load i32, ptr %23, align 4
%527 = sext i32 %526 to i64
%528 = getelementptr inbounds double, ptr %525, i64 %527
%529 = load double, ptr %528, align 8
%530 = fmul double %524, %529
%531 = load ptr, ptr %9, align 8
%532 = load i32, ptr %23, align 4
%533 = sext i32 %532 to i64
%534 = getelementptr inbounds double, ptr %531, i64 %533
%535 = load double, ptr %534, align 8
%536 = fmul double %530, %535
%537 = load ptr, ptr %9, align 8
%538 = load i32, ptr %23, align 4
%539 = sext i32 %538 to i64
%540 = getelementptr inbounds double, ptr %537, i64 %539
%541 = load double, ptr %540, align 8
%542 = fmul double %536, %541
%543 = load ptr, ptr %9, align 8
%544 = load i32, ptr %23, align 4
%545 = sext i32 %544 to i64
%546 = getelementptr inbounds double, ptr %543, i64 %545
%547 = load double, ptr %546, align 8
%548 = fmul double %542, %547
%549 = load ptr, ptr %9, align 8
%550 = load i32, ptr %23, align 4
%551 = sext i32 %550 to i64
%552 = getelementptr inbounds double, ptr %549, i64 %551
%553 = load double, ptr %552, align 8
%554 = fmul double %548, %553
%555 = load ptr, ptr %9, align 8
%556 = load i32, ptr %23, align 4
%557 = sext i32 %556 to i64
%558 = getelementptr inbounds double, ptr %555, i64 %557
%559 = load double, ptr %558, align 8
%560 = fmul double %554, %559
%561 = load ptr, ptr %9, align 8
%562 = load i32, ptr %23, align 4
%563 = sext i32 %562 to i64
%564 = getelementptr inbounds double, ptr %561, i64 %563
%565 = load double, ptr %564, align 8
%566 = fmul double %560, %565
%567 = load ptr, ptr %9, align 8
%568 = load i32, ptr %23, align 4
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds double, ptr %567, i64 %569
%571 = load double, ptr %570, align 8
%572 = fmul double %566, %571
%573 = load ptr, ptr %9, align 8
%574 = load i32, ptr %23, align 4
%575 = sext i32 %574 to i64
%576 = getelementptr inbounds double, ptr %573, i64 %575
%577 = load double, ptr %576, align 8
%578 = fmul double %572, %577
%579 = load ptr, ptr %11, align 8
%580 = load i32, ptr %23, align 4
%581 = sext i32 %580 to i64
%582 = getelementptr inbounds double, ptr %579, i64 %581
store double %578, ptr %582, align 8
br label %583
583: ; preds = %513
%584 = load i32, ptr %23, align 4
%585 = add nsw i32 %584, 1
store i32 %585, ptr %23, align 4
%586 = load i32, ptr %23, align 4
%587 = load i32, ptr %7, align 4
%588 = icmp slt i32 %586, %587
br i1 %588, label %513, label %._crit_edge, !llvm.loop !17
._crit_edge: ; preds = %583
br label %589
589: ; preds = %._crit_edge, %509
br label %594
590: ; preds = %6
%591 = load i32, ptr %8, align 4
%592 = call i32 @printf(ptr noundef @.str, i32 noundef %591)
%593 = call i32 (...) @abort() #3
unreachable
594: ; preds = %589, %508, %433, %364, %301, %244, %193, %148, %109, %76, %49
ret void
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
|
; ModuleID = '/tmp/tmpoitgyqcz.c'
source_filename = "/tmp/tmpoitgyqcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b(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 @a(ptr noundef %3)
ret i32 %4
}
declare i32 @a(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoitgyqcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b(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 @a(ptr noundef %3)
ret i32 %4
}
declare i32 @a(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3f0joy8a.c'
source_filename = "/tmp/tmp3f0joy8a.c"
target datalayout = "e-m:e-p270: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/tmp3f0joy8a.c"
target datalayout = "e-m:e-p270: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/tmpjchzondh.c'
source_filename = "/tmp/tmpjchzondh.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [2 x i8] c"y\00", align 1
@O_SYNC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"2M.text\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"tmp\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [10 x i8], align 1
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr @O_CREAT, align 4
store i32 %15, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %2
%22 = load i32, ptr @O_SYNC, align 4
%23 = load i32, ptr %6, align 4
%24 = or i32 %23, %22
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %21, %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 2
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @open(ptr noundef @.str.1, i32 noundef %30)
store i32 %31, ptr %8, align 4
store i32 1, ptr %10, align 4
%32 = load i32, ptr %7, align 4
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave()
store ptr %34, ptr %12, align 8
%35 = alloca i8, i64 %33, align 16
store i64 %33, ptr %13, align 8
%36 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef 448)
%37 = call i32 @chdir(ptr noundef @.str.2)
br label %38
38: ; preds = %43, %25
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 @read(i32 noundef %39, ptr noundef %35, i32 noundef %40)
store i32 %41, ptr %14, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %59
43: ; preds = %38
%44 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0
%45 = load i32, ptr %10, align 4
%46 = call i32 @sprintf(ptr noundef %44, ptr noundef @.str.3, i32 noundef %45)
%47 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0
%48 = load i32, ptr @O_CREAT, align 4
%49 = load i32, ptr @O_WRONLY, align 4
%50 = or i32 %48, %49
%51 = call i32 @open(ptr noundef %47, i32 noundef %50)
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %14, align 4
%54 = call i32 @write(i32 noundef %52, ptr noundef %35, i32 noundef %53)
%55 = load i32, ptr %9, align 4
%56 = call i32 @close(i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %38, !llvm.loop !6
59: ; preds = %38
%60 = load i32, ptr %14, align 4
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = call i32 @perror(ptr noundef @.str.1)
%64 = load i32, ptr @EXIT_FAILURE, align 4
%65 = call i32 @exit(i32 noundef %64) #4
unreachable
66: ; preds = %59
%67 = load i32, ptr %8, align 4
%68 = call i32 @close(i32 noundef %67)
%69 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %69, ptr %3, align 4
%70 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %70)
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjchzondh.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [2 x i8] c"y\00", align 1
@O_SYNC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"2M.text\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"tmp\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [10 x i8], align 1
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr @O_CREAT, align 4
store i32 %15, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %2
%22 = load i32, ptr @O_SYNC, align 4
%23 = load i32, ptr %6, align 4
%24 = or i32 %23, %22
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %21, %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 2
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @open(ptr noundef @.str.1, i32 noundef %30)
store i32 %31, ptr %8, align 4
store i32 1, ptr %10, align 4
%32 = load i32, ptr %7, align 4
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave()
store ptr %34, ptr %12, align 8
%35 = alloca i8, i64 %33, align 16
store i64 %33, ptr %13, align 8
%36 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef 448)
%37 = call i32 @chdir(ptr noundef @.str.2)
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @read(i32 noundef %38, ptr noundef %35, i32 noundef %39)
store i32 %40, ptr %14, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %.lr.ph, label %62
.lr.ph: ; preds = %25
br label %42
42: ; preds = %.lr.ph, %42
%43 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0
%44 = load i32, ptr %10, align 4
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.3, i32 noundef %44)
%46 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0
%47 = load i32, ptr @O_CREAT, align 4
%48 = load i32, ptr @O_WRONLY, align 4
%49 = or i32 %47, %48
%50 = call i32 @open(ptr noundef %46, i32 noundef %49)
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %14, align 4
%53 = call i32 @write(i32 noundef %51, ptr noundef %35, i32 noundef %52)
%54 = load i32, ptr %9, align 4
%55 = call i32 @close(i32 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %7, align 4
%60 = call i32 @read(i32 noundef %58, ptr noundef %35, i32 noundef %59)
store i32 %60, ptr %14, align 4
%61 = icmp sgt i32 %60, 0
br i1 %61, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %62
62: ; preds = %._crit_edge, %25
%63 = load i32, ptr %14, align 4
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %69
65: ; preds = %62
%66 = call i32 @perror(ptr noundef @.str.1)
%67 = load i32, ptr @EXIT_FAILURE, align 4
%68 = call i32 @exit(i32 noundef %67) #4
unreachable
69: ; preds = %62
%70 = load i32, ptr %8, align 4
%71 = call i32 @close(i32 noundef %70)
%72 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %72, ptr %3, align 4
%73 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %73)
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqu3632ff.c'
source_filename = "/tmp/tmpqu3632ff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmpqu3632ff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmp8ucoqb_d.c'
source_filename = "/tmp/tmp8ucoqb_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Think of a question and enter your favorite number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Outcome unclear\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Absolutely certain\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"The answer is no\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"Ask again\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Definitely not\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (...) @rand()
%9 = srem i32 %8, 5
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
switch i32 %10, label %21 [
i32 0, label %11
i32 1, label %13
i32 2, label %15
i32 3, label %17
i32 4, label %19
]
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.2)
br label %21
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.3)
br label %21
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.4)
br label %21
17: ; preds = %0
%18 = call i32 @printf(ptr noundef @.str.5)
br label %21
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.6)
br label %21
21: ; preds = %0, %19, %17, %15, %13, %11
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ucoqb_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Think of a question and enter your favorite number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Outcome unclear\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Absolutely certain\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"The answer is no\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"Ask again\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Definitely not\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (...) @rand()
%9 = srem i32 %8, 5
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
switch i32 %10, label %21 [
i32 0, label %11
i32 1, label %13
i32 2, label %15
i32 3, label %17
i32 4, label %19
]
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.2)
br label %21
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.3)
br label %21
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.4)
br label %21
17: ; preds = %0
%18 = call i32 @printf(ptr noundef @.str.5)
br label %21
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.6)
br label %21
21: ; preds = %19, %17, %15, %13, %11, %0
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwgxb2fdr.c'
source_filename = "/tmp/tmpwgxb2fdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AAdding a + b.For exit enter 999.\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Please enter a: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Please enter b: \00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"a + b = %i\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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 999
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 999
br label %10
10: ; preds = %7, %4
%11 = phi i1 [ true, %4 ], [ %9, %7 ]
br i1 %11, label %12, label %22
12: ; preds = %10
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @add(i32 noundef %18, i32 noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %20)
br label %4, !llvm.loop !6
22: ; preds = %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @add(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwgxb2fdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AAdding a + b.For exit enter 999.\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Please enter a: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Please enter b: \00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"a + b = %i\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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 999
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 999
br label %10
10: ; preds = %7, %4
%11 = phi i1 [ true, %4 ], [ %9, %7 ]
br i1 %11, label %12, label %22
12: ; preds = %10
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @add(i32 noundef %18, i32 noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %20)
br label %4, !llvm.loop !6
22: ; preds = %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @add(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3bcny0gl.c'
source_filename = "/tmp/tmp3bcny0gl.c"
target datalayout = "e-m:e-p270: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/tmp3bcny0gl.c"
target datalayout = "e-m:e-p270: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/tmp030jt3u0.c'
source_filename = "/tmp/tmp030jt3u0.c"
target datalayout = "e-m:e-p270: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/tmp030jt3u0.c"
target datalayout = "e-m:e-p270: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/tmp8wzz36hs.c'
source_filename = "/tmp/tmp8wzz36hs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Ooooooops, struct stat has wrong size (%ld)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef 4)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8wzz36hs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Ooooooops, struct stat has wrong size (%ld)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef 4)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz6iyz83y.c'
source_filename = "/tmp/tmpz6iyz83y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eqep_1_pinmux_setup() #0 {
%1 = call i32 @GpioPinMuxSetup(i32 noundef 2256, i32 noundef 106)
%2 = call i32 @GpioPinMuxSetup(i32 noundef 2260, i32 noundef 106)
%3 = call i32 @GpioPinMuxSetup(i32 noundef 2264, i32 noundef 106)
%4 = call i32 @GpioPinMuxSetup(i32 noundef 2268, i32 noundef 106)
ret void
}
declare i32 @GpioPinMuxSetup(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/tmpz6iyz83y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eqep_1_pinmux_setup() #0 {
%1 = call i32 @GpioPinMuxSetup(i32 noundef 2256, i32 noundef 106)
%2 = call i32 @GpioPinMuxSetup(i32 noundef 2260, i32 noundef 106)
%3 = call i32 @GpioPinMuxSetup(i32 noundef 2264, i32 noundef 106)
%4 = call i32 @GpioPinMuxSetup(i32 noundef 2268, i32 noundef 106)
ret void
}
declare i32 @GpioPinMuxSetup(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/tmp4ooznrdg.c'
source_filename = "/tmp/tmp4ooznrdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swift_posix_spawn_file_actions_addclose(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @posix_spawn_file_actions_addclose(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @posix_spawn_file_actions_addclose(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/tmp4ooznrdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swift_posix_spawn_file_actions_addclose(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @posix_spawn_file_actions_addclose(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @posix_spawn_file_actions_addclose(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/tmp8aaq05yf.c'
source_filename = "/tmp/tmp8aaq05yf.c"
target datalayout = "e-m:e-p270: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/tmp8aaq05yf.c"
target datalayout = "e-m:e-p270: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/tmpzpb5gxst.c'
source_filename = "/tmp/tmpzpb5gxst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %12, 24
br i1 %13, label %14, label %27
14: ; preds = %3
br label %15
15: ; preds = %18, %14
%16 = load i64, ptr %7, align 8
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = load ptr, ptr %10, align 8
%22 = getelementptr inbounds i64, ptr %21, i32 1
store ptr %22, ptr %10, align 8
store i64 %20, ptr %21, align 8
%23 = load i64, ptr %7, align 8
%24 = add i64 %23, -1
store i64 %24, ptr %7, align 8
br label %15, !llvm.loop !6
25: ; preds = %15
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %4, align 8
br label %87
27: ; preds = %3
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
store i64 %29, ptr %9, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = load i64, ptr %9, align 8
%33 = shl i64 %32, 8
%34 = load i64, ptr %9, align 8
%35 = or i64 %33, %34
store i64 %35, ptr %9, align 8
br label %36
36: ; preds = %31, %27
%37 = load ptr, ptr %10, align 8
%38 = ptrtoint ptr %37 to i64
%39 = and i64 %38, 7
store i64 %39, ptr %8, align 8
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %57
41: ; preds = %36
%42 = load i64, ptr %8, align 8
%43 = sub i64 8, %42
store i64 %43, ptr %8, align 8
%44 = load i64, ptr %8, align 8
%45 = load i64, ptr %7, align 8
%46 = sub i64 %45, %44
store i64 %46, ptr %7, align 8
br label %47
47: ; preds = %52, %41
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = load ptr, ptr %10, align 8
%51 = getelementptr inbounds i64, ptr %50, i32 1
store ptr %51, ptr %10, align 8
store i64 %49, ptr %50, align 8
br label %52
52: ; preds = %47
%53 = load i64, ptr %8, align 8
%54 = add i64 %53, -1
store i64 %54, ptr %8, align 8
%55 = icmp ne i64 %54, 0
br i1 %55, label %47, label %56, !llvm.loop !8
56: ; preds = %52
br label %57
57: ; preds = %56, %36
%58 = load i64, ptr %7, align 8
%59 = udiv i64 %58, 8
store i64 %59, ptr %8, align 8
br label %60
60: ; preds = %65, %57
%61 = load i64, ptr %9, align 8
%62 = load ptr, ptr %10, align 8
store i64 %61, ptr %62, align 8
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds i64, ptr %63, i64 8
store ptr %64, ptr %10, align 8
br label %65
65: ; preds = %60
%66 = load i64, ptr %8, align 8
%67 = add i64 %66, -1
store i64 %67, ptr %8, align 8
%68 = icmp ne i64 %67, 0
br i1 %68, label %60, label %69, !llvm.loop !9
69: ; preds = %65
%70 = load i64, ptr %7, align 8
%71 = and i64 %70, 7
store i64 %71, ptr %8, align 8
%72 = load i64, ptr %8, align 8
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %85
74: ; preds = %69
br label %75
75: ; preds = %80, %74
%76 = load i32, ptr %6, align 4
%77 = sext i32 %76 to i64
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds i64, ptr %78, i32 1
store ptr %79, ptr %10, align 8
store i64 %77, ptr %78, align 8
br label %80
80: ; preds = %75
%81 = load i64, ptr %8, align 8
%82 = add i64 %81, -1
store i64 %82, ptr %8, align 8
%83 = icmp ne i64 %82, 0
br i1 %83, label %75, label %84, !llvm.loop !10
84: ; preds = %80
br label %85
85: ; preds = %84, %69
%86 = load ptr, ptr %5, align 8
store ptr %86, ptr %4, align 8
br label %87
87: ; preds = %85, %25
%88 = load ptr, ptr %4, align 8
ret ptr %88
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpb5gxst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %12, 24
br i1 %13, label %14, label %28
14: ; preds = %3
%15 = load i64, ptr %7, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %26
.lr.ph: ; preds = %14
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = load ptr, ptr %10, align 8
%21 = getelementptr inbounds i64, ptr %20, i32 1
store ptr %21, ptr %10, align 8
store i64 %19, ptr %20, align 8
%22 = load i64, ptr %7, align 8
%23 = add i64 %22, -1
store i64 %23, ptr %7, align 8
%24 = load i64, ptr %7, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %26
26: ; preds = %._crit_edge, %14
%27 = load ptr, ptr %5, align 8
store ptr %27, ptr %4, align 8
br label %88
28: ; preds = %3
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
store i64 %30, ptr %9, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = load i64, ptr %9, align 8
%34 = shl i64 %33, 8
%35 = load i64, ptr %9, align 8
%36 = or i64 %34, %35
store i64 %36, ptr %9, align 8
br label %37
37: ; preds = %32, %28
%38 = load ptr, ptr %10, align 8
%39 = ptrtoint ptr %38 to i64
%40 = and i64 %39, 7
store i64 %40, ptr %8, align 8
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %58
42: ; preds = %37
%43 = load i64, ptr %8, align 8
%44 = sub i64 8, %43
store i64 %44, ptr %8, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %7, align 8
%47 = sub i64 %46, %45
store i64 %47, ptr %7, align 8
br label %48
48: ; preds = %53, %42
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = load ptr, ptr %10, align 8
%52 = getelementptr inbounds i64, ptr %51, i32 1
store ptr %52, ptr %10, align 8
store i64 %50, ptr %51, align 8
br label %53
53: ; preds = %48
%54 = load i64, ptr %8, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %8, align 8
%56 = icmp ne i64 %55, 0
br i1 %56, label %48, label %57, !llvm.loop !8
57: ; preds = %53
br label %58
58: ; preds = %57, %37
%59 = load i64, ptr %7, align 8
%60 = udiv i64 %59, 8
store i64 %60, ptr %8, align 8
br label %61
61: ; preds = %66, %58
%62 = load i64, ptr %9, align 8
%63 = load ptr, ptr %10, align 8
store i64 %62, ptr %63, align 8
%64 = load ptr, ptr %10, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 8
store ptr %65, ptr %10, align 8
br label %66
66: ; preds = %61
%67 = load i64, ptr %8, align 8
%68 = add i64 %67, -1
store i64 %68, ptr %8, align 8
%69 = icmp ne i64 %68, 0
br i1 %69, label %61, label %70, !llvm.loop !9
70: ; preds = %66
%71 = load i64, ptr %7, align 8
%72 = and i64 %71, 7
store i64 %72, ptr %8, align 8
%73 = load i64, ptr %8, align 8
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %86
75: ; preds = %70
br label %76
76: ; preds = %81, %75
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = load ptr, ptr %10, align 8
%80 = getelementptr inbounds i64, ptr %79, i32 1
store ptr %80, ptr %10, align 8
store i64 %78, ptr %79, align 8
br label %81
81: ; preds = %76
%82 = load i64, ptr %8, align 8
%83 = add i64 %82, -1
store i64 %83, ptr %8, align 8
%84 = icmp ne i64 %83, 0
br i1 %84, label %76, label %85, !llvm.loop !10
85: ; preds = %81
br label %86
86: ; preds = %85, %70
%87 = load ptr, ptr %5, align 8
store ptr %87, ptr %4, align 8
br label %88
88: ; preds = %86, %26
%89 = load ptr, ptr %4, align 8
ret ptr %89
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpkls6nkm_.c'
source_filename = "/tmp/tmpkls6nkm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"astronomy\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"astounding\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"astrophysics\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ostracize\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"asterism\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"astrophobia\00", align 1
@__const.main.list = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [10 x i8] c"astronaut\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Found: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [53 x i8] c"The list contained %d words beginning with \22astro\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 48, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %24, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strncmp(ptr noundef %12, ptr noundef @.str.6, i32 noundef 5)
%14 = icmp ne i32 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %19)
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %15, %8
br label %24
24: ; preds = %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %5, !llvm.loop !6
27: ; preds = %5
%28 = load i32, ptr %3, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %28)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkls6nkm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"astronomy\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"astounding\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"astrophysics\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ostracize\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"asterism\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"astrophobia\00", align 1
@__const.main.list = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [10 x i8] c"astronaut\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Found: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [53 x i8] c"The list contained %d words beginning with \22astro\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 48, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %23
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strncmp(ptr noundef %11, ptr noundef @.str.6, i32 noundef 5)
%13 = icmp ne i32 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %7
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %18)
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %14, %7
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 6
br i1 %27, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %3, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %29)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4sf4uq7v.c'
source_filename = "/tmp/tmp4sf4uq7v.c"
target datalayout = "e-m:e-p270: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/tmp4sf4uq7v.c"
target datalayout = "e-m:e-p270: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/tmpf0p6rt78.c'
source_filename = "/tmp/tmpf0p6rt78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTxDMACurrentBufferGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 3152
%5 = inttoptr i64 %4 to ptr
%6 = load volatile 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/tmpf0p6rt78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTxDMACurrentBufferGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 3152
%5 = inttoptr i64 %4 to ptr
%6 = load volatile 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/tmpx8kp6056.c'
source_filename = "/tmp/tmpx8kp6056.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"newthread is running\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newthread() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @sleep(i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @pthread_exit(ptr noundef null)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx8kp6056.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"newthread is running\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newthread() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @sleep(i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @pthread_exit(ptr noundef null)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfqaca5wm.c'
source_filename = "/tmp/tmpfqaca5wm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c" Can't load a file without the filename.\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" '?' for help\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c" Can't open file '%s' for reading.\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c" Loaded %d bytes between:\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c" %06X to %06X\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"Segment = 0x%04x, addr = 0x%08x\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"Linear Address = 0x%04x\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c" Error: '%s', line: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ihex_load_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1000 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [256 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %16, align 4
store i32 1, ptr %17, align 4
store i32 131071, ptr %18, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %188
28: ; preds = %4
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %10, align 8
%31 = load ptr, ptr %10, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr %5, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %34)
br label %188
36: ; preds = %28
br label %37
37: ; preds = %185, %36
%38 = load ptr, ptr %10, align 8
%39 = call i32 @feof(ptr noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %46, label %41
41: ; preds = %37
%42 = load ptr, ptr %10, align 8
%43 = call i32 @ferror(ptr noundef %42)
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
br label %46
46: ; preds = %41, %37
%47 = phi i1 [ false, %37 ], [ %45, %41 ]
br i1 %47, label %48, label %188
48: ; preds = %46
%49 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %49, align 16
%50 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%51 = load ptr, ptr %10, align 8
%52 = call i32 @fgets(ptr noundef %50, i32 noundef 1000, ptr noundef %51)
%53 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%54 = call i32 @strlen(ptr noundef %53)
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %67
61: ; preds = %48
%62 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%63 = call i32 @strlen(ptr noundef %62)
%64 = sub nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %65
store i8 0, ptr %66, align 1
br label %67
67: ; preds = %61, %48
%68 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @strlen(ptr noundef %68)
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 13
br i1 %75, label %76, label %82
76: ; preds = %67
%77 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%78 = call i32 @strlen(ptr noundef %77)
%79 = sub nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %80
store i8 0, ptr %81, align 1
br label %82
82: ; preds = %76, %67
%83 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%84 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%85 = call i64 @parse_hex_line(ptr noundef %83, ptr noundef %84, ptr noundef %11, ptr noundef %14, ptr noundef %12)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %181
87: ; preds = %82
%88 = load i32, ptr %12, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %136
90: ; preds = %87
store i32 0, ptr %15, align 4
br label %91
91: ; preds = %132, %90
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %14, align 4
%94 = sub nsw i32 %93, 1
%95 = icmp sle i32 %92, %94
br i1 %95, label %96, label %135
96: ; preds = %91
%97 = load i32, ptr %15, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %98
%100 = load i32, ptr %99, align 4
%101 = and i32 %100, 255
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %20, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %102, i64 %106
store i32 %101, ptr %107, align 4
%108 = load i32, ptr %16, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %16, align 4
%110 = load i32, ptr %11, align 4
%111 = load i32, ptr %20, align 4
%112 = add nsw i32 %110, %111
%113 = load i32, ptr %18, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %119
115: ; preds = %96
%116 = load i32, ptr %11, align 4
%117 = load i32, ptr %20, align 4
%118 = add nsw i32 %116, %117
store i32 %118, ptr %18, align 4
br label %119
119: ; preds = %115, %96
%120 = load i32, ptr %11, align 4
%121 = load i32, ptr %20, align 4
%122 = add nsw i32 %120, %121
%123 = load i32, ptr %19, align 4
%124 = icmp sgt i32 %122, %123
br i1 %124, label %125, label %129
125: ; preds = %119
%126 = load i32, ptr %11, align 4
%127 = load i32, ptr %20, align 4
%128 = add nsw i32 %126, %127
store i32 %128, ptr %19, align 4
br label %129
129: ; preds = %125, %119
%130 = load i32, ptr %11, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %11, align 4
br label %132
132: ; preds = %129
%133 = load i32, ptr %15, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %15, align 4
br label %91, !llvm.loop !6
135: ; preds = %91
br label %136
136: ; preds = %135, %87
%137 = load i32, ptr %12, align 4
%138 = icmp eq i32 %137, 1
br i1 %138, label %139, label %151
139: ; preds = %136
%140 = load ptr, ptr %10, align 8
%141 = call i32 @fclose(ptr noundef %140)
%142 = load i32, ptr %16, align 4
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %142)
%144 = load i32, ptr %18, align 4
%145 = load i32, ptr %19, align 4
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %144, i32 noundef %145)
%147 = load i32, ptr %18, align 4
%148 = load ptr, ptr %7, align 8
store i32 %147, ptr %148, align 4
%149 = load i32, ptr %19, align 4
%150 = load ptr, ptr %8, align 8
store i32 %149, ptr %150, align 4
br label %188
151: ; preds = %136
%152 = load i32, ptr %12, align 4
%153 = icmp eq i32 %152, 2
br i1 %153, label %154, label %166
154: ; preds = %151
%155 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%156 = load i32, ptr %155, align 16
%157 = shl i32 %156, 8
%158 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 1
%159 = load i32, ptr %158, align 4
%160 = or i32 %157, %159
store i32 %160, ptr %21, align 4
%161 = load i32, ptr %21, align 4
%162 = shl i32 %161, 4
store i32 %162, ptr %20, align 4
%163 = load i32, ptr %21, align 4
%164 = load i32, ptr %20, align 4
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %163, i32 noundef %164)
br label %166
166: ; preds = %154, %151
%167 = load i32, ptr %12, align 4
%168 = icmp eq i32 %167, 4
br i1 %168, label %169, label %180
169: ; preds = %166
%170 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%171 = load i32, ptr %170, align 16
%172 = shl i32 %171, 8
%173 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 1
%174 = load i32, ptr %173, align 4
%175 = or i32 %172, %174
%176 = mul nsw i32 %175, 256
%177 = mul nsw i32 %176, 256
store i32 %177, ptr %20, align 4
%178 = load i32, ptr %20, align 4
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %178)
br label %180
180: ; preds = %169, %166
br label %185
181: ; preds = %82
%182 = load ptr, ptr %5, align 8
%183 = load i32, ptr %17, align 4
%184 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %182, i32 noundef %183)
br label %185
185: ; preds = %181, %180
%186 = load i32, ptr %17, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %17, align 4
br label %37, !llvm.loop !8
188: ; preds = %25, %33, %139, %46
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @ferror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @parse_hex_line(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpfqaca5wm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c" Can't load a file without the filename.\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" '?' for help\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c" Can't open file '%s' for reading.\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c" Loaded %d bytes between:\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c" %06X to %06X\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"Segment = 0x%04x, addr = 0x%08x\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"Linear Address = 0x%04x\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c" Error: '%s', line: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ihex_load_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1000 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [256 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %16, align 4
store i32 1, ptr %17, align 4
store i32 131071, ptr %18, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %191
28: ; preds = %4
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %10, align 8
%31 = load ptr, ptr %10, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr %5, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %34)
br label %191
36: ; preds = %28
br label %37
37: ; preds = %188, %36
%38 = load ptr, ptr %10, align 8
%39 = call i32 @feof(ptr noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %46, label %41
41: ; preds = %37
%42 = load ptr, ptr %10, align 8
%43 = call i32 @ferror(ptr noundef %42)
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
br label %46
46: ; preds = %41, %37
%47 = phi i1 [ false, %37 ], [ %45, %41 ]
br i1 %47, label %48, label %.loopexit
48: ; preds = %46
%49 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %49, align 16
%50 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%51 = load ptr, ptr %10, align 8
%52 = call i32 @fgets(ptr noundef %50, i32 noundef 1000, ptr noundef %51)
%53 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%54 = call i32 @strlen(ptr noundef %53)
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %67
61: ; preds = %48
%62 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%63 = call i32 @strlen(ptr noundef %62)
%64 = sub nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %65
store i8 0, ptr %66, align 1
br label %67
67: ; preds = %61, %48
%68 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @strlen(ptr noundef %68)
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 13
br i1 %75, label %76, label %82
76: ; preds = %67
%77 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%78 = call i32 @strlen(ptr noundef %77)
%79 = sub nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %80
store i8 0, ptr %81, align 1
br label %82
82: ; preds = %76, %67
%83 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%84 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%85 = call i64 @parse_hex_line(ptr noundef %83, ptr noundef %84, ptr noundef %11, ptr noundef %14, ptr noundef %12)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %184
87: ; preds = %82
%88 = load i32, ptr %12, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %139
90: ; preds = %87
store i32 0, ptr %15, align 4
%91 = load i32, ptr %15, align 4
%92 = load i32, ptr %14, align 4
%93 = sub nsw i32 %92, 1
%94 = icmp sle i32 %91, %93
br i1 %94, label %.lr.ph, label %138
.lr.ph: ; preds = %90
br label %95
95: ; preds = %.lr.ph, %131
%96 = load i32, ptr %15, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = and i32 %99, 255
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %11, align 4
%103 = load i32, ptr %20, align 4
%104 = add nsw i32 %102, %103
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %101, i64 %105
store i32 %100, ptr %106, align 4
%107 = load i32, ptr %16, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %16, align 4
%109 = load i32, ptr %11, align 4
%110 = load i32, ptr %20, align 4
%111 = add nsw i32 %109, %110
%112 = load i32, ptr %18, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %114, label %118
114: ; preds = %95
%115 = load i32, ptr %11, align 4
%116 = load i32, ptr %20, align 4
%117 = add nsw i32 %115, %116
store i32 %117, ptr %18, align 4
br label %118
118: ; preds = %114, %95
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %20, align 4
%121 = add nsw i32 %119, %120
%122 = load i32, ptr %19, align 4
%123 = icmp sgt i32 %121, %122
br i1 %123, label %124, label %128
124: ; preds = %118
%125 = load i32, ptr %11, align 4
%126 = load i32, ptr %20, align 4
%127 = add nsw i32 %125, %126
store i32 %127, ptr %19, align 4
br label %128
128: ; preds = %124, %118
%129 = load i32, ptr %11, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %11, align 4
br label %131
131: ; preds = %128
%132 = load i32, ptr %15, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %15, align 4
%134 = load i32, ptr %15, align 4
%135 = load i32, ptr %14, align 4
%136 = sub nsw i32 %135, 1
%137 = icmp sle i32 %134, %136
br i1 %137, label %95, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %131
br label %138
138: ; preds = %._crit_edge, %90
br label %139
139: ; preds = %138, %87
%140 = load i32, ptr %12, align 4
%141 = icmp eq i32 %140, 1
br i1 %141, label %142, label %154
142: ; preds = %139
%143 = load ptr, ptr %10, align 8
%144 = call i32 @fclose(ptr noundef %143)
%145 = load i32, ptr %16, align 4
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %145)
%147 = load i32, ptr %18, align 4
%148 = load i32, ptr %19, align 4
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %147, i32 noundef %148)
%150 = load i32, ptr %18, align 4
%151 = load ptr, ptr %7, align 8
store i32 %150, ptr %151, align 4
%152 = load i32, ptr %19, align 4
%153 = load ptr, ptr %8, align 8
store i32 %152, ptr %153, align 4
br label %191
154: ; preds = %139
%155 = load i32, ptr %12, align 4
%156 = icmp eq i32 %155, 2
br i1 %156, label %157, label %169
157: ; preds = %154
%158 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%159 = load i32, ptr %158, align 16
%160 = shl i32 %159, 8
%161 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 1
%162 = load i32, ptr %161, align 4
%163 = or i32 %160, %162
store i32 %163, ptr %21, align 4
%164 = load i32, ptr %21, align 4
%165 = shl i32 %164, 4
store i32 %165, ptr %20, align 4
%166 = load i32, ptr %21, align 4
%167 = load i32, ptr %20, align 4
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %166, i32 noundef %167)
br label %169
169: ; preds = %157, %154
%170 = load i32, ptr %12, align 4
%171 = icmp eq i32 %170, 4
br i1 %171, label %172, label %183
172: ; preds = %169
%173 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 0
%174 = load i32, ptr %173, align 16
%175 = shl i32 %174, 8
%176 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 1
%177 = load i32, ptr %176, align 4
%178 = or i32 %175, %177
%179 = mul nsw i32 %178, 256
%180 = mul nsw i32 %179, 256
store i32 %180, ptr %20, align 4
%181 = load i32, ptr %20, align 4
%182 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %181)
br label %183
183: ; preds = %172, %169
br label %188
184: ; preds = %82
%185 = load ptr, ptr %5, align 8
%186 = load i32, ptr %17, align 4
%187 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %185, i32 noundef %186)
br label %188
188: ; preds = %184, %183
%189 = load i32, ptr %17, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %17, align 4
br label %37, !llvm.loop !8
.loopexit: ; preds = %46
br label %191
191: ; preds = %.loopexit, %142, %33, %25
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @ferror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @parse_hex_line(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpsn9yi10x.c'
source_filename = "/tmp/tmpsn9yi10x.c"
target datalayout = "e-m:e-p270: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/tmpsn9yi10x.c"
target datalayout = "e-m:e-p270: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/tmp2xl97odp.c'
source_filename = "/tmp/tmp2xl97odp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"null pointer\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"valid pointer\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
%3 = call ptr @malloc(i32 noundef 0)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @puts(ptr noundef @.str)
br label %10
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xl97odp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"null pointer\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"valid pointer\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
%3 = call ptr @malloc(i32 noundef 0)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @puts(ptr noundef @.str)
br label %10
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpla6yry00.c'
source_filename = "/tmp/tmpla6yry00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterDataPut(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 8
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmpla6yry00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterDataPut(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 8
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
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/tmpi7g69xk8.c'
source_filename = "/tmp/tmpi7g69xk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @native_grid_core_init() #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/tmpi7g69xk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @native_grid_core_init() #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/tmpe6bzlki0.c'
source_filename = "/tmp/tmpe6bzlki0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"argv:\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"envp:\0A\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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
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
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 14)
store i32 %10, ptr %8, align 4
%11 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 6)
store i32 1, ptr %9, align 4
br label %12
12: ; preds = %24, %3
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 @write(i32 noundef 1, ptr noundef %21, i32 noundef 1)
%23 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1)
br label %24
24: ; preds = %16
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %7, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %44
30: ; preds = %27
%31 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef 6)
br label %32
32: ; preds = %36, %30
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %33, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load ptr, ptr %7, align 8
%38 = load ptr, ptr %37, align 8
%39 = call i32 @write(i32 noundef 1, ptr noundef %38, i32 noundef 4)
%40 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1)
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds ptr, ptr %41, i32 1
store ptr %42, ptr %7, align 8
br label %32, !llvm.loop !8
43: ; preds = %32
br label %44
44: ; preds = %43, %27
%45 = load i32, ptr %8, align 4
ret i32 %45
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6bzlki0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"argv:\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"envp:\0A\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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
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
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 14)
store i32 %10, ptr %8, align 4
%11 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 6)
store i32 1, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 @write(i32 noundef 1, ptr noundef %20, i32 noundef 1)
%22 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1)
br label %23
23: ; preds = %15
%24 = load i32, ptr %9, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %7, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %48
32: ; preds = %29
%33 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef 6)
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %34, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %.lr.ph2, label %47
.lr.ph2: ; preds = %32
br label %37
37: ; preds = %.lr.ph2, %37
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %38, align 8
%40 = call i32 @write(i32 noundef 1, ptr noundef %39, i32 noundef 4)
%41 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1)
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds ptr, ptr %42, i32 1
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %47
47: ; preds = %._crit_edge3, %32
br label %48
48: ; preds = %47, %29
%49 = load i32, ptr %8, align 4
ret i32 %49
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptqtpr9bk.c'
source_filename = "/tmp/tmptqtpr9bk.c"
target datalayout = "e-m:e-p270: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/tmptqtpr9bk.c"
target datalayout = "e-m:e-p270: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/tmp1k4mxw6j.c'
source_filename = "/tmp/tmp1k4mxw6j.c"
target datalayout = "e-m:e-p270: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/tmp1k4mxw6j.c"
target datalayout = "e-m:e-p270: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/tmpm6_hjks7.c'
source_filename = "/tmp/tmpm6_hjks7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hx4_djbx33a_32_ref(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store ptr %20, ptr %15, align 8
store i32 5381, ptr %16, align 4
%21 = load ptr, ptr %8, align 8
%22 = load i64, ptr %9, align 8
%23 = load ptr, ptr %10, align 8
%24 = load i64, ptr %11, align 8
%25 = load ptr, ptr %12, align 8
%26 = load i64, ptr %13, align 8
%27 = call i32 @hx4_check_params(i32 noundef 4, ptr noundef %21, i64 noundef %22, ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26)
store i32 %27, ptr %17, align 4
%28 = load i32, ptr %17, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %6
%31 = load i32, ptr %17, align 4
store i32 %31, ptr %7, align 4
br label %51
32: ; preds = %6
%33 = load ptr, ptr %8, align 8
store ptr %33, ptr %14, align 8
br label %34
34: ; preds = %38, %32
%35 = load ptr, ptr %14, align 8
%36 = load ptr, ptr %15, align 8
%37 = icmp ult ptr %35, %36
br i1 %37, label %38, label %46
38: ; preds = %34
%39 = load i32, ptr %16, align 4
%40 = mul nsw i32 %39, 33
%41 = load ptr, ptr %14, align 8
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %40, %42
store i32 %43, ptr %16, align 4
%44 = load ptr, ptr %14, align 8
%45 = getelementptr inbounds i32, ptr %44, i32 1
store ptr %45, ptr %14, align 8
br label %34, !llvm.loop !6
46: ; preds = %34
%47 = load ptr, ptr %10, align 8
%48 = call i32 @hx4_xor_cookie_32(ptr noundef %16, ptr noundef %47)
%49 = load ptr, ptr %12, align 8
%50 = call i32 @memcpy(ptr noundef %49, ptr noundef %16, i32 noundef 4)
store i32 0, ptr %7, align 4
br label %51
51: ; preds = %46, %30
%52 = load i32, ptr %7, align 4
ret i32 %52
}
declare i32 @hx4_check_params(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @hx4_xor_cookie_32(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm6_hjks7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hx4_djbx33a_32_ref(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store ptr %20, ptr %15, align 8
store i32 5381, ptr %16, align 4
%21 = load ptr, ptr %8, align 8
%22 = load i64, ptr %9, align 8
%23 = load ptr, ptr %10, align 8
%24 = load i64, ptr %11, align 8
%25 = load ptr, ptr %12, align 8
%26 = load i64, ptr %13, align 8
%27 = call i32 @hx4_check_params(i32 noundef 4, ptr noundef %21, i64 noundef %22, ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26)
store i32 %27, ptr %17, align 4
%28 = load i32, ptr %17, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %6
%31 = load i32, ptr %17, align 4
store i32 %31, ptr %7, align 4
br label %53
32: ; preds = %6
%33 = load ptr, ptr %8, align 8
store ptr %33, ptr %14, align 8
%34 = load ptr, ptr %14, align 8
%35 = load ptr, ptr %15, align 8
%36 = icmp ult ptr %34, %35
br i1 %36, label %.lr.ph, label %48
.lr.ph: ; preds = %32
br label %37
37: ; preds = %.lr.ph, %37
%38 = load i32, ptr %16, align 4
%39 = mul nsw i32 %38, 33
%40 = load ptr, ptr %14, align 8
%41 = load i32, ptr %40, align 4
%42 = add nsw i32 %39, %41
store i32 %42, ptr %16, align 4
%43 = load ptr, ptr %14, align 8
%44 = getelementptr inbounds i32, ptr %43, i32 1
store ptr %44, ptr %14, align 8
%45 = load ptr, ptr %14, align 8
%46 = load ptr, ptr %15, align 8
%47 = icmp ult ptr %45, %46
br i1 %47, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %48
48: ; preds = %._crit_edge, %32
%49 = load ptr, ptr %10, align 8
%50 = call i32 @hx4_xor_cookie_32(ptr noundef %16, ptr noundef %49)
%51 = load ptr, ptr %12, align 8
%52 = call i32 @memcpy(ptr noundef %51, ptr noundef %16, i32 noundef 4)
store i32 0, ptr %7, align 4
br label %53
53: ; preds = %48, %30
%54 = load i32, ptr %7, align 4
ret i32 %54
}
declare i32 @hx4_check_params(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @hx4_xor_cookie_32(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2723yqoj.c'
source_filename = "/tmp/tmp2723yqoj.c"
target datalayout = "e-m:e-p270: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/tmp2723yqoj.c"
target datalayout = "e-m:e-p270: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/tmpw3fu7sbb.c'
source_filename = "/tmp/tmpw3fu7sbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@wfile_nullfile.nullfile = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wfile_nullfile() #0 {
%1 = call i32 @strcpy(ptr noundef @wfile_nullfile.nullfile, ptr noundef @.str)
ret ptr @wfile_nullfile.nullfile
}
declare i32 @strcpy(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/tmpw3fu7sbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@wfile_nullfile.nullfile = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wfile_nullfile() #0 {
%1 = call i32 @strcpy(ptr noundef @wfile_nullfile.nullfile, ptr noundef @.str)
ret ptr @wfile_nullfile.nullfile
}
declare i32 @strcpy(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/tmpc7tkr1l2.c'
source_filename = "/tmp/tmpc7tkr1l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPowerOfThree(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load i32, ptr %3, align 4
%6 = srem i32 %5, 3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br label %11
11: ; preds = %8, %4
%12 = phi i1 [ false, %4 ], [ %10, %8 ]
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = load i32, ptr %3, align 4
%15 = sdiv i32 %14, 3
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 1, ptr %2, align 4
br label %21
20: ; preds = %16
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %2, align 4
ret i32 %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpc7tkr1l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPowerOfThree(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load i32, ptr %3, align 4
%6 = srem i32 %5, 3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br label %11
11: ; preds = %8, %4
%12 = phi i1 [ false, %4 ], [ %10, %8 ]
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = load i32, ptr %3, align 4
%15 = sdiv i32 %14, 3
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 1, ptr %2, align 4
br label %21
20: ; preds = %16
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %2, align 4
ret i32 %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpc7lh6440.c'
source_filename = "/tmp/tmpc7lh6440.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [618 x i8] c"= Usage =\0A./NPKICracker -f <PrivateKey> -m <MinPWLen> -M <MaxPWLen> [Optionial...]\0A\0A= Must-need Arguments =\0A-f : Must Provide NPKI's private key file path\0A-m : Minimum length of attacking password (default is 8)\0A-M : Maximum length of attacking password (default is 12)\0A-c : Charset pool of attacking password\0A\0A= Optionial Arguments =\0A-i : Start from this initial password\0A Usage : -i <InitialPassword>\0A-p : Use custom print interval\0A Usage : -p <PrintInterval>\0A-cl : Use OpenCL\0A If OpenCL is enabled, cpu multithreading will be disabled.\0A OpenCL functionality is not available now.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @JV_Help() #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/tmpc7lh6440.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [618 x i8] c"= Usage =\0A./NPKICracker -f <PrivateKey> -m <MinPWLen> -M <MaxPWLen> [Optionial...]\0A\0A= Must-need Arguments =\0A-f : Must Provide NPKI's private key file path\0A-m : Minimum length of attacking password (default is 8)\0A-M : Maximum length of attacking password (default is 12)\0A-c : Charset pool of attacking password\0A\0A= Optionial Arguments =\0A-i : Start from this initial password\0A Usage : -i <InitialPassword>\0A-p : Use custom print interval\0A Usage : -p <PrintInterval>\0A-cl : Use OpenCL\0A If OpenCL is enabled, cpu multithreading will be disabled.\0A OpenCL functionality is not available now.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @JV_Help() #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/tmpmpsfsuvl.c'
source_filename = "/tmp/tmpmpsfsuvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"load(): opening file\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"load(): varstr_init failed\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i32] [i32 108, i32 111, i32 97, i32 100, i32 40, i32 41, i32 58, i32 32, i32 100, i32 97, i32 116, i32 97, i32 98, i32 97, i32 115, i32 101, i32 32, i32 99, i32 111, i32 114, i32 114, i32 117, i32 112, i32 116, i32 101, i32 100, i32 10, i32 0], align 4
@.str.4 = private unnamed_addr constant [27 x i8] c"load(): error reading file\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"load(): varstr_pack failed\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"load(): internal error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %23
16: ; preds = %1
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOENT, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 2, ptr %2, align 4
br label %136
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %136
23: ; preds = %1
store ptr null, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
br label %24
24: ; preds = %122, %23
%25 = call ptr (...) @varstr_init()
store ptr %25, ptr %5, align 8
%26 = call ptr (...) @varstr_init()
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %29, %24
%33 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %136
34: ; preds = %29
store i32 0, ptr %10, align 4
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @rkey(ptr noundef %35, ptr noundef %36)
store i32 %37, ptr %11, align 4
br label %38
38: ; preds = %120, %34
%39 = load i32, ptr %11, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @rval(ptr noundef %42, ptr noundef %43)
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %41, %38
%46 = load i32, ptr %11, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %45
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %92
51: ; preds = %48, %45
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = load i32, ptr %11, align 4
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %54, %51
%57 = load i32, ptr %9, align 4
%58 = icmp eq i32 %57, -2
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load i32, ptr @stderr, align 4
%61 = call i32 @fwprintf(i32 noundef %60, ptr noundef @.str.3)
store i32 1, ptr %2, align 4
br label %136
62: ; preds = %56
%63 = load i32, ptr %9, align 4
%64 = icmp eq i32 %63, -3
br i1 %64, label %65, label %90
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = call i64 @ferror(ptr noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %2, align 4
br label %136
71: ; preds = %65
%72 = load i32, ptr %11, align 4
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
br label %123
75: ; preds = %71
%76 = load ptr, ptr %5, align 8
%77 = call ptr @varstr_pack(ptr noundef %76)
store ptr %77, ptr %7, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = call ptr @varstr_pack(ptr noundef %80)
store ptr %81, ptr %8, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %85
83: ; preds = %79, %75
%84 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %2, align 4
br label %136
85: ; preds = %79
store ptr null, ptr %6, align 8
store ptr null, ptr %5, align 8
%86 = load ptr, ptr %7, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %11, align 4
%89 = call i32 @store_kv(ptr noundef %86, ptr noundef %87, i32 noundef %88)
br label %123
90: ; preds = %62
%91 = call i32 @perror(ptr noundef @.str.6)
store i32 1, ptr %2, align 4
br label %136
92: ; preds = %48
%93 = load i32, ptr %10, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %99, label %95
95: ; preds = %92
%96 = load ptr, ptr %5, align 8
%97 = call ptr @varstr_pack(ptr noundef %96)
store ptr %97, ptr %7, align 8
%98 = icmp eq ptr %97, null
br i1 %98, label %103, label %99
99: ; preds = %95, %92
%100 = load ptr, ptr %6, align 8
%101 = call ptr @varstr_pack(ptr noundef %100)
store ptr %101, ptr %8, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %105
103: ; preds = %99, %95
%104 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %2, align 4
br label %136
105: ; preds = %99
store ptr null, ptr %6, align 8
store ptr null, ptr %5, align 8
%106 = load ptr, ptr %7, align 8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %11, align 4
%109 = icmp eq i32 %108, 1
%110 = zext i1 %109 to i64
%111 = select i1 %109, i32 1, i32 0
%112 = call i32 @store_kv(ptr noundef %106, ptr noundef %107, i32 noundef %111)
%113 = load i32, ptr %9, align 4
%114 = icmp eq i32 %113, 1
br i1 %114, label %115, label %121
115: ; preds = %105
%116 = call ptr (...) @varstr_init()
store ptr %116, ptr %6, align 8
%117 = icmp eq ptr %116, null
br i1 %117, label %118, label %120
118: ; preds = %115
%119 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %136
120: ; preds = %115
store i32 1, ptr %10, align 4
br label %38
121: ; preds = %105
br label %122
122: ; preds = %121
br i1 true, label %24, label %123
123: ; preds = %122, %85, %74
%124 = load ptr, ptr %5, align 8
%125 = icmp ne ptr %124, null
br i1 %125, label %126, label %129
126: ; preds = %123
%127 = load ptr, ptr %5, align 8
%128 = call i32 @varstr_free(ptr noundef %127)
br label %129
129: ; preds = %126, %123
%130 = load ptr, ptr %6, align 8
%131 = icmp ne ptr %130, null
br i1 %131, label %132, label %135
132: ; preds = %129
%133 = load ptr, ptr %6, align 8
%134 = call i32 @varstr_free(ptr noundef %133)
br label %135
135: ; preds = %132, %129
store i32 0, ptr %2, align 4
br label %136
136: ; preds = %135, %118, %103, %90, %83, %69, %59, %32, %21, %20
%137 = load i32, ptr %2, align 4
ret i32 %137
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @varstr_init(...) #1
declare i32 @rkey(ptr noundef, ptr noundef) #1
declare i32 @rval(ptr noundef, ptr noundef) #1
declare i32 @fwprintf(i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare ptr @varstr_pack(ptr noundef) #1
declare i32 @store_kv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @varstr_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/tmpmpsfsuvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"load(): opening file\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"load(): varstr_init failed\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i32] [i32 108, i32 111, i32 97, i32 100, i32 40, i32 41, i32 58, i32 32, i32 100, i32 97, i32 116, i32 97, i32 98, i32 97, i32 115, i32 101, i32 32, i32 99, i32 111, i32 114, i32 114, i32 117, i32 112, i32 116, i32 101, i32 100, i32 10, i32 0], align 4
@.str.4 = private unnamed_addr constant [27 x i8] c"load(): error reading file\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"load(): varstr_pack failed\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"load(): internal error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %23
16: ; preds = %1
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOENT, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 2, ptr %2, align 4
br label %136
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %136
23: ; preds = %1
store ptr null, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
br label %24
24: ; preds = %122, %23
%25 = call ptr (...) @varstr_init()
store ptr %25, ptr %5, align 8
%26 = call ptr (...) @varstr_init()
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %29, %24
%33 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %136
34: ; preds = %29
store i32 0, ptr %10, align 4
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @rkey(ptr noundef %35, ptr noundef %36)
store i32 %37, ptr %11, align 4
br label %38
38: ; preds = %120, %34
%39 = load i32, ptr %11, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @rval(ptr noundef %42, ptr noundef %43)
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %41, %38
%46 = load i32, ptr %11, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %45
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %92
51: ; preds = %48, %45
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = load i32, ptr %11, align 4
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %54, %51
%57 = load i32, ptr %9, align 4
%58 = icmp eq i32 %57, -2
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load i32, ptr @stderr, align 4
%61 = call i32 @fwprintf(i32 noundef %60, ptr noundef @.str.3)
store i32 1, ptr %2, align 4
br label %136
62: ; preds = %56
%63 = load i32, ptr %9, align 4
%64 = icmp eq i32 %63, -3
br i1 %64, label %65, label %90
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = call i64 @ferror(ptr noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %2, align 4
br label %136
71: ; preds = %65
%72 = load i32, ptr %11, align 4
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
br label %123
75: ; preds = %71
%76 = load ptr, ptr %5, align 8
%77 = call ptr @varstr_pack(ptr noundef %76)
store ptr %77, ptr %7, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = call ptr @varstr_pack(ptr noundef %80)
store ptr %81, ptr %8, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %85
83: ; preds = %79, %75
%84 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %2, align 4
br label %136
85: ; preds = %79
store ptr null, ptr %6, align 8
store ptr null, ptr %5, align 8
%86 = load ptr, ptr %7, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %11, align 4
%89 = call i32 @store_kv(ptr noundef %86, ptr noundef %87, i32 noundef %88)
br label %123
90: ; preds = %62
%91 = call i32 @perror(ptr noundef @.str.6)
store i32 1, ptr %2, align 4
br label %136
92: ; preds = %48
%93 = load i32, ptr %10, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %99, label %95
95: ; preds = %92
%96 = load ptr, ptr %5, align 8
%97 = call ptr @varstr_pack(ptr noundef %96)
store ptr %97, ptr %7, align 8
%98 = icmp eq ptr %97, null
br i1 %98, label %103, label %99
99: ; preds = %95, %92
%100 = load ptr, ptr %6, align 8
%101 = call ptr @varstr_pack(ptr noundef %100)
store ptr %101, ptr %8, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %105
103: ; preds = %99, %95
%104 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %2, align 4
br label %136
105: ; preds = %99
store ptr null, ptr %6, align 8
store ptr null, ptr %5, align 8
%106 = load ptr, ptr %7, align 8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %11, align 4
%109 = icmp eq i32 %108, 1
%110 = zext i1 %109 to i64
%111 = select i1 %109, i32 1, i32 0
%112 = call i32 @store_kv(ptr noundef %106, ptr noundef %107, i32 noundef %111)
%113 = load i32, ptr %9, align 4
%114 = icmp eq i32 %113, 1
br i1 %114, label %115, label %121
115: ; preds = %105
%116 = call ptr (...) @varstr_init()
store ptr %116, ptr %6, align 8
%117 = icmp eq ptr %116, null
br i1 %117, label %118, label %120
118: ; preds = %115
%119 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %136
120: ; preds = %115
store i32 1, ptr %10, align 4
br label %38
121: ; preds = %105
br label %122
122: ; preds = %121
br i1 true, label %24, label %.loopexit
.loopexit: ; preds = %122
br label %123
123: ; preds = %.loopexit, %85, %74
%124 = load ptr, ptr %5, align 8
%125 = icmp ne ptr %124, null
br i1 %125, label %126, label %129
126: ; preds = %123
%127 = load ptr, ptr %5, align 8
%128 = call i32 @varstr_free(ptr noundef %127)
br label %129
129: ; preds = %126, %123
%130 = load ptr, ptr %6, align 8
%131 = icmp ne ptr %130, null
br i1 %131, label %132, label %135
132: ; preds = %129
%133 = load ptr, ptr %6, align 8
%134 = call i32 @varstr_free(ptr noundef %133)
br label %135
135: ; preds = %132, %129
store i32 0, ptr %2, align 4
br label %136
136: ; preds = %135, %118, %103, %90, %83, %69, %59, %32, %21, %20
%137 = load i32, ptr %2, align 4
ret i32 %137
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @varstr_init(...) #1
declare i32 @rkey(ptr noundef, ptr noundef) #1
declare i32 @rval(ptr noundef, ptr noundef) #1
declare i32 @fwprintf(i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare ptr @varstr_pack(ptr noundef) #1
declare i32 @store_kv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @varstr_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/tmpe3qh1yv_.c'
source_filename = "/tmp/tmpe3qh1yv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_data() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1023)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 8, i32 noundef %5)
%7 = load ptr, ptr %1, align 8
ret ptr %7
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fgets(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/tmpe3qh1yv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_data() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1023)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 8, i32 noundef %5)
%7 = load ptr, ptr %1, align 8
ret ptr %7
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fgets(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/tmp86268cwk.c'
source_filename = "/tmp/tmp86268cwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"#define CONFIG_SBRK_BASE ((void *) %p)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @sbrk(i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sbrk(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/tmp86268cwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"#define CONFIG_SBRK_BASE ((void *) %p)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @sbrk(i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sbrk(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/tmpn9myzudt.c'
source_filename = "/tmp/tmpn9myzudt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_refresh() #0 {
%1 = call i32 (...) @refresh()
ret void
}
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn9myzudt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_refresh() #0 {
%1 = call i32 (...) @refresh()
ret void
}
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp53y5jaim.c'
source_filename = "/tmp/tmp53y5jaim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"shmid=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"shared=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"sleeping... (shared value=0)\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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @IPC_PRIVATE, align 4
%6 = load i32, ptr @IPC_CREAT, align 4
%7 = or i32 %6, 384
%8 = call i32 @shmget(i32 noundef %5, i32 noundef 4000, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call ptr @shmat(i32 noundef %11, i32 noundef 0, i32 noundef 0)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = ptrtoint ptr %13 to i32
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %25, %0
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 1000
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr i8, ptr %21, i64 %23
store i32 0, ptr %24, align 4
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %17, !llvm.loop !6
28: ; preds = %17
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%30 = call i32 @sleep(i32 noundef 10)
%31 = load ptr, ptr %4, align 8
store i32 1, ptr %31, align 4
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @shmat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53y5jaim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"shmid=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"shared=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"sleeping... (shared value=0)\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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @IPC_PRIVATE, align 4
%6 = load i32, ptr @IPC_CREAT, align 4
%7 = or i32 %6, 384
%8 = call i32 @shmget(i32 noundef %5, i32 noundef 4000, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call ptr @shmat(i32 noundef %11, i32 noundef 0, i32 noundef 0)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = ptrtoint ptr %13 to i32
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 1000
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %24
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr i8, ptr %20, i64 %22
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %19
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 1000
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%31 = call i32 @sleep(i32 noundef 10)
%32 = load ptr, ptr %4, align 8
store i32 1, ptr %32, align 4
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @shmat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2p8c4tw0.c'
source_filename = "/tmp/tmp2p8c4tw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcc_dmmddac_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %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 ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = load ptr, ptr %15, align 8
%24 = load ptr, ptr %16, align 8
%25 = call i32 @dmmddac_(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
declare i32 @dmmddac_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2p8c4tw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcc_dmmddac_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %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 ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = load ptr, ptr %15, align 8
%24 = load ptr, ptr %16, align 8
%25 = call i32 @dmmddac_(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
declare i32 @dmmddac_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvy3b6r63.c'
source_filename = "/tmp/tmpvy3b6r63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVirtexProgrammed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @readReg(ptr noundef %4, i32 noundef 260, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = and i32 %6, 256
%8 = icmp ne i32 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @readReg(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/tmpvy3b6r63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVirtexProgrammed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @readReg(ptr noundef %4, i32 noundef 260, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = and i32 %6, 256
%8 = icmp ne i32 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @readReg(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/tmp6lg0axwc.c'
source_filename = "/tmp/tmp6lg0axwc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.A = private unnamed_addr constant [10 x i32] [i32 10, i32 2, i32 9, i32 3, i32 8, i32 4, i32 7, i32 5, i32 6, i32 1], align 16
@.str = private unnamed_addr constant [34 x i8] c"The %dth smallest element is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 40, i1 false)
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @printArray(ptr noundef %4, i32 noundef 10)
store i32 1, ptr %3, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 10
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%12 = load i32, ptr %3, align 4
%13 = call i32 @quickSelect(ptr noundef %11, i32 noundef 0, i32 noundef 9, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = call i32 (...) @getchar()
%20 = load i32, ptr %1, align 4
ret i32 %20
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArray(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @quickSelect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6lg0axwc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.A = private unnamed_addr constant [10 x i32] [i32 10, i32 2, i32 9, i32 3, i32 8, i32 4, i32 7, i32 5, i32 6, i32 1], align 16
@.str = private unnamed_addr constant [34 x i8] c"The %dth smallest element is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 40, i1 false)
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @printArray(ptr noundef %4, i32 noundef 10)
store i32 1, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %3, align 4
%12 = call i32 @quickSelect(ptr noundef %10, i32 noundef 0, i32 noundef 9, i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %17, 10
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 (...) @getchar()
%21 = load i32, ptr %1, align 4
ret i32 %21
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArray(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @quickSelect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp597qjf1.c'
source_filename = "/tmp/tmpp597qjf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" fibo = %f\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
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds double, ptr %14, i64 0
store double 1.000000e+00, ptr %15, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds double, ptr %16, i64 1
store double 1.000000e+00, ptr %17, align 8
store i32 1, ptr %8, align 4
br label %18
18: ; preds = %40, %2
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %43
22: ; preds = %18
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %23, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %29, i64 %32
%34 = load double, ptr %33, align 8
%35 = fadd double %28, %34
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
store double %35, ptr %39, align 8
br label %40
40: ; preds = %22
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = call i32 @printf(ptr noundef @.str, double noundef %48)
%50 = load ptr, ptr %7, align 8
%51 = call i32 @free(ptr noundef %50)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp597qjf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" fibo = %f\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
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds double, ptr %14, i64 0
store double 1.000000e+00, ptr %15, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds double, ptr %16, i64 1
store double 1.000000e+00, ptr %17, align 8
store i32 1, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %39
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %8, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %22, i64 %25
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = sub nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %28, i64 %31
%33 = load double, ptr %32, align 8
%34 = fadd double %27, %33
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
store double %34, ptr %38, align 8
br label %39
39: ; preds = %21
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %2
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = call i32 @printf(ptr noundef @.str, double noundef %50)
%52 = load ptr, ptr %7, align 8
%53 = call i32 @free(ptr noundef %52)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptbsfa3u8.c'
source_filename = "/tmp/tmptbsfa3u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateMemory(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @reallocateMemory(ptr noundef null, i64 noundef %3)
ret ptr %4
}
declare ptr @reallocateMemory(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbsfa3u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateMemory(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @reallocateMemory(ptr noundef null, i64 noundef %3)
ret ptr %4
}
declare ptr @reallocateMemory(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpks27oof7.c'
source_filename = "/tmp/tmpks27oof7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_prime(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 = icmp sle i32 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %30
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 1, ptr %2, align 4
br label %30
12: ; preds = %8
store i32 2, ptr %4, align 4
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = call i64 @sqrt(i32 noundef %15)
%17 = trunc i64 %16 to i32
%18 = icmp sle i32 %14, %17
br i1 %18, label %19, label %29
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = srem i32 %20, %21
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr %2, align 4
br label %30
25: ; preds = %19
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %13, !llvm.loop !6
29: ; preds = %13
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %24, %11, %7
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i64 @sqrt(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/tmpks27oof7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_prime(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 = icmp sle i32 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %34
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 1, ptr %2, align 4
br label %34
12: ; preds = %8
store i32 2, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = call i64 @sqrt(i32 noundef %14)
%16 = trunc i64 %15 to i32
%17 = icmp sle i32 %13, %16
br i1 %17, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %25
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = srem i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %2, align 4
br label %34
24: ; preds = %18
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = call i64 @sqrt(i32 noundef %29)
%31 = trunc i64 %30 to i32
%32 = icmp sle i32 %28, %31
br i1 %32, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %12
store i32 1, ptr %2, align 4
br label %34
34: ; preds = %33, %23, %11, %7
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i64 @sqrt(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/tmpe2fsakq_.c'
source_filename = "/tmp/tmpe2fsakq_.c"
target datalayout = "e-m:e-p270: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/tmpe2fsakq_.c"
target datalayout = "e-m:e-p270: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_1x5ogcf.c'
source_filename = "/tmp/tmp_1x5ogcf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_1x5ogcf.c"
target datalayout = "e-m:e-p270: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/tmp8vkpqts4.c'
source_filename = "/tmp/tmp8vkpqts4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"this_file_doesnt_exist\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nocrash_fsetpos() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fsetpos(ptr noundef %7, ptr noundef %2)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %6, %0
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fsetpos(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vkpqts4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"this_file_doesnt_exist\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nocrash_fsetpos() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fsetpos(ptr noundef %7, ptr noundef %2)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %6, %0
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fsetpos(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpja_zzu4x.c'
source_filename = "/tmp/tmpja_zzu4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @crc_update(i32 noundef 0, ptr noundef %5, i32 noundef %6)
%8 = xor i32 %7, 0
ret i32 %8
}
declare i32 @crc_update(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/tmpja_zzu4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @crc_update(i32 noundef 0, ptr noundef %5, i32 noundef %6)
%8 = xor i32 %7, 0
ret i32 %8
}
declare i32 @crc_update(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/tmpgbg42cpf.c'
source_filename = "/tmp/tmpgbg42cpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, ptr noundef null)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgbg42cpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, ptr noundef null)
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"}
|
; ModuleID = '/tmp/tmpiwij7lx_.c'
source_filename = "/tmp/tmpiwij7lx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"fail to getenv\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"$HOME is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/home/admin\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"fail to setenv\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"$HOME is %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @perror(ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 0)
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = call i32 @perror(ptr noundef @.str.4)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %9
%18 = call ptr @getenv(ptr noundef @.str)
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %17
%25 = load ptr, ptr %2, align 8
%26 = call i32 @printf(ptr noundef @.str.5, ptr noundef %25)
%27 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 1)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = call i32 @perror(ptr noundef @.str.4)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %24
%33 = call ptr @getenv(ptr noundef @.str)
store ptr %33, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = call i32 @perror(ptr noundef @.str.1)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %32
%40 = load ptr, ptr %2, align 8
%41 = call i32 @printf(ptr noundef @.str.5, ptr noundef %40)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @setenv(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" }
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/tmpiwij7lx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"fail to getenv\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"$HOME is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/home/admin\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"fail to setenv\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"$HOME is %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @perror(ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 0)
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = call i32 @perror(ptr noundef @.str.4)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %9
%18 = call ptr @getenv(ptr noundef @.str)
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %17
%25 = load ptr, ptr %2, align 8
%26 = call i32 @printf(ptr noundef @.str.5, ptr noundef %25)
%27 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 1)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = call i32 @perror(ptr noundef @.str.4)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %24
%33 = call ptr @getenv(ptr noundef @.str)
store ptr %33, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = call i32 @perror(ptr noundef @.str.1)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %32
%40 = load ptr, ptr %2, align 8
%41 = call i32 @printf(ptr noundef @.str.5, ptr noundef %40)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @setenv(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" }
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/tmpcuzna5hx.c'
source_filename = "/tmp/tmpcuzna5hx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_burst_nextra(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i64 @get_nchan_from_depth(i32 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i64, ptr %3, align 8
store i64 %14, ptr %6, align 8
br label %15
15: ; preds = %13, %2
%16 = load i64, ptr %6, align 8
ret i64 %16
}
declare i64 @get_nchan_from_depth(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/tmpcuzna5hx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_burst_nextra(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i64 @get_nchan_from_depth(i32 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i64, ptr %3, align 8
store i64 %14, ptr %6, align 8
br label %15
15: ; preds = %13, %2
%16 = load i64, ptr %6, align 8
ret i64 %16
}
declare i64 @get_nchan_from_depth(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/tmpaq50yza8.c'
source_filename = "/tmp/tmpaq50yza8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = call ptr @malloc(i64 noundef %4) #2
ret ptr %5
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaq50yza8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = call ptr @malloc(i64 noundef %4) #2
ret ptr %5
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpke23vp7w.c'
source_filename = "/tmp/tmpke23vp7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_getline_ptr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
br label %8
8: ; preds = %24, %2
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %4, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @EOF, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %14, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load i8, ptr %5, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br label %22
22: ; preds = %18, %12, %8
%23 = phi i1 [ false, %12 ], [ false, %8 ], [ %21, %18 ]
br i1 %23, label %24, label %28
24: ; preds = %22
%25 = load i8, ptr %5, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %3, align 8
store i8 %25, ptr %26, align 1
br label %8, !llvm.loop !6
28: ; preds = %22
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i8, ptr %5, align 1
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %3, align 8
store i8 %33, ptr %34, align 1
br label %36
36: ; preds = %32, %28
%37 = load ptr, ptr %3, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %6, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
ret i32 %43
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpke23vp7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_getline_ptr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
br label %8
8: ; preds = %24, %2
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %4, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @EOF, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %14, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load i8, ptr %5, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br label %22
22: ; preds = %18, %12, %8
%23 = phi i1 [ false, %12 ], [ false, %8 ], [ %21, %18 ]
br i1 %23, label %24, label %28
24: ; preds = %22
%25 = load i8, ptr %5, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %3, align 8
store i8 %25, ptr %26, align 1
br label %8, !llvm.loop !6
28: ; preds = %22
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i8, ptr %5, align 1
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %3, align 8
store i8 %33, ptr %34, align 1
br label %36
36: ; preds = %32, %28
%37 = load ptr, ptr %3, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %6, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
ret i32 %43
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdcd3_x5l.c'
source_filename = "/tmp/tmpdcd3_x5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s.Timing\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fuzz\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"%s: timing: %6s = %5d %s (default %d %s, fuzz %d)\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"%s: timing: %6s = %5d %s (default %d %s)\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"%s: timing: %6s = %5d %s (default)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timing(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [256 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%14 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = call i32 @qprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, ptr noundef %15)
%17 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%18 = call i32 @cfg_number(ptr noundef %17, ptr noundef @.str.1, i32 noundef 100, i32 noundef 1, i32 noundef -1, ptr noundef %12)
%19 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = call i32 @cfg_number(ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef -1, ptr noundef %13)
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %12, align 4
%25 = mul nsw i32 %23, %24
%26 = sdiv i32 %25, 100
store i32 %26, ptr %13, align 4
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %51
30: ; preds = %5
%31 = load i32, ptr %12, align 4
%32 = icmp ne i32 %31, 100
br i1 %32, label %33, label %42
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %13, align 4
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %9, align 4
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %12, align 4
%41 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.2, ptr noundef %34, ptr noundef %35, i32 noundef %36, ptr noundef %37, i32 noundef %38, ptr noundef %39, i32 noundef %40)
br label %50
42: ; preds = %30
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %13, align 4
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %9, align 4
%48 = load ptr, ptr %10, align 8
%49 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.3, ptr noundef %43, ptr noundef %44, i32 noundef %45, ptr noundef %46, i32 noundef %47, ptr noundef %48)
br label %50
50: ; preds = %42, %33
br label %57
51: ; preds = %5
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %9, align 4
%55 = load ptr, ptr %10, align 8
%56 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.4, ptr noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55)
br label %57
57: ; preds = %51, %50
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
ret i64 %59
}
declare i32 @qprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @cfg_number(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @message(i32 noundef, ptr noundef, ptr noundef, 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/tmpdcd3_x5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s.Timing\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fuzz\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"%s: timing: %6s = %5d %s (default %d %s, fuzz %d)\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"%s: timing: %6s = %5d %s (default %d %s)\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"%s: timing: %6s = %5d %s (default)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timing(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [256 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%14 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = call i32 @qprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, ptr noundef %15)
%17 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%18 = call i32 @cfg_number(ptr noundef %17, ptr noundef @.str.1, i32 noundef 100, i32 noundef 1, i32 noundef -1, ptr noundef %12)
%19 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = call i32 @cfg_number(ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef -1, ptr noundef %13)
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %12, align 4
%25 = mul nsw i32 %23, %24
%26 = sdiv i32 %25, 100
store i32 %26, ptr %13, align 4
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %51
30: ; preds = %5
%31 = load i32, ptr %12, align 4
%32 = icmp ne i32 %31, 100
br i1 %32, label %33, label %42
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %13, align 4
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %9, align 4
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %12, align 4
%41 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.2, ptr noundef %34, ptr noundef %35, i32 noundef %36, ptr noundef %37, i32 noundef %38, ptr noundef %39, i32 noundef %40)
br label %50
42: ; preds = %30
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %13, align 4
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %9, align 4
%48 = load ptr, ptr %10, align 8
%49 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.3, ptr noundef %43, ptr noundef %44, i32 noundef %45, ptr noundef %46, i32 noundef %47, ptr noundef %48)
br label %50
50: ; preds = %42, %33
br label %57
51: ; preds = %5
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %9, align 4
%55 = load ptr, ptr %10, align 8
%56 = call i32 (i32, ptr, ptr, ptr, i32, ptr, ...) @message(i32 noundef 1, ptr noundef @.str.4, ptr noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55)
br label %57
57: ; preds = %51, %50
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
ret i64 %59
}
declare i32 @qprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @cfg_number(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @message(i32 noundef, ptr noundef, ptr noundef, 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/tmptw_lfq00.c'
source_filename = "/tmp/tmptw_lfq00.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"format: launch_pin <replay dir> <pin_tool_name>\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)
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/tmptw_lfq00.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"format: launch_pin <replay dir> <pin_tool_name>\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)
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/tmplq2jm092.c'
source_filename = "/tmp/tmplq2jm092.c"
target datalayout = "e-m:e-p270: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/tmplq2jm092.c"
target datalayout = "e-m:e-p270: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_my9n30p.c'
source_filename = "/tmp/tmp_my9n30p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for 7\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x37() #0 {
%1 = call i32 @isascii(i32 noundef 55)
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 280, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isascii(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_my9n30p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for 7\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x37() #0 {
%1 = call i32 @isascii(i32 noundef 55)
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 280, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isascii(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/tmpjehvvrfn.c'
source_filename = "/tmp/tmpjehvvrfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Bitte geben sie eine Nummer ein: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"\0ADas war keine Nummer. Versuchen sie es erneut: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lese_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
br label %5
5: ; preds = %26, %0
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %3)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %20, %8
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = call signext i8 (...) @getchar()
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 10
br label %18
18: ; preds = %14, %10
%19 = phi i1 [ false, %10 ], [ %17, %14 ]
br i1 %19, label %20, label %21
20: ; preds = %18
br label %10, !llvm.loop !6
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @printf(ptr noundef @.str.2)
br label %26
26: ; preds = %24, %21
br label %5, !llvm.loop !8
27: ; preds = %5
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjehvvrfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Bitte geben sie eine Nummer ein: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"\0ADas war keine Nummer. Versuchen sie es erneut: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lese_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %24
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %3)
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %17, %7
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 10
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = call signext i8 (...) @getchar()
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br label %17
17: ; preds = %13, %9
%18 = phi i1 [ false, %9 ], [ %16, %13 ]
br i1 %18, label %9, label %19, !llvm.loop !6
19: ; preds = %17
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @printf(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %19
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %7, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %24
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjjx2wace.c'
source_filename = "/tmp/tmpjjx2wace.c"
target datalayout = "e-m:e-p270: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/tmpjjx2wace.c"
target datalayout = "e-m:e-p270: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/tmp3apddl9w.c'
source_filename = "/tmp/tmp3apddl9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Por favor, dame ::a b c:: de ::: ax2 bx c :: \0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"La unica raiz posible es :\0AX1=%.2lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Las raizes son :\0AX1=%.2lf\0AX2=%.2lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"La ecuacion tiene una solucion compleja. Pruebe con otra\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %9, %10
%12 = load i32, ptr %1, align 4
%13 = mul nsw i32 4, %12
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %13, %14
%16 = sub nsw i32 %11, %15
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %56
19: ; preds = %0
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = call i32 @sqrt(i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = sub nsw i32 %24, %25
%27 = load i32, ptr %1, align 4
%28 = mul nsw i32 2, %27
%29 = sdiv i32 %26, %28
%30 = sitofp i32 %29 to double
store double %30, ptr %5, align 8
%31 = load double, ptr %5, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31)
br label %55
33: ; preds = %19
%34 = load i32, ptr %2, align 4
%35 = sub nsw i32 0, %34
%36 = load i32, ptr %4, align 4
%37 = call i32 @sqrt(i32 noundef %36)
%38 = add nsw i32 %35, %37
%39 = load i32, ptr %1, align 4
%40 = mul nsw i32 2, %39
%41 = sdiv i32 %38, %40
%42 = sitofp i32 %41 to double
store double %42, ptr %5, align 8
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 0, %43
%45 = load i32, ptr %4, align 4
%46 = call i32 @sqrt(i32 noundef %45)
%47 = sub nsw i32 %44, %46
%48 = load i32, ptr %1, align 4
%49 = mul nsw i32 2, %48
%50 = sdiv i32 %47, %49
%51 = sitofp i32 %50 to double
store double %51, ptr %6, align 8
%52 = load double, ptr %5, align 8
%53 = load double, ptr %6, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %52, double noundef %53)
br label %55
55: ; preds = %33, %22
br label %74
56: ; preds = %0
%57 = load i32, ptr %2, align 4
%58 = sub nsw i32 0, %57
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %58, %59
%61 = load i32, ptr %1, align 4
%62 = mul nsw i32 2, %61
%63 = sdiv i32 %60, %62
%64 = sitofp i32 %63 to double
store double %64, ptr %5, align 8
%65 = load i32, ptr %2, align 4
%66 = sub nsw i32 0, %65
%67 = load i32, ptr %4, align 4
%68 = sub nsw i32 %66, %67
%69 = load i32, ptr %1, align 4
%70 = mul nsw i32 2, %69
%71 = sdiv i32 %68, %70
%72 = sitofp i32 %71 to double
store double %72, ptr %6, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %74
74: ; preds = %56, %55
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sqrt(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/tmp3apddl9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Por favor, dame ::a b c:: de ::: ax2 bx c :: \0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"La unica raiz posible es :\0AX1=%.2lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Las raizes son :\0AX1=%.2lf\0AX2=%.2lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"La ecuacion tiene una solucion compleja. Pruebe con otra\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %9, %10
%12 = load i32, ptr %1, align 4
%13 = mul nsw i32 4, %12
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %13, %14
%16 = sub nsw i32 %11, %15
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %56
19: ; preds = %0
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = call i32 @sqrt(i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = sub nsw i32 %24, %25
%27 = load i32, ptr %1, align 4
%28 = mul nsw i32 2, %27
%29 = sdiv i32 %26, %28
%30 = sitofp i32 %29 to double
store double %30, ptr %5, align 8
%31 = load double, ptr %5, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31)
br label %55
33: ; preds = %19
%34 = load i32, ptr %2, align 4
%35 = sub nsw i32 0, %34
%36 = load i32, ptr %4, align 4
%37 = call i32 @sqrt(i32 noundef %36)
%38 = add nsw i32 %35, %37
%39 = load i32, ptr %1, align 4
%40 = mul nsw i32 2, %39
%41 = sdiv i32 %38, %40
%42 = sitofp i32 %41 to double
store double %42, ptr %5, align 8
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 0, %43
%45 = load i32, ptr %4, align 4
%46 = call i32 @sqrt(i32 noundef %45)
%47 = sub nsw i32 %44, %46
%48 = load i32, ptr %1, align 4
%49 = mul nsw i32 2, %48
%50 = sdiv i32 %47, %49
%51 = sitofp i32 %50 to double
store double %51, ptr %6, align 8
%52 = load double, ptr %5, align 8
%53 = load double, ptr %6, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %52, double noundef %53)
br label %55
55: ; preds = %33, %22
br label %74
56: ; preds = %0
%57 = load i32, ptr %2, align 4
%58 = sub nsw i32 0, %57
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %58, %59
%61 = load i32, ptr %1, align 4
%62 = mul nsw i32 2, %61
%63 = sdiv i32 %60, %62
%64 = sitofp i32 %63 to double
store double %64, ptr %5, align 8
%65 = load i32, ptr %2, align 4
%66 = sub nsw i32 0, %65
%67 = load i32, ptr %4, align 4
%68 = sub nsw i32 %66, %67
%69 = load i32, ptr %1, align 4
%70 = mul nsw i32 2, %69
%71 = sdiv i32 %68, %70
%72 = sitofp i32 %71 to double
store double %72, ptr %6, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %74
74: ; preds = %56, %55
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sqrt(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/tmpe9b0p39r.c'
source_filename = "/tmp/tmpe9b0p39r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proof: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %18, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9b0p39r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proof: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgg9o8acq.c'
source_filename = "/tmp/tmpgg9o8acq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3_digest_sha512(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 (...) @EVP_sha512()
%11 = call i32 @sqlite3_digest_type(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @sqlite3_digest_type(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @EVP_sha512(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgg9o8acq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3_digest_sha512(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 (...) @EVP_sha512()
%11 = call i32 @sqlite3_digest_type(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @sqlite3_digest_type(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @EVP_sha512(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfcf6hbz3.c'
source_filename = "/tmp/tmpfcf6hbz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Convert radians to degrees\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Enter a value in radians : \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%.5f radians equals %.3f degrees\0A\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
br label %5
5: ; preds = %5, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = fpext float %8 to double
%10 = fmul double %9, 0x404CA5DC1A47A9E3
%11 = fptrunc double %10 to float
store float %11, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %3, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15)
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fpurge(i32 noundef %17)
br label %5
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fpurge(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/tmpfcf6hbz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Convert radians to degrees\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Enter a value in radians : \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%.5f radians equals %.3f degrees\0A\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
br label %5
5: ; preds = %5, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = fpext float %8 to double
%10 = fmul double %9, 0x404CA5DC1A47A9E3
%11 = fptrunc double %10 to float
store float %11, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %3, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15)
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fpurge(i32 noundef %17)
br label %5
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fpurge(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/tmpr84sg7xc.c'
source_filename = "/tmp/tmpr84sg7xc.c"
target datalayout = "e-m:e-p270: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/tmpr84sg7xc.c"
target datalayout = "e-m:e-p270: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/tmpkqh1wzs3.c'
source_filename = "/tmp/tmpkqh1wzs3.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqh1wzs3.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc690cjf9.c'
source_filename = "/tmp/tmpc690cjf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Intruduce el primer numero entero: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Intruduce el segundo numero entero: \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"\0AEl resultado de %d elevado a %d es: %d\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"\0APulsa Cuanquier tecla para terminar: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [180 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @fgets(ptr noundef %12, i32 noundef 180, i32 noundef %13)
%15 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %6)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 180, i32 noundef %19)
%21 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %7)
br label %23
23: ; preds = %27, %2
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = mul nsw i32 %28, %29
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %23, !llvm.loop !6
33: ; preds = %23
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%40 = load i32, ptr @stdin, align 4
%41 = call i32 @fgets(ptr noundef %39, i32 noundef 180, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc690cjf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Intruduce el primer numero entero: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Intruduce el segundo numero entero: \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"\0AEl resultado de %d elevado a %d es: %d\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"\0APulsa Cuanquier tecla para terminar: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [180 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @fgets(ptr noundef %12, i32 noundef 180, i32 noundef %13)
%15 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %6)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 180, i32 noundef %19)
%21 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %7)
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %26
26: ; preds = %.lr.ph, %26
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %6, align 4
%29 = mul nsw i32 %27, %28
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %35
35: ; preds = %._crit_edge, %2
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %9, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %37, i32 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%41 = getelementptr inbounds [180 x i8], ptr %10, i64 0, i64 0
%42 = load i32, ptr @stdin, align 4
%43 = call i32 @fgets(ptr noundef %41, i32 noundef 180, i32 noundef %42)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(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"}
|
; ModuleID = '/tmp/tmp9e2p_wz4.c'
source_filename = "/tmp/tmp9e2p_wz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat_char(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load i8, ptr %4, align 1
%7 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
store i8 %6, ptr %7, align 1
%8 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 1
store i8 0, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @concat_str(ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @concat_str(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/tmp9e2p_wz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat_char(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load i8, ptr %4, align 1
%7 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
store i8 %6, ptr %7, align 1
%8 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 1
store i8 0, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @concat_str(ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @concat_str(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.