llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpveoif_cu.c'
source_filename = "/tmp/tmpveoif_cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".bmp\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imgWriteImgBmp(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @imgCheckFileExtension(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -4, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 -1, ptr %3, align 4
br label %29
22: ; preds = %16
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @write_img(ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %7, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %22, %21, %15, %11
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @imgCheckFileExtension(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @write_img(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/tmpveoif_cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".bmp\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imgWriteImgBmp(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @imgCheckFileExtension(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -4, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 -1, ptr %3, align 4
br label %29
22: ; preds = %16
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @write_img(ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %7, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %22, %21, %15, %11
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @imgCheckFileExtension(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @write_img(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/tmp08i2lkzk.c'
source_filename = "/tmp/tmp08i2lkzk.c"
target datalayout = "e-m:e-p270: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/tmp08i2lkzk.c"
target datalayout = "e-m:e-p270: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/tmpadsxgxr1.c'
source_filename = "/tmp/tmpadsxgxr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@token2string.buf = internal global ptr null, align 8
@token2string.len = internal global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @token2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = load i8, ptr @token2string.len, align 1
%11 = sext i8 %10 to i32
%12 = icmp sgt i32 %9, %11
br i1 %12, label %13, label %19
13: ; preds = %1
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = trunc i32 %15 to i8
store i8 %16, ptr @token2string.len, align 1
%17 = load i8, ptr @token2string.len, align 1
%18 = call ptr @malloc(i8 noundef signext %17)
store ptr %18, ptr @token2string.buf, align 8
br label %19
19: ; preds = %13, %1
%20 = load ptr, ptr @token2string.buf, align 8
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 2
store ptr %22, ptr %2, align 8
br label %23
23: ; preds = %27, %19
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %3, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i32, ptr %28, i32 1
store ptr %29, ptr %2, align 8
%30 = load i32, ptr %28, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
store i8 %31, ptr %32, align 1
br label %23, !llvm.loop !6
34: ; preds = %23
%35 = load ptr, ptr %4, align 8
store i8 0, ptr %35, align 1
%36 = load ptr, ptr @token2string.buf, align 8
ret ptr %36
}
declare ptr @malloc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadsxgxr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@token2string.buf = internal global ptr null, align 8
@token2string.len = internal global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @token2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = load i8, ptr @token2string.len, align 1
%11 = sext i8 %10 to i32
%12 = icmp sgt i32 %9, %11
br i1 %12, label %13, label %19
13: ; preds = %1
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = trunc i32 %15 to i8
store i8 %16, ptr @token2string.len, align 1
%17 = load i8, ptr @token2string.len, align 1
%18 = call ptr @malloc(i8 noundef signext %17)
store ptr %18, ptr @token2string.buf, align 8
br label %19
19: ; preds = %13, %1
%20 = load ptr, ptr @token2string.buf, align 8
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 2
store ptr %22, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %3, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %.lr.ph, label %36
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds i32, ptr %27, i32 1
store ptr %28, ptr %2, align 8
%29 = load i32, ptr %27, align 4
%30 = trunc i32 %29 to i8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 %30, ptr %31, align 1
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %3, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %36
36: ; preds = %._crit_edge, %19
%37 = load ptr, ptr %4, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr @token2string.buf, align 8
ret ptr %38
}
declare ptr @malloc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpr_kfs5t8.c'
source_filename = "/tmp/tmpr_kfs5t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_pow(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @pow(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr_kfs5t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_pow(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @pow(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe9059nc7.c'
source_filename = "/tmp/tmpe9059nc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strsafe(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @Strsafe_find(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %25
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @Strsafe_insert(ptr noundef %23)
br label %25
25: ; preds = %19, %13, %8
%26 = load ptr, ptr %4, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (...) @memory_error()
br label %30
30: ; preds = %28, %25
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %30, %7
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @Strsafe_find(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @Strsafe_insert(ptr noundef) #1
declare i32 @memory_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9059nc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strsafe(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @Strsafe_find(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %25
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @Strsafe_insert(ptr noundef %23)
br label %25
25: ; preds = %19, %13, %8
%26 = load ptr, ptr %4, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (...) @memory_error()
br label %30
30: ; preds = %28, %25
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %30, %7
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @Strsafe_find(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @Strsafe_insert(ptr noundef) #1
declare i32 @memory_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnpk3orpz.c'
source_filename = "/tmp/tmpnpk3orpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m32setParamsBXX3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = shl i32 %6, 10
%8 = call i32 @chr1setBank3(i32 noundef %7)
ret void
}
declare i32 @chr1setBank3(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/tmpnpk3orpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m32setParamsBXX3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = shl i32 %6, 10
%8 = call i32 @chr1setBank3(i32 noundef %7)
ret void
}
declare i32 @chr1setBank3(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/tmpbbi2f52x.c'
source_filename = "/tmp/tmpbbi2f52x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"allocation failure in dvector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ivector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @nrerror(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbbi2f52x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"allocation failure in dvector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ivector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @nrerror(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9m7aw_e.c'
source_filename = "/tmp/tmpl9m7aw_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SELECT_SOURCE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"VIDEO_SELECT_SOURCE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @videoSelectSource(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @VIDEO_SELECT_SOURCE, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @perror(ptr noundef @.str)
br label %20
20: ; preds = %18, %10
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl9m7aw_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SELECT_SOURCE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"VIDEO_SELECT_SOURCE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @videoSelectSource(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @VIDEO_SELECT_SOURCE, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @perror(ptr noundef @.str)
br label %20
20: ; preds = %18, %10
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4sqfwx82.c'
source_filename = "/tmp/tmp4sqfwx82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_no_check_bad() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 42, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
ret ptr %5
}
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/tmp4sqfwx82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_no_check_bad() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 42, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
ret ptr %5
}
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/tmpa1naslpg.c'
source_filename = "/tmp/tmpa1naslpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s:\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
br label %8
8: ; preds = %28, %3
%9 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%10 = load ptr, ptr %5, align 8
%11 = call ptr @fgets(ptr noundef %9, i32 noundef 512, ptr noundef %10)
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %29
13: ; preds = %8
%14 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = call ptr @strstr(ptr noundef %14, ptr noundef %15)
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = call i32 @printf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %21, %18
%25 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%26 = load i32, ptr @stdout, align 4
%27 = call i32 @fputs(ptr noundef %25, i32 noundef %26)
br label %28
28: ; preds = %24, %13
br label %8, !llvm.loop !6
29: ; preds = %8
ret void
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fputs(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/tmpa1naslpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s:\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 512, ptr noundef %9)
%11 = icmp ne ptr %10, null
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %27
%13 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load ptr, ptr %4, align 8
%22 = call i32 @printf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %20, %17
%24 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fputs(ptr noundef %24, i32 noundef %25)
br label %27
27: ; preds = %23, %12
%28 = load ptr, ptr %5, align 8
%29 = call ptr @fgets(ptr noundef %8, i32 noundef 512, ptr noundef %28)
%30 = icmp ne ptr %29, null
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %31
31: ; preds = %._crit_edge, %3
ret void
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fputs(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/tmpudb8t2d8.c'
source_filename = "/tmp/tmpudb8t2d8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_BUF_LIB = dso_local global i32 0, align 4
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = call i32 (...) @BIO_s_file()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %12, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr @ERR_R_BUF_LIB, align 4
%19 = call i32 @PEMerror(i32 noundef %18)
store i32 0, ptr %6, align 4
br label %34
20: ; preds = %5
%21 = load ptr, ptr %12, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr @BIO_NOCLOSE, align 4
%24 = call i32 @BIO_set_fp(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %12, align 8
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = call i32 @PEM_read_bio(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29)
store i32 %30, ptr %13, align 4
%31 = load ptr, ptr %12, align 8
%32 = call i32 @BIO_free(ptr noundef %31)
%33 = load i32, ptr %13, align 4
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %20, %17
%35 = load i32, ptr %6, align 4
ret i32 %35
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i32 @PEMerror(i32 noundef) #1
declare i32 @BIO_set_fp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @PEM_read_bio(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BIO_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/tmpudb8t2d8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_BUF_LIB = dso_local global i32 0, align 4
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = call i32 (...) @BIO_s_file()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %12, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr @ERR_R_BUF_LIB, align 4
%19 = call i32 @PEMerror(i32 noundef %18)
store i32 0, ptr %6, align 4
br label %34
20: ; preds = %5
%21 = load ptr, ptr %12, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr @BIO_NOCLOSE, align 4
%24 = call i32 @BIO_set_fp(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %12, align 8
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = call i32 @PEM_read_bio(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29)
store i32 %30, ptr %13, align 4
%31 = load ptr, ptr %12, align 8
%32 = call i32 @BIO_free(ptr noundef %31)
%33 = load i32, ptr %13, align 4
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %20, %17
%35 = load i32, ptr %6, align 4
ret i32 %35
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i32 @PEMerror(i32 noundef) #1
declare i32 @BIO_set_fp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @PEM_read_bio(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BIO_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/tmpuh6fwuf9.c'
source_filename = "/tmp/tmpuh6fwuf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glidcube(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @glPushMatrix()
%4 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @glid(i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @glPopMatrix()
%9 = call i32 (...) @glPushMatrix()
%10 = call i32 @glRotatef(i32 noundef 180, i32 noundef 0, i32 noundef 1, i32 noundef 0)
%11 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @glid(i32 noundef %12, i32 noundef %13)
%15 = call i32 (...) @glPopMatrix()
%16 = call i32 (...) @glPushMatrix()
%17 = call i32 @glRotatef(i32 noundef 90, i32 noundef 1, i32 noundef 0, i32 noundef 0)
%18 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @glid(i32 noundef %19, i32 noundef %20)
%22 = call i32 (...) @glPopMatrix()
%23 = call i32 (...) @glPushMatrix()
%24 = call i32 @glRotatef(i32 noundef 90, i32 noundef -1, i32 noundef 0, i32 noundef 0)
%25 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @glid(i32 noundef %26, i32 noundef %27)
%29 = call i32 (...) @glPopMatrix()
%30 = call i32 (...) @glPushMatrix()
%31 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef 1, i32 noundef 0)
%32 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = call i32 @glid(i32 noundef %33, i32 noundef %34)
%36 = call i32 (...) @glPopMatrix()
%37 = call i32 (...) @glPushMatrix()
%38 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef -1, i32 noundef 0)
%39 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = call i32 @glid(i32 noundef %40, i32 noundef %41)
%43 = call i32 (...) @glPopMatrix()
%44 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, double noundef) #1
declare i32 @glid(i32 noundef, i32 noundef) #1
declare i32 @glPopMatrix(...) #1
declare i32 @glRotatef(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuh6fwuf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glidcube(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @glPushMatrix()
%4 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @glid(i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @glPopMatrix()
%9 = call i32 (...) @glPushMatrix()
%10 = call i32 @glRotatef(i32 noundef 180, i32 noundef 0, i32 noundef 1, i32 noundef 0)
%11 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @glid(i32 noundef %12, i32 noundef %13)
%15 = call i32 (...) @glPopMatrix()
%16 = call i32 (...) @glPushMatrix()
%17 = call i32 @glRotatef(i32 noundef 90, i32 noundef 1, i32 noundef 0, i32 noundef 0)
%18 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @glid(i32 noundef %19, i32 noundef %20)
%22 = call i32 (...) @glPopMatrix()
%23 = call i32 (...) @glPushMatrix()
%24 = call i32 @glRotatef(i32 noundef 90, i32 noundef -1, i32 noundef 0, i32 noundef 0)
%25 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @glid(i32 noundef %26, i32 noundef %27)
%29 = call i32 (...) @glPopMatrix()
%30 = call i32 (...) @glPushMatrix()
%31 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef 1, i32 noundef 0)
%32 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = call i32 @glid(i32 noundef %33, i32 noundef %34)
%36 = call i32 (...) @glPopMatrix()
%37 = call i32 (...) @glPushMatrix()
%38 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef -1, i32 noundef 0)
%39 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 0, double noundef -5.000000e-01)
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = call i32 @glid(i32 noundef %40, i32 noundef %41)
%43 = call i32 (...) @glPopMatrix()
%44 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, double noundef) #1
declare i32 @glid(i32 noundef, i32 noundef) #1
declare i32 @glPopMatrix(...) #1
declare i32 @glRotatef(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj_s7skq5.c'
source_filename = "/tmp/tmpj_s7skq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"| \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"<BR>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pipelineDumpCmds(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %26, %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds ptr, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %7, align 8
store ptr %9, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %27
11: ; preds = %6
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 0, ptr %4, align 4
br label %17
15: ; preds = %11
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %17
17: ; preds = %15, %14
br label %18
18: ; preds = %23, %17
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %3, align 8
%21 = load ptr, ptr %19, align 8
store ptr %21, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %18, !llvm.loop !6
26: ; preds = %18
br label %6, !llvm.loop !8
27: ; preds = %6
%28 = 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_s7skq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"| \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"<BR>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pipelineDumpCmds(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i32 1
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %6, align 8
store ptr %8, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph2, label %33
.lr.ph2: ; preds = %1
br label %10
10: ; preds = %.lr.ph2, %28
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %4, align 4
br label %16
14: ; preds = %10
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %16
16: ; preds = %14, %13
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %17, align 8
store ptr %19, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %28
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %24, align 8
store ptr %26, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %16
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds ptr, ptr %29, i32 1
store ptr %30, ptr %2, align 8
%31 = load ptr, ptr %29, align 8
store ptr %31, ptr %3, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %1
%34 = 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuxy4va5d.c'
source_filename = "/tmp/tmpuxy4va5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endswith(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %9, align 8
store i64 0, ptr %8, align 8
br label %12
12: ; preds = %34, %3
%13 = load i64, ptr %8, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %37
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = add i64 %18, %19
%21 = load i64, ptr %7, align 8
%22 = sub i64 %20, %21
%23 = getelementptr inbounds i8, ptr %17, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %25, %30
br i1 %31, label %32, label %33
32: ; preds = %16
store i32 0, ptr %4, align 4
br label %38
33: ; preds = %16
br label %34
34: ; preds = %33
%35 = load i64, ptr %8, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %8, align 8
br label %12, !llvm.loop !6
37: ; preds = %12
store i32 1, ptr %4, align 4
br label %38
38: ; preds = %37, %32
%39 = load i32, ptr %4, align 4
ret i32 %39
}
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/tmpuxy4va5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endswith(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %9, align 8
store i64 0, ptr %8, align 8
%12 = load i64, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %33
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = add i64 %17, %18
%20 = load i64, ptr %7, align 8
%21 = sub i64 %19, %20
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load ptr, ptr %6, align 8
%26 = load i64, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %24, %29
br i1 %30, label %31, label %32
31: ; preds = %15
store i32 0, ptr %4, align 4
br label %40
32: ; preds = %15
br label %33
33: ; preds = %32
%34 = load i64, ptr %8, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %8, align 8
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %7, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %3
store i32 1, ptr %4, align 4
br label %40
40: ; preds = %39, %31
%41 = load i32, ptr %4, align 4
ret i32 %41
}
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/tmpl46kq5cg.c'
source_filename = "/tmp/tmpl46kq5cg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"* \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x i32], align 16
%3 = alloca [21 x i32], align 16
%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 %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %20, %0
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %17
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
store i32 0, ptr %7, align 4
br label %24
24: ; preds = %39, %23
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %42
28: ; preds = %24
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.1)
br label %38
36: ; preds = %28
%37 = call i32 @printf(ptr noundef @.str.2)
br label %38
38: ; preds = %36, %34
br label %39
39: ; preds = %38
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %24, !llvm.loop !8
42: ; preds = %24
%43 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
br label %44
44: ; preds = %113, %42
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %45, 1000
br i1 %46, label %47, label %116
47: ; preds = %44
%48 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 0
%49 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 0
%50 = load i32, ptr %4, align 4
%51 = call i32 @next_generation(ptr noundef %48, ptr noundef %49, i32 noundef %50)
store i32 0, ptr %6, align 4
br label %52
52: ; preds = %67, %47
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %70
56: ; preds = %52
%57 = load i32, ptr %6, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %62
store i32 %60, ptr %63, align 4
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 %65
store i32 0, ptr %66, align 4
br label %67
67: ; preds = %56
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %6, align 4
br label %52, !llvm.loop !9
70: ; preds = %52
store i32 0, ptr %7, align 4
br label %71
71: ; preds = %86, %70
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = icmp eq i32 %79, 1
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 @printf(ptr noundef @.str.1)
br label %85
83: ; preds = %75
%84 = call i32 @printf(ptr noundef @.str.2)
br label %85
85: ; preds = %83, %81
br label %86
86: ; preds = %85
%87 = load i32, ptr %7, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %7, align 4
br label %71, !llvm.loop !10
89: ; preds = %71
%90 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %91
91: ; preds = %105, %89
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %4, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %108
95: ; preds = %91
%96 = load i32, ptr %8, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = icmp eq i32 %99, 1
br i1 %100, label %101, label %104
101: ; preds = %95
%102 = load i32, ptr %9, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %9, align 4
br label %104
104: ; preds = %101, %95
br label %105
105: ; preds = %104
%106 = load i32, ptr %8, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %8, align 4
br label %91, !llvm.loop !11
108: ; preds = %91
%109 = load i32, ptr %9, align 4
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %108
br label %116
112: ; preds = %108
br label %113
113: ; preds = %112
%114 = load i32, ptr %5, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %5, align 4
br label %44, !llvm.loop !12
116: ; preds = %111, %44
%117 = load i32, ptr %1, align 4
ret i32 %117
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @next_generation(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl46kq5cg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"* \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x i32], align 16
%3 = alloca [21 x i32], align 16
%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 %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %19
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %46
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %40
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @printf(ptr noundef @.str.1)
br label %39
37: ; preds = %29
%38 = call i32 @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %35
br label %40
40: ; preds = %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %25
%47 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %48, 1000
br i1 %49, label %.lr.ph14, label %.loopexit
.lr.ph14: ; preds = %46
br label %50
50: ; preds = %.lr.ph14, %122
%51 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 0
%52 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 0
%53 = load i32, ptr %4, align 4
%54 = call i32 @next_generation(ptr noundef %51, ptr noundef %52, i32 noundef %53)
store i32 0, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph5, label %75
.lr.ph5: ; preds = %50
br label %58
58: ; preds = %.lr.ph5, %69
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %64
store i32 %62, ptr %65, align 4
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [21 x i32], ptr %3, i64 0, i64 %67
store i32 0, ptr %68, align 4
br label %69
69: ; preds = %58
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %69
br label %75
75: ; preds = %._crit_edge6, %50
store i32 0, ptr %7, align 4
%76 = load i32, ptr %7, align 4
%77 = load i32, ptr %4, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph8, label %96
.lr.ph8: ; preds = %75
br label %79
79: ; preds = %.lr.ph8, %90
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 1
br i1 %84, label %85, label %87
85: ; preds = %79
%86 = call i32 @printf(ptr noundef @.str.1)
br label %89
87: ; preds = %79
%88 = call i32 @printf(ptr noundef @.str.2)
br label %89
89: ; preds = %87, %85
br label %90
90: ; preds = %89
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %7, align 4
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %4, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %79, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %90
br label %96
96: ; preds = %._crit_edge9, %75
%97 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %4, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph11, label %117
.lr.ph11: ; preds = %96
br label %101
101: ; preds = %.lr.ph11, %111
%102 = load i32, ptr %8, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [21 x i32], ptr %2, i64 0, i64 %103
%105 = load i32, ptr %104, align 4
%106 = icmp eq i32 %105, 1
br i1 %106, label %107, label %110
107: ; preds = %101
%108 = load i32, ptr %9, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %9, align 4
br label %110
110: ; preds = %107, %101
br label %111
111: ; preds = %110
%112 = load i32, ptr %8, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %8, align 4
%114 = load i32, ptr %8, align 4
%115 = load i32, ptr %4, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %101, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %111
br label %117
117: ; preds = %._crit_edge12, %96
%118 = load i32, ptr %9, align 4
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %117
br label %127
121: ; preds = %117
br label %122
122: ; preds = %121
%123 = load i32, ptr %5, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %5, align 4
%125 = load i32, ptr %5, align 4
%126 = icmp slt i32 %125, 1000
br i1 %126, label %50, label %..loopexit_crit_edge, !llvm.loop !12
..loopexit_crit_edge: ; preds = %122
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %46
br label %127
127: ; preds = %.loopexit, %120
%128 = load i32, ptr %1, align 4
ret i32 %128
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @next_generation(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp2y2t5eun.c'
source_filename = "/tmp/tmp2y2t5eun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineto(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i32 @glVertex2f(float noundef %5, float noundef %6)
ret void
}
declare i32 @glVertex2f(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2y2t5eun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineto(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i32 @glVertex2f(float noundef %5, float noundef %6)
ret void
}
declare i32 @glVertex2f(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0bdj2q6.c'
source_filename = "/tmp/tmpy0bdj2q6.c"
target datalayout = "e-m:e-p270: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/tmpy0bdj2q6.c"
target datalayout = "e-m:e-p270: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/tmpnzhvzgl1.c'
source_filename = "/tmp/tmpnzhvzgl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i64 @softboundmpx_strtoul(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i64 @strtoul(ptr noundef %8, ptr noundef %9, i32 noundef %10)
store i64 %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = call i32 @__softboundmpx_read_shadow_stack_metadata_store(ptr noundef %15, i32 noundef 1)
br label %17
17: ; preds = %14, %3
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @__softboundmpx_read_shadow_stack_metadata_store(ptr noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnzhvzgl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i64 @softboundmpx_strtoul(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i64 @strtoul(ptr noundef %8, ptr noundef %9, i32 noundef %10)
store i64 %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = call i32 @__softboundmpx_read_shadow_stack_metadata_store(ptr noundef %15, i32 noundef 1)
br label %17
17: ; preds = %14, %3
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @__softboundmpx_read_shadow_stack_metadata_store(ptr noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpecgfchoa.c'
source_filename = "/tmp/tmpecgfchoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"%08x %02x %02x %02x %02x little endian\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shwsd(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 2
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 3
%18 = load i8, ptr %17, align 1
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15, i8 noundef zeroext %18)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecgfchoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"%08x %02x %02x %02x %02x little endian\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shwsd(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 2
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 3
%18 = load i8, ptr %17, align 1
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15, i8 noundef zeroext %18)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoda7thyh.c'
source_filename = "/tmp/tmpoda7thyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%d %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 2
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 3
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 4
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoda7thyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%d %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 2
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 3
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 4
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xot75j3.c'
source_filename = "/tmp/tmp3xot75j3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsNumber(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 @IsHex(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @IsDecimal(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @IsHex(ptr noundef) #1
declare i64 @IsDecimal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xot75j3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsNumber(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 @IsHex(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @IsDecimal(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @IsHex(ptr noundef) #1
declare i64 @IsDecimal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ldokl44.c'
source_filename = "/tmp/tmp1ldokl44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_NAME_ENTRY_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_NAME_ENTRY_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @ASN1_item_dup(ptr noundef @X509_NAME_ENTRY_it, ptr noundef %3)
ret ptr %4
}
declare ptr @ASN1_item_dup(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/tmp1ldokl44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_NAME_ENTRY_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_NAME_ENTRY_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @ASN1_item_dup(ptr noundef @X509_NAME_ENTRY_it, ptr noundef %3)
ret ptr %4
}
declare ptr @ASN1_item_dup(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/tmpz8han7gq.c'
source_filename = "/tmp/tmpz8han7gq.c"
target datalayout = "e-m:e-p270: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/tmpz8han7gq.c"
target datalayout = "e-m:e-p270: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/tmpthpc8jw5.c'
source_filename = "/tmp/tmpthpc8jw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threeTS() #0 {
%1 = call i32 (...) @timeShift()
%2 = call i32 (...) @timeShift()
%3 = call i32 (...) @timeShift()
ret void
}
declare i32 @timeShift(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpthpc8jw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threeTS() #0 {
%1 = call i32 (...) @timeShift()
%2 = call i32 (...) @timeShift()
%3 = call i32 (...) @timeShift()
ret void
}
declare i32 @timeShift(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsok4dbrf.c'
source_filename = "/tmp/tmpsok4dbrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32 }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_uint32_t(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
switch i32 %9, label %27 [
i32 129, label %10
i32 130, label %15
i32 128, label %25
]
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @XDR_PUTLONG(ptr noundef %13, ptr noundef %6)
store i32 %14, ptr %3, align 4
br label %29
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i32 @XDR_GETLONG(ptr noundef %16, ptr noundef %6)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load i32, ptr @FALSE, align 4
store i32 %20, ptr %3, align 4
br label %29
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
store i32 %22, ptr %23, align 4
%24 = load i32, ptr @TRUE, align 4
store i32 %24, ptr %3, align 4
br label %29
25: ; preds = %2
%26 = load i32, ptr @TRUE, align 4
store i32 %26, ptr %3, align 4
br label %29
27: ; preds = %2
%28 = load i32, ptr @FALSE, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %27, %25, %21, %19, %10
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1
declare i32 @XDR_GETLONG(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/tmpsok4dbrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32 }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_uint32_t(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
switch i32 %9, label %27 [
i32 129, label %10
i32 130, label %15
i32 128, label %25
]
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @XDR_PUTLONG(ptr noundef %13, ptr noundef %6)
store i32 %14, ptr %3, align 4
br label %29
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i32 @XDR_GETLONG(ptr noundef %16, ptr noundef %6)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load i32, ptr @FALSE, align 4
store i32 %20, ptr %3, align 4
br label %29
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
store i32 %22, ptr %23, align 4
%24 = load i32, ptr @TRUE, align 4
store i32 %24, ptr %3, align 4
br label %29
25: ; preds = %2
%26 = load i32, ptr @TRUE, align 4
store i32 %26, ptr %3, align 4
br label %29
27: ; preds = %2
%28 = load i32, ptr @FALSE, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %27, %25, %21, %19, %10
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1
declare i32 @XDR_GETLONG(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/tmp6scwzd7v.c'
source_filename = "/tmp/tmp6scwzd7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CmdRdChk() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %15, %0
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %18
8: ; preds = %4
%9 = call i32 @RegReadA(i32 noundef 639, ptr noundef %2)
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = icmp eq i32 %11, 172
br i1 %12, label %13, label %14
13: ; preds = %8
store i8 0, ptr %1, align 1
br label %19
14: ; preds = %8
br label %15
15: ; preds = %14
%16 = load i8, ptr %3, align 1
%17 = add i8 %16, 1
store i8 %17, ptr %3, align 1
br label %4, !llvm.loop !6
18: ; preds = %4
store i8 1, ptr %1, align 1
br label %19
19: ; preds = %18, %13
%20 = load i8, ptr %1, align 1
ret i8 %20
}
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6scwzd7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CmdRdChk() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp slt i32 %5, 3
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %14
%8 = call i32 @RegReadA(i32 noundef 639, ptr noundef %2)
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 %10, 172
br i1 %11, label %12, label %13
12: ; preds = %7
store i8 0, ptr %1, align 1
br label %21
13: ; preds = %7
br label %14
14: ; preds = %13
%15 = load i8, ptr %3, align 1
%16 = add i8 %15, 1
store i8 %16, ptr %3, align 1
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = icmp slt i32 %18, 3
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %0
store i8 1, ptr %1, align 1
br label %21
21: ; preds = %20, %12
%22 = load i8, ptr %1, align 1
ret i8 %22
}
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy2ov0jxj.c'
source_filename = "/tmp/tmpy2ov0jxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @biscWaitTime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
7: ; preds = %1
%8 = call i32 @biscSendByte(i32 noundef 155)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = sdiv i32 %12, 100
%14 = call i32 @biscSendByte(i32 noundef %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %18
17: ; preds = %11
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %10, %6
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @biscSendByte(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/tmpy2ov0jxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @biscWaitTime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
7: ; preds = %1
%8 = call i32 @biscSendByte(i32 noundef 155)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = sdiv i32 %12, 100
%14 = call i32 @biscSendByte(i32 noundef %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %18
17: ; preds = %11
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %10, %6
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @biscSendByte(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/tmpys8mqhxo.c'
source_filename = "/tmp/tmpys8mqhxo.c"
target datalayout = "e-m:e-p270: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
; 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 @stdout, align 4
%7 = call i32 @gentrain(i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @gentxfilt(i32 noundef %8)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @genrxfilt(i32 noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @gencos(i32 noundef %12)
ret i32 0
}
declare i32 @gentrain(i32 noundef) #1
declare i32 @gentxfilt(i32 noundef) #1
declare i32 @genrxfilt(i32 noundef) #1
declare i32 @gencos(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/tmpys8mqhxo.c"
target datalayout = "e-m:e-p270: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
; 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 @stdout, align 4
%7 = call i32 @gentrain(i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @gentxfilt(i32 noundef %8)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @genrxfilt(i32 noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @gencos(i32 noundef %12)
ret i32 0
}
declare i32 @gentrain(i32 noundef) #1
declare i32 @gentxfilt(i32 noundef) #1
declare i32 @genrxfilt(i32 noundef) #1
declare i32 @gencos(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/tmphyonc6gm.c'
source_filename = "/tmp/tmphyonc6gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BMJHayward/graphviz/refs/heads/distrotech-graphviz/3rd/graphviz/cmd/lefty/mem.c\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Marrayreallocate\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"cannot re-allocate array\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Marraygrow(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @panic1(ptr noundef @.str, i32 noundef 179, ptr noundef @.str.1, ptr noundef @.str.2)
br label %11
11: ; preds = %9, %2
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @panic1(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyonc6gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BMJHayward/graphviz/refs/heads/distrotech-graphviz/3rd/graphviz/cmd/lefty/mem.c\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Marrayreallocate\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"cannot re-allocate array\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Marraygrow(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @panic1(ptr noundef @.str, i32 noundef 179, ptr noundef @.str.1, ptr noundef @.str.2)
br label %11
11: ; preds = %9, %2
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @panic1(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvv2fscq3.c'
source_filename = "/tmp/tmpvv2fscq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim_lines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
br label %7
7: ; preds = %35, %1
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %12, %7
%16 = phi i1 [ false, %7 ], [ %14, %12 ]
br i1 %16, label %17, label %38
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = getelementptr inbounds i8, ptr %21, i64 -1
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 13
br i1 %26, label %32, label %27
27: ; preds = %17
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %32, label %34
32: ; preds = %27, %17
%33 = load ptr, ptr %3, align 8
store i8 0, ptr %33, align 1
br label %35
34: ; preds = %27
br label %38
35: ; preds = %32
%36 = load ptr, ptr %2, align 8
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %4, align 4
br label %7, !llvm.loop !6
38: ; preds = %34, %15
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
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/tmpvv2fscq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim_lines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
br label %7
7: ; preds = %35, %1
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %12, %7
%16 = phi i1 [ false, %7 ], [ %14, %12 ]
br i1 %16, label %17, label %.loopexit
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = getelementptr inbounds i8, ptr %21, i64 -1
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 13
br i1 %26, label %32, label %27
27: ; preds = %17
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %32, label %34
32: ; preds = %27, %17
%33 = load ptr, ptr %3, align 8
store i8 0, ptr %33, align 1
br label %35
34: ; preds = %27
br label %38
35: ; preds = %32
%36 = load ptr, ptr %2, align 8
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %4, align 4
br label %7, !llvm.loop !6
.loopexit: ; preds = %15
br label %38
38: ; preds = %.loopexit, %34
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
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/tmphd0wg0h_.c'
source_filename = "/tmp/tmphd0wg0h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"SELECT * FROM USERS WHERE username=\22\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @compose_user_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @calloc(i32 noundef 1, i32 noundef 400)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcat(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcat(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.1)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphd0wg0h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"SELECT * FROM USERS WHERE username=\22\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @compose_user_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @calloc(i32 noundef 1, i32 noundef 400)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcat(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcat(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.1)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17rwgj6j.c'
source_filename = "/tmp/tmp17rwgj6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strjoin_key(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call ptr @ft_strnew(i32 noundef 1)
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @ft_strjoin_free(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @ft_strjoin_free(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @ft_strjoin_free(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
declare ptr @ft_strnew(i32 noundef) #1
declare ptr @ft_strjoin_free(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/tmp17rwgj6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strjoin_key(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call ptr @ft_strnew(i32 noundef 1)
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @ft_strjoin_free(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @ft_strjoin_free(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @ft_strjoin_free(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
declare ptr @ft_strnew(i32 noundef) #1
declare ptr @ft_strjoin_free(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/tmpijjyihr2.c'
source_filename = "/tmp/tmpijjyihr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um numero\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"%d n\C6o eh primo\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d \82 primo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %7
7: ; preds = %23, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 2
%11 = icmp sle i32 %8, %10
br i1 %11, label %12, label %24
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
store i32 1, ptr %4, align 4
br label %24
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20
br label %7, !llvm.loop !6
24: ; preds = %17, %7
%25 = load i32, ptr %4, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28)
br label %30
30: ; preds = %27, %24
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijjyihr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um numero\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"%d n\C6o eh primo\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d \82 primo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 2
%10 = icmp sle i32 %7, %9
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %22
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
store i32 1, ptr %4, align 4
br label %27
19: ; preds = %11
%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 = %19
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = sdiv i32 %24, 2
%26 = icmp sle i32 %23, %25
br i1 %26, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %27
27: ; preds = %.loopexit, %16
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
br label %33
33: ; preds = %30, %27
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3cfu_xb_.c'
source_filename = "/tmp/tmp3cfu_xb_.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Usage: %s\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" [-c <configuration filename>] \0A\00", align 1
@.str.3 = private unnamed_addr constant [72 x i8] c" [-d] [-s] [-l <log level (0-7)>] [-f <syslog facility (0-14)>]\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c" [-r <port>] \0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Options: \0A\00", align 1
@.str.6 = private unnamed_addr constant [61 x i8] c" -d : run in daemon mode \0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c" -c <configuration filename> : specify configuration file \0A\00", align 1
@.str.8 = private unnamed_addr constant [64 x i8] c" -s : logs output to syslog \0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c" -l <log level (0-7)> : specify log level \0A\00", align 1
@.str.10 = private unnamed_addr constant [66 x i8] c" -f <syslog facility (0-14)> : specify syslog facility \0A\00", align 1
@.str.11 = private unnamed_addr constant [64 x i8] c" -r <port> : specify recovery port \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = 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)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.2)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.6)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.7)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str)
%32 = 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/tmp3cfu_xb_.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Usage: %s\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" [-c <configuration filename>] \0A\00", align 1
@.str.3 = private unnamed_addr constant [72 x i8] c" [-d] [-s] [-l <log level (0-7)>] [-f <syslog facility (0-14)>]\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c" [-r <port>] \0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Options: \0A\00", align 1
@.str.6 = private unnamed_addr constant [61 x i8] c" -d : run in daemon mode \0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c" -c <configuration filename> : specify configuration file \0A\00", align 1
@.str.8 = private unnamed_addr constant [64 x i8] c" -s : logs output to syslog \0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c" -l <log level (0-7)> : specify log level \0A\00", align 1
@.str.10 = private unnamed_addr constant [66 x i8] c" -f <syslog facility (0-14)> : specify syslog facility \0A\00", align 1
@.str.11 = private unnamed_addr constant [64 x i8] c" -r <port> : specify recovery port \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = 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)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.2)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.6)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.7)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str)
%32 = 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/tmp8n799_jb.c'
source_filename = "/tmp/tmp8n799_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x%n\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opt_int(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
br label %14
14: ; preds = %27, %5
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %7, align 8
%17 = load i8, ptr %15, align 1
%18 = sext i8 %17 to i32
%19 = call i32 @tolower(i32 noundef %18) #3
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %8, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %19, %23
br i1 %24, label %25, label %26
25: ; preds = %14
store i32 0, ptr %6, align 4
br label %78
26: ; preds = %14
br label %27
27: ; preds = %26
%28 = load ptr, ptr %8, align 8
%29 = load i8, ptr %28, align 1
%30 = icmp ne i8 %29, 0
br i1 %30, label %14, label %31, !llvm.loop !6
31: ; preds = %27
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 61
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
br label %39
39: ; preds = %36, %31
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 48
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 1
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 120
br label %51
51: ; preds = %45, %39
%52 = phi i1 [ false, %39 ], [ %50, %45 ]
%53 = zext i1 %52 to i64
%54 = select i1 %52, ptr @.str, ptr @.str.1
%55 = call i32 @sscanf(ptr noundef %40, ptr noundef %54, ptr noundef %12, ptr noundef %13)
%56 = icmp ne i32 %55, 1
br i1 %56, label %57, label %58
57: ; preds = %51
store i32 0, ptr %6, align 4
br label %78
58: ; preds = %51
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %74, label %62
62: ; preds = %58
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %11, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %74, label %66
66: ; preds = %62
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %66, %62, %58
store i32 0, ptr %6, align 4
br label %78
75: ; preds = %66
%76 = load i32, ptr %12, align 4
%77 = load ptr, ptr %9, align 8
store i32 %76, ptr %77, align 4
store i32 1, ptr %6, align 4
br label %78
78: ; preds = %75, %74, %57, %25
%79 = load i32, ptr %6, align 4
ret i32 %79
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8n799_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x%n\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opt_int(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
br label %14
14: ; preds = %27, %5
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %7, align 8
%17 = load i8, ptr %15, align 1
%18 = sext i8 %17 to i32
%19 = call i32 @tolower(i32 noundef %18) #3
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %8, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %19, %23
br i1 %24, label %25, label %26
25: ; preds = %14
store i32 0, ptr %6, align 4
br label %78
26: ; preds = %14
br label %27
27: ; preds = %26
%28 = load ptr, ptr %8, align 8
%29 = load i8, ptr %28, align 1
%30 = icmp ne i8 %29, 0
br i1 %30, label %14, label %31, !llvm.loop !6
31: ; preds = %27
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 61
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
br label %39
39: ; preds = %36, %31
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 48
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 1
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 120
br label %51
51: ; preds = %45, %39
%52 = phi i1 [ false, %39 ], [ %50, %45 ]
%53 = zext i1 %52 to i64
%54 = select i1 %52, ptr @.str, ptr @.str.1
%55 = call i32 @sscanf(ptr noundef %40, ptr noundef %54, ptr noundef %12, ptr noundef %13)
%56 = icmp ne i32 %55, 1
br i1 %56, label %57, label %58
57: ; preds = %51
store i32 0, ptr %6, align 4
br label %78
58: ; preds = %51
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %74, label %62
62: ; preds = %58
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %11, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %74, label %66
66: ; preds = %62
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %66, %62, %58
store i32 0, ptr %6, align 4
br label %78
75: ; preds = %66
%76 = load i32, ptr %12, align 4
%77 = load ptr, ptr %9, align 8
store i32 %76, ptr %77, align 4
store i32 1, ptr %6, align 4
br label %78
78: ; preds = %75, %74, %57, %25
%79 = load i32, ptr %6, align 4
ret i32 %79
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpurmhb7t5.c'
source_filename = "/tmp/tmpurmhb7t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDMAChannelAddressGet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = add nsw i32 %5, 520
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 16, %7
%9 = add nsw i32 %6, %8
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
ret ptr %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpurmhb7t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDMAChannelAddressGet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = add nsw i32 %5, 520
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 16, %7
%9 = add nsw i32 %6, %8
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
ret ptr %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptah06rr0.c'
source_filename = "/tmp/tmptah06rr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @callMe()
%4 = call i32 (...) @callName()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @callMe(...) #1
declare i32 @callName(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptah06rr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @callMe()
%4 = call i32 (...) @callName()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @callMe(...) #1
declare i32 @callName(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmkqhrfg.c'
source_filename = "/tmp/tmpsmkqhrfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [112 x i8] c"/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --app http://www.youtube.com/watch?v=LOZuxwVk7TU\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @toxic() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmkqhrfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [112 x i8] c"/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --app http://www.youtube.com/watch?v=LOZuxwVk7TU\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @toxic() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo34lhifn.c'
source_filename = "/tmp/tmpo34lhifn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo34lhifn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp83ttcbjm.c'
source_filename = "/tmp/tmp83ttcbjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Can only pack multiple of 4 samples!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pack2bit1chan(ptr noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3, float noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [4 x i32], align 16
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%20 = load i32, ptr %13, align 4
%21 = srem i32 %20, 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %6
%24 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %216
25: ; preds = %6
%26 = load float, ptr %11, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %12, align 4
%29 = fpext float %28 to double
%30 = call double @llvm.fmuladd.f64(double %29, double 0x3FEE666666666666, double %27)
%31 = fptrunc double %30 to float
store float %31, ptr %17, align 4
%32 = load float, ptr %11, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %12, align 4
%35 = fpext float %34 to double
%36 = fneg double %35
%37 = call double @llvm.fmuladd.f64(double %36, double 0x3FEE666666666666, double %33)
%38 = fptrunc double %37 to float
store float %38, ptr %18, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 0
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
store ptr %44, ptr %19, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
br label %45
45: ; preds = %191, %25
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %215
49: ; preds = %45
%50 = load ptr, ptr %19, align 8
%51 = load i32, ptr %14, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %50, i64 %52
%54 = load float, ptr %53, align 4
%55 = load float, ptr %17, align 4
%56 = fcmp oge float %54, %55
br i1 %56, label %57, label %59
57: ; preds = %49
%58 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 3, ptr %58, align 16
br label %83
59: ; preds = %49
%60 = load ptr, ptr %19, align 8
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
%64 = load float, ptr %63, align 4
%65 = load float, ptr %18, align 4
%66 = fcmp ole float %64, %65
br i1 %66, label %67, label %69
67: ; preds = %59
%68 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 0, ptr %68, align 16
br label %82
69: ; preds = %59
%70 = load ptr, ptr %19, align 8
%71 = load i32, ptr %14, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %70, i64 %72
%74 = load float, ptr %73, align 4
%75 = load float, ptr %11, align 4
%76 = fcmp ogt float %74, %75
br i1 %76, label %77, label %79
77: ; preds = %69
%78 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 2, ptr %78, align 16
br label %81
79: ; preds = %69
%80 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 1, ptr %80, align 16
br label %81
81: ; preds = %79, %77
br label %82
82: ; preds = %81, %67
br label %83
83: ; preds = %82, %57
%84 = load i32, ptr %14, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %14, align 4
%86 = load ptr, ptr %19, align 8
%87 = load i32, ptr %14, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds float, ptr %86, i64 %88
%90 = load float, ptr %89, align 4
%91 = load float, ptr %17, align 4
%92 = fcmp oge float %90, %91
br i1 %92, label %93, label %95
93: ; preds = %83
%94 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 3, ptr %94, align 4
br label %119
95: ; preds = %83
%96 = load ptr, ptr %19, align 8
%97 = load i32, ptr %14, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds float, ptr %96, i64 %98
%100 = load float, ptr %99, align 4
%101 = load float, ptr %18, align 4
%102 = fcmp ole float %100, %101
br i1 %102, label %103, label %105
103: ; preds = %95
%104 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 0, ptr %104, align 4
br label %118
105: ; preds = %95
%106 = load ptr, ptr %19, align 8
%107 = load i32, ptr %14, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds float, ptr %106, i64 %108
%110 = load float, ptr %109, align 4
%111 = load float, ptr %11, align 4
%112 = fcmp ogt float %110, %111
br i1 %112, label %113, label %115
113: ; preds = %105
%114 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 2, ptr %114, align 4
br label %117
115: ; preds = %105
%116 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 1, ptr %116, align 4
br label %117
117: ; preds = %115, %113
br label %118
118: ; preds = %117, %103
br label %119
119: ; preds = %118, %93
%120 = load i32, ptr %14, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %14, align 4
%122 = load ptr, ptr %19, align 8
%123 = load i32, ptr %14, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds float, ptr %122, i64 %124
%126 = load float, ptr %125, align 4
%127 = load float, ptr %17, align 4
%128 = fcmp oge float %126, %127
br i1 %128, label %129, label %131
129: ; preds = %119
%130 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 3, ptr %130, align 8
br label %155
131: ; preds = %119
%132 = load ptr, ptr %19, align 8
%133 = load i32, ptr %14, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds float, ptr %132, i64 %134
%136 = load float, ptr %135, align 4
%137 = load float, ptr %18, align 4
%138 = fcmp ole float %136, %137
br i1 %138, label %139, label %141
139: ; preds = %131
%140 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 0, ptr %140, align 8
br label %154
141: ; preds = %131
%142 = load ptr, ptr %19, align 8
%143 = load i32, ptr %14, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds float, ptr %142, i64 %144
%146 = load float, ptr %145, align 4
%147 = load float, ptr %11, align 4
%148 = fcmp ogt float %146, %147
br i1 %148, label %149, label %151
149: ; preds = %141
%150 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 2, ptr %150, align 8
br label %153
151: ; preds = %141
%152 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 1, ptr %152, align 8
br label %153
153: ; preds = %151, %149
br label %154
154: ; preds = %153, %139
br label %155
155: ; preds = %154, %129
%156 = load i32, ptr %14, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %14, align 4
%158 = load ptr, ptr %19, align 8
%159 = load i32, ptr %14, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds float, ptr %158, i64 %160
%162 = load float, ptr %161, align 4
%163 = load float, ptr %17, align 4
%164 = fcmp oge float %162, %163
br i1 %164, label %165, label %167
165: ; preds = %155
%166 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 3, ptr %166, align 4
br label %191
167: ; preds = %155
%168 = load ptr, ptr %19, align 8
%169 = load i32, ptr %14, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %168, i64 %170
%172 = load float, ptr %171, align 4
%173 = load float, ptr %18, align 4
%174 = fcmp ole float %172, %173
br i1 %174, label %175, label %177
175: ; preds = %167
%176 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 0, ptr %176, align 4
br label %190
177: ; preds = %167
%178 = load ptr, ptr %19, align 8
%179 = load i32, ptr %14, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds float, ptr %178, i64 %180
%182 = load float, ptr %181, align 4
%183 = load float, ptr %11, align 4
%184 = fcmp ogt float %182, %183
br i1 %184, label %185, label %187
185: ; preds = %177
%186 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 2, ptr %186, align 4
br label %189
187: ; preds = %177
%188 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 1, ptr %188, align 4
br label %189
189: ; preds = %187, %185
br label %190
190: ; preds = %189, %175
br label %191
191: ; preds = %190, %165
%192 = load i32, ptr %14, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %14, align 4
%194 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
%195 = load i32, ptr %194, align 16
%196 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
%197 = load i32, ptr %196, align 4
%198 = shl i32 %197, 2
%199 = or i32 %195, %198
%200 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
%201 = load i32, ptr %200, align 8
%202 = shl i32 %201, 4
%203 = or i32 %199, %202
%204 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
%205 = load i32, ptr %204, align 4
%206 = shl i32 %205, 6
%207 = or i32 %203, %206
%208 = trunc i32 %207 to i8
%209 = load ptr, ptr %10, align 8
%210 = load i32, ptr %15, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i8, ptr %209, i64 %211
store i8 %208, ptr %212, align 1
%213 = load i32, ptr %15, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %15, align 4
br label %45, !llvm.loop !6
215: ; preds = %45
store i32 0, ptr %7, align 4
br label %216
216: ; preds = %215, %23
%217 = load i32, ptr %7, align 4
ret i32 %217
}
declare i32 @printf(ptr 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/tmp83ttcbjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Can only pack multiple of 4 samples!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pack2bit1chan(ptr noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3, float noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [4 x i32], align 16
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%20 = load i32, ptr %13, align 4
%21 = srem i32 %20, 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %6
%24 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %218
25: ; preds = %6
%26 = load float, ptr %11, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %12, align 4
%29 = fpext float %28 to double
%30 = call double @llvm.fmuladd.f64(double %29, double 0x3FEE666666666666, double %27)
%31 = fptrunc double %30 to float
store float %31, ptr %17, align 4
%32 = load float, ptr %11, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %12, align 4
%35 = fpext float %34 to double
%36 = fneg double %35
%37 = call double @llvm.fmuladd.f64(double %36, double 0x3FEE666666666666, double %33)
%38 = fptrunc double %37 to float
store float %38, ptr %18, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 0
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
store ptr %44, ptr %19, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %217
.lr.ph: ; preds = %25
br label %48
48: ; preds = %.lr.ph, %190
%49 = load ptr, ptr %19, align 8
%50 = load i32, ptr %14, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %49, i64 %51
%53 = load float, ptr %52, align 4
%54 = load float, ptr %17, align 4
%55 = fcmp oge float %53, %54
br i1 %55, label %56, label %58
56: ; preds = %48
%57 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 3, ptr %57, align 16
br label %82
58: ; preds = %48
%59 = load ptr, ptr %19, align 8
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %59, i64 %61
%63 = load float, ptr %62, align 4
%64 = load float, ptr %18, align 4
%65 = fcmp ole float %63, %64
br i1 %65, label %66, label %68
66: ; preds = %58
%67 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 0, ptr %67, align 16
br label %81
68: ; preds = %58
%69 = load ptr, ptr %19, align 8
%70 = load i32, ptr %14, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %69, i64 %71
%73 = load float, ptr %72, align 4
%74 = load float, ptr %11, align 4
%75 = fcmp ogt float %73, %74
br i1 %75, label %76, label %78
76: ; preds = %68
%77 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 2, ptr %77, align 16
br label %80
78: ; preds = %68
%79 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 1, ptr %79, align 16
br label %80
80: ; preds = %78, %76
br label %81
81: ; preds = %80, %66
br label %82
82: ; preds = %81, %56
%83 = load i32, ptr %14, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %14, align 4
%85 = load ptr, ptr %19, align 8
%86 = load i32, ptr %14, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds float, ptr %85, i64 %87
%89 = load float, ptr %88, align 4
%90 = load float, ptr %17, align 4
%91 = fcmp oge float %89, %90
br i1 %91, label %92, label %94
92: ; preds = %82
%93 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 3, ptr %93, align 4
br label %118
94: ; preds = %82
%95 = load ptr, ptr %19, align 8
%96 = load i32, ptr %14, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds float, ptr %95, i64 %97
%99 = load float, ptr %98, align 4
%100 = load float, ptr %18, align 4
%101 = fcmp ole float %99, %100
br i1 %101, label %102, label %104
102: ; preds = %94
%103 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 0, ptr %103, align 4
br label %117
104: ; preds = %94
%105 = load ptr, ptr %19, align 8
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds float, ptr %105, i64 %107
%109 = load float, ptr %108, align 4
%110 = load float, ptr %11, align 4
%111 = fcmp ogt float %109, %110
br i1 %111, label %112, label %114
112: ; preds = %104
%113 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 2, ptr %113, align 4
br label %116
114: ; preds = %104
%115 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
store i32 1, ptr %115, align 4
br label %116
116: ; preds = %114, %112
br label %117
117: ; preds = %116, %102
br label %118
118: ; preds = %117, %92
%119 = load i32, ptr %14, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %14, align 4
%121 = load ptr, ptr %19, align 8
%122 = load i32, ptr %14, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %121, i64 %123
%125 = load float, ptr %124, align 4
%126 = load float, ptr %17, align 4
%127 = fcmp oge float %125, %126
br i1 %127, label %128, label %130
128: ; preds = %118
%129 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 3, ptr %129, align 8
br label %154
130: ; preds = %118
%131 = load ptr, ptr %19, align 8
%132 = load i32, ptr %14, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds float, ptr %131, i64 %133
%135 = load float, ptr %134, align 4
%136 = load float, ptr %18, align 4
%137 = fcmp ole float %135, %136
br i1 %137, label %138, label %140
138: ; preds = %130
%139 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 0, ptr %139, align 8
br label %153
140: ; preds = %130
%141 = load ptr, ptr %19, align 8
%142 = load i32, ptr %14, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds float, ptr %141, i64 %143
%145 = load float, ptr %144, align 4
%146 = load float, ptr %11, align 4
%147 = fcmp ogt float %145, %146
br i1 %147, label %148, label %150
148: ; preds = %140
%149 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 2, ptr %149, align 8
br label %152
150: ; preds = %140
%151 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
store i32 1, ptr %151, align 8
br label %152
152: ; preds = %150, %148
br label %153
153: ; preds = %152, %138
br label %154
154: ; preds = %153, %128
%155 = load i32, ptr %14, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %14, align 4
%157 = load ptr, ptr %19, align 8
%158 = load i32, ptr %14, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds float, ptr %157, i64 %159
%161 = load float, ptr %160, align 4
%162 = load float, ptr %17, align 4
%163 = fcmp oge float %161, %162
br i1 %163, label %164, label %166
164: ; preds = %154
%165 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 3, ptr %165, align 4
br label %190
166: ; preds = %154
%167 = load ptr, ptr %19, align 8
%168 = load i32, ptr %14, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds float, ptr %167, i64 %169
%171 = load float, ptr %170, align 4
%172 = load float, ptr %18, align 4
%173 = fcmp ole float %171, %172
br i1 %173, label %174, label %176
174: ; preds = %166
%175 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 0, ptr %175, align 4
br label %189
176: ; preds = %166
%177 = load ptr, ptr %19, align 8
%178 = load i32, ptr %14, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds float, ptr %177, i64 %179
%181 = load float, ptr %180, align 4
%182 = load float, ptr %11, align 4
%183 = fcmp ogt float %181, %182
br i1 %183, label %184, label %186
184: ; preds = %176
%185 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 2, ptr %185, align 4
br label %188
186: ; preds = %176
%187 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
store i32 1, ptr %187, align 4
br label %188
188: ; preds = %186, %184
br label %189
189: ; preds = %188, %174
br label %190
190: ; preds = %189, %164
%191 = load i32, ptr %14, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %14, align 4
%193 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
%194 = load i32, ptr %193, align 16
%195 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 1
%196 = load i32, ptr %195, align 4
%197 = shl i32 %196, 2
%198 = or i32 %194, %197
%199 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 2
%200 = load i32, ptr %199, align 8
%201 = shl i32 %200, 4
%202 = or i32 %198, %201
%203 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 3
%204 = load i32, ptr %203, align 4
%205 = shl i32 %204, 6
%206 = or i32 %202, %205
%207 = trunc i32 %206 to i8
%208 = load ptr, ptr %10, align 8
%209 = load i32, ptr %15, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds i8, ptr %208, i64 %210
store i8 %207, ptr %211, align 1
%212 = load i32, ptr %15, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %15, align 4
%214 = load i32, ptr %14, align 4
%215 = load i32, ptr %13, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %190
br label %217
217: ; preds = %._crit_edge, %25
store i32 0, ptr %7, align 4
br label %218
218: ; preds = %217, %23
%219 = load i32, ptr %7, align 4
ret i32 %219
}
declare i32 @printf(ptr 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/tmpdtbn7u8q.c'
source_filename = "/tmp/tmpdtbn7u8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @refreshtimeout(ptr noundef %0, i32 %1, i64 %2) #0 {
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 8
%6 = alloca ptr, align 8
%7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0
store i32 %1, ptr %7, align 8
%8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1
store i64 %2, ptr %8, align 8
store ptr %0, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%13 = load i32, ptr %12, align 8
%14 = sub nsw i32 %11, %13
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %19, %21
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 1
store i64 %22, ptr %24, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 8
%28 = mul nsw i32 %27, 1000000
%29 = sext i32 %28 to i64
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %29, %32
%34 = icmp sle i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %3
store i32 1, ptr %4, align 4
br label %37
36: ; preds = %3
store i32 0, ptr %4, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %4, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdtbn7u8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @refreshtimeout(ptr noundef %0, i32 %1, i64 %2) #0 {
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 8
%6 = alloca ptr, align 8
%7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0
store i32 %1, ptr %7, align 8
%8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1
store i64 %2, ptr %8, align 8
store ptr %0, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%13 = load i32, ptr %12, align 8
%14 = sub nsw i32 %11, %13
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %19, %21
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 1
store i64 %22, ptr %24, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 8
%28 = mul nsw i32 %27, 1000000
%29 = sext i32 %28 to i64
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %29, %32
%34 = icmp sle i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %3
store i32 1, ptr %4, align 4
br label %37
36: ; preds = %3
store i32 0, ptr %4, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %4, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3in96oed.c'
source_filename = "/tmp/tmp3in96oed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec3_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [3 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @vec3_sub(ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%11 = call double @vec3_norm(ptr noundef %10)
ret double %11
}
declare i32 @vec3_sub(ptr noundef, ptr noundef, ptr noundef) #1
declare double @vec3_norm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3in96oed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec3_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [3 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @vec3_sub(ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%11 = call double @vec3_norm(ptr noundef %10)
ret double %11
}
declare i32 @vec3_sub(ptr noundef, ptr noundef, ptr noundef) #1
declare double @vec3_norm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5z22gdhi.c'
source_filename = "/tmp/tmp5z22gdhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @symlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EACCES, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5z22gdhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @symlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EACCES, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvdgri0yo.c'
source_filename = "/tmp/tmpvdgri0yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Array Indices:\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"[%d][%d]=%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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [8 x [8 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %26, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %8, label %29
8: ; preds = %5
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %22, %8
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 8
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %13, %14
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [8 x [8 x i32]], ptr %4, i64 0, i64 %17
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [8 x i32], ptr %18, i64 0, i64 %20
store i32 %15, ptr %21, align 4
br label %22
22: ; preds = %12
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
br label %26
26: ; preds = %25
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %5, !llvm.loop !8
29: ; preds = %5
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %31
31: ; preds = %54, %29
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 8
br i1 %33, label %34, label %57
34: ; preds = %31
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %49, %34
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %36, 8
br i1 %37, label %38, label %52
38: ; preds = %35
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [8 x [8 x i32]], ptr %4, i64 0, i64 %42
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [8 x i32], ptr %43, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40, i32 noundef %47)
br label %49
49: ; preds = %38
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
br label %35, !llvm.loop !9
52: ; preds = %35
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %54
54: ; preds = %52
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %2, align 4
br label %31, !llvm.loop !10
57: ; preds = %31
%58 = call i32 (...) @getchar()
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpvdgri0yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Array Indices:\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"[%d][%d]=%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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [8 x [8 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %.lr.ph2, label %31
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %26
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %20
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = mul nsw i32 %11, %12
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [8 x [8 x i32]], ptr %4, i64 0, i64 %15
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [8 x i32], ptr %16, i64 0, i64 %18
store i32 %13, ptr %19, align 4
br label %20
20: ; preds = %10
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 8
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %7
br label %26
26: ; preds = %25
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 8
br i1 %34, label %.lr.ph8, label %61
.lr.ph8: ; preds = %31
br label %35
35: ; preds = %.lr.ph8, %56
store i32 0, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %36, 8
br i1 %37, label %.lr.ph5, label %54
.lr.ph5: ; preds = %35
br label %38
38: ; preds = %.lr.ph5, %49
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [8 x [8 x i32]], ptr %4, i64 0, i64 %42
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [8 x i32], ptr %43, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40, i32 noundef %47)
br label %49
49: ; preds = %38
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 8
br i1 %53, label %38, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %49
br label %54
54: ; preds = %._crit_edge6, %35
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %56
56: ; preds = %54
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %59, 8
br i1 %60, label %35, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %56
br label %61
61: ; preds = %._crit_edge9, %31
%62 = call i32 (...) @getchar()
%63 = load i32, ptr %1, align 4
ret i32 %63
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp4cgabbge.c'
source_filename = "/tmp/tmp4cgabbge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_clearerr(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 @dll_clearerr(ptr noundef %3)
ret void
}
declare i32 @dll_clearerr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cgabbge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_clearerr(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 @dll_clearerr(ptr noundef %3)
ret void
}
declare i32 @dll_clearerr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpebqpq1f9.c'
source_filename = "/tmp/tmpebqpq1f9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wigner3j(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%21 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = sub nsw i32 %22, %23
%25 = call i32 @abs(i32 noundef %24)
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %13, align 4
%28 = add nsw i32 %26, %27
%29 = call i32 @abs(i32 noundef %28)
store i32 %29, ptr %15, align 4
%30 = load i32, ptr %14, align 4
%31 = load i32, ptr %15, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %6
%34 = load i32, ptr %14, align 4
br label %37
35: ; preds = %6
%36 = load i32, ptr %15, align 4
br label %37
37: ; preds = %35, %33
%38 = phi i32 [ %34, %33 ], [ %36, %35 ]
store i32 %38, ptr %16, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %39, %40
store i32 %41, ptr %17, align 4
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %16, align 4
%44 = sub nsw i32 %42, %43
%45 = sdiv i32 %44, 2
%46 = add nsw i32 1, %45
store i32 %46, ptr %18, align 4
%47 = load i32, ptr %18, align 4
%48 = icmp sgt i32 %47, 1
br i1 %48, label %49, label %51
49: ; preds = %37
%50 = load i32, ptr %18, align 4
br label %52
51: ; preds = %37
br label %52
52: ; preds = %51, %49
%53 = phi i32 [ %50, %49 ], [ 1, %51 ]
%54 = zext i32 %53 to i64
%55 = call ptr @llvm.stacksave()
store ptr %55, ptr %19, align 8
%56 = alloca double, i64 %54, align 16
store i64 %54, ptr %20, align 8
%57 = load i32, ptr %11, align 4
%58 = call i32 @abs(i32 noundef %57)
%59 = load i32, ptr %8, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %71, label %61
61: ; preds = %52
%62 = load i32, ptr %12, align 4
%63 = call i32 @abs(i32 noundef %62)
%64 = load i32, ptr %9, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %71, label %66
66: ; preds = %61
%67 = load i32, ptr %13, align 4
%68 = call i32 @abs(i32 noundef %67)
%69 = load i32, ptr %10, align 4
%70 = icmp sgt i32 %68, %69
br i1 %70, label %71, label %73
71: ; preds = %66, %61, %52
%72 = load double, ptr @NAN, align 8
store double %72, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
73: ; preds = %66
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %74, %75
%77 = and i32 %76, 1
%78 = icmp ne i32 %77, 0
br i1 %78, label %91, label %79
79: ; preds = %73
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %80, %81
%83 = and i32 %82, 1
%84 = icmp ne i32 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %86, %87
%89 = and i32 %88, 1
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %85, %79, %73
%92 = load double, ptr @NAN, align 8
store double %92, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
93: ; preds = %85
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %94, 0
br i1 %95, label %102, label %96
96: ; preds = %93
%97 = load i32, ptr %9, align 4
%98 = icmp slt i32 %97, 0
br i1 %98, label %102, label %99
99: ; preds = %96
%100 = load i32, ptr %10, align 4
%101 = icmp slt i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %99, %96, %93
%103 = load double, ptr @NAN, align 8
store double %103, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
104: ; preds = %99
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %12, align 4
%107 = add nsw i32 %105, %106
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %107, %108
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %104
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
112: ; preds = %104
%113 = load i32, ptr %8, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = call i32 @is_triangle(i32 noundef %113, i32 noundef %114, i32 noundef %115)
%117 = icmp ne i32 %116, 0
br i1 %117, label %119, label %118
118: ; preds = %112
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
119: ; preds = %112
%120 = load i32, ptr %9, align 4
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr %13, align 4
%124 = call i32 @wigner3j_family_j(i32 noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef %123, ptr noundef %56, ptr noundef %16, ptr noundef %17)
%125 = load i32, ptr %8, align 4
%126 = load i32, ptr %16, align 4
%127 = sub nsw i32 %125, %126
%128 = sdiv i32 %127, 2
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %56, i64 %129
%131 = load double, ptr %130, align 8
store double %131, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
132: ; preds = %119, %118, %111, %102, %91, %71
%133 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %133)
%134 = load double, ptr %7, align 8
ret double %134
}
declare i32 @abs(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @is_triangle(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wigner3j_family_j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpebqpq1f9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wigner3j(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%21 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = sub nsw i32 %22, %23
%25 = call i32 @abs(i32 noundef %24)
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %13, align 4
%28 = add nsw i32 %26, %27
%29 = call i32 @abs(i32 noundef %28)
store i32 %29, ptr %15, align 4
%30 = load i32, ptr %14, align 4
%31 = load i32, ptr %15, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %6
%34 = load i32, ptr %14, align 4
br label %37
35: ; preds = %6
%36 = load i32, ptr %15, align 4
br label %37
37: ; preds = %35, %33
%38 = phi i32 [ %34, %33 ], [ %36, %35 ]
store i32 %38, ptr %16, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %39, %40
store i32 %41, ptr %17, align 4
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %16, align 4
%44 = sub nsw i32 %42, %43
%45 = sdiv i32 %44, 2
%46 = add nsw i32 1, %45
store i32 %46, ptr %18, align 4
%47 = load i32, ptr %18, align 4
%48 = icmp sgt i32 %47, 1
br i1 %48, label %49, label %51
49: ; preds = %37
%50 = load i32, ptr %18, align 4
br label %52
51: ; preds = %37
br label %52
52: ; preds = %51, %49
%53 = phi i32 [ %50, %49 ], [ 1, %51 ]
%54 = zext i32 %53 to i64
%55 = call ptr @llvm.stacksave()
store ptr %55, ptr %19, align 8
%56 = alloca double, i64 %54, align 16
store i64 %54, ptr %20, align 8
%57 = load i32, ptr %11, align 4
%58 = call i32 @abs(i32 noundef %57)
%59 = load i32, ptr %8, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %71, label %61
61: ; preds = %52
%62 = load i32, ptr %12, align 4
%63 = call i32 @abs(i32 noundef %62)
%64 = load i32, ptr %9, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %71, label %66
66: ; preds = %61
%67 = load i32, ptr %13, align 4
%68 = call i32 @abs(i32 noundef %67)
%69 = load i32, ptr %10, align 4
%70 = icmp sgt i32 %68, %69
br i1 %70, label %71, label %73
71: ; preds = %66, %61, %52
%72 = load double, ptr @NAN, align 8
store double %72, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
73: ; preds = %66
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %74, %75
%77 = and i32 %76, 1
%78 = icmp ne i32 %77, 0
br i1 %78, label %91, label %79
79: ; preds = %73
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %80, %81
%83 = and i32 %82, 1
%84 = icmp ne i32 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %86, %87
%89 = and i32 %88, 1
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %85, %79, %73
%92 = load double, ptr @NAN, align 8
store double %92, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
93: ; preds = %85
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %94, 0
br i1 %95, label %102, label %96
96: ; preds = %93
%97 = load i32, ptr %9, align 4
%98 = icmp slt i32 %97, 0
br i1 %98, label %102, label %99
99: ; preds = %96
%100 = load i32, ptr %10, align 4
%101 = icmp slt i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %99, %96, %93
%103 = load double, ptr @NAN, align 8
store double %103, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
104: ; preds = %99
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %12, align 4
%107 = add nsw i32 %105, %106
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %107, %108
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %104
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
112: ; preds = %104
%113 = load i32, ptr %8, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = call i32 @is_triangle(i32 noundef %113, i32 noundef %114, i32 noundef %115)
%117 = icmp ne i32 %116, 0
br i1 %117, label %119, label %118
118: ; preds = %112
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
119: ; preds = %112
%120 = load i32, ptr %9, align 4
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr %13, align 4
%124 = call i32 @wigner3j_family_j(i32 noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef %123, ptr noundef %56, ptr noundef %16, ptr noundef %17)
%125 = load i32, ptr %8, align 4
%126 = load i32, ptr %16, align 4
%127 = sub nsw i32 %125, %126
%128 = sdiv i32 %127, 2
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %56, i64 %129
%131 = load double, ptr %130, align 8
store double %131, ptr %7, align 8
store i32 1, ptr %21, align 4
br label %132
132: ; preds = %119, %118, %111, %102, %91, %71
%133 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %133)
%134 = load double, ptr %7, align 8
ret double %134
}
declare i32 @abs(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @is_triangle(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wigner3j_family_j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfpnrs02z.c'
source_filename = "/tmp/tmpfpnrs02z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLOUT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kore_platform_schedule_write(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @EPOLLOUT, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @kore_platform_event_schedule(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7)
ret void
}
declare i32 @kore_platform_event_schedule(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfpnrs02z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLOUT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kore_platform_schedule_write(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @EPOLLOUT, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @kore_platform_event_schedule(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7)
ret void
}
declare i32 @kore_platform_event_schedule(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptyugdflz.c'
source_filename = "/tmp/tmptyugdflz.c"
target datalayout = "e-m:e-p270: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/tmptyugdflz.c"
target datalayout = "e-m:e-p270: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_2myyokm.c'
source_filename = "/tmp/tmp_2myyokm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deserialize_sockaddr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca [10 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%13 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%14 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
%16 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %15)
%17 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%18 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %19)
%21 = load i32, ptr %12, align 4
br label %22
22: ; preds = %37, %3
%23 = load i32, ptr %12, align 4
%24 = load ptr, ptr %5, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = icmp slt i32 %23, %25
br i1 %26, label %27, label %40
27: ; preds = %22
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 44
br i1 %34, label %35, label %36
35: ; preds = %27
br label %40
36: ; preds = %27
br label %37
37: ; preds = %36
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %12, align 4
br label %22, !llvm.loop !6
40: ; preds = %35, %22
%41 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %11, align 4
%48 = sub nsw i32 %46, %47
%49 = call i32 @strncpy(ptr noundef %41, ptr noundef %45, i32 noundef %48)
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %11, align 4
%52 = sub nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
br label %59
59: ; preds = %74, %40
%60 = load i32, ptr %12, align 4
%61 = load ptr, ptr %5, align 8
%62 = call i32 @strlen(ptr noundef %61)
%63 = icmp slt i32 %60, %62
br i1 %63, label %64, label %77
64: ; preds = %59
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %12, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 44
br i1 %71, label %72, label %73
72: ; preds = %64
br label %77
73: ; preds = %64
br label %74
74: ; preds = %73
%75 = load i32, ptr %12, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %12, align 4
br label %59, !llvm.loop !8
77: ; preds = %72, %59
%78 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %11, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i32, ptr %12, align 4
%84 = load i32, ptr %11, align 4
%85 = sub nsw i32 %83, %84
%86 = call i32 @strncpy(ptr noundef %78, ptr noundef %82, i32 noundef %85)
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %11, align 4
%89 = sub nsw i32 %87, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%94 = call i32 @atoi(ptr noundef %93)
store i32 %94, ptr %10, align 4
%95 = load i32, ptr %12, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %11, align 4
%97 = load ptr, ptr %6, align 8
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load ptr, ptr %5, align 8
%103 = call i32 @strlen(ptr noundef %102)
%104 = load i32, ptr %11, align 4
%105 = sub nsw i32 %103, %104
%106 = call i32 @strncpy(ptr noundef %97, ptr noundef %101, i32 noundef %105)
%107 = load ptr, ptr %6, align 8
%108 = load ptr, ptr %5, align 8
%109 = call i32 @strlen(ptr noundef %108)
%110 = load i32, ptr %11, align 4
%111 = sub nsw i32 %109, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %107, i64 %112
store i8 0, ptr %113, align 1
%114 = load i32, ptr @AF_INET, align 4
%115 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %114, ptr %115, align 4
%116 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%117 = call i32 @inet_addr(ptr noundef %116)
%118 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%119 = getelementptr inbounds %struct.TYPE_2__, ptr %118, i32 0, i32 0
store i32 %117, ptr %119, align 4
%120 = load i32, ptr %10, align 4
%121 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %120, ptr %121, align 4
store ptr %7, ptr %4, align 8
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @inet_addr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_2myyokm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deserialize_sockaddr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca [10 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%13 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%14 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
%16 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %15)
%17 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%18 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %19)
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %5, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp slt i32 %22, %24
br i1 %25, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %36
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 44
br i1 %33, label %34, label %35
34: ; preds = %26
br label %43
35: ; preds = %26
br label %36
36: ; preds = %35
%37 = load i32, ptr %12, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = icmp slt i32 %39, %41
br i1 %42, label %26, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %36
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %3
br label %43
43: ; preds = %.loopexit1, %34
%44 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %11, align 4
%51 = sub nsw i32 %49, %50
%52 = call i32 @strncpy(ptr noundef %44, ptr noundef %48, i32 noundef %51)
%53 = load i32, ptr %12, align 4
%54 = load i32, ptr %11, align 4
%55 = sub nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %12, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %11, align 4
%60 = load i32, ptr %11, align 4
store i32 %60, ptr %12, align 4
%61 = load i32, ptr %12, align 4
%62 = load i32, ptr %12, align 4
%63 = load ptr, ptr %5, align 8
%64 = call i32 @strlen(ptr noundef %63)
%65 = icmp slt i32 %62, %64
br i1 %65, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %43
br label %66
66: ; preds = %.lr.ph2, %76
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %12, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 44
br i1 %73, label %74, label %75
74: ; preds = %66
br label %83
75: ; preds = %66
br label %76
76: ; preds = %75
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %12, align 4
%79 = load i32, ptr %12, align 4
%80 = load ptr, ptr %5, align 8
%81 = call i32 @strlen(ptr noundef %80)
%82 = icmp slt i32 %79, %81
br i1 %82, label %66, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %76
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %43
br label %83
83: ; preds = %.loopexit, %74
%84 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %11, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
%89 = load i32, ptr %12, align 4
%90 = load i32, ptr %11, align 4
%91 = sub nsw i32 %89, %90
%92 = call i32 @strncpy(ptr noundef %84, ptr noundef %88, i32 noundef %91)
%93 = load i32, ptr %12, align 4
%94 = load i32, ptr %11, align 4
%95 = sub nsw i32 %93, %94
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0
%100 = call i32 @atoi(ptr noundef %99)
store i32 %100, ptr %10, align 4
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %11, align 4
%103 = load ptr, ptr %6, align 8
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %11, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load ptr, ptr %5, align 8
%109 = call i32 @strlen(ptr noundef %108)
%110 = load i32, ptr %11, align 4
%111 = sub nsw i32 %109, %110
%112 = call i32 @strncpy(ptr noundef %103, ptr noundef %107, i32 noundef %111)
%113 = load ptr, ptr %6, align 8
%114 = load ptr, ptr %5, align 8
%115 = call i32 @strlen(ptr noundef %114)
%116 = load i32, ptr %11, align 4
%117 = sub nsw i32 %115, %116
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %113, i64 %118
store i8 0, ptr %119, align 1
%120 = load i32, ptr @AF_INET, align 4
%121 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %120, ptr %121, align 4
%122 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%123 = call i32 @inet_addr(ptr noundef %122)
%124 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%125 = getelementptr inbounds %struct.TYPE_2__, ptr %124, i32 0, i32 0
store i32 %123, ptr %125, align 4
%126 = load i32, ptr %10, align 4
%127 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %126, ptr %127, align 4
store ptr %7, ptr %4, align 8
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @inet_addr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9a1709fb.c'
source_filename = "/tmp/tmp9a1709fb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %2, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %3, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %11, %0
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %15, %16
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9a1709fb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %2, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %3, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %14, %15
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo3ld41kv.c'
source_filename = "/tmp/tmpo3ld41kv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_reply(i16 noundef zeroext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i16 %0, ptr %5, align 2
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i16, ptr %5, align 2
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @log_common(i16 noundef zeroext %9, i32 noundef 1, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @log_common(i16 noundef zeroext, i32 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/tmpo3ld41kv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_reply(i16 noundef zeroext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i16 %0, ptr %5, align 2
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i16, ptr %5, align 2
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @log_common(i16 noundef zeroext %9, i32 noundef 1, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @log_common(i16 noundef zeroext, i32 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/tmplev1j81m.c'
source_filename = "/tmp/tmplev1j81m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_file_contents(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 1024, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = call ptr @malloc(i64 noundef %7)
store ptr %8, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %9
9: ; preds = %26, %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fgetc(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr @EOF, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %34
14: ; preds = %9
%15 = load i64, ptr %4, align 8
%16 = add i64 %15, 1
%17 = load i64, ptr %5, align 8
%18 = sub i64 %17, 1
%19 = icmp uge i64 %16, %18
br i1 %19, label %20, label %26
20: ; preds = %14
%21 = load i64, ptr %5, align 8
%22 = mul i64 %21, 2
store i64 %22, ptr %5, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %5, align 8
%25 = call ptr @realloc(ptr noundef %23, i64 noundef %24)
store ptr %25, ptr %3, align 8
br label %26
26: ; preds = %20, %14
%27 = load i32, ptr %6, align 4
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %3, align 8
%30 = load i64, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store i8 %28, ptr %31, align 1
%32 = load i64, ptr %4, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %4, align 8
br label %9, !llvm.loop !6
34: ; preds = %9
%35 = load ptr, ptr %3, align 8
%36 = load i64, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare ptr @malloc(i64 noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplev1j81m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_file_contents(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 1024, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = call ptr @malloc(i64 noundef %7)
store ptr %8, ptr %3, align 8
store i64 0, ptr %4, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fgetc(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %25
%14 = load i64, ptr %4, align 8
%15 = add i64 %14, 1
%16 = load i64, ptr %5, align 8
%17 = sub i64 %16, 1
%18 = icmp uge i64 %15, %17
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load i64, ptr %5, align 8
%21 = mul i64 %20, 2
store i64 %21, ptr %5, align 8
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %5, align 8
%24 = call ptr @realloc(ptr noundef %22, i64 noundef %23)
store ptr %24, ptr %3, align 8
br label %25
25: ; preds = %19, %13
%26 = load i32, ptr %6, align 4
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store i8 %27, ptr %30, align 1
%31 = load i64, ptr %4, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %4, align 8
%33 = load ptr, ptr %2, align 8
%34 = call i32 @fgetc(ptr noundef %33)
store i32 %34, ptr %6, align 4
%35 = load i32, ptr @EOF, align 4
%36 = icmp ne i32 %34, %35
br i1 %36, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %37
37: ; preds = %._crit_edge, %1
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare ptr @malloc(i64 noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzydh52hi.c'
source_filename = "/tmp/tmpzydh52hi.c"
target datalayout = "e-m:e-p270: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/tmpzydh52hi.c"
target datalayout = "e-m:e-p270: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/tmp1d4mp5vn.c'
source_filename = "/tmp/tmp1d4mp5vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exactfactln(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
store double 1.000000e+00, ptr %4, align 8
store i32 2, ptr %3, align 4
br label %5
5: ; preds = %14, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = sitofp i32 %10 to double
%12 = load double, ptr %4, align 8
%13 = fmul double %12, %11
store double %13, ptr %4, align 8
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load double, ptr %4, align 8
%19 = call double @log(double noundef %18) #2
ret double %19
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1d4mp5vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exactfactln(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
store double 1.000000e+00, ptr %4, align 8
store i32 2, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %13
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to double
%11 = load double, ptr %4, align 8
%12 = fmul double %11, %10
store double %12, ptr %4, align 8
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %1
%20 = load double, ptr %4, align 8
%21 = call double @log(double noundef %20) #2
ret double %21
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb1qfehtn.c'
source_filename = "/tmp/tmpb1qfehtn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Expiration Month and year: \00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"You have entered an invalid expiration date.\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Your expiration date is an invalid length\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Please use the format MM/DD/YYYY.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Invalid Day. Please enter a valid day 1-31\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"Invalid Month. Please enter a valid month 1-12\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"Invalid Date. Card Expired.\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"January %d\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"February %d\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"March %d\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"May %d\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"June %d\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"July %d\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"August %d\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"September %d\00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"October %d\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"November %d\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"December %d\00", align 1
@.str.19 = private unnamed_addr constant [36 x i8] c"You have entered an invalid month.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getExpr() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = alloca [3 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [3 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call ptr (...) @getInput()
store ptr %14, ptr %1, align 8
%15 = load ptr, ptr %1, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 7) #3
unreachable
20: ; preds = %0
%21 = load ptr, ptr %1, align 8
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 11
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = load ptr, ptr %1, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = call i32 @exit(i32 noundef 8) #3
unreachable
31: ; preds = %20
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %94, %31
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp ult i32 %33, %34
br i1 %35, label %36, label %97
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = icmp eq i32 %37, 2
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = icmp eq i32 %40, 5
br i1 %41, label %42, label %57
42: ; preds = %39, %36
%43 = load ptr, ptr %1, align 8
%44 = load i32, ptr %3, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 47
br i1 %49, label %50, label %56
50: ; preds = %42
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%53 = load ptr, ptr %1, align 8
%54 = call i32 @free(ptr noundef %53)
%55 = call i32 @exit(i32 noundef 9) #3
unreachable
56: ; preds = %42
br label %93
57: ; preds = %39
%58 = load ptr, ptr %1, align 8
%59 = load i32, ptr %3, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = call i32 @isdigit(i8 noundef signext %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %92, label %65
65: ; preds = %57
%66 = load ptr, ptr %1, align 8
%67 = load i32, ptr %3, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %71)
%73 = load i32, ptr %3, align 4
%74 = load i32, ptr %2, align 4
%75 = sub i32 %74, 1
%76 = icmp eq i32 %73, %75
br i1 %76, label %77, label %85
77: ; preds = %65
%78 = load ptr, ptr %1, align 8
%79 = load i32, ptr %3, align 4
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 10
br i1 %84, label %91, label %85
85: ; preds = %77, %65
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%88 = load ptr, ptr %1, align 8
%89 = call i32 @free(ptr noundef %88)
%90 = call i32 @exit(i32 noundef 10) #3
unreachable
91: ; preds = %77
br label %92
92: ; preds = %91, %57
br label %93
93: ; preds = %92, %56
br label %94
94: ; preds = %93
%95 = load i32, ptr %3, align 4
%96 = add i32 %95, 1
store i32 %96, ptr %3, align 4
br label %32, !llvm.loop !6
97: ; preds = %32
%98 = load ptr, ptr %1, align 8
%99 = call i64 @strtod(ptr noundef %98, ptr noundef %4)
%100 = trunc i64 %99 to i32
store i32 %100, ptr %5, align 4
%101 = load ptr, ptr %1, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 3
%103 = load i8, ptr %102, align 1
%104 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
store i8 %103, ptr %104, align 1
%105 = load ptr, ptr %1, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 4
%107 = load i8, ptr %106, align 1
%108 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 1
store i8 %107, ptr %108, align 1
%109 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 2
store i8 0, ptr %109, align 1
%110 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%111 = call i64 @strtod(ptr noundef %110, ptr noundef %4)
%112 = trunc i64 %111 to i32
store i32 %112, ptr %8, align 4
%113 = load i32, ptr %8, align 4
%114 = icmp sgt i32 %113, 31
br i1 %114, label %118, label %115
115: ; preds = %97
%116 = load i32, ptr %8, align 4
%117 = icmp slt i32 %116, 1
br i1 %117, label %118, label %123
118: ; preds = %115, %97
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%120 = load ptr, ptr %1, align 8
%121 = call i32 @free(ptr noundef %120)
%122 = call i32 @exit(i32 noundef 11) #3
unreachable
123: ; preds = %115
%124 = load ptr, ptr %1, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 0
%126 = load i8, ptr %125, align 1
%127 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
store i8 %126, ptr %127, align 1
%128 = load ptr, ptr %1, align 8
%129 = getelementptr inbounds i8, ptr %128, i64 1
%130 = load i8, ptr %129, align 1
%131 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1
store i8 %130, ptr %131, align 1
%132 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 0, ptr %132, align 1
%133 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%134 = call i64 @strtod(ptr noundef %133, ptr noundef %4)
%135 = trunc i64 %134 to i32
store i32 %135, ptr %10, align 4
%136 = load i32, ptr %10, align 4
%137 = icmp sgt i32 %136, 12
br i1 %137, label %141, label %138
138: ; preds = %123
%139 = load i32, ptr %10, align 4
%140 = icmp slt i32 %139, 1
br i1 %140, label %141, label %146
141: ; preds = %138, %123
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%143 = load ptr, ptr %1, align 8
%144 = call i32 @free(ptr noundef %143)
%145 = call i32 @exit(i32 noundef 12) #3
unreachable
146: ; preds = %138
%147 = load ptr, ptr %1, align 8
%148 = getelementptr inbounds i8, ptr %147, i64 6
%149 = load i8, ptr %148, align 1
%150 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
store i8 %149, ptr %150, align 1
%151 = load ptr, ptr %1, align 8
%152 = getelementptr inbounds i8, ptr %151, i64 7
%153 = load i8, ptr %152, align 1
%154 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 1
store i8 %153, ptr %154, align 1
%155 = load ptr, ptr %1, align 8
%156 = getelementptr inbounds i8, ptr %155, i64 8
%157 = load i8, ptr %156, align 1
%158 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 2
store i8 %157, ptr %158, align 1
%159 = load ptr, ptr %1, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 9
%161 = load i8, ptr %160, align 1
%162 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 3
store i8 %161, ptr %162, align 1
%163 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 4
store i8 0, ptr %163, align 1
%164 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%165 = call i64 @strtod(ptr noundef %164, ptr noundef %4)
%166 = trunc i64 %165 to i32
store i32 %166, ptr %12, align 4
%167 = load i32, ptr %12, align 4
%168 = icmp slt i32 %167, 2017
br i1 %168, label %169, label %174
169: ; preds = %146
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%171 = load ptr, ptr %1, align 8
%172 = call i32 @free(ptr noundef %171)
%173 = call i32 @exit(i32 noundef 13) #3
unreachable
174: ; preds = %146
%175 = load i32, ptr %12, align 4
%176 = icmp eq i32 %175, 2017
br i1 %176, label %177, label %198
177: ; preds = %174
%178 = load i32, ptr %10, align 4
%179 = icmp slt i32 %178, 4
br i1 %179, label %180, label %185
180: ; preds = %177
%181 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%182 = load ptr, ptr %1, align 8
%183 = call i32 @free(ptr noundef %182)
%184 = call i32 @exit(i32 noundef 14) #3
unreachable
185: ; preds = %177
%186 = load i32, ptr %10, align 4
%187 = icmp eq i32 %186, 4
br i1 %187, label %188, label %197
188: ; preds = %185
%189 = load i32, ptr %8, align 4
%190 = icmp slt i32 %189, 27
br i1 %190, label %191, label %196
191: ; preds = %188
%192 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%193 = load ptr, ptr %1, align 8
%194 = call i32 @free(ptr noundef %193)
%195 = call i32 @exit(i32 noundef 15) #3
unreachable
196: ; preds = %188
br label %197
197: ; preds = %196, %185
br label %198
198: ; preds = %197, %174
%199 = load i32, ptr %5, align 4
switch i32 %199, label %267 [
i32 1, label %200
i32 2, label %206
i32 3, label %212
i32 4, label %218
i32 5, label %219
i32 6, label %225
i32 7, label %231
i32 8, label %237
i32 9, label %243
i32 10, label %249
i32 11, label %255
i32 12, label %261
]
200: ; preds = %198
%201 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%202 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%203 = call i64 @strtod(ptr noundef %202, ptr noundef %4)
%204 = trunc i64 %203 to i32
%205 = call i32 @sprintf(ptr noundef %201, ptr noundef @.str.8, i32 noundef %204)
br label %273
206: ; preds = %198
%207 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%208 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%209 = call i64 @strtod(ptr noundef %208, ptr noundef %4)
%210 = trunc i64 %209 to i32
%211 = call i32 @sprintf(ptr noundef %207, ptr noundef @.str.9, i32 noundef %210)
br label %273
212: ; preds = %198
%213 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%214 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%215 = call i64 @strtod(ptr noundef %214, ptr noundef %4)
%216 = trunc i64 %215 to i32
%217 = call i32 @sprintf(ptr noundef %213, ptr noundef @.str.10, i32 noundef %216)
br label %218
218: ; preds = %198, %212
br label %273
219: ; preds = %198
%220 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%221 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%222 = call i64 @strtod(ptr noundef %221, ptr noundef %4)
%223 = trunc i64 %222 to i32
%224 = call i32 @sprintf(ptr noundef %220, ptr noundef @.str.11, i32 noundef %223)
br label %273
225: ; preds = %198
%226 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%227 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%228 = call i64 @strtod(ptr noundef %227, ptr noundef %4)
%229 = trunc i64 %228 to i32
%230 = call i32 @sprintf(ptr noundef %226, ptr noundef @.str.12, i32 noundef %229)
br label %273
231: ; preds = %198
%232 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%233 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%234 = call i64 @strtod(ptr noundef %233, ptr noundef %4)
%235 = trunc i64 %234 to i32
%236 = call i32 @sprintf(ptr noundef %232, ptr noundef @.str.13, i32 noundef %235)
br label %273
237: ; preds = %198
%238 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%239 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%240 = call i64 @strtod(ptr noundef %239, ptr noundef %4)
%241 = trunc i64 %240 to i32
%242 = call i32 @sprintf(ptr noundef %238, ptr noundef @.str.14, i32 noundef %241)
br label %273
243: ; preds = %198
%244 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%245 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%246 = call i64 @strtod(ptr noundef %245, ptr noundef %4)
%247 = trunc i64 %246 to i32
%248 = call i32 @sprintf(ptr noundef %244, ptr noundef @.str.15, i32 noundef %247)
br label %273
249: ; preds = %198
%250 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%251 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%252 = call i64 @strtod(ptr noundef %251, ptr noundef %4)
%253 = trunc i64 %252 to i32
%254 = call i32 @sprintf(ptr noundef %250, ptr noundef @.str.16, i32 noundef %253)
br label %273
255: ; preds = %198
%256 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%257 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%258 = call i64 @strtod(ptr noundef %257, ptr noundef %4)
%259 = trunc i64 %258 to i32
%260 = call i32 @sprintf(ptr noundef %256, ptr noundef @.str.17, i32 noundef %259)
br label %273
261: ; preds = %198
%262 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%263 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%264 = call i64 @strtod(ptr noundef %263, ptr noundef %4)
%265 = trunc i64 %264 to i32
%266 = call i32 @sprintf(ptr noundef %262, ptr noundef @.str.18, i32 noundef %265)
br label %273
267: ; preds = %198
%268 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%269 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%270 = load ptr, ptr %1, align 8
%271 = call i32 @free(ptr noundef %270)
%272 = call i32 @exit(i32 noundef 12) #3
unreachable
273: ; preds = %261, %255, %249, %243, %237, %231, %225, %219, %218, %206, %200
%274 = load ptr, ptr %1, align 8
%275 = call i32 @free(ptr noundef %274)
%276 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%277 = call i32 @strlen(ptr noundef %276)
%278 = add nsw i32 %277, 1
%279 = call i64 @calloc(i32 noundef 1, i32 noundef %278)
%280 = inttoptr i64 %279 to ptr
store ptr %280, ptr %1, align 8
%281 = load ptr, ptr %1, align 8
%282 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%283 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%284 = call i32 @strlen(ptr noundef %283)
%285 = add nsw i32 %284, 1
%286 = call i32 @strncpy(ptr noundef %281, ptr noundef %282, i32 noundef %285)
%287 = load ptr, ptr %1, align 8
ret ptr %287
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getInput(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i64 @strtod(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @strncpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb1qfehtn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Expiration Month and year: \00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"You have entered an invalid expiration date.\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Your expiration date is an invalid length\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Please use the format MM/DD/YYYY.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Invalid Day. Please enter a valid day 1-31\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"Invalid Month. Please enter a valid month 1-12\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"Invalid Date. Card Expired.\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"January %d\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"February %d\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"March %d\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"May %d\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"June %d\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"July %d\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"August %d\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"September %d\00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"October %d\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"November %d\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"December %d\00", align 1
@.str.19 = private unnamed_addr constant [36 x i8] c"You have entered an invalid month.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getExpr() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = alloca [3 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [3 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call ptr (...) @getInput()
store ptr %14, ptr %1, align 8
%15 = load ptr, ptr %1, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 7) #3
unreachable
20: ; preds = %0
%21 = load ptr, ptr %1, align 8
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 11
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = load ptr, ptr %1, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = call i32 @exit(i32 noundef 8) #3
unreachable
31: ; preds = %20
store i32 0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp ult i32 %32, %33
br i1 %34, label %.lr.ph, label %99
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %93
%36 = load i32, ptr %3, align 4
%37 = icmp eq i32 %36, 2
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, ptr %3, align 4
%40 = icmp eq i32 %39, 5
br i1 %40, label %41, label %56
41: ; preds = %38, %35
%42 = load ptr, ptr %1, align 8
%43 = load i32, ptr %3, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 47
br i1 %48, label %49, label %55
49: ; preds = %41
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%52 = load ptr, ptr %1, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = call i32 @exit(i32 noundef 9) #3
unreachable
55: ; preds = %41
br label %92
56: ; preds = %38
%57 = load ptr, ptr %1, align 8
%58 = load i32, ptr %3, align 4
%59 = zext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = call i32 @isdigit(i8 noundef signext %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %91, label %64
64: ; preds = %56
%65 = load ptr, ptr %1, align 8
%66 = load i32, ptr %3, align 4
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %70)
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %2, align 4
%74 = sub i32 %73, 1
%75 = icmp eq i32 %72, %74
br i1 %75, label %76, label %84
76: ; preds = %64
%77 = load ptr, ptr %1, align 8
%78 = load i32, ptr %3, align 4
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 10
br i1 %83, label %90, label %84
84: ; preds = %76, %64
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%87 = load ptr, ptr %1, align 8
%88 = call i32 @free(ptr noundef %87)
%89 = call i32 @exit(i32 noundef 10) #3
unreachable
90: ; preds = %76
br label %91
91: ; preds = %90, %56
br label %92
92: ; preds = %91, %55
br label %93
93: ; preds = %92
%94 = load i32, ptr %3, align 4
%95 = add i32 %94, 1
store i32 %95, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = load i32, ptr %2, align 4
%98 = icmp ult i32 %96, %97
br i1 %98, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %93
br label %99
99: ; preds = %._crit_edge, %31
%100 = load ptr, ptr %1, align 8
%101 = call i64 @strtod(ptr noundef %100, ptr noundef %4)
%102 = trunc i64 %101 to i32
store i32 %102, ptr %5, align 4
%103 = load ptr, ptr %1, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 3
%105 = load i8, ptr %104, align 1
%106 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
store i8 %105, ptr %106, align 1
%107 = load ptr, ptr %1, align 8
%108 = getelementptr inbounds i8, ptr %107, i64 4
%109 = load i8, ptr %108, align 1
%110 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 1
store i8 %109, ptr %110, align 1
%111 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 2
store i8 0, ptr %111, align 1
%112 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%113 = call i64 @strtod(ptr noundef %112, ptr noundef %4)
%114 = trunc i64 %113 to i32
store i32 %114, ptr %8, align 4
%115 = load i32, ptr %8, align 4
%116 = icmp sgt i32 %115, 31
br i1 %116, label %120, label %117
117: ; preds = %99
%118 = load i32, ptr %8, align 4
%119 = icmp slt i32 %118, 1
br i1 %119, label %120, label %125
120: ; preds = %117, %99
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%122 = load ptr, ptr %1, align 8
%123 = call i32 @free(ptr noundef %122)
%124 = call i32 @exit(i32 noundef 11) #3
unreachable
125: ; preds = %117
%126 = load ptr, ptr %1, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 0
%128 = load i8, ptr %127, align 1
%129 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
store i8 %128, ptr %129, align 1
%130 = load ptr, ptr %1, align 8
%131 = getelementptr inbounds i8, ptr %130, i64 1
%132 = load i8, ptr %131, align 1
%133 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1
store i8 %132, ptr %133, align 1
%134 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 0, ptr %134, align 1
%135 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%136 = call i64 @strtod(ptr noundef %135, ptr noundef %4)
%137 = trunc i64 %136 to i32
store i32 %137, ptr %10, align 4
%138 = load i32, ptr %10, align 4
%139 = icmp sgt i32 %138, 12
br i1 %139, label %143, label %140
140: ; preds = %125
%141 = load i32, ptr %10, align 4
%142 = icmp slt i32 %141, 1
br i1 %142, label %143, label %148
143: ; preds = %140, %125
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%145 = load ptr, ptr %1, align 8
%146 = call i32 @free(ptr noundef %145)
%147 = call i32 @exit(i32 noundef 12) #3
unreachable
148: ; preds = %140
%149 = load ptr, ptr %1, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 6
%151 = load i8, ptr %150, align 1
%152 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
store i8 %151, ptr %152, align 1
%153 = load ptr, ptr %1, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 7
%155 = load i8, ptr %154, align 1
%156 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 1
store i8 %155, ptr %156, align 1
%157 = load ptr, ptr %1, align 8
%158 = getelementptr inbounds i8, ptr %157, i64 8
%159 = load i8, ptr %158, align 1
%160 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 2
store i8 %159, ptr %160, align 1
%161 = load ptr, ptr %1, align 8
%162 = getelementptr inbounds i8, ptr %161, i64 9
%163 = load i8, ptr %162, align 1
%164 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 3
store i8 %163, ptr %164, align 1
%165 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 4
store i8 0, ptr %165, align 1
%166 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%167 = call i64 @strtod(ptr noundef %166, ptr noundef %4)
%168 = trunc i64 %167 to i32
store i32 %168, ptr %12, align 4
%169 = load i32, ptr %12, align 4
%170 = icmp slt i32 %169, 2017
br i1 %170, label %171, label %176
171: ; preds = %148
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%173 = load ptr, ptr %1, align 8
%174 = call i32 @free(ptr noundef %173)
%175 = call i32 @exit(i32 noundef 13) #3
unreachable
176: ; preds = %148
%177 = load i32, ptr %12, align 4
%178 = icmp eq i32 %177, 2017
br i1 %178, label %179, label %200
179: ; preds = %176
%180 = load i32, ptr %10, align 4
%181 = icmp slt i32 %180, 4
br i1 %181, label %182, label %187
182: ; preds = %179
%183 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%184 = load ptr, ptr %1, align 8
%185 = call i32 @free(ptr noundef %184)
%186 = call i32 @exit(i32 noundef 14) #3
unreachable
187: ; preds = %179
%188 = load i32, ptr %10, align 4
%189 = icmp eq i32 %188, 4
br i1 %189, label %190, label %199
190: ; preds = %187
%191 = load i32, ptr %8, align 4
%192 = icmp slt i32 %191, 27
br i1 %192, label %193, label %198
193: ; preds = %190
%194 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%195 = load ptr, ptr %1, align 8
%196 = call i32 @free(ptr noundef %195)
%197 = call i32 @exit(i32 noundef 15) #3
unreachable
198: ; preds = %190
br label %199
199: ; preds = %198, %187
br label %200
200: ; preds = %199, %176
%201 = load i32, ptr %5, align 4
switch i32 %201, label %269 [
i32 1, label %202
i32 2, label %208
i32 3, label %214
i32 4, label %220
i32 5, label %221
i32 6, label %227
i32 7, label %233
i32 8, label %239
i32 9, label %245
i32 10, label %251
i32 11, label %257
i32 12, label %263
]
202: ; preds = %200
%203 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%204 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%205 = call i64 @strtod(ptr noundef %204, ptr noundef %4)
%206 = trunc i64 %205 to i32
%207 = call i32 @sprintf(ptr noundef %203, ptr noundef @.str.8, i32 noundef %206)
br label %275
208: ; preds = %200
%209 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%210 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%211 = call i64 @strtod(ptr noundef %210, ptr noundef %4)
%212 = trunc i64 %211 to i32
%213 = call i32 @sprintf(ptr noundef %209, ptr noundef @.str.9, i32 noundef %212)
br label %275
214: ; preds = %200
%215 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%216 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%217 = call i64 @strtod(ptr noundef %216, ptr noundef %4)
%218 = trunc i64 %217 to i32
%219 = call i32 @sprintf(ptr noundef %215, ptr noundef @.str.10, i32 noundef %218)
br label %220
220: ; preds = %214, %200
br label %275
221: ; preds = %200
%222 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%223 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%224 = call i64 @strtod(ptr noundef %223, ptr noundef %4)
%225 = trunc i64 %224 to i32
%226 = call i32 @sprintf(ptr noundef %222, ptr noundef @.str.11, i32 noundef %225)
br label %275
227: ; preds = %200
%228 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%229 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%230 = call i64 @strtod(ptr noundef %229, ptr noundef %4)
%231 = trunc i64 %230 to i32
%232 = call i32 @sprintf(ptr noundef %228, ptr noundef @.str.12, i32 noundef %231)
br label %275
233: ; preds = %200
%234 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%235 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%236 = call i64 @strtod(ptr noundef %235, ptr noundef %4)
%237 = trunc i64 %236 to i32
%238 = call i32 @sprintf(ptr noundef %234, ptr noundef @.str.13, i32 noundef %237)
br label %275
239: ; preds = %200
%240 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%241 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%242 = call i64 @strtod(ptr noundef %241, ptr noundef %4)
%243 = trunc i64 %242 to i32
%244 = call i32 @sprintf(ptr noundef %240, ptr noundef @.str.14, i32 noundef %243)
br label %275
245: ; preds = %200
%246 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%247 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%248 = call i64 @strtod(ptr noundef %247, ptr noundef %4)
%249 = trunc i64 %248 to i32
%250 = call i32 @sprintf(ptr noundef %246, ptr noundef @.str.15, i32 noundef %249)
br label %275
251: ; preds = %200
%252 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%253 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%254 = call i64 @strtod(ptr noundef %253, ptr noundef %4)
%255 = trunc i64 %254 to i32
%256 = call i32 @sprintf(ptr noundef %252, ptr noundef @.str.16, i32 noundef %255)
br label %275
257: ; preds = %200
%258 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%259 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%260 = call i64 @strtod(ptr noundef %259, ptr noundef %4)
%261 = trunc i64 %260 to i32
%262 = call i32 @sprintf(ptr noundef %258, ptr noundef @.str.17, i32 noundef %261)
br label %275
263: ; preds = %200
%264 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%265 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%266 = call i64 @strtod(ptr noundef %265, ptr noundef %4)
%267 = trunc i64 %266 to i32
%268 = call i32 @sprintf(ptr noundef %264, ptr noundef @.str.18, i32 noundef %267)
br label %275
269: ; preds = %200
%270 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%271 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%272 = load ptr, ptr %1, align 8
%273 = call i32 @free(ptr noundef %272)
%274 = call i32 @exit(i32 noundef 12) #3
unreachable
275: ; preds = %263, %257, %251, %245, %239, %233, %227, %221, %220, %208, %202
%276 = load ptr, ptr %1, align 8
%277 = call i32 @free(ptr noundef %276)
%278 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%279 = call i32 @strlen(ptr noundef %278)
%280 = add nsw i32 %279, 1
%281 = call i64 @calloc(i32 noundef 1, i32 noundef %280)
%282 = inttoptr i64 %281 to ptr
store ptr %282, ptr %1, align 8
%283 = load ptr, ptr %1, align 8
%284 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%285 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%286 = call i32 @strlen(ptr noundef %285)
%287 = add nsw i32 %286, 1
%288 = call i32 @strncpy(ptr noundef %283, ptr noundef %284, i32 noundef %287)
%289 = load ptr, ptr %1, align 8
ret ptr %289
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getInput(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i64 @strtod(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @strncpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5jcbvq7m.c'
source_filename = "/tmp/tmp5jcbvq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 42, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %6, align 4
br label %14
14: ; preds = %9, %2
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1000
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = call i32 @divby6(i32 noundef %18)
br label %23
20: ; preds = %14
%21 = load i32, ptr %6, align 4
%22 = call i32 @divby30(i32 noundef %21)
br label %23
23: ; preds = %20, %17
%24 = phi i32 [ %19, %17 ], [ %22, %20 ]
ret i32 %24
}
declare i32 @atoi(ptr noundef) #1
declare i32 @divby6(i32 noundef) #1
declare i32 @divby30(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/tmp5jcbvq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 42, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %6, align 4
br label %14
14: ; preds = %9, %2
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1000
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = call i32 @divby6(i32 noundef %18)
br label %23
20: ; preds = %14
%21 = load i32, ptr %6, align 4
%22 = call i32 @divby30(i32 noundef %21)
br label %23
23: ; preds = %20, %17
%24 = phi i32 [ %19, %17 ], [ %22, %20 ]
ret i32 %24
}
declare i32 @atoi(ptr noundef) #1
declare i32 @divby6(i32 noundef) #1
declare i32 @divby30(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/tmps7l8oe99.c'
source_filename = "/tmp/tmps7l8oe99.c"
target datalayout = "e-m:e-p270: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/tmps7l8oe99.c"
target datalayout = "e-m:e-p270: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/tmpwjxgot9f.c'
source_filename = "/tmp/tmpwjxgot9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64, ptr }
@DT_DIR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"/%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @opendir(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %33
10: ; preds = %1
br label %11
11: ; preds = %31, %10
%12 = load ptr, ptr %4, align 8
%13 = call ptr @readdir(ptr noundef %12)
store ptr %13, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %32
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @DT_DIR, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
br label %31
26: ; preds = %15
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29)
br label %31
31: ; preds = %26, %21
br label %11, !llvm.loop !6
32: ; preds = %11
store i32 0, ptr %2, align 4
br label %34
33: ; preds = %1
store i32 -1, ptr %2, align 4
br label %34
34: ; preds = %33, %32
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwjxgot9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64, ptr }
@DT_DIR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"/%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @opendir(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %35
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = call ptr @readdir(ptr noundef %11)
store ptr %12, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %34
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %30
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.dirent, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = load i64, ptr @DT_DIR, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.dirent, ptr %21, i32 0, i32 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
br label %30
25: ; preds = %14
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28)
br label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %4, align 8
%32 = call ptr @readdir(ptr noundef %31)
store ptr %32, ptr %5, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %34
34: ; preds = %._crit_edge, %10
store i32 0, ptr %2, align 4
br label %36
35: ; preds = %1
store i32 -1, ptr %2, align 4
br label %36
36: ; preds = %35, %34
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj3a7r34n.c'
source_filename = "/tmp/tmpj3a7r34n.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"write file error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %9
9: ; preds = %35, %2
%10 = load ptr, ptr %4, align 8
%11 = call i64 @feof(ptr noundef %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %36
13: ; preds = %9
%14 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%15 = load ptr, ptr %4, align 8
%16 = call i32 @fread(ptr noundef %14, i32 noundef 1, i32 noundef 100, ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = icmp ne i64 %17, 100
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = call i64 @ferror(ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 -1, ptr %3, align 4
br label %37
24: ; preds = %19
br label %25
25: ; preds = %24, %13
%26 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %5, align 8
%29 = call i32 @fwrite(ptr noundef %26, i32 noundef 1, i32 noundef %27, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %25
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %37
35: ; preds = %25
br label %9, !llvm.loop !6
36: ; preds = %9
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %32, %23
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i64 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj3a7r34n.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"write file error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%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 i64 @feof(ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %16
12: ; preds = %28
%13 = load ptr, ptr %4, align 8
%14 = call i64 @feof(ptr noundef %13)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %._crit_edge, !llvm.loop !6
16: ; preds = %.lr.ph, %12
%17 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 100, ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = icmp ne i64 %20, 100
br i1 %21, label %22, label %28
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = call i64 @ferror(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 -1, ptr %3, align 4
br label %39
27: ; preds = %22
br label %28
28: ; preds = %27, %16
%29 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%30 = load i32, ptr %7, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @fwrite(ptr noundef %29, i32 noundef 1, i32 noundef %30, ptr noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %12
35: ; preds = %28
%36 = load i32, ptr @stderr, align 4
%37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %39
._crit_edge: ; preds = %12
br label %38
38: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %35, %26
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i64 @feof(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmuhxw3rn.c'
source_filename = "/tmp/tmpmuhxw3rn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmuhxw3rn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7d_o82x5.c'
source_filename = "/tmp/tmp7d_o82x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clapack_dsyrk(i8 noundef signext %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3, double noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store i8 %0, ptr %11, align 1
store i8 %1, ptr %12, align 1
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store double %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store i32 %6, ptr %17, align 4
store double %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store i32 %9, ptr %20, align 4
%21 = load ptr, ptr %16, align 8
%22 = load ptr, ptr %19, align 8
%23 = call i32 @dsyrk_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %21, ptr noundef %17, ptr noundef %18, ptr noundef %22, ptr noundef %20, i32 noundef 1, i32 noundef 1)
ret void
}
declare i32 @dsyrk_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7d_o82x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clapack_dsyrk(i8 noundef signext %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3, double noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store i8 %0, ptr %11, align 1
store i8 %1, ptr %12, align 1
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store double %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store i32 %6, ptr %17, align 4
store double %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store i32 %9, ptr %20, align 4
%21 = load ptr, ptr %16, align 8
%22 = load ptr, ptr %19, align 8
%23 = call i32 @dsyrk_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %21, ptr noundef %17, ptr noundef %18, ptr noundef %22, ptr noundef %20, i32 noundef 1, i32 noundef 1)
ret void
}
declare i32 @dsyrk_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaiu08m5v.c'
source_filename = "/tmp/tmpaiu08m5v.c"
target datalayout = "e-m:e-p270: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.numbers1 = private unnamed_addr constant [8 x i32] [i32 2, i32 4, i32 7, i32 -3, i32 9, i32 0, i32 0, i32 15], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], 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.numbers1, i64 32, i1 false)
store i32 8, ptr %3, align 4
store i32 3, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @printTest(i32 noundef %5, ptr noundef %6, i32 noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printTest(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaiu08m5v.c"
target datalayout = "e-m:e-p270: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.numbers1 = private unnamed_addr constant [8 x i32] [i32 2, i32 4, i32 7, i32 -3, i32 9, i32 0, i32 0, i32 15], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], 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.numbers1, i64 32, i1 false)
store i32 8, ptr %3, align 4
store i32 3, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @printTest(i32 noundef %5, ptr noundef %6, i32 noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printTest(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplheg15it.c'
source_filename = "/tmp/tmplheg15it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2086 x i8] c"<html>\0A<head>\0A<style>\0ABODY, TD, B, LI, U, DIV, SPAN {\0A\09background-color: #ffffff;\0A\09color: #000000;\0A\09font-family: Verdana, Arial, Helvetica, Sans-Serif;\0A\09font-size: 10px;\0A}\0AA {\0A\09color: #0066ff;\0A\09text-decoration: none;\0A}\0AA:visited {\0A\09color: #000099;\0A\09text-decoration: none;\0A}\0AA:active {\0A\09color: #26a0be;\0A\09text-decoration: none;\0A}\0AA:hover {\0A\09color: #ffffff;\0A\09text-decoration: none;\0A\09background-color: #26a0be;\0A}\0A.barfill {\0A\09background-color: #96ef94;\0A\09border-left: 1px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.barempty {\0A\09font-size: 10px;\0A\09line-height: 4px;\0A}\0A.barleft {\0A\09background-color: #ff9696;\0A\09border-left: 1px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.barright {\0A\09background-color: #f8f8f8;\0A\09border-left: 0px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.title {\0A\09background-color: #007f9e;\0A\09font-size: 12px;\0A\09font-weight: bold;\0A\09padding: 3px;\0A\09color: #ffffff;\0A}\0A.reportlink {\0A\09background-color: #ffffff;\0A\09font-size: 12px;\0A\09font-weight: bold;\0A\09color: #000000;\0A\09padding-left: 3px;\0A}\0A.subtitle {\0A\09background-color: #007f9e;\0A\09font-size: 12px;\0A\09font-weight: normal;\0A\09padding: 3px;\0A\09color: #ffffff;\0A}\0A.info {\0A\09background-color: #badfee;\0A\09font-size: 12px;\0A\09padding-left: 3px;\0A\09padding-right: 3px;\0A}\0A.keyentry {\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09border-bottom: 1px dashed #bcbcbc;\0A}\0A.keyentrywe {\0A\09background-color: #f0f090;\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09border-bottom: 1px dashed #bcbcbc;\0A}\0A.valueentry {\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09color: #905d14;\0A\09border-bottom: 1px dashed #f6c074;\0A}\0A.credits {\0A\09font-size: 12px;\0A\09font-weight: bold;\0A}\0A.maintable {\0A\09border-style: solid;\0A\09border-color: #0b4b5b;\0A\09border-width: 1px;\0A}\0A</style>\0A</head>\0A<body><table border=\220\22 cellpadding=\220\22 cellspacing=\220\22 class=\22maintable\22>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_html_print_header(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmplheg15it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2086 x i8] c"<html>\0A<head>\0A<style>\0ABODY, TD, B, LI, U, DIV, SPAN {\0A\09background-color: #ffffff;\0A\09color: #000000;\0A\09font-family: Verdana, Arial, Helvetica, Sans-Serif;\0A\09font-size: 10px;\0A}\0AA {\0A\09color: #0066ff;\0A\09text-decoration: none;\0A}\0AA:visited {\0A\09color: #000099;\0A\09text-decoration: none;\0A}\0AA:active {\0A\09color: #26a0be;\0A\09text-decoration: none;\0A}\0AA:hover {\0A\09color: #ffffff;\0A\09text-decoration: none;\0A\09background-color: #26a0be;\0A}\0A.barfill {\0A\09background-color: #96ef94;\0A\09border-left: 1px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.barempty {\0A\09font-size: 10px;\0A\09line-height: 4px;\0A}\0A.barleft {\0A\09background-color: #ff9696;\0A\09border-left: 1px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.barright {\0A\09background-color: #f8f8f8;\0A\09border-left: 0px;\0A\09border-right: 1px;\0A\09border-top: 1px;\0A\09border-bottom: 1px;\0A\09border-color: #4c934a;\0A\09border-style: solid;\0A\09font-size: 10px;\0A\09height: 3px;\0A\09line-height: 4px;\0A}\0A.title {\0A\09background-color: #007f9e;\0A\09font-size: 12px;\0A\09font-weight: bold;\0A\09padding: 3px;\0A\09color: #ffffff;\0A}\0A.reportlink {\0A\09background-color: #ffffff;\0A\09font-size: 12px;\0A\09font-weight: bold;\0A\09color: #000000;\0A\09padding-left: 3px;\0A}\0A.subtitle {\0A\09background-color: #007f9e;\0A\09font-size: 12px;\0A\09font-weight: normal;\0A\09padding: 3px;\0A\09color: #ffffff;\0A}\0A.info {\0A\09background-color: #badfee;\0A\09font-size: 12px;\0A\09padding-left: 3px;\0A\09padding-right: 3px;\0A}\0A.keyentry {\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09border-bottom: 1px dashed #bcbcbc;\0A}\0A.keyentrywe {\0A\09background-color: #f0f090;\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09border-bottom: 1px dashed #bcbcbc;\0A}\0A.valueentry {\0A\09font-size: 10px;\0A\09padding-left: 2px;\0A\09color: #905d14;\0A\09border-bottom: 1px dashed #f6c074;\0A}\0A.credits {\0A\09font-size: 12px;\0A\09font-weight: bold;\0A}\0A.maintable {\0A\09border-style: solid;\0A\09border-color: #0b4b5b;\0A\09border-width: 1px;\0A}\0A</style>\0A</head>\0A<body><table border=\220\22 cellpadding=\220\22 cellspacing=\220\22 class=\22maintable\22>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_html_print_header(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpyfvf0q8a.c'
source_filename = "/tmp/tmpyfvf0q8a.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"turbo parameters:\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c" get get the current turbo boost state\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" 0 turn turbo boost off\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" 1 turn turbo boost on\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_turbo() #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)
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/tmpyfvf0q8a.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"turbo parameters:\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c" get get the current turbo boost state\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" 0 turn turbo boost off\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" 1 turn turbo boost on\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_turbo() #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)
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/tmpon4eb0pc.c'
source_filename = "/tmp/tmpon4eb0pc.c"
target datalayout = "e-m:e-p270: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/tmpon4eb0pc.c"
target datalayout = "e-m:e-p270: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/tmpzv4ps68y.c'
source_filename = "/tmp/tmpzv4ps68y.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 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.array, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @Bubble_Sort(ptr noundef %4, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, 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 (ptr, ...) @printf(ptr noundef @.str.1)
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 @Bubble_Sort(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/tmpzv4ps68y.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 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.array, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @Bubble_Sort(ptr noundef %4, i32 noundef 5)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
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 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, 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 slt i32 %17, 5
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 (ptr, ...) @printf(ptr noundef @.str.1)
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 @Bubble_Sort(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/tmpt6clggw6.c'
source_filename = "/tmp/tmpt6clggw6.c"
target datalayout = "e-m:e-p270: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/tmpt6clggw6.c"
target datalayout = "e-m:e-p270: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/tmpm9lt6fw0.c'
source_filename = "/tmp/tmpm9lt6fw0.c"
target datalayout = "e-m:e-p270: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/tmpm9lt6fw0.c"
target datalayout = "e-m:e-p270: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/tmp9mniygda.c'
source_filename = "/tmp/tmp9mniygda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airBesselI0ExpScaled(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = fcmp ogt double %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load double, ptr %2, align 8
br label %13
10: ; preds = %1
%11 = load double, ptr %2, align 8
%12 = fneg double %11
br label %13
13: ; preds = %10, %8
%14 = phi double [ %9, %8 ], [ %12, %10 ]
store double %14, ptr %4, align 8
%15 = load double, ptr %4, align 8
%16 = fcmp olt double %15, 0x4016A8C297A4A7C6
br i1 %16, label %17, label %45
17: ; preds = %13
%18 = load double, ptr %2, align 8
%19 = fdiv double %18, 5.700000e+00
store double %19, ptr %5, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %5, align 8
%22 = fmul double %21, %20
store double %22, ptr %5, align 8
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %5, align 8
%27 = call double @llvm.fmuladd.f64(double 0x3FD3DD057A445A71, double %26, double 0x400457785618A9BD)
%28 = load double, ptr %5, align 8
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double 0x40214BFAEE8A74A8)
%30 = call double @llvm.fmuladd.f64(double %25, double %29, double 0x402A6C0B104C7448)
%31 = call double @llvm.fmuladd.f64(double %24, double %30, double 0x401ED69BB62A5B30)
%32 = call double @llvm.fmuladd.f64(double %23, double %31, double 0x3FEFFFFFFFD64E05)
%33 = load double, ptr %5, align 8
%34 = load double, ptr %5, align 8
%35 = call double @llvm.fmuladd.f64(double 0xBF753A7C1613A97C, double %34, double 0x3FB23C1B89C693B2)
%36 = load double, ptr %5, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double 0xBFDA6D4F2B6F18CF)
%38 = call double @llvm.fmuladd.f64(double %33, double %37, double 1.000000e+00)
%39 = fdiv double %32, %38
store double %39, ptr %3, align 8
%40 = load double, ptr %4, align 8
%41 = fneg double %40
%42 = call double @exp(double noundef %41) #4
%43 = load double, ptr %3, align 8
%44 = fmul double %43, %42
store double %44, ptr %3, align 8
br label %71
45: ; preds = %13
%46 = load double, ptr %4, align 8
%47 = fdiv double 5.700000e+00, %46
store double %47, ptr %5, align 8
%48 = load double, ptr %5, align 8
%49 = load double, ptr %5, align 8
%50 = load double, ptr %5, align 8
%51 = load double, ptr %5, align 8
%52 = call double @llvm.fmuladd.f64(double 0xBF17876F85E74A06, double %51, double 0xBF56284D6B8D89FA)
%53 = load double, ptr %5, align 8
%54 = call double @llvm.fmuladd.f64(double %52, double %53, double 0xBFB785415D4B7C32)
%55 = call double @llvm.fmuladd.f64(double %50, double %54, double 0x3FE03D2291A8FFB5)
%56 = call double @llvm.fmuladd.f64(double %49, double %55, double 0xBFE7FD9F0ABBF1D4)
%57 = call double @llvm.fmuladd.f64(double %48, double %56, double 0x3FD9884533FBF759)
%58 = load double, ptr %5, align 8
%59 = load double, ptr %5, align 8
%60 = call double @llvm.fmuladd.f64(double 0xBFD0577C2A639DCB, double %59, double 0x3FF4FC19D5B00AB8)
%61 = load double, ptr %5, align 8
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double 0xBFFE6B3484A733DB)
%63 = call double @llvm.fmuladd.f64(double %58, double %62, double 1.000000e+00)
%64 = fdiv double %57, %63
store double %64, ptr %3, align 8
%65 = load double, ptr %4, align 8
%66 = call i32 @sqrt(double noundef %65)
%67 = sdiv i32 1, %66
%68 = sitofp i32 %67 to double
%69 = load double, ptr %3, align 8
%70 = fmul double %69, %68
store double %70, ptr %3, align 8
br label %71
71: ; preds = %45, %17
%72 = load double, ptr %3, align 8
ret double %72
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare i32 @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9mniygda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airBesselI0ExpScaled(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = fcmp ogt double %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load double, ptr %2, align 8
br label %13
10: ; preds = %1
%11 = load double, ptr %2, align 8
%12 = fneg double %11
br label %13
13: ; preds = %10, %8
%14 = phi double [ %9, %8 ], [ %12, %10 ]
store double %14, ptr %4, align 8
%15 = load double, ptr %4, align 8
%16 = fcmp olt double %15, 0x4016A8C297A4A7C6
br i1 %16, label %17, label %45
17: ; preds = %13
%18 = load double, ptr %2, align 8
%19 = fdiv double %18, 5.700000e+00
store double %19, ptr %5, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %5, align 8
%22 = fmul double %21, %20
store double %22, ptr %5, align 8
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %5, align 8
%27 = call double @llvm.fmuladd.f64(double 0x3FD3DD057A445A71, double %26, double 0x400457785618A9BD)
%28 = load double, ptr %5, align 8
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double 0x40214BFAEE8A74A8)
%30 = call double @llvm.fmuladd.f64(double %25, double %29, double 0x402A6C0B104C7448)
%31 = call double @llvm.fmuladd.f64(double %24, double %30, double 0x401ED69BB62A5B30)
%32 = call double @llvm.fmuladd.f64(double %23, double %31, double 0x3FEFFFFFFFD64E05)
%33 = load double, ptr %5, align 8
%34 = load double, ptr %5, align 8
%35 = call double @llvm.fmuladd.f64(double 0xBF753A7C1613A97C, double %34, double 0x3FB23C1B89C693B2)
%36 = load double, ptr %5, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double 0xBFDA6D4F2B6F18CF)
%38 = call double @llvm.fmuladd.f64(double %33, double %37, double 1.000000e+00)
%39 = fdiv double %32, %38
store double %39, ptr %3, align 8
%40 = load double, ptr %4, align 8
%41 = fneg double %40
%42 = call double @exp(double noundef %41) #4
%43 = load double, ptr %3, align 8
%44 = fmul double %43, %42
store double %44, ptr %3, align 8
br label %71
45: ; preds = %13
%46 = load double, ptr %4, align 8
%47 = fdiv double 5.700000e+00, %46
store double %47, ptr %5, align 8
%48 = load double, ptr %5, align 8
%49 = load double, ptr %5, align 8
%50 = load double, ptr %5, align 8
%51 = load double, ptr %5, align 8
%52 = call double @llvm.fmuladd.f64(double 0xBF17876F85E74A06, double %51, double 0xBF56284D6B8D89FA)
%53 = load double, ptr %5, align 8
%54 = call double @llvm.fmuladd.f64(double %52, double %53, double 0xBFB785415D4B7C32)
%55 = call double @llvm.fmuladd.f64(double %50, double %54, double 0x3FE03D2291A8FFB5)
%56 = call double @llvm.fmuladd.f64(double %49, double %55, double 0xBFE7FD9F0ABBF1D4)
%57 = call double @llvm.fmuladd.f64(double %48, double %56, double 0x3FD9884533FBF759)
%58 = load double, ptr %5, align 8
%59 = load double, ptr %5, align 8
%60 = call double @llvm.fmuladd.f64(double 0xBFD0577C2A639DCB, double %59, double 0x3FF4FC19D5B00AB8)
%61 = load double, ptr %5, align 8
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double 0xBFFE6B3484A733DB)
%63 = call double @llvm.fmuladd.f64(double %58, double %62, double 1.000000e+00)
%64 = fdiv double %57, %63
store double %64, ptr %3, align 8
%65 = load double, ptr %4, align 8
%66 = call i32 @sqrt(double noundef %65)
%67 = sdiv i32 1, %66
%68 = sitofp i32 %67 to double
%69 = load double, ptr %3, align 8
%70 = fmul double %69, %68
store double %70, ptr %3, align 8
br label %71
71: ; preds = %45, %17
%72 = load double, ptr %3, align 8
ret double %72
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare i32 @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_i_qywp0.c'
source_filename = "/tmp/tmp_i_qywp0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Digite um n\C3\BAmero inteiro positivo: \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"Digite outro n\C3\BAmero inteiro positivo: \00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"\0AO maior n\C3\BAmero digitado foi %d, e o menor %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %27, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %3, align 4
br label %26
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %20, %16
br label %26
26: ; preds = %25, %14
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = icmp ne i32 %28, -1
br i1 %29, label %8, label %30, !llvm.loop !6
30: ; preds = %27
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %32)
%34 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_i_qywp0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Digite um n\C3\BAmero inteiro positivo: \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"Digite outro n\C3\BAmero inteiro positivo: \00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"\0AO maior n\C3\BAmero digitado foi %d, e o menor %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %27, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %3, align 4
br label %26
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %20, %16
br label %26
26: ; preds = %25, %14
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = icmp ne i32 %28, -1
br i1 %29, label %8, label %30, !llvm.loop !6
30: ; preds = %27
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %32)
%34 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1jn_u6gv.c'
source_filename = "/tmp/tmp1jn_u6gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"How much? \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"number\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"deposit_money\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"withdraw_money\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"sell_gem\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @obanksub3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %15 [
i32 100, label %4
i32 119, label %8
i32 115, label %12
]
4: ; preds = %1
%5 = call i32 @print_header(ptr noundef @.str)
%6 = call i32 @set_input_type(ptr noundef @.str.1)
%7 = call i32 @set_callback(ptr noundef @.str.2)
br label %15
8: ; preds = %1
%9 = call i32 @print_header(ptr noundef @.str)
%10 = call i32 @set_input_type(ptr noundef @.str.1)
%11 = call i32 @set_callback(ptr noundef @.str.3)
br label %15
12: ; preds = %1
%13 = call i32 @set_callback(ptr noundef @.str.4)
%14 = call i32 (...) @add_gem_options()
br label %15
15: ; preds = %1, %12, %8, %4
ret void
}
declare i32 @print_header(ptr noundef) #1
declare i32 @set_input_type(ptr noundef) #1
declare i32 @set_callback(ptr noundef) #1
declare i32 @add_gem_options(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jn_u6gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"How much? \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"number\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"deposit_money\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"withdraw_money\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"sell_gem\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @obanksub3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %15 [
i32 100, label %4
i32 119, label %8
i32 115, label %12
]
4: ; preds = %1
%5 = call i32 @print_header(ptr noundef @.str)
%6 = call i32 @set_input_type(ptr noundef @.str.1)
%7 = call i32 @set_callback(ptr noundef @.str.2)
br label %15
8: ; preds = %1
%9 = call i32 @print_header(ptr noundef @.str)
%10 = call i32 @set_input_type(ptr noundef @.str.1)
%11 = call i32 @set_callback(ptr noundef @.str.3)
br label %15
12: ; preds = %1
%13 = call i32 @set_callback(ptr noundef @.str.4)
%14 = call i32 (...) @add_gem_options()
br label %15
15: ; preds = %12, %8, %4, %1
ret void
}
declare i32 @print_header(ptr noundef) #1
declare i32 @set_input_type(ptr noundef) #1
declare i32 @set_callback(ptr noundef) #1
declare i32 @add_gem_options(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2mkv0wtn.c'
source_filename = "/tmp/tmp2mkv0wtn.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Uno de los canales es nulo\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Una de las dimensiones es menor que 1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aan_unir_canales_unsigned_char(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 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 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
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 i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %5
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %8, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %21, %18, %5
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str)
br label %123
27: ; preds = %21
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %28, 1
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %31, 1
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.1)
br label %123
36: ; preds = %30, %27
%37 = load i32, ptr %9, align 4
%38 = mul nsw i32 %37, 2
%39 = add nsw i32 %38, 4
%40 = sext i32 %39 to i64
%41 = mul i64 1, %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %41, %43
%45 = trunc i64 %44 to i32
store i32 %45, ptr %14, align 4
%46 = load i32, ptr %14, align 4
%47 = call i64 @malloc(i32 noundef %46)
%48 = inttoptr i64 %47 to ptr
%49 = load ptr, ptr %8, align 8
store ptr %48, ptr %49, align 8
store ptr %48, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %50
50: ; preds = %119, %36
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %9, align 4
%53 = mul nsw i32 %52, 2
%54 = add nsw i32 %53, 4
%55 = icmp slt i32 %51, %54
br i1 %55, label %56, label %122
56: ; preds = %50
store i32 0, ptr %13, align 4
br label %57
57: ; preds = %115, %56
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %118
61: ; preds = %57
%62 = load i32, ptr %9, align 4
%63 = mul nsw i32 %62, 2
%64 = add nsw i32 %63, 4
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %12, align 4
%68 = add nsw i32 %66, %67
store i32 %68, ptr %15, align 4
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %86
72: ; preds = %61
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr %13, align 4
%76 = mul nsw i32 %74, %75
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %73, i64 %79
%81 = load i8, ptr %80, align 1
%82 = load ptr, ptr %11, align 8
%83 = load i32, ptr %15, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
store i8 %81, ptr %85, align 1
br label %114
86: ; preds = %61
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %9, align 4
%89 = add nsw i32 %88, 4
%90 = icmp slt i32 %87, %89
br i1 %90, label %91, label %96
91: ; preds = %86
%92 = load ptr, ptr %11, align 8
%93 = load i32, ptr %15, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 0, ptr %95, align 1
br label %113
96: ; preds = %86
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %13, align 4
%100 = mul nsw i32 %98, %99
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %100, %101
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 4
%105 = sub nsw i32 %102, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %97, i64 %106
%108 = load i8, ptr %107, align 1
%109 = load ptr, ptr %11, align 8
%110 = load i32, ptr %15, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %109, i64 %111
store i8 %108, ptr %112, align 1
br label %113
113: ; preds = %96, %91
br label %114
114: ; preds = %113, %72
br label %115
115: ; preds = %114
%116 = load i32, ptr %13, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %13, align 4
br label %57, !llvm.loop !6
118: ; preds = %57
br label %119
119: ; preds = %118
%120 = load i32, ptr %12, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %12, align 4
br label %50, !llvm.loop !8
122: ; preds = %50
br label %123
123: ; preds = %122, %33, %24
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2mkv0wtn.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Uno de los canales es nulo\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Una de las dimensiones es menor que 1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aan_unir_canales_unsigned_char(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 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 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
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 i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %5
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %8, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %21, %18, %5
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str)
br label %129
27: ; preds = %21
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %28, 1
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %31, 1
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.1)
br label %129
36: ; preds = %30, %27
%37 = load i32, ptr %9, align 4
%38 = mul nsw i32 %37, 2
%39 = add nsw i32 %38, 4
%40 = sext i32 %39 to i64
%41 = mul i64 1, %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %41, %43
%45 = trunc i64 %44 to i32
store i32 %45, ptr %14, align 4
%46 = load i32, ptr %14, align 4
%47 = call i64 @malloc(i32 noundef %46)
%48 = inttoptr i64 %47 to ptr
%49 = load ptr, ptr %8, align 8
store ptr %48, ptr %49, align 8
store ptr %48, ptr %11, align 8
store i32 0, ptr %12, align 4
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %9, align 4
%52 = mul nsw i32 %51, 2
%53 = add nsw i32 %52, 4
%54 = icmp slt i32 %50, %53
br i1 %54, label %.lr.ph2, label %128
.lr.ph2: ; preds = %36
br label %55
55: ; preds = %.lr.ph2, %120
store i32 0, ptr %13, align 4
%56 = load i32, ptr %13, align 4
%57 = load i32, ptr %10, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph, label %119
.lr.ph: ; preds = %55
br label %59
59: ; preds = %.lr.ph, %113
%60 = load i32, ptr %9, align 4
%61 = mul nsw i32 %60, 2
%62 = add nsw i32 %61, 4
%63 = load i32, ptr %13, align 4
%64 = mul nsw i32 %62, %63
%65 = load i32, ptr %12, align 4
%66 = add nsw i32 %64, %65
store i32 %66, ptr %15, align 4
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %9, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %84
70: ; preds = %59
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %13, align 4
%74 = mul nsw i32 %72, %73
%75 = load i32, ptr %12, align 4
%76 = add nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %71, i64 %77
%79 = load i8, ptr %78, align 1
%80 = load ptr, ptr %11, align 8
%81 = load i32, ptr %15, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 %79, ptr %83, align 1
br label %112
84: ; preds = %59
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 4
%88 = icmp slt i32 %85, %87
br i1 %88, label %89, label %94
89: ; preds = %84
%90 = load ptr, ptr %11, align 8
%91 = load i32, ptr %15, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
store i8 0, ptr %93, align 1
br label %111
94: ; preds = %84
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %13, align 4
%98 = mul nsw i32 %96, %97
%99 = load i32, ptr %12, align 4
%100 = add nsw i32 %98, %99
%101 = load i32, ptr %9, align 4
%102 = add nsw i32 %101, 4
%103 = sub nsw i32 %100, %102
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %95, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load ptr, ptr %11, align 8
%108 = load i32, ptr %15, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
store i8 %106, ptr %110, align 1
br label %111
111: ; preds = %94, %89
br label %112
112: ; preds = %111, %70
br label %113
113: ; preds = %112
%114 = load i32, ptr %13, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %13, align 4
%116 = load i32, ptr %13, align 4
%117 = load i32, ptr %10, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %113
br label %119
119: ; preds = %._crit_edge, %55
br label %120
120: ; preds = %119
%121 = load i32, ptr %12, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %12, align 4
%123 = load i32, ptr %12, align 4
%124 = load i32, ptr %9, align 4
%125 = mul nsw i32 %124, 2
%126 = add nsw i32 %125, 4
%127 = icmp slt i32 %123, %126
br i1 %127, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %128
128: ; preds = %._crit_edge3, %36
br label %129
129: ; preds = %128, %33, %24
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvbi49ca9.c'
source_filename = "/tmp/tmpvbi49ca9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hts_parse_reg(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
store i32 -1, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
store i32 -1, ptr %14, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %9, align 4
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %9, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %7, align 4
br label %19
19: ; preds = %32, %3
%20 = load i32, ptr %7, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %35
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 58
br i1 %29, label %30, label %31
30: ; preds = %22
br label %35
31: ; preds = %22
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %7, align 4
br label %19, !llvm.loop !6
35: ; preds = %30, %19
%36 = load i32, ptr %7, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load i32, ptr %7, align 4
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %38, %35
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %94
44: ; preds = %40
store i32 0, ptr %11, align 4
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %81, %44
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %7, 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 eq i32 %57, 45
br i1 %58, label %59, label %62
59: ; preds = %51
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
br label %80
62: ; preds = %51
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = call i32 @isdigit(i8 noundef signext %67)
%69 = icmp ne i32 %68, 0
br i1 %69, label %79, label %70
70: ; preds = %62
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 44
br i1 %77, label %78, label %79
78: ; preds = %70
br label %84
79: ; preds = %70, %62
br label %80
80: ; preds = %79, %59
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
br label %47, !llvm.loop !8
84: ; preds = %78, %47
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %9, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %91, label %88
88: ; preds = %84
%89 = load i32, ptr %11, align 4
%90 = icmp sgt i32 %89, 1
br i1 %90, label %91, label %93
91: ; preds = %88, %84
%92 = load i32, ptr %9, align 4
store i32 %92, ptr %10, align 4
br label %93
93: ; preds = %91, %88
br label %94
94: ; preds = %93, %40
%95 = load i32, ptr %10, align 4
%96 = load i32, ptr %9, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %167
98: ; preds = %94
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %10, align 4
%101 = sub nsw i32 %99, %100
%102 = add nsw i32 %101, 1
%103 = call i64 @alloca(i32 noundef %102)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %12, align 8
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %107
107: ; preds = %131, %98
%108 = load i32, ptr %7, align 4
%109 = load i32, ptr %9, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %134
111: ; preds = %107
%112 = load ptr, ptr %4, align 8
%113 = load i32, ptr %7, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp ne i32 %117, 44
br i1 %118, label %119, label %130
119: ; preds = %111
%120 = load ptr, ptr %4, align 8
%121 = load i32, ptr %7, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = load i8, ptr %123, align 1
%125 = load ptr, ptr %12, align 8
%126 = load i32, ptr %8, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %8, align 4
%128 = sext i32 %126 to i64
%129 = getelementptr inbounds i8, ptr %125, i64 %128
store i8 %124, ptr %129, align 1
br label %130
130: ; preds = %119, %111
br label %131
131: ; preds = %130
%132 = load i32, ptr %7, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %7, align 4
br label %107, !llvm.loop !9
134: ; preds = %107
%135 = load ptr, ptr %12, align 8
%136 = load i32, ptr %8, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i8, ptr %135, i64 %137
store i8 0, ptr %138, align 1
%139 = load ptr, ptr %12, align 8
%140 = call i32 @strtol(ptr noundef %139, ptr noundef %12, i32 noundef 10)
%141 = sub nsw i32 %140, 1
%142 = load ptr, ptr %5, align 8
store i32 %141, ptr %142, align 4
%143 = icmp slt i32 %141, 0
br i1 %143, label %144, label %146
144: ; preds = %134
%145 = load ptr, ptr %5, align 8
store i32 0, ptr %145, align 4
br label %146
146: ; preds = %144, %134
%147 = load ptr, ptr %12, align 8
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp ne i32 %149, 0
br i1 %150, label %151, label %155
151: ; preds = %146
%152 = load ptr, ptr %12, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 1
%154 = call i32 @strtol(ptr noundef %153, ptr noundef %12, i32 noundef 10)
br label %156
155: ; preds = %146
br label %156
156: ; preds = %155, %151
%157 = phi i32 [ %154, %151 ], [ 536870912, %155 ]
%158 = load ptr, ptr %6, align 8
store i32 %157, ptr %158, align 4
%159 = load ptr, ptr %5, align 8
%160 = load i32, ptr %159, align 4
%161 = load ptr, ptr %6, align 8
%162 = load i32, ptr %161, align 4
%163 = icmp sgt i32 %160, %162
br i1 %163, label %164, label %166
164: ; preds = %156
%165 = load i32, ptr %9, align 4
store i32 %165, ptr %10, align 4
br label %166
166: ; preds = %164, %156
br label %167
167: ; preds = %166, %94
%168 = load i32, ptr %10, align 4
%169 = load i32, ptr %9, align 4
%170 = icmp eq i32 %168, %169
br i1 %170, label %171, label %174
171: ; preds = %167
%172 = load ptr, ptr %5, align 8
store i32 0, ptr %172, align 4
%173 = load ptr, ptr %6, align 8
store i32 536870912, ptr %173, align 4
br label %174
174: ; preds = %171, %167
%175 = load ptr, ptr %4, align 8
%176 = load i32, ptr %10, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %175, i64 %177
ret ptr %178
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvbi49ca9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hts_parse_reg(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
store i32 -1, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
store i32 -1, ptr %14, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %9, align 4
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %9, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp sge i32 %19, 0
br i1 %20, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %31
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 58
br i1 %28, label %29, label %30
29: ; preds = %21
br label %36
30: ; preds = %21
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %21, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %31
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %3
br label %36
36: ; preds = %.loopexit1, %29
%37 = load i32, ptr %7, align 4
%38 = icmp sge i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = load i32, ptr %7, align 4
store i32 %40, ptr %10, align 4
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %97
45: ; preds = %41
store i32 0, ptr %11, align 4
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %45
br label %51
51: ; preds = %.lr.ph2, %81
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %7, 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 eq i32 %57, 45
br i1 %58, label %59, label %62
59: ; preds = %51
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
br label %80
62: ; preds = %51
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = call i32 @isdigit(i8 noundef signext %67)
%69 = icmp ne i32 %68, 0
br i1 %69, label %79, label %70
70: ; preds = %62
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 44
br i1 %77, label %78, label %79
78: ; preds = %70
br label %87
79: ; preds = %70, %62
br label %80
80: ; preds = %79, %59
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
%84 = load i32, ptr %7, align 4
%85 = load i32, ptr %9, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %51, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %81
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %45
br label %87
87: ; preds = %.loopexit, %78
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %94, label %91
91: ; preds = %87
%92 = load i32, ptr %11, align 4
%93 = icmp sgt i32 %92, 1
br i1 %93, label %94, label %96
94: ; preds = %91, %87
%95 = load i32, ptr %9, align 4
store i32 %95, ptr %10, align 4
br label %96
96: ; preds = %94, %91
br label %97
97: ; preds = %96, %41
%98 = load i32, ptr %10, align 4
%99 = load i32, ptr %9, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %101, label %172
101: ; preds = %97
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %10, align 4
%104 = sub nsw i32 %102, %103
%105 = add nsw i32 %104, 1
%106 = call i64 @alloca(i32 noundef %105)
%107 = inttoptr i64 %106 to ptr
store ptr %107, ptr %12, align 8
%108 = load i32, ptr %10, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %7, align 4
store i32 0, ptr %8, align 4
%110 = load i32, ptr %7, align 4
%111 = load i32, ptr %9, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %.lr.ph3, label %139
.lr.ph3: ; preds = %101
br label %113
113: ; preds = %.lr.ph3, %133
%114 = load ptr, ptr %4, align 8
%115 = load i32, ptr %7, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp ne i32 %119, 44
br i1 %120, label %121, label %132
121: ; preds = %113
%122 = load ptr, ptr %4, align 8
%123 = load i32, ptr %7, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i8, ptr %122, i64 %124
%126 = load i8, ptr %125, align 1
%127 = load ptr, ptr %12, align 8
%128 = load i32, ptr %8, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %8, align 4
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds i8, ptr %127, i64 %130
store i8 %126, ptr %131, align 1
br label %132
132: ; preds = %121, %113
br label %133
133: ; preds = %132
%134 = load i32, ptr %7, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %7, align 4
%136 = load i32, ptr %7, align 4
%137 = load i32, ptr %9, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %113, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %133
br label %139
139: ; preds = %._crit_edge, %101
%140 = load ptr, ptr %12, align 8
%141 = load i32, ptr %8, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i8, ptr %140, i64 %142
store i8 0, ptr %143, align 1
%144 = load ptr, ptr %12, align 8
%145 = call i32 @strtol(ptr noundef %144, ptr noundef %12, i32 noundef 10)
%146 = sub nsw i32 %145, 1
%147 = load ptr, ptr %5, align 8
store i32 %146, ptr %147, align 4
%148 = icmp slt i32 %146, 0
br i1 %148, label %149, label %151
149: ; preds = %139
%150 = load ptr, ptr %5, align 8
store i32 0, ptr %150, align 4
br label %151
151: ; preds = %149, %139
%152 = load ptr, ptr %12, align 8
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = icmp ne i32 %154, 0
br i1 %155, label %156, label %160
156: ; preds = %151
%157 = load ptr, ptr %12, align 8
%158 = getelementptr inbounds i8, ptr %157, i64 1
%159 = call i32 @strtol(ptr noundef %158, ptr noundef %12, i32 noundef 10)
br label %161
160: ; preds = %151
br label %161
161: ; preds = %160, %156
%162 = phi i32 [ %159, %156 ], [ 536870912, %160 ]
%163 = load ptr, ptr %6, align 8
store i32 %162, ptr %163, align 4
%164 = load ptr, ptr %5, align 8
%165 = load i32, ptr %164, align 4
%166 = load ptr, ptr %6, align 8
%167 = load i32, ptr %166, align 4
%168 = icmp sgt i32 %165, %167
br i1 %168, label %169, label %171
169: ; preds = %161
%170 = load i32, ptr %9, align 4
store i32 %170, ptr %10, align 4
br label %171
171: ; preds = %169, %161
br label %172
172: ; preds = %171, %97
%173 = load i32, ptr %10, align 4
%174 = load i32, ptr %9, align 4
%175 = icmp eq i32 %173, %174
br i1 %175, label %176, label %179
176: ; preds = %172
%177 = load ptr, ptr %5, align 8
store i32 0, ptr %177, align 4
%178 = load ptr, ptr %6, align 8
store i32 536870912, ptr %178, align 4
br label %179
179: ; preds = %176, %172
%180 = load ptr, ptr %4, align 8
%181 = load i32, ptr %10, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i8, ptr %180, i64 %182
ret ptr %183
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpsxpysbkf.c'
source_filename = "/tmp/tmpsxpysbkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isblank(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 45
%18 = zext i1 %17 to i32
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br i1 %22, label %28, label %23
23: ; preds = %13
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 43
br i1 %27, label %28, label %31
28: ; preds = %23, %13
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %2, align 8
br label %31
31: ; preds = %28, %23
br label %32
32: ; preds = %37, %31
%33 = load ptr, ptr %2, align 8
%34 = load i8, ptr %33, align 1
%35 = call i64 @isdigit(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %47
37: ; preds = %32
%38 = load i64, ptr %3, align 8
%39 = mul nsw i64 %38, 10
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %2, align 8
%42 = load i8, ptr %40, align 1
%43 = sext i8 %42 to i32
%44 = sub nsw i32 %43, 48
%45 = sext i32 %44 to i64
%46 = add nsw i64 %39, %45
store i64 %46, ptr %3, align 8
br label %32, !llvm.loop !8
47: ; preds = %32
%48 = load i32, ptr %4, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i64, ptr %3, align 8
%52 = sub nsw i64 0, %51
br label %55
53: ; preds = %47
%54 = load i64, ptr %3, align 8
br label %55
55: ; preds = %53, %50
%56 = phi i64 [ %52, %50 ], [ %54, %53 ]
ret i64 %56
}
declare i64 @isblank(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxpysbkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isblank(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isblank(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 45
%21 = zext i1 %20 to i32
store i32 %21, ptr %4, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %31, label %26
26: ; preds = %16
%27 = load ptr, ptr %2, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %34
31: ; preds = %26, %16
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %2, align 8
br label %34
34: ; preds = %31, %26
%35 = load ptr, ptr %2, align 8
%36 = load i8, ptr %35, align 1
%37 = call i64 @isdigit(i8 noundef signext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %.lr.ph2, label %53
.lr.ph2: ; preds = %34
br label %39
39: ; preds = %.lr.ph2, %39
%40 = load i64, ptr %3, align 8
%41 = mul nsw i64 %40, 10
%42 = load ptr, ptr %2, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %2, align 8
%44 = load i8, ptr %42, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %45, 48
%47 = sext i32 %46 to i64
%48 = add nsw i64 %41, %47
store i64 %48, ptr %3, align 8
%49 = load ptr, ptr %2, align 8
%50 = load i8, ptr %49, align 1
%51 = call i64 @isdigit(i8 noundef signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %53
53: ; preds = %._crit_edge3, %34
%54 = load i32, ptr %4, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i64, ptr %3, align 8
%58 = sub nsw i64 0, %57
br label %61
59: ; preds = %53
%60 = load i64, ptr %3, align 8
br label %61
61: ; preds = %59, %56
%62 = phi i64 [ %58, %56 ], [ %60, %59 ]
ret i64 %62
}
declare i64 @isblank(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmposjsgj3x.c'
source_filename = "/tmp/tmposjsgj3x.c"
target datalayout = "e-m:e-p270: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/tmposjsgj3x.c"
target datalayout = "e-m:e-p270: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/tmp802cyag2.c'
source_filename = "/tmp/tmp802cyag2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Voluntary abort\00", align 1
@.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/FriendSoftwareLabs/friendup/refs/heads/master/libs-ext/openssl/test/aborttest.c\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 @OPENSSL_die(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14)
ret i32 0
}
declare i32 @OPENSSL_die(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/tmp802cyag2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Voluntary abort\00", align 1
@.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/FriendSoftwareLabs/friendup/refs/heads/master/libs-ext/openssl/test/aborttest.c\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 @OPENSSL_die(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14)
ret i32 0
}
declare i32 @OPENSSL_die(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/tmpt3b4lvll.c'
source_filename = "/tmp/tmpt3b4lvll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_encode_long_long(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load i64, ptr %6, align 8
%12 = xor i64 %11, -1
%13 = shl i64 %12, 1
%14 = or i64 %13, 1
store i64 %14, ptr %7, align 8
br label %18
15: ; preds = %3
%16 = load i64, ptr %6, align 8
%17 = shl i64 %16, 1
store i64 %17, ptr %7, align 8
br label %18
18: ; preds = %15, %10
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = call i32 @gob_encode_unsigned_long_long(ptr noundef %19, i64 noundef %20, i64 noundef %21)
ret i32 %22
}
declare i32 @gob_encode_unsigned_long_long(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt3b4lvll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_encode_long_long(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load i64, ptr %6, align 8
%12 = xor i64 %11, -1
%13 = shl i64 %12, 1
%14 = or i64 %13, 1
store i64 %14, ptr %7, align 8
br label %18
15: ; preds = %3
%16 = load i64, ptr %6, align 8
%17 = shl i64 %16, 1
store i64 %17, ptr %7, align 8
br label %18
18: ; preds = %15, %10
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = call i32 @gob_encode_unsigned_long_long(ptr noundef %19, i64 noundef %20, i64 noundef %21)
ret i32 %22
}
declare i32 @gob_encode_unsigned_long_long(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5r1e795h.c'
source_filename = "/tmp/tmp5r1e795h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Invalid cell ID value\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"No cell ID found\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @_extract_cell_id(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strstr(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %7, i32 noundef 10)
%12 = load ptr, ptr %5, align 8
store i64 %11, ptr %12, align 8
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @ERANGE, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %26
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @LONG_MAX, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %42, label %21
21: ; preds = %16
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr @LONG_MIN, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %42, label %26
26: ; preds = %21, %2
%27 = load i64, ptr @errno, align 8
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %30, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label %42, label %33
33: ; preds = %29, %26
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp ne ptr %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38, %29, %21, %16
%43 = call i32 @ui_error(ptr noundef @.str.1)
store i16 0, ptr %3, align 2
br label %52
44: ; preds = %38, %33
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %6, align 8
%47 = icmp eq ptr %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @ui_error(ptr noundef @.str.2)
store i16 0, ptr %3, align 2
br label %52
50: ; preds = %44
br label %51
51: ; preds = %50
store i16 1, ptr %3, align 2
br label %52
52: ; preds = %51, %48, %42
%53 = load i16, ptr %3, align 2
ret i16 %53
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ui_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5r1e795h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Invalid cell ID value\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"No cell ID found\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @_extract_cell_id(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strstr(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %7, i32 noundef 10)
%12 = load ptr, ptr %5, align 8
store i64 %11, ptr %12, align 8
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @ERANGE, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %26
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @LONG_MAX, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %42, label %21
21: ; preds = %16
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr @LONG_MIN, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %42, label %26
26: ; preds = %21, %2
%27 = load i64, ptr @errno, align 8
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %30, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label %42, label %33
33: ; preds = %29, %26
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp ne ptr %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38, %29, %21, %16
%43 = call i32 @ui_error(ptr noundef @.str.1)
store i16 0, ptr %3, align 2
br label %52
44: ; preds = %38, %33
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %6, align 8
%47 = icmp eq ptr %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @ui_error(ptr noundef @.str.2)
store i16 0, ptr %3, align 2
br label %52
50: ; preds = %44
br label %51
51: ; preds = %50
store i16 1, ptr %3, align 2
br label %52
52: ; preds = %51, %48, %42
%53 = load i16, ptr %3, align 2
ret i16 %53
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ui_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdz72f1td.c'
source_filename = "/tmp/tmpdz72f1td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@LOG_INFO = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [74 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_add_detected_host]: %s\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"INSERT INTO %s (host_ix,timestamp) VALUES (?1,?2)\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"detected_hosts\00", align 1
@SQLITE_DONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sqlite_add_detected_host(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca [513 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca [512 x i8], align 16
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %17, i32 noundef 512, ptr noundef @.str, ptr noundef %18)
br label %30
20: ; preds = %3
%21 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%22 = call ptr @getcwd(ptr noundef %21, i32 noundef 256)
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %20
store i64 1, ptr %4, align 8
br label %73
25: ; preds = %20
%26 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%27 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%28 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %26, i32 noundef 512, ptr noundef @.str.1, ptr noundef %27, ptr noundef @.str.2)
br label %29
29: ; preds = %25
br label %30
30: ; preds = %29, %16
%31 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @sqlite3_open(ptr noundef %31, ptr noundef %10)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr @SQLITE_OK, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %44
36: ; preds = %30
%37 = load i32, ptr @LOG_INFO, align 4
%38 = load i32, ptr @LOG_LOCAL6, align 4
%39 = or i32 %37, %38
%40 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%41 = load ptr, ptr %10, align 8
%42 = call i32 @sqlite3_errmsg(ptr noundef %41)
%43 = call i32 @syslog(i32 noundef %39, ptr noundef @.str.3, ptr noundef %40, i32 noundef %42)
store i64 1, ptr %4, align 8
br label %73
44: ; preds = %30
%45 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%46 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %45, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5)
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%49 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%50 = call i32 @strlen(ptr noundef %49)
%51 = call i32 @sqlite3_prepare_v2(ptr noundef %47, ptr noundef %48, i32 noundef %50, ptr noundef %11, ptr noundef null)
%52 = load ptr, ptr %11, align 8
%53 = load i64, ptr %5, align 8
%54 = call i32 @sqlite3_bind_int(ptr noundef %52, i32 noundef 1, i64 noundef %53)
%55 = load ptr, ptr %11, align 8
%56 = load i64, ptr %6, align 8
%57 = call i32 @sqlite3_bind_int(ptr noundef %55, i32 noundef 2, i64 noundef %56)
%58 = load ptr, ptr %11, align 8
%59 = call i32 @sqlite3_step(ptr noundef %58)
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr @SQLITE_DONE, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %68
63: ; preds = %44
%64 = load ptr, ptr %11, align 8
%65 = call i32 @sqlite3_finalize(ptr noundef %64)
%66 = load ptr, ptr %10, align 8
%67 = call i32 @sqlite3_close(ptr noundef %66)
store i64 2, ptr %4, align 8
br label %73
68: ; preds = %44
%69 = load ptr, ptr %11, align 8
%70 = call i32 @sqlite3_finalize(ptr noundef %69)
%71 = load ptr, ptr %10, align 8
%72 = call i32 @sqlite3_close(ptr noundef %71)
store i64 0, ptr %4, align 8
br label %73
73: ; preds = %68, %63, %36, %24
%74 = load i64, ptr %4, align 8
ret i64 %74
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdz72f1td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@LOG_INFO = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [74 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_add_detected_host]: %s\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"INSERT INTO %s (host_ix,timestamp) VALUES (?1,?2)\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"detected_hosts\00", align 1
@SQLITE_DONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sqlite_add_detected_host(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca [513 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca [512 x i8], align 16
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %17, i32 noundef 512, ptr noundef @.str, ptr noundef %18)
br label %30
20: ; preds = %3
%21 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%22 = call ptr @getcwd(ptr noundef %21, i32 noundef 256)
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %20
store i64 1, ptr %4, align 8
br label %73
25: ; preds = %20
%26 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%27 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%28 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %26, i32 noundef 512, ptr noundef @.str.1, ptr noundef %27, ptr noundef @.str.2)
br label %29
29: ; preds = %25
br label %30
30: ; preds = %29, %16
%31 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @sqlite3_open(ptr noundef %31, ptr noundef %10)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr @SQLITE_OK, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %44
36: ; preds = %30
%37 = load i32, ptr @LOG_INFO, align 4
%38 = load i32, ptr @LOG_LOCAL6, align 4
%39 = or i32 %37, %38
%40 = getelementptr inbounds [513 x i8], ptr %9, i64 0, i64 0
%41 = load ptr, ptr %10, align 8
%42 = call i32 @sqlite3_errmsg(ptr noundef %41)
%43 = call i32 @syslog(i32 noundef %39, ptr noundef @.str.3, ptr noundef %40, i32 noundef %42)
store i64 1, ptr %4, align 8
br label %73
44: ; preds = %30
%45 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%46 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %45, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5)
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%49 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%50 = call i32 @strlen(ptr noundef %49)
%51 = call i32 @sqlite3_prepare_v2(ptr noundef %47, ptr noundef %48, i32 noundef %50, ptr noundef %11, ptr noundef null)
%52 = load ptr, ptr %11, align 8
%53 = load i64, ptr %5, align 8
%54 = call i32 @sqlite3_bind_int(ptr noundef %52, i32 noundef 1, i64 noundef %53)
%55 = load ptr, ptr %11, align 8
%56 = load i64, ptr %6, align 8
%57 = call i32 @sqlite3_bind_int(ptr noundef %55, i32 noundef 2, i64 noundef %56)
%58 = load ptr, ptr %11, align 8
%59 = call i32 @sqlite3_step(ptr noundef %58)
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr @SQLITE_DONE, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %68
63: ; preds = %44
%64 = load ptr, ptr %11, align 8
%65 = call i32 @sqlite3_finalize(ptr noundef %64)
%66 = load ptr, ptr %10, align 8
%67 = call i32 @sqlite3_close(ptr noundef %66)
store i64 2, ptr %4, align 8
br label %73
68: ; preds = %44
%69 = load ptr, ptr %11, align 8
%70 = call i32 @sqlite3_finalize(ptr noundef %69)
%71 = load ptr, ptr %10, align 8
%72 = call i32 @sqlite3_close(ptr noundef %71)
store i64 0, ptr %4, align 8
br label %73
73: ; preds = %68, %63, %36, %24
%74 = load i64, ptr %4, align 8
ret i64 %74
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp67owthpm.c'
source_filename = "/tmp/tmp67owthpm.c"
target datalayout = "e-m:e-p270: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/tmp67owthpm.c"
target datalayout = "e-m:e-p270: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/tmpnn0n4tif.c'
source_filename = "/tmp/tmpnn0n4tif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ogin:\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"last login\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"sername\00", align 1
@__const.parse.KNOWN_LOGIN = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [7 x i8] c"asswor\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"asscode\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"ennwort\00", align 1
@__const.parse.KNOWN_PSW = private unnamed_addr constant [3 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [2 x i8] c"?\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"$\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@__const.parse.KNOWN_PRT = private unnamed_addr constant [6 x ptr] [ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [10 x i8] c"incorrect\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"bad log\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"no log\00", align 1
@__const.parse.KNOWN_BAD = private unnamed_addr constant [3 x ptr] [ptr @.str.12, ptr @.str.13, ptr @.str.14], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x ptr], align 16
%7 = alloca [3 x ptr], align 16
%8 = alloca [6 x ptr], align 16
%9 = alloca [3 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x ptr], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.parse.KNOWN_LOGIN, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.parse.KNOWN_PSW, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.parse.KNOWN_PRT, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.parse.KNOWN_BAD, i64 24, i1 false)
%13 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
store i32 3, ptr %13, align 16
%14 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1
store i32 3, ptr %14, align 4
%15 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2
store i32 6, ptr %15, align 8
%16 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3
store i32 3, ptr %16, align 4
%17 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 0
store ptr %6, ptr %17, align 16
%18 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 1
store ptr %7, ptr %18, align 8
%19 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 2
store ptr %8, ptr %19, align 16
%20 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 3
store ptr %9, ptr %20, align 8
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %44, %2
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp slt i32 %22, %26
br i1 %27, label %28, label %47
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call ptr @strcasestr(ptr noundef %29, ptr noundef %37)
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %28
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %48
43: ; preds = %28
br label %44
44: ; preds = %43
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
br label %21, !llvm.loop !6
47: ; preds = %21
store i32 -1, ptr %3, align 4
br label %48
48: ; preds = %47, %40
%49 = load i32, ptr %3, align 4
ret i32 %49
}
; 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 ptr @strcasestr(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnn0n4tif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ogin:\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"last login\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"sername\00", align 1
@__const.parse.KNOWN_LOGIN = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [7 x i8] c"asswor\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"asscode\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"ennwort\00", align 1
@__const.parse.KNOWN_PSW = private unnamed_addr constant [3 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [2 x i8] c"?\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"$\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@__const.parse.KNOWN_PRT = private unnamed_addr constant [6 x ptr] [ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [10 x i8] c"incorrect\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"bad log\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"no log\00", align 1
@__const.parse.KNOWN_BAD = private unnamed_addr constant [3 x ptr] [ptr @.str.12, ptr @.str.13, ptr @.str.14], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x ptr], align 16
%7 = alloca [3 x ptr], align 16
%8 = alloca [6 x ptr], align 16
%9 = alloca [3 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x ptr], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.parse.KNOWN_LOGIN, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.parse.KNOWN_PSW, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.parse.KNOWN_PRT, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.parse.KNOWN_BAD, i64 24, i1 false)
%13 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
store i32 3, ptr %13, align 16
%14 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1
store i32 3, ptr %14, align 4
%15 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2
store i32 6, ptr %15, align 8
%16 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3
store i32 3, ptr %16, align 4
%17 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 0
store ptr %6, ptr %17, align 16
%18 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 1
store ptr %7, ptr %18, align 8
%19 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 2
store ptr %8, ptr %19, align 16
%20 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 3
store ptr %9, ptr %20, align 8
store i32 0, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %21, %25
br i1 %26, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %27
27: ; preds = %.lr.ph, %43
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call ptr @strcasestr(ptr noundef %28, ptr noundef %36)
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %27
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %53
42: ; preds = %27
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = icmp slt i32 %46, %50
br i1 %51, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %52
52: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %53
53: ; preds = %52, %39
%54 = load i32, ptr %3, align 4
ret i32 %54
}
; 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 ptr @strcasestr(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3jhzi4wd.c'
source_filename = "/tmp/tmp3jhzi4wd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resume(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11) #0 {
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store i32 %4, ptr %17, align 4
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store i32 %7, ptr %20, align 4
store i32 %8, ptr %21, align 4
store i32 %9, ptr %22, align 4
store i32 %10, ptr %23, align 4
store ptr %11, ptr %24, align 8
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %14, align 4
%27 = load i32, ptr %15, align 4
%28 = load i32, ptr %16, align 4
%29 = load i32, ptr %17, align 4
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %19, align 8
%32 = load i32, ptr %20, align 4
%33 = load i32, ptr %21, align 4
%34 = load i32, ptr %22, align 4
%35 = load i32, ptr %23, align 4
%36 = load ptr, ptr %24, align 8
%37 = call i32 @resume_with_ckpt(i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %35, ptr noundef %36)
ret i32 %37
}
declare i32 @resume_with_ckpt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jhzi4wd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resume(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11) #0 {
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store i32 %4, ptr %17, align 4
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store i32 %7, ptr %20, align 4
store i32 %8, ptr %21, align 4
store i32 %9, ptr %22, align 4
store i32 %10, ptr %23, align 4
store ptr %11, ptr %24, align 8
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %14, align 4
%27 = load i32, ptr %15, align 4
%28 = load i32, ptr %16, align 4
%29 = load i32, ptr %17, align 4
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %19, align 8
%32 = load i32, ptr %20, align 4
%33 = load i32, ptr %21, align 4
%34 = load i32, ptr %22, align 4
%35 = load i32, ptr %23, align 4
%36 = load ptr, ptr %24, align 8
%37 = call i32 @resume_with_ckpt(i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %35, ptr noundef %36)
ret i32 %37
}
declare i32 @resume_with_ckpt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7fpnyabi.c'
source_filename = "/tmp/tmp7fpnyabi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @animate() #0 {
%1 = call i32 (...) @tick()
%2 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @tick(...) #1
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fpnyabi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @animate() #0 {
%1 = call i32 (...) @tick()
%2 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @tick(...) #1
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr3ui180x.c'
source_filename = "/tmp/tmpr3ui180x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fahrenheit Temperature = %.2f \E2\84\89\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Celsius Temperature = %.2f \E2\84\83\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Kelvin Temperature = %.2f K\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Temperatures(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fsub double %5, 3.200000e+01
%7 = fmul double 0x3FE1C71C71C71C72, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fadd double %8, 2.731600e+02
store double %9, ptr %4, align 8
%10 = load double, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str, double noundef %10)
%12 = load double, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
%14 = load double, ptr %4, align 8
%15 = call i32 @printf(ptr noundef @.str.2, double noundef %14)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr3ui180x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fahrenheit Temperature = %.2f \E2\84\89\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Celsius Temperature = %.2f \E2\84\83\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Kelvin Temperature = %.2f K\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Temperatures(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fsub double %5, 3.200000e+01
%7 = fmul double 0x3FE1C71C71C71C72, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fadd double %8, 2.731600e+02
store double %9, ptr %4, align 8
%10 = load double, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str, double noundef %10)
%12 = load double, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
%14 = load double, ptr %4, align 8
%15 = call i32 @printf(ptr noundef @.str.2, double noundef %14)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpujhb10na.c'
source_filename = "/tmp/tmpujhb10na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"num1 operator num2\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f %c %f\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Delenje so 0\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Nepoznat operator %c\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"%.2f %c %.2f = %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %2, ptr noundef %4)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
switch i32 %9, label %32 [
i32 43, label %10
i32 45, label %14
i32 42, label %18
i32 47, label %22
]
10: ; preds = %0
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = fadd float %11, %12
store float %13, ptr %5, align 4
br label %36
14: ; preds = %0
%15 = load float, ptr %3, align 4
%16 = load float, ptr %4, align 4
%17 = fsub float %15, %16
store float %17, ptr %5, align 4
br label %36
18: ; preds = %0
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fmul float %19, %20
store float %21, ptr %5, align 4
br label %36
22: ; preds = %0
%23 = load float, ptr %4, align 4
%24 = fcmp oeq float %23, 0.000000e+00
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
27: ; preds = %22
%28 = load float, ptr %3, align 4
%29 = load float, ptr %4, align 4
%30 = fdiv float %28, %29
store float %30, ptr %5, align 4
br label %31
31: ; preds = %27, %25
br label %36
32: ; preds = %0
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
br label %36
36: ; preds = %32, %31, %18, %14, %10
%37 = load float, ptr %5, align 4
%38 = fcmp une float %37, 0.000000e+00
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load float, ptr %3, align 4
%41 = fpext float %40 to double
%42 = load i8, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = load float, ptr %4, align 4
%45 = fpext float %44 to double
%46 = load float, ptr %5, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %41, i32 noundef %43, double noundef %45, double noundef %47)
br label %49
49: ; preds = %39, %36
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpujhb10na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"num1 operator num2\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f %c %f\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Delenje so 0\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Nepoznat operator %c\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"%.2f %c %.2f = %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %2, ptr noundef %4)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
switch i32 %9, label %32 [
i32 43, label %10
i32 45, label %14
i32 42, label %18
i32 47, label %22
]
10: ; preds = %0
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = fadd float %11, %12
store float %13, ptr %5, align 4
br label %36
14: ; preds = %0
%15 = load float, ptr %3, align 4
%16 = load float, ptr %4, align 4
%17 = fsub float %15, %16
store float %17, ptr %5, align 4
br label %36
18: ; preds = %0
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fmul float %19, %20
store float %21, ptr %5, align 4
br label %36
22: ; preds = %0
%23 = load float, ptr %4, align 4
%24 = fcmp oeq float %23, 0.000000e+00
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
27: ; preds = %22
%28 = load float, ptr %3, align 4
%29 = load float, ptr %4, align 4
%30 = fdiv float %28, %29
store float %30, ptr %5, align 4
br label %31
31: ; preds = %27, %25
br label %36
32: ; preds = %0
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
br label %36
36: ; preds = %32, %31, %18, %14, %10
%37 = load float, ptr %5, align 4
%38 = fcmp une float %37, 0.000000e+00
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load float, ptr %3, align 4
%41 = fpext float %40 to double
%42 = load i8, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = load float, ptr %4, align 4
%45 = fpext float %44 to double
%46 = load float, ptr %5, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %41, i32 noundef %43, double noundef %45, double noundef %47)
br label %49
49: ; preds = %39, %36
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpktdjz66b.c'
source_filename = "/tmp/tmpktdjz66b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @McDevIf_ReleasePacketBuf() #0 {
%1 = call i32 (...) @McResCtrl_ReleasePacketBuf()
ret void
}
declare i32 @McResCtrl_ReleasePacketBuf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktdjz66b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @McDevIf_ReleasePacketBuf() #0 {
%1 = call i32 (...) @McResCtrl_ReleasePacketBuf()
ret void
}
declare i32 @McResCtrl_ReleasePacketBuf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbmb31s7m.c'
source_filename = "/tmp/tmpbmb31s7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @libm_cosl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @cosl(x86_fp80 noundef %3) #2
ret x86_fp80 %4
}
; Function Attrs: nounwind
declare x86_fp80 @cosl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmb31s7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @libm_cosl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @cosl(x86_fp80 noundef %3) #2
ret x86_fp80 %4
}
; Function Attrs: nounwind
declare x86_fp80 @cosl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3zyvlz46.c'
source_filename = "/tmp/tmp3zyvlz46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @__sys_lseek(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @__sys_lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zyvlz46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @__sys_lseek(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @__sys_lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsa9zuoyb.c'
source_filename = "/tmp/tmpsa9zuoyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wrong index in binary search\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bsearch_double(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = call i32 @fatal(ptr noundef @.str)
br label %14
14: ; preds = %12, %4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %9, align 8
store ptr %18, ptr %19, align 8
store i32 0, ptr %5, align 4
br label %66
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sdiv i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %21, i64 %24
%26 = load double, ptr %25, align 8
%27 = load double, ptr %8, align 8
%28 = call i64 @eq(double noundef %26, double noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = sdiv i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %31, i64 %34
%36 = load ptr, ptr %9, align 8
store ptr %35, ptr %36, align 8
store i32 1, ptr %5, align 4
br label %66
37: ; preds = %20
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sdiv i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %38, i64 %41
%43 = load double, ptr %42, align 8
%44 = load double, ptr %8, align 8
%45 = fcmp olt double %43, %44
br i1 %45, label %46, label %59
46: ; preds = %37
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %7, align 4
%49 = sdiv i32 %48, 2
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %47, i64 %51
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sdiv i32 %54, 2
%56 = load double, ptr %8, align 8
%57 = load ptr, ptr %9, align 8
%58 = call i32 @bsearch_double(ptr noundef %52, i32 noundef %55, double noundef %56, ptr noundef %57)
store i32 %58, ptr %5, align 4
br label %66
59: ; preds = %37
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %7, align 4
%62 = sdiv i32 %61, 2
%63 = load double, ptr %8, align 8
%64 = load ptr, ptr %9, align 8
%65 = call i32 @bsearch_double(ptr noundef %60, i32 noundef %62, double noundef %63, ptr noundef %64)
store i32 %65, ptr %5, align 4
br label %66
66: ; preds = %59, %46, %30, %17
%67 = load i32, ptr %5, align 4
ret i32 %67
}
declare i32 @fatal(ptr noundef) #1
declare i64 @eq(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsa9zuoyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wrong index in binary search\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bsearch_double(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = call i32 @fatal(ptr noundef @.str)
br label %14
14: ; preds = %12, %4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %9, align 8
store ptr %18, ptr %19, align 8
store i32 0, ptr %5, align 4
br label %66
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sdiv i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %21, i64 %24
%26 = load double, ptr %25, align 8
%27 = load double, ptr %8, align 8
%28 = call i64 @eq(double noundef %26, double noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = sdiv i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %31, i64 %34
%36 = load ptr, ptr %9, align 8
store ptr %35, ptr %36, align 8
store i32 1, ptr %5, align 4
br label %66
37: ; preds = %20
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sdiv i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %38, i64 %41
%43 = load double, ptr %42, align 8
%44 = load double, ptr %8, align 8
%45 = fcmp olt double %43, %44
br i1 %45, label %46, label %59
46: ; preds = %37
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %7, align 4
%49 = sdiv i32 %48, 2
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %47, i64 %51
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sdiv i32 %54, 2
%56 = load double, ptr %8, align 8
%57 = load ptr, ptr %9, align 8
%58 = call i32 @bsearch_double(ptr noundef %52, i32 noundef %55, double noundef %56, ptr noundef %57)
store i32 %58, ptr %5, align 4
br label %66
59: ; preds = %37
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %7, align 4
%62 = sdiv i32 %61, 2
%63 = load double, ptr %8, align 8
%64 = load ptr, ptr %9, align 8
%65 = call i32 @bsearch_double(ptr noundef %60, i32 noundef %62, double noundef %63, ptr noundef %64)
store i32 %65, ptr %5, align 4
br label %66
66: ; preds = %59, %46, %30, %17
%67 = load i32, ptr %5, align 4
ret i32 %67
}
declare i32 @fatal(ptr noundef) #1
declare i64 @eq(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdhr46oag.c'
source_filename = "/tmp/tmpdhr46oag.c"
target datalayout = "e-m:e-p270: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/tmpdhr46oag.c"
target datalayout = "e-m:e-p270: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/tmp67laetyd.c'
source_filename = "/tmp/tmp67laetyd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_out_data_align(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %9, align 8
%17 = load ptr, ptr %11, align 8
%18 = call i32 @write_out_data(ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17)
store i32 %18, ptr %13, align 4
%19 = load i32, ptr %13, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %13, align 4
store i32 %22, ptr %6, align 4
br label %39
23: ; preds = %5
%24 = load i64, ptr %9, align 8
%25 = load i64, ptr %10, align 8
%26 = sub i64 %25, 1
%27 = add i64 %24, %26
%28 = load i64, ptr %10, align 8
%29 = sub i64 %28, 1
%30 = xor i64 %29, -1
%31 = and i64 %27, %30
%32 = load i64, ptr %9, align 8
%33 = sub i64 %31, %32
store i64 %33, ptr %12, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i64, ptr %12, align 8
%36 = load ptr, ptr %11, align 8
%37 = call i32 @write_out_padding(ptr noundef %34, i64 noundef %35, i32 noundef 255, ptr noundef %36)
store i32 %37, ptr %13, align 4
%38 = load i32, ptr %13, align 4
store i32 %38, ptr %6, align 4
br label %39
39: ; preds = %23, %21
%40 = load i32, ptr %6, align 4
ret i32 %40
}
declare i32 @write_out_data(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @write_out_padding(ptr noundef, i64 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/tmp67laetyd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_out_data_align(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %9, align 8
%17 = load ptr, ptr %11, align 8
%18 = call i32 @write_out_data(ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17)
store i32 %18, ptr %13, align 4
%19 = load i32, ptr %13, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %13, align 4
store i32 %22, ptr %6, align 4
br label %39
23: ; preds = %5
%24 = load i64, ptr %9, align 8
%25 = load i64, ptr %10, align 8
%26 = sub i64 %25, 1
%27 = add i64 %24, %26
%28 = load i64, ptr %10, align 8
%29 = sub i64 %28, 1
%30 = xor i64 %29, -1
%31 = and i64 %27, %30
%32 = load i64, ptr %9, align 8
%33 = sub i64 %31, %32
store i64 %33, ptr %12, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i64, ptr %12, align 8
%36 = load ptr, ptr %11, align 8
%37 = call i32 @write_out_padding(ptr noundef %34, i64 noundef %35, i32 noundef 255, ptr noundef %36)
store i32 %37, ptr %13, align 4
%38 = load i32, ptr %13, align 4
store i32 %38, ptr %6, align 4
br label %39
39: ; preds = %23, %21
%40 = load i32, ptr %6, align 4
ret i32 %40
}
declare i32 @write_out_data(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @write_out_padding(ptr noundef, i64 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/tmpjhw734_p.c'
source_filename = "/tmp/tmpjhw734_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @temper_type_exit(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 @tempered_type_hid_exit(ptr noundef %3)
ret i32 %4
}
declare i32 @tempered_type_hid_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/tmpjhw734_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @temper_type_exit(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 @tempered_type_hid_exit(ptr noundef %3)
ret i32 %4
}
declare i32 @tempered_type_hid_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/tmpc0w6tu_h.c'
source_filename = "/tmp/tmpc0w6tu_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PC\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"AF\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"BC\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"DE\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"HL\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"IX\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"IY\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"SP\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"AF'\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"BC'\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"DE'\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"HL'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reg16(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %68
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcasecmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 0, ptr %2, align 4
br label %68
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcasecmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 2, ptr %2, align 4
br label %68
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strcasecmp(ptr noundef %18, ptr noundef @.str.2)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 4, ptr %2, align 4
br label %68
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = call i64 @strcasecmp(ptr noundef %23, ptr noundef @.str.3)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 6, ptr %2, align 4
br label %68
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i64 @strcasecmp(ptr noundef %28, ptr noundef @.str.4)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 8, ptr %2, align 4
br label %68
32: ; preds = %27
%33 = load ptr, ptr %3, align 8
%34 = call i64 @strcasecmp(ptr noundef %33, ptr noundef @.str.5)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 10, ptr %2, align 4
br label %68
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = call i64 @strcasecmp(ptr noundef %38, ptr noundef @.str.6)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 12, ptr %2, align 4
br label %68
42: ; preds = %37
%43 = load ptr, ptr %3, align 8
%44 = call i64 @strcasecmp(ptr noundef %43, ptr noundef @.str.7)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 16, ptr %2, align 4
br label %68
47: ; preds = %42
%48 = load ptr, ptr %3, align 8
%49 = call i64 @strcasecmp(ptr noundef %48, ptr noundef @.str.8)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
store i32 18, ptr %2, align 4
br label %68
52: ; preds = %47
%53 = load ptr, ptr %3, align 8
%54 = call i64 @strcasecmp(ptr noundef %53, ptr noundef @.str.9)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 20, ptr %2, align 4
br label %68
57: ; preds = %52
%58 = load ptr, ptr %3, align 8
%59 = call i64 @strcasecmp(ptr noundef %58, ptr noundef @.str.10)
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 22, ptr %2, align 4
br label %68
62: ; preds = %57
%63 = load ptr, ptr %3, align 8
%64 = call i64 @strcasecmp(ptr noundef %63, ptr noundef @.str.11)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
store i32 24, ptr %2, align 4
br label %68
67: ; preds = %62
store i32 -1, ptr %2, align 4
br label %68
68: ; preds = %67, %66, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %11, %6
%69 = load i32, ptr %2, align 4
ret i32 %69
}
declare i64 @strcasecmp(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/tmpc0w6tu_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PC\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"AF\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"BC\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"DE\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"HL\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"IX\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"IY\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"SP\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"AF'\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"BC'\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"DE'\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"HL'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reg16(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %68
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcasecmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 0, ptr %2, align 4
br label %68
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcasecmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 2, ptr %2, align 4
br label %68
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strcasecmp(ptr noundef %18, ptr noundef @.str.2)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 4, ptr %2, align 4
br label %68
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = call i64 @strcasecmp(ptr noundef %23, ptr noundef @.str.3)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 6, ptr %2, align 4
br label %68
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i64 @strcasecmp(ptr noundef %28, ptr noundef @.str.4)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 8, ptr %2, align 4
br label %68
32: ; preds = %27
%33 = load ptr, ptr %3, align 8
%34 = call i64 @strcasecmp(ptr noundef %33, ptr noundef @.str.5)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 10, ptr %2, align 4
br label %68
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = call i64 @strcasecmp(ptr noundef %38, ptr noundef @.str.6)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 12, ptr %2, align 4
br label %68
42: ; preds = %37
%43 = load ptr, ptr %3, align 8
%44 = call i64 @strcasecmp(ptr noundef %43, ptr noundef @.str.7)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 16, ptr %2, align 4
br label %68
47: ; preds = %42
%48 = load ptr, ptr %3, align 8
%49 = call i64 @strcasecmp(ptr noundef %48, ptr noundef @.str.8)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
store i32 18, ptr %2, align 4
br label %68
52: ; preds = %47
%53 = load ptr, ptr %3, align 8
%54 = call i64 @strcasecmp(ptr noundef %53, ptr noundef @.str.9)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 20, ptr %2, align 4
br label %68
57: ; preds = %52
%58 = load ptr, ptr %3, align 8
%59 = call i64 @strcasecmp(ptr noundef %58, ptr noundef @.str.10)
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 22, ptr %2, align 4
br label %68
62: ; preds = %57
%63 = load ptr, ptr %3, align 8
%64 = call i64 @strcasecmp(ptr noundef %63, ptr noundef @.str.11)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
store i32 24, ptr %2, align 4
br label %68
67: ; preds = %62
store i32 -1, ptr %2, align 4
br label %68
68: ; preds = %67, %66, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %11, %6
%69 = load i32, ptr %2, align 4
ret i32 %69
}
declare i64 @strcasecmp(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/tmpwpnjv61u.c'
source_filename = "/tmp/tmpwpnjv61u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_argv0(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @strnlen(ptr noundef %7, i64 noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %5, align 8
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %16
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %14, %13
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare i64 @strnlen(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/tmpwpnjv61u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_argv0(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @strnlen(ptr noundef %7, i64 noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %5, align 8
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %16
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %14, %13
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare i64 @strnlen(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/tmpavh3sxff.c'
source_filename = "/tmp/tmpavh3sxff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__syscall(i32 noundef 1, i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @__syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpavh3sxff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__syscall(i32 noundef 1, i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @__syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmtcq5mb3.c'
source_filename = "/tmp/tmpmtcq5mb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DOllist() #0 {
%1 = alloca i32, align 4
%2 = call i32 @dodir(ptr noundef @.str, i32 noundef 1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @dodir(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/tmpmtcq5mb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DOllist() #0 {
%1 = alloca i32, align 4
%2 = call i32 @dodir(ptr noundef @.str, i32 noundef 1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @dodir(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/tmpyvz3r8cv.c'
source_filename = "/tmp/tmpyvz3r8cv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s <motor> \0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Invalid motor port: must be 0..3\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid0\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid1\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid2\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid3\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [28 x i8] c"Error opening motor %d: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Error writing to motor %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %61
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = icmp sgt i32 %26, 3
br i1 %27, label %28, label %30
28: ; preds = %25, %18
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %61
30: ; preds = %25
%31 = load i32, ptr %6, align 4
switch i32 %31, label %36 [
i32 0, label %32
i32 1, label %33
i32 2, label %34
i32 3, label %35
]
32: ; preds = %30
store ptr @.str.2, ptr %9, align 8
br label %36
33: ; preds = %30
store ptr @.str.3, ptr %9, align 8
br label %36
34: ; preds = %30
store ptr @.str.4, ptr %9, align 8
br label %36
35: ; preds = %30
store ptr @.str.5, ptr %9, align 8
br label %36
36: ; preds = %30, %35, %34, %33, %32
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr @O_WRONLY, align 4
%39 = call i32 @open(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %36
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43, ptr noundef %45)
store i32 1, ptr %3, align 4
br label %61
47: ; preds = %36
%48 = load i32, ptr %7, align 4
%49 = call i32 @_IO(i32 noundef 224, i32 noundef 0)
%50 = call i32 @ioctl(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %47
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %8, align 4
%56 = call ptr @strerror(i32 noundef %55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %54, ptr noundef %56)
store i32 1, ptr %3, align 4
br label %61
58: ; preds = %47
%59 = load i32, ptr %7, align 4
%60 = call i32 @close(i32 noundef %59)
br label %61
61: ; preds = %58, %53, %42, %28, %13
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvz3r8cv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s <motor> \0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Invalid motor port: must be 0..3\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid0\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid1\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid2\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"/dev/cbc/pid3\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [28 x i8] c"Error opening motor %d: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Error writing to motor %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %61
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = icmp sgt i32 %26, 3
br i1 %27, label %28, label %30
28: ; preds = %25, %18
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %61
30: ; preds = %25
%31 = load i32, ptr %6, align 4
switch i32 %31, label %36 [
i32 0, label %32
i32 1, label %33
i32 2, label %34
i32 3, label %35
]
32: ; preds = %30
store ptr @.str.2, ptr %9, align 8
br label %36
33: ; preds = %30
store ptr @.str.3, ptr %9, align 8
br label %36
34: ; preds = %30
store ptr @.str.4, ptr %9, align 8
br label %36
35: ; preds = %30
store ptr @.str.5, ptr %9, align 8
br label %36
36: ; preds = %35, %34, %33, %32, %30
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr @O_WRONLY, align 4
%39 = call i32 @open(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %36
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43, ptr noundef %45)
store i32 1, ptr %3, align 4
br label %61
47: ; preds = %36
%48 = load i32, ptr %7, align 4
%49 = call i32 @_IO(i32 noundef 224, i32 noundef 0)
%50 = call i32 @ioctl(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %47
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %8, align 4
%56 = call ptr @strerror(i32 noundef %55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %54, ptr noundef %56)
store i32 1, ptr %3, align 4
br label %61
58: ; preds = %47
%59 = load i32, ptr %7, align 4
%60 = call i32 @close(i32 noundef %59)
br label %61
61: ; preds = %58, %53, %42, %28, %13
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymjtx6_z.c'
source_filename = "/tmp/tmpymjtx6_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jq_yyfree(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @jv_mem_free(ptr noundef %5)
ret void
}
declare i32 @jv_mem_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/tmpymjtx6_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jq_yyfree(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @jv_mem_free(ptr noundef %5)
ret void
}
declare i32 @jv_mem_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/tmpwu52xbhe.c'
source_filename = "/tmp/tmpwu52xbhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"usage: %s natural number\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"Value: %Zd\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = call i32 @fak(i32 noundef %18)
%20 = call i32 @gmp_printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %14, %8
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @gmp_printf(ptr noundef, i32 noundef) #1
declare i32 @fak(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwu52xbhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"usage: %s natural number\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"Value: %Zd\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = call i32 @fak(i32 noundef %18)
%20 = call i32 @gmp_printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %14, %8
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @gmp_printf(ptr noundef, i32 noundef) #1
declare i32 @fak(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2qchy0yj.c'
source_filename = "/tmp/tmp2qchy0yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_time(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 @mktime(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = call ptr @localtime(ptr noundef %3)
ret ptr %6
}
declare i32 @mktime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2qchy0yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_time(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 @mktime(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = call ptr @localtime(ptr noundef %3)
ret ptr %6
}
declare i32 @mktime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.