llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpc91pjw0x.c'
source_filename = "/tmp/tmpc91pjw0x.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc91pjw0x.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ia0hmnk.c'
source_filename = "/tmp/tmp_ia0hmnk.c"
target datalayout = "e-m:e-p270: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.passwd = type { i64, i64 }
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Unable to allocate buffer.\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to resolve username '%s': (%d) %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_uid_gid_for_username(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.passwd, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%14 = call i32 @sysconf(i32 noundef %13)
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %3
store i32 16384, ptr %11, align 4
br label %18
18: ; preds = %17, %3
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %10, align 8
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %11, align 4
%24 = call i32 @memset(ptr noundef %22, i8 noundef signext 0, i32 noundef %23)
%25 = load ptr, ptr %10, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %18
%28 = call i32 (i32, ptr, ...) @snip_log_fatal(i32 noundef 66, ptr noundef @.str)
br label %29
29: ; preds = %27, %18
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = call i32 @getpwnam_r(ptr noundef %30, ptr noundef %8, ptr noundef %31, i64 noundef %33, ptr noundef %9)
store i32 %34, ptr %12, align 4
%35 = load ptr, ptr %9, align 8
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %56
37: ; preds = %29
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %37
%41 = load ptr, ptr %6, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load ptr, ptr %6, align 8
store i64 -1, ptr %44, align 8
br label %45
45: ; preds = %43, %40
%46 = load ptr, ptr %7, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = load ptr, ptr %7, align 8
store i64 -1, ptr %49, align 8
br label %50
50: ; preds = %48, %45
store i32 0, ptr %4, align 4
br label %73
51: ; preds = %37
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %12, align 4
%54 = call i32 @strerror(i32 noundef %53)
%55 = call i32 (i32, ptr, ...) @snip_log_fatal(i32 noundef 66, ptr noundef @.str.1, ptr noundef %52, i32 noundef %54)
store i32 0, ptr %4, align 4
br label %73
56: ; preds = %29
%57 = load ptr, ptr %6, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = getelementptr inbounds %struct.passwd, ptr %8, i32 0, i32 0
%61 = load i64, ptr %60, align 8
%62 = load ptr, ptr %6, align 8
store i64 %61, ptr %62, align 8
br label %63
63: ; preds = %59, %56
%64 = load ptr, ptr %7, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %70
66: ; preds = %63
%67 = getelementptr inbounds %struct.passwd, ptr %8, i32 0, i32 1
%68 = load i64, ptr %67, align 8
%69 = load ptr, ptr %7, align 8
store i64 %68, ptr %69, align 8
br label %70
70: ; preds = %66, %63
%71 = load ptr, ptr %10, align 8
%72 = call i32 @free(ptr noundef %71)
store i32 1, ptr %4, align 4
br label %73
73: ; preds = %70, %51, %50
%74 = load i32, ptr %4, align 4
ret i32 %74
}
declare i32 @sysconf(i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @snip_log_fatal(i32 noundef, ptr noundef, ...) #1
declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ia0hmnk.c"
target datalayout = "e-m:e-p270: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.passwd = type { i64, i64 }
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Unable to allocate buffer.\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to resolve username '%s': (%d) %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_uid_gid_for_username(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.passwd, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%14 = call i32 @sysconf(i32 noundef %13)
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %3
store i32 16384, ptr %11, align 4
br label %18
18: ; preds = %17, %3
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %10, align 8
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %11, align 4
%24 = call i32 @memset(ptr noundef %22, i8 noundef signext 0, i32 noundef %23)
%25 = load ptr, ptr %10, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %18
%28 = call i32 (i32, ptr, ...) @snip_log_fatal(i32 noundef 66, ptr noundef @.str)
br label %29
29: ; preds = %27, %18
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = call i32 @getpwnam_r(ptr noundef %30, ptr noundef %8, ptr noundef %31, i64 noundef %33, ptr noundef %9)
store i32 %34, ptr %12, align 4
%35 = load ptr, ptr %9, align 8
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %56
37: ; preds = %29
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %37
%41 = load ptr, ptr %6, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load ptr, ptr %6, align 8
store i64 -1, ptr %44, align 8
br label %45
45: ; preds = %43, %40
%46 = load ptr, ptr %7, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = load ptr, ptr %7, align 8
store i64 -1, ptr %49, align 8
br label %50
50: ; preds = %48, %45
store i32 0, ptr %4, align 4
br label %73
51: ; preds = %37
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %12, align 4
%54 = call i32 @strerror(i32 noundef %53)
%55 = call i32 (i32, ptr, ...) @snip_log_fatal(i32 noundef 66, ptr noundef @.str.1, ptr noundef %52, i32 noundef %54)
store i32 0, ptr %4, align 4
br label %73
56: ; preds = %29
%57 = load ptr, ptr %6, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = getelementptr inbounds %struct.passwd, ptr %8, i32 0, i32 0
%61 = load i64, ptr %60, align 8
%62 = load ptr, ptr %6, align 8
store i64 %61, ptr %62, align 8
br label %63
63: ; preds = %59, %56
%64 = load ptr, ptr %7, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %70
66: ; preds = %63
%67 = getelementptr inbounds %struct.passwd, ptr %8, i32 0, i32 1
%68 = load i64, ptr %67, align 8
%69 = load ptr, ptr %7, align 8
store i64 %68, ptr %69, align 8
br label %70
70: ; preds = %66, %63
%71 = load ptr, ptr %10, align 8
%72 = call i32 @free(ptr noundef %71)
store i32 1, ptr %4, align 4
br label %73
73: ; preds = %70, %51, %50
%74 = load i32, ptr %4, align 4
ret i32 %74
}
declare i32 @sysconf(i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @snip_log_fatal(i32 noundef, ptr noundef, ...) #1
declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj7g8080z.c'
source_filename = "/tmp/tmpj7g8080z.c"
target datalayout = "e-m:e-p270: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/tmpj7g8080z.c"
target datalayout = "e-m:e-p270: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/tmpx2m_50j7.c'
source_filename = "/tmp/tmpx2m_50j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conv420(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = call i32 @conv(ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 -1, ptr %5, align 4
br label %66
19: ; preds = %4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = mul nsw i32 %27, %28
%30 = mul nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @conv(ptr noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef %36)
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %19
store i32 -1, ptr %5, align 4
br label %66
41: ; preds = %19
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = mul nsw i32 %43, %44
%46 = sdiv i32 %45, 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %42, i64 %47
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %9, align 4
%52 = mul nsw i32 %50, %51
%53 = mul nsw i32 %52, 2
%54 = sdiv i32 %53, 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %49, i64 %55
store ptr %56, ptr %7, align 8
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %9, align 4
%61 = call i32 @conv(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %41
store i32 -1, ptr %5, align 4
br label %66
65: ; preds = %41
store i32 0, ptr %5, align 4
br label %66
66: ; preds = %65, %64, %40, %18
%67 = load i32, ptr %5, align 4
ret i32 %67
}
declare i32 @conv(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/tmpx2m_50j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conv420(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = call i32 @conv(ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 -1, ptr %5, align 4
br label %66
19: ; preds = %4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = mul nsw i32 %27, %28
%30 = mul nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @conv(ptr noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef %36)
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %19
store i32 -1, ptr %5, align 4
br label %66
41: ; preds = %19
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = mul nsw i32 %43, %44
%46 = sdiv i32 %45, 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %42, i64 %47
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %9, align 4
%52 = mul nsw i32 %50, %51
%53 = mul nsw i32 %52, 2
%54 = sdiv i32 %53, 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %49, i64 %55
store ptr %56, ptr %7, align 8
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %9, align 4
%61 = call i32 @conv(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %41
store i32 -1, ptr %5, align 4
br label %66
65: ; preds = %41
store i32 0, ptr %5, align 4
br label %66
66: ; preds = %65, %64, %40, %18
%67 = load i32, ptr %5, align 4
ret i32 %67
}
declare i32 @conv(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/tmpb3gb28m3.c'
source_filename = "/tmp/tmpb3gb28m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"DESKTOP\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/Desktop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xdg_user_dir_lookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @xdg_user_dir_lookup_with_fallback(ptr noundef %7, ptr noundef null)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %44
13: ; preds = %1
%14 = call ptr @getenv(ptr noundef @.str)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call ptr @strdup(ptr noundef @.str.1)
store ptr %18, ptr %2, align 8
br label %44
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = call i64 @strlen(ptr noundef @.str.3)
%27 = add nsw i64 %25, %26
%28 = add nsw i64 %27, 1
%29 = call i64 @malloc(i64 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %23
store ptr null, ptr %2, align 8
br label %44
34: ; preds = %23
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %6, align 8
%39 = call i32 @strcat(ptr noundef %38, ptr noundef @.str.3)
%40 = load ptr, ptr %6, align 8
store ptr %40, ptr %2, align 8
br label %44
41: ; preds = %19
%42 = load ptr, ptr %5, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %2, align 8
br label %44
44: ; preds = %41, %34, %33, %17, %11
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
declare ptr @xdg_user_dir_lookup_with_fallback(ptr noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3gb28m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"DESKTOP\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/Desktop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xdg_user_dir_lookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @xdg_user_dir_lookup_with_fallback(ptr noundef %7, ptr noundef null)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %44
13: ; preds = %1
%14 = call ptr @getenv(ptr noundef @.str)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call ptr @strdup(ptr noundef @.str.1)
store ptr %18, ptr %2, align 8
br label %44
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = call i64 @strlen(ptr noundef @.str.3)
%27 = add nsw i64 %25, %26
%28 = add nsw i64 %27, 1
%29 = call i64 @malloc(i64 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %23
store ptr null, ptr %2, align 8
br label %44
34: ; preds = %23
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %6, align 8
%39 = call i32 @strcat(ptr noundef %38, ptr noundef @.str.3)
%40 = load ptr, ptr %6, align 8
store ptr %40, ptr %2, align 8
br label %44
41: ; preds = %19
%42 = load ptr, ptr %5, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %2, align 8
br label %44
44: ; preds = %41, %34, %33, %17, %11
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
declare ptr @xdg_user_dir_lookup_with_fallback(ptr noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps4r2yzdx.c'
source_filename = "/tmp/tmps4r2yzdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_desc_to_desc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = call ptr @malloc(i32 noundef 2048)
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %14, %2
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %7, align 8
%12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 2048)
store i32 %12, ptr %6, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20)
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load i32, ptr %5, align 4
ret i32 %23
}
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4r2yzdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_desc_to_desc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = call ptr @malloc(i32 noundef 2048)
store ptr %8, ptr %7, align 8
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %7, align 8
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 2048)
store i32 %11, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %6, align 4
%20 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = load ptr, ptr %7, align 8
%23 = call i32 @read(i32 noundef %21, ptr noundef %22, i32 noundef 2048)
store i32 %23, ptr %6, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i32, ptr %5, align 4
ret i32 %26
}
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxqwzguka.c'
source_filename = "/tmp/tmpxqwzguka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_charsetmap(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 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxqwzguka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_charsetmap(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 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpugdkk93g.c'
source_filename = "/tmp/tmpugdkk93g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_jacobi_priv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %4
store i32 -1, ptr %5, align 4
br label %181
26: ; preds = %4
%27 = load ptr, ptr %8, align 8
store i32 1, ptr %27, align 4
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load ptr, ptr %7, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load ptr, ptr %9, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %37, label %36
36: ; preds = %33, %30, %26
store i32 -1, ptr %5, align 4
br label %181
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = call i32 @BN_is_odd(ptr noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %37
store i32 -1, ptr %5, align 4
br label %181
42: ; preds = %37
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = call i64 @BN_cmp(ptr noundef %43, ptr noundef %44)
%46 = icmp sge i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
store i32 -1, ptr %5, align 4
br label %181
48: ; preds = %42
%49 = call ptr (...) @BN_new()
store ptr %49, ptr %20, align 8
%50 = call ptr (...) @BN_new()
store ptr %50, ptr %18, align 8
%51 = call ptr (...) @BN_new()
store ptr %51, ptr %19, align 8
%52 = call ptr (...) @BN_new()
store ptr %52, ptr %21, align 8
%53 = call ptr (...) @BN_new()
store ptr %53, ptr %22, align 8
%54 = load ptr, ptr %18, align 8
%55 = call i32 @BN_set_word(ptr noundef %54, i32 noundef 0)
%56 = load ptr, ptr %21, align 8
%57 = call i32 @BN_set_word(ptr noundef %56, i32 noundef 3)
%58 = load ptr, ptr %7, align 8
%59 = load ptr, ptr %21, align 8
%60 = call i64 @BN_cmp(ptr noundef %58, ptr noundef %59)
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %48
store i32 -1, ptr %11, align 4
br label %169
63: ; preds = %48
%64 = load ptr, ptr %18, align 8
%65 = load ptr, ptr %6, align 8
%66 = call i64 @BN_cmp(ptr noundef %64, ptr noundef %65)
%67 = icmp sgt i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %63
store i32 -1, ptr %11, align 4
br label %169
69: ; preds = %63
%70 = load ptr, ptr %19, align 8
%71 = load ptr, ptr %6, align 8
%72 = call i32 @BN_copy(ptr noundef %70, ptr noundef %71)
%73 = load ptr, ptr %20, align 8
%74 = load ptr, ptr %7, align 8
%75 = call i32 @BN_copy(ptr noundef %73, ptr noundef %74)
br label %76
76: ; preds = %150, %69
%77 = load ptr, ptr %19, align 8
%78 = call i64 @BN_is_zero(ptr noundef %77)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
br label %169
81: ; preds = %76
%82 = load ptr, ptr %19, align 8
%83 = call i64 @BN_is_one(ptr noundef %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %81
br label %169
86: ; preds = %81
store i32 0, ptr %10, align 4
br label %87
87: ; preds = %97, %86
%88 = load ptr, ptr %19, align 8
%89 = call i32 @BN_is_odd(ptr noundef %88)
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
br label %100
92: ; preds = %87
%93 = load ptr, ptr %19, align 8
%94 = load ptr, ptr %19, align 8
%95 = call i32 @BN_rshift1(ptr noundef %93, ptr noundef %94)
br label %96
96: ; preds = %92
br label %97
97: ; preds = %96
%98 = load i32, ptr %10, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %10, align 4
br label %87
100: ; preds = %91
store i32 1, ptr %12, align 4
%101 = load ptr, ptr %20, align 8
%102 = call i32 @BN_is_odd(ptr noundef %101)
store i32 %102, ptr %13, align 4
%103 = load ptr, ptr %20, align 8
%104 = call i32 @BN_is_bit_set(ptr noundef %103, i32 noundef 1)
store i32 %104, ptr %14, align 4
%105 = load i32, ptr %10, align 4
%106 = srem i32 %105, 2
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %131
108: ; preds = %100
%109 = load ptr, ptr %20, align 8
%110 = call i32 @BN_is_bit_set(ptr noundef %109, i32 noundef 2)
store i32 %110, ptr %15, align 4
%111 = load i32, ptr %15, align 4
%112 = icmp ne i32 %111, 0
br i1 %112, label %120, label %113
113: ; preds = %108
%114 = load i32, ptr %14, align 4
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %120
116: ; preds = %113
%117 = load i32, ptr %13, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %116
store i32 -1, ptr %12, align 4
br label %120
120: ; preds = %119, %116, %113, %108
%121 = load i32, ptr %15, align 4
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %130
123: ; preds = %120
%124 = load i32, ptr %14, align 4
%125 = icmp ne i32 %124, 0
br i1 %125, label %130, label %126
126: ; preds = %123
%127 = load i32, ptr %13, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %130
129: ; preds = %126
store i32 -1, ptr %12, align 4
br label %130
130: ; preds = %129, %126, %123, %120
br label %131
131: ; preds = %130, %100
%132 = load ptr, ptr %19, align 8
%133 = call i32 @BN_is_odd(ptr noundef %132)
store i32 %133, ptr %16, align 4
%134 = load ptr, ptr %19, align 8
%135 = call i32 @BN_is_bit_set(ptr noundef %134, i32 noundef 1)
store i32 %135, ptr %17, align 4
%136 = load i32, ptr %14, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %150
138: ; preds = %131
%139 = load i32, ptr %13, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %150
141: ; preds = %138
%142 = load i32, ptr %17, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %150
144: ; preds = %141
%145 = load i32, ptr %16, align 4
%146 = icmp ne i32 %145, 0
br i1 %146, label %147, label %150
147: ; preds = %144
%148 = load i32, ptr %12, align 4
%149 = sub nsw i32 0, %148
store i32 %149, ptr %12, align 4
br label %150
150: ; preds = %147, %144, %141, %138, %131
%151 = load ptr, ptr %20, align 8
%152 = load ptr, ptr %20, align 8
%153 = load ptr, ptr %19, align 8
%154 = load ptr, ptr %9, align 8
%155 = call i32 @BN_mod(ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154)
%156 = load ptr, ptr %22, align 8
%157 = load ptr, ptr %19, align 8
%158 = call i32 @BN_copy(ptr noundef %156, ptr noundef %157)
%159 = load ptr, ptr %19, align 8
%160 = load ptr, ptr %20, align 8
%161 = call i32 @BN_copy(ptr noundef %159, ptr noundef %160)
%162 = load ptr, ptr %20, align 8
%163 = load ptr, ptr %22, align 8
%164 = call i32 @BN_copy(ptr noundef %162, ptr noundef %163)
%165 = load i32, ptr %12, align 4
%166 = load ptr, ptr %8, align 8
%167 = load i32, ptr %166, align 4
%168 = mul nsw i32 %167, %165
store i32 %168, ptr %166, align 4
br label %76
169: ; preds = %85, %80, %68, %62
%170 = load ptr, ptr %18, align 8
%171 = call i32 @BN_clear_free(ptr noundef %170)
%172 = load ptr, ptr %22, align 8
%173 = call i32 @BN_clear_free(ptr noundef %172)
%174 = load ptr, ptr %19, align 8
%175 = call i32 @BN_clear_free(ptr noundef %174)
%176 = load ptr, ptr %20, align 8
%177 = call i32 @BN_clear_free(ptr noundef %176)
%178 = load ptr, ptr %21, align 8
%179 = call i32 @BN_clear_free(ptr noundef %178)
%180 = load i32, ptr %11, align 4
store i32 %180, ptr %5, align 4
br label %181
181: ; preds = %169, %47, %41, %36, %25
%182 = load i32, ptr %5, align 4
ret i32 %182
}
declare i32 @BN_is_odd(ptr noundef) #1
declare i64 @BN_cmp(ptr noundef, ptr noundef) #1
declare ptr @BN_new(...) #1
declare i32 @BN_set_word(ptr noundef, i32 noundef) #1
declare i32 @BN_copy(ptr noundef, ptr noundef) #1
declare i64 @BN_is_zero(ptr noundef) #1
declare i64 @BN_is_one(ptr noundef) #1
declare i32 @BN_rshift1(ptr noundef, ptr noundef) #1
declare i32 @BN_is_bit_set(ptr noundef, i32 noundef) #1
declare i32 @BN_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_clear_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/tmpugdkk93g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_jacobi_priv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%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 ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %4
store i32 -1, ptr %5, align 4
br label %185
26: ; preds = %4
%27 = load ptr, ptr %8, align 8
store i32 1, ptr %27, align 4
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load ptr, ptr %7, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load ptr, ptr %9, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %37, label %36
36: ; preds = %33, %30, %26
store i32 -1, ptr %5, align 4
br label %185
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = call i32 @BN_is_odd(ptr noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %37
store i32 -1, ptr %5, align 4
br label %185
42: ; preds = %37
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = call i64 @BN_cmp(ptr noundef %43, ptr noundef %44)
%46 = icmp sge i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
store i32 -1, ptr %5, align 4
br label %185
48: ; preds = %42
%49 = call ptr (...) @BN_new()
store ptr %49, ptr %20, align 8
%50 = call ptr (...) @BN_new()
store ptr %50, ptr %18, align 8
%51 = call ptr (...) @BN_new()
store ptr %51, ptr %19, align 8
%52 = call ptr (...) @BN_new()
store ptr %52, ptr %21, align 8
%53 = call ptr (...) @BN_new()
store ptr %53, ptr %22, align 8
%54 = load ptr, ptr %18, align 8
%55 = call i32 @BN_set_word(ptr noundef %54, i32 noundef 0)
%56 = load ptr, ptr %21, align 8
%57 = call i32 @BN_set_word(ptr noundef %56, i32 noundef 3)
%58 = load ptr, ptr %7, align 8
%59 = load ptr, ptr %21, align 8
%60 = call i64 @BN_cmp(ptr noundef %58, ptr noundef %59)
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %48
store i32 -1, ptr %11, align 4
br label %173
63: ; preds = %48
%64 = load ptr, ptr %18, align 8
%65 = load ptr, ptr %6, align 8
%66 = call i64 @BN_cmp(ptr noundef %64, ptr noundef %65)
%67 = icmp sgt i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %63
store i32 -1, ptr %11, align 4
br label %173
69: ; preds = %63
%70 = load ptr, ptr %19, align 8
%71 = load ptr, ptr %6, align 8
%72 = call i32 @BN_copy(ptr noundef %70, ptr noundef %71)
%73 = load ptr, ptr %20, align 8
%74 = load ptr, ptr %7, align 8
%75 = call i32 @BN_copy(ptr noundef %73, ptr noundef %74)
%76 = load ptr, ptr %19, align 8
%77 = call i64 @BN_is_zero(ptr noundef %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %.lr.ph2
.lr.ph2: ; preds = %69
br label %80
._crit_edge3: ; preds = %151
br label %79
79: ; preds = %._crit_edge3, %69
br label %173
80: ; preds = %.lr.ph2, %151
%81 = load ptr, ptr %19, align 8
%82 = call i64 @BN_is_one(ptr noundef %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %80
br label %173
85: ; preds = %80
store i32 0, ptr %10, align 4
%86 = load ptr, ptr %19, align 8
%87 = call i32 @BN_is_odd(ptr noundef %86)
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %.lr.ph
.lr.ph: ; preds = %85
br label %90
._crit_edge: ; preds = %95
br label %89
89: ; preds = %._crit_edge, %85
br label %101
90: ; preds = %.lr.ph, %95
%91 = load ptr, ptr %19, align 8
%92 = load ptr, ptr %19, align 8
%93 = call i32 @BN_rshift1(ptr noundef %91, ptr noundef %92)
br label %94
94: ; preds = %90
br label %95
95: ; preds = %94
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
%98 = load ptr, ptr %19, align 8
%99 = call i32 @BN_is_odd(ptr noundef %98)
%100 = icmp ne i32 %99, 0
br i1 %100, label %._crit_edge, label %90
101: ; preds = %89
store i32 1, ptr %12, align 4
%102 = load ptr, ptr %20, align 8
%103 = call i32 @BN_is_odd(ptr noundef %102)
store i32 %103, ptr %13, align 4
%104 = load ptr, ptr %20, align 8
%105 = call i32 @BN_is_bit_set(ptr noundef %104, i32 noundef 1)
store i32 %105, ptr %14, align 4
%106 = load i32, ptr %10, align 4
%107 = srem i32 %106, 2
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %132
109: ; preds = %101
%110 = load ptr, ptr %20, align 8
%111 = call i32 @BN_is_bit_set(ptr noundef %110, i32 noundef 2)
store i32 %111, ptr %15, align 4
%112 = load i32, ptr %15, align 4
%113 = icmp ne i32 %112, 0
br i1 %113, label %121, label %114
114: ; preds = %109
%115 = load i32, ptr %14, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %121
117: ; preds = %114
%118 = load i32, ptr %13, align 4
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 -1, ptr %12, align 4
br label %121
121: ; preds = %120, %117, %114, %109
%122 = load i32, ptr %15, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %131
124: ; preds = %121
%125 = load i32, ptr %14, align 4
%126 = icmp ne i32 %125, 0
br i1 %126, label %131, label %127
127: ; preds = %124
%128 = load i32, ptr %13, align 4
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %127
store i32 -1, ptr %12, align 4
br label %131
131: ; preds = %130, %127, %124, %121
br label %132
132: ; preds = %131, %101
%133 = load ptr, ptr %19, align 8
%134 = call i32 @BN_is_odd(ptr noundef %133)
store i32 %134, ptr %16, align 4
%135 = load ptr, ptr %19, align 8
%136 = call i32 @BN_is_bit_set(ptr noundef %135, i32 noundef 1)
store i32 %136, ptr %17, align 4
%137 = load i32, ptr %14, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %151
139: ; preds = %132
%140 = load i32, ptr %13, align 4
%141 = icmp ne i32 %140, 0
br i1 %141, label %142, label %151
142: ; preds = %139
%143 = load i32, ptr %17, align 4
%144 = icmp ne i32 %143, 0
br i1 %144, label %145, label %151
145: ; preds = %142
%146 = load i32, ptr %16, align 4
%147 = icmp ne i32 %146, 0
br i1 %147, label %148, label %151
148: ; preds = %145
%149 = load i32, ptr %12, align 4
%150 = sub nsw i32 0, %149
store i32 %150, ptr %12, align 4
br label %151
151: ; preds = %148, %145, %142, %139, %132
%152 = load ptr, ptr %20, align 8
%153 = load ptr, ptr %20, align 8
%154 = load ptr, ptr %19, align 8
%155 = load ptr, ptr %9, align 8
%156 = call i32 @BN_mod(ptr noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155)
%157 = load ptr, ptr %22, align 8
%158 = load ptr, ptr %19, align 8
%159 = call i32 @BN_copy(ptr noundef %157, ptr noundef %158)
%160 = load ptr, ptr %19, align 8
%161 = load ptr, ptr %20, align 8
%162 = call i32 @BN_copy(ptr noundef %160, ptr noundef %161)
%163 = load ptr, ptr %20, align 8
%164 = load ptr, ptr %22, align 8
%165 = call i32 @BN_copy(ptr noundef %163, ptr noundef %164)
%166 = load i32, ptr %12, align 4
%167 = load ptr, ptr %8, align 8
%168 = load i32, ptr %167, align 4
%169 = mul nsw i32 %168, %166
store i32 %169, ptr %167, align 4
%170 = load ptr, ptr %19, align 8
%171 = call i64 @BN_is_zero(ptr noundef %170)
%172 = icmp ne i64 %171, 0
br i1 %172, label %._crit_edge3, label %80
173: ; preds = %84, %79, %68, %62
%174 = load ptr, ptr %18, align 8
%175 = call i32 @BN_clear_free(ptr noundef %174)
%176 = load ptr, ptr %22, align 8
%177 = call i32 @BN_clear_free(ptr noundef %176)
%178 = load ptr, ptr %19, align 8
%179 = call i32 @BN_clear_free(ptr noundef %178)
%180 = load ptr, ptr %20, align 8
%181 = call i32 @BN_clear_free(ptr noundef %180)
%182 = load ptr, ptr %21, align 8
%183 = call i32 @BN_clear_free(ptr noundef %182)
%184 = load i32, ptr %11, align 4
store i32 %184, ptr %5, align 4
br label %185
185: ; preds = %173, %47, %41, %36, %25
%186 = load i32, ptr %5, align 4
ret i32 %186
}
declare i32 @BN_is_odd(ptr noundef) #1
declare i64 @BN_cmp(ptr noundef, ptr noundef) #1
declare ptr @BN_new(...) #1
declare i32 @BN_set_word(ptr noundef, i32 noundef) #1
declare i32 @BN_copy(ptr noundef, ptr noundef) #1
declare i64 @BN_is_zero(ptr noundef) #1
declare i64 @BN_is_one(ptr noundef) #1
declare i32 @BN_rshift1(ptr noundef, ptr noundef) #1
declare i32 @BN_is_bit_set(ptr noundef, i32 noundef) #1
declare i32 @BN_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BN_clear_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/tmps69tiq1m.c'
source_filename = "/tmp/tmps69tiq1m.c"
target datalayout = "e-m:e-p270: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/tmps69tiq1m.c"
target datalayout = "e-m:e-p270: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/tmp8k02n47v.c'
source_filename = "/tmp/tmp8k02n47v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"$SHELL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DOlshell() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
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/tmp8k02n47v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"$SHELL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DOlshell() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
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/tmplocpv45s.c'
source_filename = "/tmp/tmplocpv45s.c"
target datalayout = "e-m:e-p270: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
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplocpv45s.c"
target datalayout = "e-m:e-p270: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
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpedxtld4r.c'
source_filename = "/tmp/tmpedxtld4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpedxtld4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpdukq_u1b.c'
source_filename = "/tmp/tmpdukq_u1b.c"
target datalayout = "e-m:e-p270: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/tmpdukq_u1b.c"
target datalayout = "e-m:e-p270: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/tmpush1anin.c'
source_filename = "/tmp/tmpush1anin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @concat_ints(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %29, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %32
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %4, align 4
br label %15
15: ; preds = %25, %12
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %19, 10
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = srem i32 %21, 10
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %18
%26 = load i32, ptr %4, align 4
%27 = sdiv i32 %26, 10
store i32 %27, ptr %4, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
br label %29
29: ; preds = %28
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i32, ptr %30, i32 1
store ptr %31, ptr %2, align 8
br label %8, !llvm.loop !8
32: ; preds = %8
%33 = load i32, ptr %3, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpush1anin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @concat_ints(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph2, label %35
.lr.ph2: ; preds = %1
br label %11
11: ; preds = %.lr.ph2, %29
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %23
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %17, 10
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = srem i32 %19, 10
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = sdiv i32 %24, 10
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %11
br label %29
29: ; preds = %28
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i32, ptr %30, i32 1
store ptr %31, ptr %2, align 8
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %32, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %35
35: ; preds = %._crit_edge3, %1
%36 = load i32, ptr %3, align 4
ret i32 %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq30rgyq2.c'
source_filename = "/tmp/tmpq30rgyq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FALLO DE MEMORIA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %0, %26
%5 = call i32 (...) @handle_input()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ugt i32 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = call i32 @process_comando(i32 noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = call i32 @free_comando(i32 noundef %14)
store i32 0, ptr %1, align 4
br label %27
16: ; preds = %8
%17 = call i32 (...) @print_output()
%18 = load i32, ptr %3, align 4
%19 = call i32 @free_comando(i32 noundef %18)
br label %26
20: ; preds = %4
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %27
25: ; preds = %20
br label %26
26: ; preds = %25, %16
br label %4
27: ; preds = %23, %13
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @handle_input(...) #1
declare i32 @process_comando(i32 noundef) #1
declare i32 @free_comando(i32 noundef) #1
declare i32 @print_output(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq30rgyq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FALLO DE MEMORIA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %26, %0
%5 = call i32 (...) @handle_input()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ugt i32 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = call i32 @process_comando(i32 noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = call i32 @free_comando(i32 noundef %14)
store i32 0, ptr %1, align 4
br label %27
16: ; preds = %8
%17 = call i32 (...) @print_output()
%18 = load i32, ptr %3, align 4
%19 = call i32 @free_comando(i32 noundef %18)
br label %26
20: ; preds = %4
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %27
25: ; preds = %20
br label %26
26: ; preds = %25, %16
br label %4
27: ; preds = %23, %13
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @handle_input(...) #1
declare i32 @process_comando(i32 noundef) #1
declare i32 @free_comando(i32 noundef) #1
declare i32 @print_output(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp23rf94u7.c'
source_filename = "/tmp/tmp23rf94u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getfgcolor() #0 {
%1 = call i64 (...) @GetFGColor80()
ret i64 %1
}
declare i64 @GetFGColor80(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp23rf94u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getfgcolor() #0 {
%1 = call i64 (...) @GetFGColor80()
ret i64 %1
}
declare i64 @GetFGColor80(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpicrp6ksb.c'
source_filename = "/tmp/tmpicrp6ksb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPrime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 2, ptr %4, align 8
br label %5
5: ; preds = %16, %1
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %19
9: ; preds = %5
%10 = load i64, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = srem i64 %10, %11
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 0, ptr %2, align 4
br label %20
15: ; preds = %9
br label %16
16: ; preds = %15
%17 = load i64, ptr %4, align 8
%18 = add nsw i64 %17, 1
store i64 %18, ptr %4, align 8
br label %5, !llvm.loop !6
19: ; preds = %5
store i32 1, ptr %2, align 4
br label %20
20: ; preds = %19, %14
%21 = load i32, ptr %2, align 4
ret i32 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpicrp6ksb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPrime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 2, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp slt i64 %5, %6
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = srem i64 %9, %10
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %8
store i32 0, ptr %2, align 4
br label %22
14: ; preds = %8
br label %15
15: ; preds = %14
%16 = load i64, ptr %4, align 8
%17 = add nsw i64 %16, 1
store i64 %17, ptr %4, align 8
%18 = load i64, ptr %4, align 8
%19 = load i64, ptr %3, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %13
%23 = load i32, ptr %2, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq416u3de.c'
source_filename = "/tmp/tmpq416u3de.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"V1.1.1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmpq416u3de.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"V1.1.1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmpog5zzi2t.c'
source_filename = "/tmp/tmpog5zzi2t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Error: cannot open file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"First different at line:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s: %s\0A%s: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"File: %s reached EOF or encounters an error.\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"No diff.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @diff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [1000 x i8], align 16
%9 = alloca [1000 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %20, label %16
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %32
20: ; preds = %16, %2
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
br label %28
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
br label %28
28: ; preds = %26, %24
%29 = phi ptr [ %25, %24 ], [ %27, %26 ]
%30 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %16
store i32 0, ptr %12, align 4
br label %33
33: ; preds = %67, %32
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%37 = load ptr, ptr %6, align 8
%38 = call ptr @fgets(ptr noundef %36, i32 noundef 1000, ptr noundef %37)
store ptr %38, ptr %10, align 8
%39 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%40 = load ptr, ptr %7, align 8
%41 = call ptr @fgets(ptr noundef %39, i32 noundef 1000, ptr noundef %40)
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %33
%45 = load ptr, ptr %11, align 8
%46 = icmp ne ptr %45, null
br label %47
47: ; preds = %44, %33
%48 = phi i1 [ false, %33 ], [ %46, %44 ]
br i1 %48, label %49, label %68
49: ; preds = %47
%50 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%51 = call i32 @rmlb(ptr noundef %50)
%52 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%53 = call i32 @rmlb(ptr noundef %52)
%54 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%55 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%56 = call i64 @strcmp(ptr noundef %54, ptr noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %67
58: ; preds = %49
%59 = load i32, ptr %12, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %59)
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64)
%66 = load i32, ptr %12, align 4
store i32 %66, ptr %3, align 4
br label %87
67: ; preds = %49
br label %33, !llvm.loop !6
68: ; preds = %47
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %74, label %71
71: ; preds = %68
%72 = load ptr, ptr %11, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %85
74: ; preds = %71, %68
%75 = load ptr, ptr %6, align 8
%76 = icmp eq ptr %75, null
br i1 %76, label %77, label %79
77: ; preds = %74
%78 = load ptr, ptr %4, align 8
br label %81
79: ; preds = %74
%80 = load ptr, ptr %5, align 8
br label %81
81: ; preds = %79, %77
%82 = phi ptr [ %78, %77 ], [ %80, %79 ]
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %82)
%84 = load i32, ptr %12, align 4
store i32 %84, ptr %3, align 4
br label %87
85: ; preds = %71
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %87
87: ; preds = %85, %81, %58
%88 = load i32, ptr %3, align 4
ret i32 %88
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @rmlb(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpog5zzi2t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Error: cannot open file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"First different at line:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s: %s\0A%s: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"File: %s reached EOF or encounters an error.\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"No diff.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @diff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [1000 x i8], align 16
%9 = alloca [1000 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %20, label %16
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %32
20: ; preds = %16, %2
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
br label %28
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
br label %28
28: ; preds = %26, %24
%29 = phi ptr [ %25, %24 ], [ %27, %26 ]
%30 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %16
store i32 0, ptr %12, align 4
br label %33
33: ; preds = %49, %32
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%37 = load ptr, ptr %6, align 8
%38 = call ptr @fgets(ptr noundef %36, i32 noundef 1000, ptr noundef %37)
store ptr %38, ptr %10, align 8
%39 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%40 = load ptr, ptr %7, align 8
%41 = call ptr @fgets(ptr noundef %39, i32 noundef 1000, ptr noundef %40)
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %33
%45 = load ptr, ptr %11, align 8
%46 = icmp ne ptr %45, null
br label %47
47: ; preds = %44, %33
%48 = phi i1 [ false, %33 ], [ %46, %44 ]
br i1 %48, label %49, label %67
49: ; preds = %47
%50 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%51 = call i32 @rmlb(ptr noundef %50)
%52 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%53 = call i32 @rmlb(ptr noundef %52)
%54 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%55 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%56 = call i64 @strcmp(ptr noundef %54, ptr noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %33, !llvm.loop !6
58: ; preds = %49
%59 = load i32, ptr %12, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %59)
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64)
%66 = load i32, ptr %12, align 4
store i32 %66, ptr %3, align 4
br label %86
67: ; preds = %47
%68 = load ptr, ptr %10, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %73, label %70
70: ; preds = %67
%71 = load ptr, ptr %11, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %84
73: ; preds = %70, %67
%74 = load ptr, ptr %6, align 8
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = load ptr, ptr %4, align 8
br label %80
78: ; preds = %73
%79 = load ptr, ptr %5, align 8
br label %80
80: ; preds = %78, %76
%81 = phi ptr [ %77, %76 ], [ %79, %78 ]
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %81)
%83 = load i32, ptr %12, align 4
store i32 %83, ptr %3, align 4
br label %86
84: ; preds = %70
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %86
86: ; preds = %84, %80, %58
%87 = load i32, ptr %3, align 4
ret i32 %87
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @rmlb(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpj0vkfba5.c'
source_filename = "/tmp/tmpj0vkfba5.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32, i32 }
@.str = private unnamed_addr constant [58 x i8] c"Could not change group id to that of run_as user '%s': %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Could not change user id to that of run_as user '%s': %s\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"run_as user '%s' could not be found: %s\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"run_as user '%s' could not be found.\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"getpwnam_r() requires more than %u bytes of buffer space.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_as(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 %struct.passwd, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %23
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp uge i64 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 48, ptr %22, align 1
br label %23
23: ; preds = %20, %17, %3
%24 = load ptr, ptr %5, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 0, ptr %4, align 4
br label %108
27: ; preds = %23
store i64 128, ptr %10, align 8
br label %28
28: ; preds = %103, %27
%29 = load i64, ptr %10, align 8
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %12, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %13, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %10, align 8
%34 = call i32 @getpwnam_r(ptr noundef %32, ptr noundef %8, ptr noundef %31, i64 noundef %33, ptr noundef %9)
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %67
37: ; preds = %28
%38 = load ptr, ptr %9, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %67
40: ; preds = %37
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = call i64 @setgid(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %40
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %7, align 8
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr @errno, align 4
%51 = call i32 @strerror(i32 noundef %50)
%52 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %47, i64 noundef %48, ptr noundef @.str, ptr noundef %49, i32 noundef %51)
store i32 5, ptr %14, align 4
br label %99
53: ; preds = %40
%54 = load ptr, ptr %9, align 8
%55 = getelementptr inbounds %struct.passwd, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i64 @setuid(i32 noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %66
59: ; preds = %53
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %7, align 8
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr @errno, align 4
%64 = call i32 @strerror(i32 noundef %63)
%65 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %60, i64 noundef %61, ptr noundef @.str.1, ptr noundef %62, i32 noundef %64)
store i32 5, ptr %14, align 4
br label %99
66: ; preds = %53
store i32 2, ptr %14, align 4
br label %99
67: ; preds = %37, %28
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr @ERANGE, align 4
%70 = icmp ne i32 %68, %69
br i1 %70, label %71, label %87
71: ; preds = %67
%72 = load i32, ptr %11, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %81
74: ; preds = %71
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %7, align 8
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %11, align 4
%79 = call i32 @strerror(i32 noundef %78)
%80 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %75, i64 noundef %76, ptr noundef @.str.2, ptr noundef %77, i32 noundef %79)
br label %86
81: ; preds = %71
%82 = load ptr, ptr %6, align 8
%83 = load i64, ptr %7, align 8
%84 = load ptr, ptr %5, align 8
%85 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %82, i64 noundef %83, ptr noundef @.str.3, ptr noundef %84)
br label %86
86: ; preds = %81, %74
store i32 5, ptr %14, align 4
br label %99
87: ; preds = %67
%88 = load i64, ptr %10, align 8
%89 = icmp uge i64 %88, 16384
br i1 %89, label %90, label %96
90: ; preds = %87
%91 = load ptr, ptr %6, align 8
%92 = load i64, ptr %7, align 8
%93 = load i64, ptr %10, align 8
%94 = trunc i64 %93 to i32
%95 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %91, i64 noundef %92, ptr noundef @.str.4, i32 noundef %94)
store i32 5, ptr %14, align 4
br label %99
96: ; preds = %87
br label %97
97: ; preds = %96
br label %98
98: ; preds = %97
store i32 0, ptr %14, align 4
br label %99
99: ; preds = %90, %86, %59, %46, %98, %66
%100 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %100)
%101 = load i32, ptr %14, align 4
switch i32 %101, label %110 [
i32 0, label %102
i32 2, label %106
i32 5, label %107
]
102: ; preds = %99
br label %103
103: ; preds = %102
%104 = load i64, ptr %10, align 8
%105 = mul i64 %104, 2
store i64 %105, ptr %10, align 8
br label %28
106: ; preds = %99
store i32 0, ptr %4, align 4
br label %108
107: ; preds = %99
store i32 -1, ptr %4, align 4
br label %108
108: ; preds = %107, %106, %26
%109 = load i32, ptr %4, align 4
ret i32 %109
110: ; preds = %99
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
declare i64 @setgid(i32 noundef) #2
declare i32 @set_errbuf(ptr noundef, i64 noundef, ptr noundef, ...) #2
declare i32 @strerror(i32 noundef) #2
declare i64 @setuid(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj0vkfba5.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32, i32 }
@.str = private unnamed_addr constant [58 x i8] c"Could not change group id to that of run_as user '%s': %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Could not change user id to that of run_as user '%s': %s\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"run_as user '%s' could not be found: %s\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"run_as user '%s' could not be found.\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"getpwnam_r() requires more than %u bytes of buffer space.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_as(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 %struct.passwd, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %23
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp uge i64 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 48, ptr %22, align 1
br label %23
23: ; preds = %20, %17, %3
%24 = load ptr, ptr %5, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 0, ptr %4, align 4
br label %108
27: ; preds = %23
store i64 128, ptr %10, align 8
br label %28
28: ; preds = %103, %27
%29 = load i64, ptr %10, align 8
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %12, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %13, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %10, align 8
%34 = call i32 @getpwnam_r(ptr noundef %32, ptr noundef %8, ptr noundef %31, i64 noundef %33, ptr noundef %9)
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %67
37: ; preds = %28
%38 = load ptr, ptr %9, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %67
40: ; preds = %37
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = call i64 @setgid(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %40
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %7, align 8
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr @errno, align 4
%51 = call i32 @strerror(i32 noundef %50)
%52 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %47, i64 noundef %48, ptr noundef @.str, ptr noundef %49, i32 noundef %51)
store i32 5, ptr %14, align 4
br label %99
53: ; preds = %40
%54 = load ptr, ptr %9, align 8
%55 = getelementptr inbounds %struct.passwd, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i64 @setuid(i32 noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %66
59: ; preds = %53
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %7, align 8
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr @errno, align 4
%64 = call i32 @strerror(i32 noundef %63)
%65 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %60, i64 noundef %61, ptr noundef @.str.1, ptr noundef %62, i32 noundef %64)
store i32 5, ptr %14, align 4
br label %99
66: ; preds = %53
store i32 2, ptr %14, align 4
br label %99
67: ; preds = %37, %28
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr @ERANGE, align 4
%70 = icmp ne i32 %68, %69
br i1 %70, label %71, label %87
71: ; preds = %67
%72 = load i32, ptr %11, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %81
74: ; preds = %71
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %7, align 8
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %11, align 4
%79 = call i32 @strerror(i32 noundef %78)
%80 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %75, i64 noundef %76, ptr noundef @.str.2, ptr noundef %77, i32 noundef %79)
br label %86
81: ; preds = %71
%82 = load ptr, ptr %6, align 8
%83 = load i64, ptr %7, align 8
%84 = load ptr, ptr %5, align 8
%85 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %82, i64 noundef %83, ptr noundef @.str.3, ptr noundef %84)
br label %86
86: ; preds = %81, %74
store i32 5, ptr %14, align 4
br label %99
87: ; preds = %67
%88 = load i64, ptr %10, align 8
%89 = icmp uge i64 %88, 16384
br i1 %89, label %90, label %96
90: ; preds = %87
%91 = load ptr, ptr %6, align 8
%92 = load i64, ptr %7, align 8
%93 = load i64, ptr %10, align 8
%94 = trunc i64 %93 to i32
%95 = call i32 (ptr, i64, ptr, ...) @set_errbuf(ptr noundef %91, i64 noundef %92, ptr noundef @.str.4, i32 noundef %94)
store i32 5, ptr %14, align 4
br label %99
96: ; preds = %87
br label %97
97: ; preds = %96
br label %98
98: ; preds = %97
store i32 0, ptr %14, align 4
br label %99
99: ; preds = %98, %90, %86, %66, %59, %46
%100 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %100)
%101 = load i32, ptr %14, align 4
switch i32 %101, label %110 [
i32 0, label %102
i32 2, label %106
i32 5, label %107
]
102: ; preds = %99
br label %103
103: ; preds = %102
%104 = load i64, ptr %10, align 8
%105 = mul i64 %104, 2
store i64 %105, ptr %10, align 8
br label %28
106: ; preds = %99
store i32 0, ptr %4, align 4
br label %108
107: ; preds = %99
store i32 -1, ptr %4, align 4
br label %108
108: ; preds = %107, %106, %26
%109 = load i32, ptr %4, align 4
ret i32 %109
110: ; preds = %99
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
declare i64 @setgid(i32 noundef) #2
declare i32 @set_errbuf(ptr noundef, i64 noundef, ptr noundef, ...) #2
declare i32 @strerror(i32 noundef) #2
declare i64 @setuid(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6dmjifi3.c'
source_filename = "/tmp/tmp6dmjifi3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Total: R$ %.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = sitofp i32 %8 to double
%10 = fmul double 4.000000e+00, %9
%11 = call i32 @printf(ptr noundef @.str.1, double noundef %10)
br label %12
12: ; preds = %7, %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = sitofp i32 %16 to double
%18 = fmul double 4.500000e+00, %17
%19 = call i32 @printf(ptr noundef @.str.1, double noundef %18)
br label %20
20: ; preds = %15, %12
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 3
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fmul double 5.000000e+00, %25
%27 = call i32 @printf(ptr noundef @.str.1, double noundef %26)
br label %28
28: ; preds = %23, %20
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 4
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fmul double 2.000000e+00, %33
%35 = call i32 @printf(ptr noundef @.str.1, double noundef %34)
br label %36
36: ; preds = %31, %28
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 5
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = sitofp i32 %40 to double
%42 = fmul double 1.500000e+00, %41
%43 = call i32 @printf(ptr noundef @.str.1, double noundef %42)
br label %44
44: ; preds = %39, %36
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
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/tmp6dmjifi3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Total: R$ %.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = sitofp i32 %8 to double
%10 = fmul double 4.000000e+00, %9
%11 = call i32 @printf(ptr noundef @.str.1, double noundef %10)
br label %12
12: ; preds = %7, %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = sitofp i32 %16 to double
%18 = fmul double 4.500000e+00, %17
%19 = call i32 @printf(ptr noundef @.str.1, double noundef %18)
br label %20
20: ; preds = %15, %12
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 3
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fmul double 5.000000e+00, %25
%27 = call i32 @printf(ptr noundef @.str.1, double noundef %26)
br label %28
28: ; preds = %23, %20
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 4
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fmul double 2.000000e+00, %33
%35 = call i32 @printf(ptr noundef @.str.1, double noundef %34)
br label %36
36: ; preds = %31, %28
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 5
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = sitofp i32 %40 to double
%42 = fmul double 1.500000e+00, %41
%43 = call i32 @printf(ptr noundef @.str.1, double noundef %42)
br label %44
44: ; preds = %39, %36
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
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/tmpzcqresj_.c'
source_filename = "/tmp/tmpzcqresj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_index(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %26, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = call i64 @i_to_I(i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 %21, ptr %25, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
ret void
}
declare i64 @i_to_I(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcqresj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_index(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = call i64 @i_to_I(i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = getelementptr inbounds i32, ptr %14, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
store i32 %20, ptr %24, align 4
br label %25
25: ; preds = %13
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp ult i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %4
ret void
}
declare i64 @i_to_I(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp626z2vyq.c'
source_filename = "/tmp/tmp626z2vyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [62 x i8] c"ln: warning: %s is a directory. This option will be removed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mx_link(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i64 @mx_file_exists(i32 noundef %9, ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %35
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i64 @mx_file_is_directory(i32 noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %14
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %7, align 8
%24 = call i64 @mx_file_exists(i32 noundef %22, ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %4, align 4
br label %35
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = load ptr, ptr %6, align 8
%30 = call i32 @mx_pathname_to_ino(i32 noundef %28, ptr noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %7, align 8
%34 = call i32 @mx_write_link(i32 noundef %31, i32 noundef %32, ptr noundef %33)
store i32 0, ptr %4, align 4
br label %35
35: ; preds = %27, %26, %13
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @mx_file_exists(i32 noundef, ptr noundef) #1
declare i64 @mx_file_is_directory(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mx_pathname_to_ino(i32 noundef, ptr noundef) #1
declare i32 @mx_write_link(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/tmp626z2vyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [62 x i8] c"ln: warning: %s is a directory. This option will be removed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mx_link(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i64 @mx_file_exists(i32 noundef %9, ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %35
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i64 @mx_file_is_directory(i32 noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %14
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %7, align 8
%24 = call i64 @mx_file_exists(i32 noundef %22, ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %4, align 4
br label %35
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = load ptr, ptr %6, align 8
%30 = call i32 @mx_pathname_to_ino(i32 noundef %28, ptr noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %7, align 8
%34 = call i32 @mx_write_link(i32 noundef %31, i32 noundef %32, ptr noundef %33)
store i32 0, ptr %4, align 4
br label %35
35: ; preds = %27, %26, %13
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @mx_file_exists(i32 noundef, ptr noundef) #1
declare i64 @mx_file_is_directory(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mx_pathname_to_ino(i32 noundef, ptr noundef) #1
declare i32 @mx_write_link(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/tmpf01tybqq.c'
source_filename = "/tmp/tmpf01tybqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_blts_conf_unquote_string_lit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %43
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 34
br i1 %15, label %16, label %17
16: ; preds = %10
store ptr null, ptr %2, align 8
br label %43
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strrchr(ptr noundef %18, i8 noundef signext 34)
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %17
store ptr null, ptr %2, align 8
br label %43
29: ; preds = %17
%30 = load i32, ptr %6, align 4
%31 = call ptr @_blts_params_mempool_alloc(i32 noundef %30)
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i32, ptr %6, align 4
%36 = call i32 @strncpy(ptr noundef %32, ptr noundef %34, i32 noundef %35)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sub i32 %38, 1
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %29, %28, %16, %9
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @_blts_params_mempool_alloc(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf01tybqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_blts_conf_unquote_string_lit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %43
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 34
br i1 %15, label %16, label %17
16: ; preds = %10
store ptr null, ptr %2, align 8
br label %43
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strrchr(ptr noundef %18, i8 noundef signext 34)
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %17
store ptr null, ptr %2, align 8
br label %43
29: ; preds = %17
%30 = load i32, ptr %6, align 4
%31 = call ptr @_blts_params_mempool_alloc(i32 noundef %30)
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i32, ptr %6, align 4
%36 = call i32 @strncpy(ptr noundef %32, ptr noundef %34, i32 noundef %35)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sub i32 %38, 1
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %29, %28, %16, %9
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @_blts_params_mempool_alloc(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4d_ba725.c'
source_filename = "/tmp/tmp4d_ba725.c"
target datalayout = "e-m:e-p270: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/tmp4d_ba725.c"
target datalayout = "e-m:e-p270: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/tmpeml8ns9v.c'
source_filename = "/tmp/tmpeml8ns9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateBatCheckDone() #0 {
%1 = load volatile i32, ptr inttoptr (i64 1074774032 to ptr), align 4
%2 = and i32 %1, 1024
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeml8ns9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateBatCheckDone() #0 {
%1 = load volatile i32, ptr inttoptr (i64 1074774032 to ptr), align 4
%2 = and i32 %1, 1024
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkndf2s2z.c'
source_filename = "/tmp/tmpkndf2s2z.c"
target datalayout = "e-m:e-p270: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/tmpkndf2s2z.c"
target datalayout = "e-m:e-p270: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/tmpj3dheisy.c'
source_filename = "/tmp/tmpj3dheisy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_hex_number(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %62
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 48
%19 = zext i1 %18 to i32
store i32 %19, ptr %3, align 4
br label %62
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = icmp sle i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %20
store i32 0, ptr %3, align 4
br label %62
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 48
br i1 %29, label %42, label %30
30: ; preds = %24
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 120
br i1 %35, label %36, label %43
36: ; preds = %30
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 88
br i1 %41, label %42, label %43
42: ; preds = %36, %24
store i32 0, ptr %3, align 4
br label %62
43: ; preds = %36, %30
store i32 2, ptr %6, align 4
br label %44
44: ; preds = %58, %43
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %61
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call i32 @in_hex_digit_class(i8 noundef signext %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %48
store i32 0, ptr %3, align 4
br label %62
57: ; preds = %48
br label %58
58: ; preds = %57
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %44, !llvm.loop !6
61: ; preds = %44
store i32 1, ptr %3, align 4
br label %62
62: ; preds = %61, %56, %42, %23, %13, %9
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i32 @in_hex_digit_class(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/tmpj3dheisy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_hex_number(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %64
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 48
%19 = zext i1 %18 to i32
store i32 %19, ptr %3, align 4
br label %64
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = icmp sle i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %20
store i32 0, ptr %3, align 4
br label %64
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 48
br i1 %29, label %42, label %30
30: ; preds = %24
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 120
br i1 %35, label %36, label %43
36: ; preds = %30
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 88
br i1 %41, label %42, label %43
42: ; preds = %36, %24
store i32 0, ptr %3, align 4
br label %64
43: ; preds = %36, %30
store i32 2, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph, label %63
.lr.ph: ; preds = %43
br label %47
47: ; preds = %.lr.ph, %57
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i32 @in_hex_digit_class(i8 noundef signext %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %47
store i32 0, ptr %3, align 4
br label %64
56: ; preds = %47
br label %57
57: ; preds = %56
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %43
store i32 1, ptr %3, align 4
br label %64
64: ; preds = %63, %55, %42, %23, %13, %9
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @in_hex_digit_class(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/tmp27fr_2hd.c'
source_filename = "/tmp/tmp27fr_2hd.c"
target datalayout = "e-m:e-p270: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/tmp27fr_2hd.c"
target datalayout = "e-m:e-p270: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/tmpqey0rl7r.c'
source_filename = "/tmp/tmpqey0rl7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @test(i32 noundef 10)
ret i32 0
}
declare i32 @test(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/tmpqey0rl7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @test(i32 noundef 10)
ret i32 0
}
declare i32 @test(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/tmp_hf8jlzl.c'
source_filename = "/tmp/tmp_hf8jlzl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hf8jlzl.c"
target datalayout = "e-m:e-p270: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/tmp31k5elc5.c'
source_filename = "/tmp/tmp31k5elc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Don't call me.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @skip(ptr noundef %3)
ret i32 0
}
declare i32 @skip(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31k5elc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Don't call me.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @skip(ptr noundef %3)
ret i32 0
}
declare i32 @skip(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2mpt9d3.c'
source_filename = "/tmp/tmph2mpt9d3.c"
target datalayout = "e-m:e-p270: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/tmph2mpt9d3.c"
target datalayout = "e-m:e-p270: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/tmp08026ssv.c'
source_filename = "/tmp/tmp08026ssv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_rand(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 = call i32 (...) @genrand_int32()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub i32 %6, %7
%9 = add i32 %8, 1
%10 = urem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add i32 %10, %11
ret i32 %12
}
declare i32 @genrand_int32(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp08026ssv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_rand(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 = call i32 (...) @genrand_int32()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub i32 %6, %7
%9 = add i32 %8, 1
%10 = urem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add i32 %10, %11
ret i32 %12
}
declare i32 @genrand_int32(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx9pl87ab.c'
source_filename = "/tmp/tmpx9pl87ab.c"
target datalayout = "e-m:e-p270: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/tmpx9pl87ab.c"
target datalayout = "e-m:e-p270: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/tmpcinb60sc.c'
source_filename = "/tmp/tmpcinb60sc.c"
target datalayout = "e-m:e-p270: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/tmpcinb60sc.c"
target datalayout = "e-m:e-p270: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/tmp89883c3p.c'
source_filename = "/tmp/tmp89883c3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = 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/tmp89883c3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_yhpeehh.c'
source_filename = "/tmp/tmp_yhpeehh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_PID = dso_local global i32 0, align 4
@LOG_USER = 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/tmp_yhpeehh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_PID = dso_local global i32 0, align 4
@LOG_USER = 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/tmptuottohp.c'
source_filename = "/tmp/tmptuottohp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @bst_test1()
ret i32 0
}
declare i32 @bst_test1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuottohp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @bst_test1()
ret i32 0
}
declare i32 @bst_test1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5wuur1r3.c'
source_filename = "/tmp/tmp5wuur1r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"css\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"text/css\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"html\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"gif\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"image/gif\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"ico\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"image/x-icon\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"jpg\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"image/jpeg\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"js\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"text/javascript\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"png\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"image/png\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcasecmp(ptr noundef @.str, ptr noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %39
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcasecmp(ptr noundef @.str.2, ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %39
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcasecmp(ptr noundef @.str.4, ptr noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %39
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcasecmp(ptr noundef @.str.6, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %39
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcasecmp(ptr noundef @.str.8, ptr noundef %24)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %39
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcasecmp(ptr noundef @.str.10, ptr noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store ptr @.str.11, ptr %2, align 8
br label %39
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcasecmp(ptr noundef @.str.12, ptr noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store ptr @.str.13, ptr %2, align 8
br label %39
38: ; preds = %33
store ptr null, ptr %2, align 8
br label %39
39: ; preds = %38, %37, %32, %27, %22, %17, %12, %7
%40 = load ptr, ptr %2, align 8
ret ptr %40
}
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/tmp5wuur1r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"css\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"text/css\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"html\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"gif\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"image/gif\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"ico\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"image/x-icon\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"jpg\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"image/jpeg\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"js\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"text/javascript\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"png\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"image/png\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcasecmp(ptr noundef @.str, ptr noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %39
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcasecmp(ptr noundef @.str.2, ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %39
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcasecmp(ptr noundef @.str.4, ptr noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %39
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcasecmp(ptr noundef @.str.6, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %39
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcasecmp(ptr noundef @.str.8, ptr noundef %24)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %39
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcasecmp(ptr noundef @.str.10, ptr noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store ptr @.str.11, ptr %2, align 8
br label %39
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcasecmp(ptr noundef @.str.12, ptr noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store ptr @.str.13, ptr %2, align 8
br label %39
38: ; preds = %33
store ptr null, ptr %2, align 8
br label %39
39: ; preds = %38, %37, %32, %27, %22, %17, %12, %7
%40 = load ptr, ptr %2, align 8
ret ptr %40
}
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/tmp8n0m56bi.c'
source_filename = "/tmp/tmp8n0m56bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v:%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"c:%p c+1:%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"i:%p i+1:%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 20)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %23
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %14)
%16 = load ptr, ptr %2, align 8
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @free(ptr noundef %21)
store ptr null, ptr %2, align 8
br label %23
23: ; preds = %8, %0
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8n0m56bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v:%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"c:%p c+1:%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"i:%p i+1:%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 20)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %23
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %14)
%16 = load ptr, ptr %2, align 8
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @free(ptr noundef %21)
store ptr null, ptr %2, align 8
br label %23
23: ; preds = %8, %0
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkal9ncif.c'
source_filename = "/tmp/tmpkal9ncif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Looping\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
store i32 2000, ptr %5, align 4
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %30, %0
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %33
11: ; preds = %7
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %26, %11
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %22, %16
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %17, !llvm.loop !6
25: ; preds = %17
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %12, !llvm.loop !8
29: ; preds = %12
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %7, !llvm.loop !9
33: ; preds = %7
%34 = load i32, ptr %1, align 4
ret i32 %34
}
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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkal9ncif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Looping\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
store i32 2000, ptr %5, align 4
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph5, label %39
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %33
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %32
.lr.ph2: ; preds = %10
br label %14
14: ; preds = %.lr.ph2, %26
store i32 0, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %25
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %19
br label %19
19: ; preds = %18
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %32
32: ; preds = %._crit_edge3, %10
br label %33
33: ; preds = %32
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %33
br label %39
39: ; preds = %._crit_edge6, %0
%40 = load i32, ptr %1, align 4
ret i32 %40
}
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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4ek13aop.c'
source_filename = "/tmp/tmp4ek13aop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_gemm_dimension(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %7, 3
%9 = sdiv i32 %6, %8
%10 = sitofp i32 %9 to double
%11 = call i64 @sqrt(double noundef %10)
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i64 @sqrt(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/tmp4ek13aop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_gemm_dimension(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %7, 3
%9 = sdiv i32 %6, %8
%10 = sitofp i32 %9 to double
%11 = call i64 @sqrt(double noundef %10)
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i64 @sqrt(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/tmp2_r1xeb8.c'
source_filename = "/tmp/tmp2_r1xeb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @serial_puts(ptr noundef %3)
ret void
}
declare i32 @serial_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_r1xeb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @serial_puts(ptr noundef %3)
ret void
}
declare i32 @serial_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_7kf1m03.c'
source_filename = "/tmp/tmp_7kf1m03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %7, %0
%4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i64, ptr @EOF, align 8
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load double, ptr %2, align 8
%9 = call double @pow(double noundef %8, double noundef 3.000000e+00) #3
%10 = fmul double 0x4010C1523C548BBA, %9
%11 = call i32 @printf(ptr noundef @.str.1, double noundef %10)
br label %3, !llvm.loop !6
12: ; preds = %3
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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_7kf1m03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
%3 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr @EOF, align 8
%5 = icmp ne i64 %3, %4
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load double, ptr %2, align 8
%8 = call double @pow(double noundef %7, double noundef 3.000000e+00) #3
%9 = fmul double 0x4010C1523C548BBA, %8
%10 = call i32 @printf(ptr noundef @.str.1, double noundef %9)
%11 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i64, ptr @EOF, align 8
%13 = icmp ne i64 %11, %12
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %14
14: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpaap5yfxf.c'
source_filename = "/tmp/tmpaap5yfxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex2int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 16)
ret i32 %5
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaap5yfxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex2int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 16)
ret i32 %5
}
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"}
|
; ModuleID = '/tmp/tmp97kipphd.c'
source_filename = "/tmp/tmp97kipphd.c"
target datalayout = "e-m:e-p270: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.ut_minmin.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 4, i32 1, i32 8, i32 10], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ut_minmin() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.ut_minmin.arr, i64 20, i1 false)
%3 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @minmin(ptr noundef %3, i32 noundef 3, i32 noundef 5)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 1
%7 = zext i1 %6 to i32
%8 = call i32 @CU_ASSERT(i32 noundef %7)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @minmin(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @CU_ASSERT(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/tmp97kipphd.c"
target datalayout = "e-m:e-p270: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.ut_minmin.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 4, i32 1, i32 8, i32 10], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ut_minmin() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.ut_minmin.arr, i64 20, i1 false)
%3 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @minmin(ptr noundef %3, i32 noundef 3, i32 noundef 5)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 1
%7 = zext i1 %6 to i32
%8 = call i32 @CU_ASSERT(i32 noundef %7)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @minmin(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @CU_ASSERT(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/tmp10v717n5.c'
source_filename = "/tmp/tmp10v717n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rt_get_nanoseconds() #0 {
%1 = alloca %struct.timespec, align 8
%2 = load i32, ptr @CLOCK_MONOTONIC, align 4
%3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
%7 = mul nsw i32 %6, 1000000000
%8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = add nsw i32 %7, %9
ret i32 %10
}
declare i32 @clock_gettime(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/tmp10v717n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rt_get_nanoseconds() #0 {
%1 = alloca %struct.timespec, align 8
%2 = load i32, ptr @CLOCK_MONOTONIC, align 4
%3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
%7 = mul nsw i32 %6, 1000000000
%8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = add nsw i32 %7, %9
ret i32 %10
}
declare i32 @clock_gettime(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/tmp_ma90gid.c'
source_filename = "/tmp/tmp_ma90gid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ma90gid.c"
target datalayout = "e-m:e-p270: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/tmpoeuuhri4.c'
source_filename = "/tmp/tmpoeuuhri4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sched_cpucount(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %3, align 8
%16 = udiv i64 %15, 4
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %29, %28, %2
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp ult ptr %19, %20
br i1 %21, label %22, label %78
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i32, ptr %23, i32 1
store ptr %24, ptr %6, align 8
%25 = load i32, ptr %23, align 4
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %22
br label %18, !llvm.loop !6
29: ; preds = %22
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = and i64 %31, 1431655765
%33 = load i32, ptr %8, align 4
%34 = ashr i32 %33, 1
%35 = sext i32 %34 to i64
%36 = and i64 %35, 1431655765
%37 = add i64 %32, %36
%38 = trunc i64 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = and i64 %40, 858993459
%42 = load i32, ptr %8, align 4
%43 = ashr i32 %42, 2
%44 = sext i32 %43 to i64
%45 = and i64 %44, 858993459
%46 = add i64 %41, %45
%47 = trunc i64 %46 to i32
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = and i64 %49, 252645135
%51 = load i32, ptr %8, align 4
%52 = ashr i32 %51, 4
%53 = sext i32 %52 to i64
%54 = and i64 %53, 252645135
%55 = add i64 %50, %54
%56 = trunc i64 %55 to i32
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = and i64 %58, 16711935
%60 = load i32, ptr %8, align 4
%61 = ashr i32 %60, 8
%62 = sext i32 %61 to i64
%63 = and i64 %62, 16711935
%64 = add i64 %59, %63
%65 = trunc i64 %64 to i32
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = and i64 %67, 65535
%69 = load i32, ptr %8, align 4
%70 = ashr i32 %69, 16
%71 = sext i32 %70 to i64
%72 = and i64 %71, 65535
%73 = add i64 %68, %72
%74 = trunc i64 %73 to i32
store i32 %74, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %5, align 4
br label %18, !llvm.loop !6
78: ; preds = %18
%79 = load i32, ptr %5, align 4
ret i32 %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpoeuuhri4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sched_cpucount(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %3, align 8
%16 = udiv i64 %15, 4
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ult ptr %18, %19
br i1 %20, label %.lr.ph, label %80
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %.backedge
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %22, align 4
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %21
br label %.backedge
.backedge: ; preds = %27, %31
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ult ptr %28, %29
br i1 %30, label %21, label %._crit_edge, !llvm.loop !6
31: ; preds = %21
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = and i64 %33, 1431655765
%35 = load i32, ptr %8, align 4
%36 = ashr i32 %35, 1
%37 = sext i32 %36 to i64
%38 = and i64 %37, 1431655765
%39 = add i64 %34, %38
%40 = trunc i64 %39 to i32
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = and i64 %42, 858993459
%44 = load i32, ptr %8, align 4
%45 = ashr i32 %44, 2
%46 = sext i32 %45 to i64
%47 = and i64 %46, 858993459
%48 = add i64 %43, %47
%49 = trunc i64 %48 to i32
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = and i64 %51, 252645135
%53 = load i32, ptr %8, align 4
%54 = ashr i32 %53, 4
%55 = sext i32 %54 to i64
%56 = and i64 %55, 252645135
%57 = add i64 %52, %56
%58 = trunc i64 %57 to i32
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = and i64 %60, 16711935
%62 = load i32, ptr %8, align 4
%63 = ashr i32 %62, 8
%64 = sext i32 %63 to i64
%65 = and i64 %64, 16711935
%66 = add i64 %61, %65
%67 = trunc i64 %66 to i32
store i32 %67, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = and i64 %69, 65535
%71 = load i32, ptr %8, align 4
%72 = ashr i32 %71, 16
%73 = sext i32 %72 to i64
%74 = and i64 %73, 65535
%75 = add i64 %70, %74
%76 = trunc i64 %75 to i32
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %5, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %5, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %80
80: ; preds = %._crit_edge, %2
%81 = load i32, ptr %5, align 4
ret i32 %81
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwj2fj8v1.c'
source_filename = "/tmp/tmpwj2fj8v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_usage(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
store ptr null, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load i32, ptr %3, align 4
%9 = call ptr @cpuusage_get_jiffies_stat(i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @sleep(i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = call ptr @cpuusage_get_jiffies_stat(i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call double @cpuusage_calc_usage(ptr noundef %14, ptr noundef %15)
store double %16, ptr %7, align 8
%17 = load double, ptr %7, align 8
ret double %17
}
declare ptr @cpuusage_get_jiffies_stat(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare double @cpuusage_calc_usage(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/tmpwj2fj8v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_usage(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
store ptr null, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load i32, ptr %3, align 4
%9 = call ptr @cpuusage_get_jiffies_stat(i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @sleep(i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = call ptr @cpuusage_get_jiffies_stat(i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call double @cpuusage_calc_usage(ptr noundef %14, ptr noundef %15)
store double %16, ptr %7, align 8
%17 = load double, ptr %7, align 8
ret double %17
}
declare ptr @cpuusage_get_jiffies_stat(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare double @cpuusage_calc_usage(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/tmpq1ls998j.c'
source_filename = "/tmp/tmpq1ls998j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MlID:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_mailid(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 @findLine(ptr noundef %3, ptr noundef @.str)
%5 = call i64 @atol(i32 noundef %4)
ret i64 %5
}
declare i64 @atol(i32 noundef) #1
declare i32 @findLine(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/tmpq1ls998j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MlID:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_mailid(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 @findLine(ptr noundef %3, ptr noundef @.str)
%5 = call i64 @atol(i32 noundef %4)
ret i64 %5
}
declare i64 @atol(i32 noundef) #1
declare i32 @findLine(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/tmp4il6xk8a.c'
source_filename = "/tmp/tmp4il6xk8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %6, align 1
%12 = call i64 @myisdigit(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %36
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %7, align 1
%18 = load i8, ptr %7, align 1
%19 = call i64 @myisdigit(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %31
21: ; preds = %14
%22 = load i8, ptr %6, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 48
%25 = mul nsw i32 %24, 10
%26 = load i8, ptr %7, align 1
%27 = sext i8 %26 to i32
%28 = sub nsw i32 %27, 48
%29 = add nsw i32 %25, %28
%30 = load ptr, ptr %5, align 8
store i32 %29, ptr %30, align 4
store i32 2, ptr %3, align 4
br label %37
31: ; preds = %14
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load ptr, ptr %5, align 8
store i32 %34, ptr %35, align 4
store i32 1, ptr %3, align 4
br label %37
36: ; preds = %2
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %31, %21
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i64 @myisdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4il6xk8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %6, align 1
%12 = call i64 @myisdigit(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %36
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %7, align 1
%18 = load i8, ptr %7, align 1
%19 = call i64 @myisdigit(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %31
21: ; preds = %14
%22 = load i8, ptr %6, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 48
%25 = mul nsw i32 %24, 10
%26 = load i8, ptr %7, align 1
%27 = sext i8 %26 to i32
%28 = sub nsw i32 %27, 48
%29 = add nsw i32 %25, %28
%30 = load ptr, ptr %5, align 8
store i32 %29, ptr %30, align 4
store i32 2, ptr %3, align 4
br label %37
31: ; preds = %14
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load ptr, ptr %5, align 8
store i32 %34, ptr %35, align 4
store i32 1, ptr %3, align 4
br label %37
36: ; preds = %2
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %31, %21
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i64 @myisdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkn8hrj09.c'
source_filename = "/tmp/tmpkn8hrj09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Partition() #0 {
%1 = call i32 (...) @reset_wshed()
ret void
}
declare i32 @reset_wshed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn8hrj09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Partition() #0 {
%1 = call i32 (...) @reset_wshed()
ret void
}
declare i32 @reset_wshed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplg553_2m.c'
source_filename = "/tmp/tmplg553_2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
store i8 49, ptr %6, align 1
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 1
store i8 50, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @strlen(ptr noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %18
17: ; preds = %2
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 100, %17 ]
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplg553_2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
store i8 49, ptr %6, align 1
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 1
store i8 50, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @strlen(ptr noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %18
17: ; preds = %2
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 100, %17 ]
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyaj915o8.c'
source_filename = "/tmp/tmpyaj915o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExtractFilename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = getelementptr inbounds i8, ptr %10, i64 -1
store ptr %11, ptr %5, align 8
br label %12
12: ; preds = %24, %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ugt ptr %13, %14
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 -1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 92
br label %22
22: ; preds = %16, %12
%23 = phi i1 [ false, %12 ], [ %21, %16 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 -1
store ptr %26, ptr %5, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyaj915o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExtractFilename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = getelementptr inbounds i8, ptr %10, i64 -1
store ptr %11, ptr %5, align 8
br label %12
12: ; preds = %24, %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ugt ptr %13, %14
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 -1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 92
br label %22
22: ; preds = %16, %12
%23 = phi i1 [ false, %12 ], [ %21, %16 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 -1
store ptr %26, ptr %5, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpelwgm92o.c'
source_filename = "/tmp/tmpelwgm92o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numtolen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %8, %1
%5 = load i32, ptr %2, align 4
%6 = shl i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
br label %4, !llvm.loop !6
11: ; preds = %4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpelwgm92o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numtolen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = shl i32 %4, 1
store i32 %5, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = shl i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %13
13: ; preds = %._crit_edge, %1
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplpxz04tw.c'
source_filename = "/tmp/tmplpxz04tw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airLogRician(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%9 = load double, ptr %6, align 8
%10 = load double, ptr %6, align 8
%11 = fmul double %9, %10
store double %11, ptr %8, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %5, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %8, align 8
%16 = fdiv double %14, %15
%17 = call double @airLogBesselI0(double noundef %16)
store double %17, ptr %7, align 8
%18 = load double, ptr %7, align 8
%19 = load double, ptr %4, align 8
%20 = load double, ptr %8, align 8
%21 = fdiv double %19, %20
%22 = call double @log(double noundef %21) #4
%23 = fadd double %18, %22
%24 = load double, ptr %4, align 8
%25 = load double, ptr %4, align 8
%26 = load double, ptr %5, align 8
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %24, double %25, double %28)
%30 = load double, ptr %8, align 8
%31 = fmul double 2.000000e+00, %30
%32 = fdiv double %29, %31
%33 = fsub double %23, %32
ret double %33
}
declare double @airLogBesselI0(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmplpxz04tw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airLogRician(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%9 = load double, ptr %6, align 8
%10 = load double, ptr %6, align 8
%11 = fmul double %9, %10
store double %11, ptr %8, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %5, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %8, align 8
%16 = fdiv double %14, %15
%17 = call double @airLogBesselI0(double noundef %16)
store double %17, ptr %7, align 8
%18 = load double, ptr %7, align 8
%19 = load double, ptr %4, align 8
%20 = load double, ptr %8, align 8
%21 = fdiv double %19, %20
%22 = call double @log(double noundef %21) #4
%23 = fadd double %18, %22
%24 = load double, ptr %4, align 8
%25 = load double, ptr %4, align 8
%26 = load double, ptr %5, align 8
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %24, double %25, double %28)
%30 = load double, ptr %8, align 8
%31 = fmul double 2.000000e+00, %30
%32 = fdiv double %29, %31
%33 = fsub double %23, %32
ret double %33
}
declare double @airLogBesselI0(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpoymyrz2p.c'
source_filename = "/tmp/tmpoymyrz2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello, git!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoymyrz2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello, git!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvziggvjn.c'
source_filename = "/tmp/tmpvziggvjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32 }
@CWOverrideRedirect = dso_local global i64 0, align 8
@CWEventMask = dso_local global i64 0, align 8
@CWBackingStore = dso_local global i64 0, align 8
@CWColormap = dso_local global i64 0, align 8
@CWCursor = dso_local global i64 0, align 8
@True = dso_local global i32 0, align 4
@ExposureMask = dso_local global i32 0, align 4
@KeyPressMask = dso_local global i32 0, align 4
@ButtonPressMask = dso_local global i32 0, align 4
@Button1MotionMask = dso_local global i32 0, align 4
@ButtonReleaseMask = dso_local global i32 0, align 4
@NotUseful = dso_local global i32 0, align 4
@XC_cross = dso_local global i32 0, align 4
@InputOutput = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_full_screen_window(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.TYPE_3__, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call ptr @ScreenOfDisplay(ptr noundef %13, i32 noundef %14)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = call ptr @DefaultVisualOfScreen(ptr noundef %16)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @visual_depth(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %12, align 4
%21 = load i64, ptr @CWOverrideRedirect, align 8
%22 = load i64, ptr @CWEventMask, align 8
%23 = or i64 %21, %22
%24 = load i64, ptr @CWBackingStore, align 8
%25 = or i64 %23, %24
%26 = load i64, ptr @CWColormap, align 8
%27 = or i64 %25, %26
%28 = load i64, ptr @CWCursor, align 8
%29 = or i64 %27, %28
store i64 %29, ptr %11, align 8
%30 = load i32, ptr @True, align 4
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 4
store i32 %30, ptr %31, align 4
%32 = load i32, ptr @ExposureMask, align 4
%33 = load i32, ptr @KeyPressMask, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @ButtonPressMask, align 4
%36 = or i32 %34, %35
%37 = load i32, ptr @Button1MotionMask, align 4
%38 = or i32 %36, %37
%39 = load i32, ptr @ButtonReleaseMask, align 4
%40 = or i32 %38, %39
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = load i32, ptr @NotUseful, align 4
%43 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 3
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %6, align 4
%45 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 2
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr @XC_cross, align 4
%48 = call i32 @XCreateFontCursor(ptr noundef %46, i32 noundef %47)
%49 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store i32 %48, ptr %49, align 4
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %10, align 8
%52 = call i32 @RootWindowOfScreen(ptr noundef %51)
%53 = load ptr, ptr %10, align 8
%54 = call i32 @WidthOfScreen(ptr noundef %53)
%55 = load ptr, ptr %10, align 8
%56 = call i32 @HeightOfScreen(ptr noundef %55)
%57 = load i32, ptr %12, align 4
%58 = load i32, ptr @InputOutput, align 4
%59 = load ptr, ptr %9, align 8
%60 = load i64, ptr %11, align 8
%61 = call i32 @XCreateWindow(ptr noundef %50, i32 noundef %52, i32 noundef 0, i32 noundef 0, i32 noundef %54, i32 noundef %56, i32 noundef 0, i32 noundef %57, i32 noundef %58, ptr noundef %59, i64 noundef %60, ptr noundef %7)
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
ret i32 %62
}
declare ptr @ScreenOfDisplay(ptr noundef, i32 noundef) #1
declare ptr @DefaultVisualOfScreen(ptr noundef) #1
declare i32 @visual_depth(ptr noundef, ptr noundef) #1
declare i32 @XCreateFontCursor(ptr noundef, i32 noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @RootWindowOfScreen(ptr noundef) #1
declare i32 @WidthOfScreen(ptr noundef) #1
declare i32 @HeightOfScreen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvziggvjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32 }
@CWOverrideRedirect = dso_local global i64 0, align 8
@CWEventMask = dso_local global i64 0, align 8
@CWBackingStore = dso_local global i64 0, align 8
@CWColormap = dso_local global i64 0, align 8
@CWCursor = dso_local global i64 0, align 8
@True = dso_local global i32 0, align 4
@ExposureMask = dso_local global i32 0, align 4
@KeyPressMask = dso_local global i32 0, align 4
@ButtonPressMask = dso_local global i32 0, align 4
@Button1MotionMask = dso_local global i32 0, align 4
@ButtonReleaseMask = dso_local global i32 0, align 4
@NotUseful = dso_local global i32 0, align 4
@XC_cross = dso_local global i32 0, align 4
@InputOutput = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_full_screen_window(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.TYPE_3__, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call ptr @ScreenOfDisplay(ptr noundef %13, i32 noundef %14)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = call ptr @DefaultVisualOfScreen(ptr noundef %16)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @visual_depth(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %12, align 4
%21 = load i64, ptr @CWOverrideRedirect, align 8
%22 = load i64, ptr @CWEventMask, align 8
%23 = or i64 %21, %22
%24 = load i64, ptr @CWBackingStore, align 8
%25 = or i64 %23, %24
%26 = load i64, ptr @CWColormap, align 8
%27 = or i64 %25, %26
%28 = load i64, ptr @CWCursor, align 8
%29 = or i64 %27, %28
store i64 %29, ptr %11, align 8
%30 = load i32, ptr @True, align 4
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 4
store i32 %30, ptr %31, align 4
%32 = load i32, ptr @ExposureMask, align 4
%33 = load i32, ptr @KeyPressMask, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @ButtonPressMask, align 4
%36 = or i32 %34, %35
%37 = load i32, ptr @Button1MotionMask, align 4
%38 = or i32 %36, %37
%39 = load i32, ptr @ButtonReleaseMask, align 4
%40 = or i32 %38, %39
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = load i32, ptr @NotUseful, align 4
%43 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 3
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %6, align 4
%45 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 2
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr @XC_cross, align 4
%48 = call i32 @XCreateFontCursor(ptr noundef %46, i32 noundef %47)
%49 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store i32 %48, ptr %49, align 4
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %10, align 8
%52 = call i32 @RootWindowOfScreen(ptr noundef %51)
%53 = load ptr, ptr %10, align 8
%54 = call i32 @WidthOfScreen(ptr noundef %53)
%55 = load ptr, ptr %10, align 8
%56 = call i32 @HeightOfScreen(ptr noundef %55)
%57 = load i32, ptr %12, align 4
%58 = load i32, ptr @InputOutput, align 4
%59 = load ptr, ptr %9, align 8
%60 = load i64, ptr %11, align 8
%61 = call i32 @XCreateWindow(ptr noundef %50, i32 noundef %52, i32 noundef 0, i32 noundef 0, i32 noundef %54, i32 noundef %56, i32 noundef 0, i32 noundef %57, i32 noundef %58, ptr noundef %59, i64 noundef %60, ptr noundef %7)
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
ret i32 %62
}
declare ptr @ScreenOfDisplay(ptr noundef, i32 noundef) #1
declare ptr @DefaultVisualOfScreen(ptr noundef) #1
declare i32 @visual_depth(ptr noundef, ptr noundef) #1
declare i32 @XCreateFontCursor(ptr noundef, i32 noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @RootWindowOfScreen(ptr noundef) #1
declare i32 @WidthOfScreen(ptr noundef) #1
declare i32 @HeightOfScreen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5obdi95q.c'
source_filename = "/tmp/tmp5obdi95q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @off_on() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %0
%3 = call i32 @__BNF_trans_string(ptr noundef @.str)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %2
br label %9
7: ; preds = %2
%8 = call i32 @__BNF_trans_string(ptr noundef @.str.1)
store i32 %8, ptr %1, align 4
br label %9
9: ; preds = %7, %6
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i32 @__BNF_trans_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5obdi95q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @off_on() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %0
%3 = call i32 @__BNF_trans_string(ptr noundef @.str)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %2
br label %9
7: ; preds = %2
%8 = call i32 @__BNF_trans_string(ptr noundef @.str.1)
store i32 %8, ptr %1, align 4
br label %9
9: ; preds = %7, %6
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i32 @__BNF_trans_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm2rvf_z6.c'
source_filename = "/tmp/tmpm2rvf_z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recebe(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @setbuf(i32 noundef %5, ptr noundef null)
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, i32 noundef %8)
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %182, %1
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %185
15: ; preds = %10
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %181
24: ; preds = %15
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 43
br i1 %31, label %176, label %32
32: ; preds = %24
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 45
br i1 %39, label %176, label %40
40: ; preds = %32
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 42
br i1 %47, label %176, label %48
48: ; preds = %40
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 47
br i1 %55, label %176, label %56
56: ; preds = %48
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 61
br i1 %63, label %176, label %64
64: ; preds = %56
%65 = load ptr, ptr %2, align 8
%66 = load i32, ptr %4, 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, 94
br i1 %71, label %176, label %72
72: ; preds = %64
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 105
br i1 %79, label %176, label %80
80: ; preds = %72
%81 = load ptr, ptr %2, align 8
%82 = load i32, ptr %4, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 112
br i1 %87, label %176, label %88
88: ; preds = %80
%89 = load ptr, ptr %2, align 8
%90 = load i32, ptr %4, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 48
br i1 %95, label %176, label %96
96: ; preds = %88
%97 = load ptr, ptr %2, align 8
%98 = load i32, ptr %4, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 49
br i1 %103, label %176, label %104
104: ; preds = %96
%105 = load ptr, ptr %2, align 8
%106 = load i32, ptr %4, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 50
br i1 %111, label %176, label %112
112: ; preds = %104
%113 = load ptr, ptr %2, align 8
%114 = load i32, ptr %4, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 51
br i1 %119, label %176, label %120
120: ; preds = %112
%121 = load ptr, ptr %2, align 8
%122 = load i32, ptr %4, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp eq i32 %126, 52
br i1 %127, label %176, label %128
128: ; preds = %120
%129 = load ptr, ptr %2, align 8
%130 = load i32, ptr %4, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %129, i64 %131
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 53
br i1 %135, label %176, label %136
136: ; preds = %128
%137 = load ptr, ptr %2, align 8
%138 = load i32, ptr %4, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %137, i64 %139
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 54
br i1 %143, label %176, label %144
144: ; preds = %136
%145 = load ptr, ptr %2, align 8
%146 = load i32, ptr %4, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i8, ptr %145, i64 %147
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 55
br i1 %151, label %176, label %152
152: ; preds = %144
%153 = load ptr, ptr %2, align 8
%154 = load i32, ptr %4, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i8, ptr %153, i64 %155
%157 = load i8, ptr %156, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 56
br i1 %159, label %176, label %160
160: ; preds = %152
%161 = load ptr, ptr %2, align 8
%162 = load i32, ptr %4, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i8, ptr %161, i64 %163
%165 = load i8, ptr %164, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 57
br i1 %167, label %176, label %168
168: ; preds = %160
%169 = load ptr, ptr %2, align 8
%170 = load i32, ptr %4, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i8, ptr %169, i64 %171
%173 = load i8, ptr %172, align 1
%174 = sext i8 %173 to i32
%175 = icmp eq i32 %174, 10
br i1 %175, label %176, label %177
176: ; preds = %168, %160, %152, %144, %136, %128, %120, %112, %104, %96, %88, %80, %72, %64, %56, %48, %40, %32, %24
store i32 0, ptr %3, align 4
br label %180
177: ; preds = %168
%178 = load i32, ptr %3, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %3, align 4
br label %180
180: ; preds = %177, %176
br label %181
181: ; preds = %180, %21
br label %182
182: ; preds = %181
%183 = load i32, ptr %4, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %4, align 4
br label %10, !llvm.loop !6
185: ; preds = %10
%186 = load i32, ptr %3, align 4
ret i32 %186
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm2rvf_z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recebe(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @setbuf(i32 noundef %5, ptr noundef null)
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, i32 noundef %8)
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %.lr.ph, label %188
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %181
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 10
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %180
23: ; preds = %14
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %175, label %31
31: ; preds = %23
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 45
br i1 %38, label %175, label %39
39: ; preds = %31
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 42
br i1 %46, label %175, label %47
47: ; preds = %39
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 47
br i1 %54, label %175, label %55
55: ; preds = %47
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 61
br i1 %62, label %175, label %63
63: ; preds = %55
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 94
br i1 %70, label %175, label %71
71: ; preds = %63
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 105
br i1 %78, label %175, label %79
79: ; preds = %71
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %4, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 112
br i1 %86, label %175, label %87
87: ; preds = %79
%88 = load ptr, ptr %2, align 8
%89 = load i32, ptr %4, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 48
br i1 %94, label %175, label %95
95: ; preds = %87
%96 = load ptr, ptr %2, align 8
%97 = load i32, ptr %4, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 49
br i1 %102, label %175, label %103
103: ; preds = %95
%104 = load ptr, ptr %2, align 8
%105 = load i32, ptr %4, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 50
br i1 %110, label %175, label %111
111: ; preds = %103
%112 = load ptr, ptr %2, align 8
%113 = load i32, ptr %4, 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 eq i32 %117, 51
br i1 %118, label %175, label %119
119: ; preds = %111
%120 = load ptr, ptr %2, align 8
%121 = load i32, ptr %4, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 52
br i1 %126, label %175, label %127
127: ; preds = %119
%128 = load ptr, ptr %2, align 8
%129 = load i32, ptr %4, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %128, i64 %130
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = icmp eq i32 %133, 53
br i1 %134, label %175, label %135
135: ; preds = %127
%136 = load ptr, ptr %2, align 8
%137 = load i32, ptr %4, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp eq i32 %141, 54
br i1 %142, label %175, label %143
143: ; preds = %135
%144 = load ptr, ptr %2, align 8
%145 = load i32, ptr %4, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i8, ptr %144, i64 %146
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 55
br i1 %150, label %175, label %151
151: ; preds = %143
%152 = load ptr, ptr %2, align 8
%153 = load i32, ptr %4, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i8, ptr %152, i64 %154
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 56
br i1 %158, label %175, label %159
159: ; preds = %151
%160 = load ptr, ptr %2, align 8
%161 = load i32, ptr %4, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i8, ptr %160, i64 %162
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 57
br i1 %166, label %175, label %167
167: ; preds = %159
%168 = load ptr, ptr %2, align 8
%169 = load i32, ptr %4, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %168, i64 %170
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 10
br i1 %174, label %175, label %176
175: ; preds = %167, %159, %151, %143, %135, %127, %119, %111, %103, %95, %87, %79, %71, %63, %55, %47, %39, %31, %23
store i32 0, ptr %3, align 4
br label %179
176: ; preds = %167
%177 = load i32, ptr %3, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %3, align 4
br label %179
179: ; preds = %176, %175
br label %180
180: ; preds = %179, %20
br label %181
181: ; preds = %180
%182 = load i32, ptr %4, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %4, align 4
%184 = load i32, ptr %4, align 4
%185 = load ptr, ptr %2, align 8
%186 = call i32 @strlen(ptr noundef %185)
%187 = icmp slt i32 %184, %186
br i1 %187, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %181
br label %188
188: ; preds = %._crit_edge, %1
%189 = load i32, ptr %3, align 4
ret i32 %189
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj6ps30cw.c'
source_filename = "/tmp/tmpj6ps30cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_deltasa_from_sp(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%10 = load double, ptr %5, align 8
%11 = load double, ptr %6, align 8
%12 = load double, ptr %7, align 8
%13 = load double, ptr %8, align 8
%14 = call double @gsw_sa_from_sp(double noundef %10, double noundef %11, double noundef %12, double noundef %13)
%15 = load double, ptr %5, align 8
%16 = call double @gsw_sr_from_sp(double noundef %15)
%17 = fsub double %14, %16
store double %17, ptr %9, align 8
%18 = load double, ptr %9, align 8
%19 = fcmp ogt double %18, 1.000000e+10
br i1 %19, label %20, label %21
20: ; preds = %4
store double 9.000000e+15, ptr %9, align 8
br label %21
21: ; preds = %20, %4
%22 = load double, ptr %9, align 8
ret double %22
}
declare double @gsw_sa_from_sp(double noundef, double noundef, double noundef, double noundef) #1
declare double @gsw_sr_from_sp(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/tmpj6ps30cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_deltasa_from_sp(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%10 = load double, ptr %5, align 8
%11 = load double, ptr %6, align 8
%12 = load double, ptr %7, align 8
%13 = load double, ptr %8, align 8
%14 = call double @gsw_sa_from_sp(double noundef %10, double noundef %11, double noundef %12, double noundef %13)
%15 = load double, ptr %5, align 8
%16 = call double @gsw_sr_from_sp(double noundef %15)
%17 = fsub double %14, %16
store double %17, ptr %9, align 8
%18 = load double, ptr %9, align 8
%19 = fcmp ogt double %18, 1.000000e+10
br i1 %19, label %20, label %21
20: ; preds = %4
store double 9.000000e+15, ptr %9, align 8
br label %21
21: ; preds = %20, %4
%22 = load double, ptr %9, align 8
ret double %22
}
declare double @gsw_sa_from_sp(double noundef, double noundef, double noundef, double noundef) #1
declare double @gsw_sr_from_sp(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/tmp13oe5qdv.c'
source_filename = "/tmp/tmp13oe5qdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @l6480_cmd_gomark() #0 {
%1 = call i32 @l6480_send_cmd(i32 noundef 116, i32 noundef 1, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @l6480_send_cmd(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/tmp13oe5qdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @l6480_cmd_gomark() #0 {
%1 = call i32 @l6480_send_cmd(i32 noundef 116, i32 noundef 1, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @l6480_send_cmd(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/tmpbk20hubl.c'
source_filename = "/tmp/tmpbk20hubl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = 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/tmpbk20hubl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = 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/tmpsnhnvt_e.c'
source_filename = "/tmp/tmpsnhnvt_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"
@.str = private unnamed_addr constant [11 x i8] c"%lx %x %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perf_map_write_entry(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = ptrtoint ptr %13 to i64
%15 = load i32, ptr %7, align 4
%16 = load ptr, ptr %8, align 8
%17 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str, i64 noundef %14, i32 noundef %15, ptr noundef %16)
br label %18
18: ; preds = %11, %4
ret void
}
declare i32 @fprintf(ptr noundef, 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/tmpsnhnvt_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"
@.str = private unnamed_addr constant [11 x i8] c"%lx %x %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perf_map_write_entry(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = ptrtoint ptr %13 to i64
%15 = load i32, ptr %7, align 4
%16 = load ptr, ptr %8, align 8
%17 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str, i64 noundef %14, i32 noundef %15, ptr noundef %16)
br label %18
18: ; preds = %11, %4
ret void
}
declare i32 @fprintf(ptr noundef, 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/tmpem7ly1qb.c'
source_filename = "/tmp/tmpem7ly1qb.c"
target datalayout = "e-m:e-p270: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/tmpem7ly1qb.c"
target datalayout = "e-m:e-p270: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/tmpnw_vhwfi.c'
source_filename = "/tmp/tmpnw_vhwfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBinaryFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @out(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9)
ret i32 %10
}
declare i32 @out(ptr 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/tmpnw_vhwfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBinaryFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @out(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9)
ret i32 %10
}
declare i32 @out(ptr 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/tmpy9k8dn4c.c'
source_filename = "/tmp/tmpy9k8dn4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Hello World da thread: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PrintHello(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
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = call i32 @pthread_exit(ptr noundef null)
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy9k8dn4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Hello World da thread: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PrintHello(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
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = call i32 @pthread_exit(ptr noundef null)
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzet8a6nu.c'
source_filename = "/tmp/tmpzet8a6nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Introduzca el numero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"La suma de %i \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"es %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, 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 %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
br label %9
9: ; preds = %12, %0
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = srem i32 %13, 10
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = sdiv i32 %18, 10
store i32 %19, ptr %2, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %4, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzet8a6nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Introduzca el numero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"La suma de %i \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"es %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, 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 %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 10
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = sdiv i32 %17, 10
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsdh945_z.c'
source_filename = "/tmp/tmpsdh945_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"
%struct.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @tm_diffseconds(i32 %0, i32 %1) #0 {
%3 = alloca %struct.tm, align 4
%4 = alloca %struct.tm, align 4
%5 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0
store i32 %0, ptr %5, align 4
%6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %1, ptr %6, align 4
%7 = call i64 @tm_normalize(ptr noundef %4)
%8 = call i64 @tm_normalize(ptr noundef %3)
%9 = sub nsw i64 %7, %8
ret i64 %9
}
declare i64 @tm_normalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdh945_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"
%struct.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @tm_diffseconds(i32 %0, i32 %1) #0 {
%3 = alloca %struct.tm, align 4
%4 = alloca %struct.tm, align 4
%5 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0
store i32 %0, ptr %5, align 4
%6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %1, ptr %6, align 4
%7 = call i64 @tm_normalize(ptr noundef %4)
%8 = call i64 @tm_normalize(ptr noundef %3)
%9 = sub nsw i64 %7, %8
ret i64 %9
}
declare i64 @tm_normalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpilvmuzoo.c'
source_filename = "/tmp/tmpilvmuzoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 100
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 400
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @printf(ptr noundef @.str.1)
br label %26
13: ; preds = %7, %0
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 100
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.1)
br label %25
23: ; preds = %17, %13
%24 = call i32 @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %21
br label %26
26: ; preds = %25, %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilvmuzoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 100
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 400
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @printf(ptr noundef @.str.1)
br label %26
13: ; preds = %7, %0
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 100
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.1)
br label %25
23: ; preds = %17, %13
%24 = call i32 @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %21
br label %26
26: ; preds = %25, %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfcuzf971.c'
source_filename = "/tmp/tmpfcuzf971.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %50, %14
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %53
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %4, align 1
%24 = load i8, ptr %4, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %31, label %27
27: ; preds = %21
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %49
31: ; preds = %27, %21
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %2, align 8
%36 = ptrtoint ptr %34 to i64
%37 = ptrtoint ptr %35 to i64
%38 = sub i64 %36, %37
%39 = trunc i64 %38 to i32
%40 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = load ptr, ptr %2, align 8
%43 = ptrtoint ptr %41 to i64
%44 = ptrtoint ptr %42 to i64
%45 = sub i64 %43, %44
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%48 = call i32 @Q_mkdir(ptr noundef %47)
br label %49
49: ; preds = %31, %27
br label %50
50: ; preds = %49
%51 = load ptr, ptr %3, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %3, align 8
br label %17, !llvm.loop !6
53: ; preds = %17
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfcuzf971.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %55
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %49
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %4, align 1
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 92
br i1 %29, label %30, label %48
30: ; preds = %26, %20
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %2, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = trunc i64 %37 to i32
%39 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %38)
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %2, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%47 = call i32 @Q_mkdir(ptr noundef %46)
br label %48
48: ; preds = %30, %26
br label %49
49: ; preds = %48
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %3, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = icmp ne i8 %53, 0
br i1 %54, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %14
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpekbpmjvv.c'
source_filename = "/tmp/tmpekbpmjvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_getfd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strtol(ptr noundef %9, ptr noundef null, i32 noundef 10)
%11 = trunc i64 %10 to i32
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr @F_GETFD, align 4
%14 = call i64 @fcntl(i32 noundef %12, i32 noundef %13)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %8
store i32 -1, ptr %2, align 4
br label %19
17: ; preds = %8
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %2, align 4
br label %19
19: ; preds = %17, %16, %7
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fcntl(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/tmpekbpmjvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_getfd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strtol(ptr noundef %9, ptr noundef null, i32 noundef 10)
%11 = trunc i64 %10 to i32
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr @F_GETFD, align 4
%14 = call i64 @fcntl(i32 noundef %12, i32 noundef %13)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %8
store i32 -1, ptr %2, align 4
br label %19
17: ; preds = %8
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %2, align 4
br label %19
19: ; preds = %17, %16, %7
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fcntl(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/tmp5jc8my06.c'
source_filename = "/tmp/tmp5jc8my06.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %15
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %8
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5jc8my06.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %7
%14 = call i32 (...) @getchar()
store i32 %14, ptr %2, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc3l0him2.c'
source_filename = "/tmp/tmpc3l0him2.c"
target datalayout = "e-m:e-p270: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 [259 x i8] c"Usage: igzip_semi_dynamic [options] <infile>\0A -h help\0A -v (don't) validate output by inflate and compare\0A -t <type> 1:stateless 0:(default)stateful\0A -c <size> chunk size default=%d\0A -s <size> sample size default=%d\0A -o <file> output file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef 524288, i32 noundef 32768)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3l0him2.c"
target datalayout = "e-m:e-p270: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 [259 x i8] c"Usage: igzip_semi_dynamic [options] <infile>\0A -h help\0A -v (don't) validate output by inflate and compare\0A -t <type> 1:stateless 0:(default)stateful\0A -c <size> chunk size default=%d\0A -s <size> sample size default=%d\0A -o <file> output file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef 524288, i32 noundef 32768)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4mblyhf.c'
source_filename = "/tmp/tmpn4mblyhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn4mblyhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp59s2na67.c'
source_filename = "/tmp/tmp59s2na67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_array(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 4, %6
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %22, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = mul nsw i32 %15, %16
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp59s2na67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_array(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 4, %6
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %3, align 8
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = mul nsw i32 %14, %15
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqshts4q4.c'
source_filename = "/tmp/tmpqshts4q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 26
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqshts4q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 26
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 26
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz5vbaelc.c'
source_filename = "/tmp/tmpz5vbaelc.c"
target datalayout = "e-m:e-p270: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/tmpz5vbaelc.c"
target datalayout = "e-m:e-p270: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/tmp9dm20pkt.c'
source_filename = "/tmp/tmp9dm20pkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_CLK_TCK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dm20pkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_CLK_TCK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpchnefua4.c'
source_filename = "/tmp/tmpchnefua4.c"
target datalayout = "e-m:e-p270: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/tmpchnefua4.c"
target datalayout = "e-m:e-p270: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/tmp1mklqjdx.c'
source_filename = "/tmp/tmp1mklqjdx.c"
target datalayout = "e-m:e-p270: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 }
@FD_SETSIZE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Error opening socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Error binding\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Error on listen\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A listen fd = %d\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0A Wait for connection\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"\0A Connection in progress on nready = %d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"\0AAccepted connection %d\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"\0ASocket read %d characters\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca [16 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca %struct.sockaddr_in, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = load i32, ptr @FD_SETSIZE, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %6, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %7, align 8
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_STREAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %0
%27 = call i32 @perror(ptr noundef @.str)
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
29: ; preds = %0
%30 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 12)
%31 = load i32, ptr @AF_INET, align 4
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 2
store i32 %31, ptr %32, align 4
%33 = load i32, ptr @INADDR_ANY, align 4
%34 = call i32 @htonl(i32 noundef %33)
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 1
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = call i32 @htons(i32 noundef 16971)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 0
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %2, align 4
%40 = call i32 @bind(i32 noundef %39, ptr noundef %15, i32 noundef 12)
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %29
%44 = call i32 @perror(ptr noundef @.str.1)
%45 = load i32, ptr %4, align 4
store i32 %45, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
46: ; preds = %29
%47 = load i32, ptr %2, align 4
%48 = call i32 @listen(i32 noundef %47, i32 noundef 5)
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.2)
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
54: ; preds = %46
%55 = call i32 @FD_ZERO(ptr noundef %12)
%56 = load i32, ptr %2, align 4
%57 = call i32 @FD_SET(i32 noundef %56, ptr noundef %12)
%58 = load i32, ptr %2, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58)
store i32 4, ptr %11, align 4
%60 = load i32, ptr %2, align 4
store i32 %60, ptr %8, align 4
br label %61
61: ; preds = %100, %54
br label %62
62: ; preds = %61
%63 = load i32, ptr %12, align 4
store i32 %63, ptr %13, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
%67 = call i32 @select(i32 noundef %66, ptr noundef %13, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 %67, ptr %5, align 4
%68 = load i32, ptr %5, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68)
%70 = load i32, ptr %2, align 4
%71 = call i64 @FD_ISSET(i32 noundef %70, ptr noundef %13)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %62
%74 = load i32, ptr %2, align 4
%75 = call i32 @accept(i32 noundef %74, ptr noundef %14, ptr noundef %11)
store i32 %75, ptr %3, align 4
%76 = load i32, ptr %3, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %76)
%78 = load i32, ptr %3, align 4
%79 = call i32 @FD_SET(i32 noundef %78, ptr noundef %12)
%80 = load i32, ptr %3, align 4
%81 = load i32, ptr %8, align 4
%82 = icmp sgt i32 %80, %81
br i1 %82, label %83, label %85
83: ; preds = %73
%84 = load i32, ptr %3, align 4
store i32 %84, ptr %8, align 4
br label %85
85: ; preds = %83, %73
br label %86
86: ; preds = %85, %62
%87 = load i32, ptr %3, align 4
%88 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%89 = call i64 @read(i32 noundef %87, ptr noundef %88, i32 noundef 16)
store i64 %89, ptr %9, align 8
%90 = load i64, ptr %9, align 8
%91 = trunc i64 %90 to i32
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %91)
%93 = load i64, ptr %9, align 8
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %86
%96 = load i32, ptr %3, align 4
%97 = call i32 @FD_CLR(i32 noundef %96, ptr noundef %12)
%98 = load i32, ptr %3, align 4
%99 = call i32 @close(i32 noundef %98)
br label %100
100: ; preds = %95, %86
br label %61
101: ; preds = %51, %43, %26
%102 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %102)
%103 = load i32, ptr %1, align 4
ret i32 %103
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @htonl(i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #2
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @FD_CLR(i32 noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mklqjdx.c"
target datalayout = "e-m:e-p270: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 }
@FD_SETSIZE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Error opening socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Error binding\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Error on listen\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A listen fd = %d\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0A Wait for connection\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"\0A Connection in progress on nready = %d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"\0AAccepted connection %d\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"\0ASocket read %d characters\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca [16 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca %struct.sockaddr_in, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = load i32, ptr @FD_SETSIZE, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %6, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %7, align 8
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_STREAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %0
%27 = call i32 @perror(ptr noundef @.str)
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
29: ; preds = %0
%30 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 12)
%31 = load i32, ptr @AF_INET, align 4
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 2
store i32 %31, ptr %32, align 4
%33 = load i32, ptr @INADDR_ANY, align 4
%34 = call i32 @htonl(i32 noundef %33)
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 1
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = call i32 @htons(i32 noundef 16971)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %15, i32 0, i32 0
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %2, align 4
%40 = call i32 @bind(i32 noundef %39, ptr noundef %15, i32 noundef 12)
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %29
%44 = call i32 @perror(ptr noundef @.str.1)
%45 = load i32, ptr %4, align 4
store i32 %45, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
46: ; preds = %29
%47 = load i32, ptr %2, align 4
%48 = call i32 @listen(i32 noundef %47, i32 noundef 5)
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.2)
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %1, align 4
store i32 1, ptr %16, align 4
br label %101
54: ; preds = %46
%55 = call i32 @FD_ZERO(ptr noundef %12)
%56 = load i32, ptr %2, align 4
%57 = call i32 @FD_SET(i32 noundef %56, ptr noundef %12)
%58 = load i32, ptr %2, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58)
store i32 4, ptr %11, align 4
%60 = load i32, ptr %2, align 4
store i32 %60, ptr %8, align 4
br label %61
61: ; preds = %100, %54
br label %62
62: ; preds = %61
%63 = load i32, ptr %12, align 4
store i32 %63, ptr %13, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
%67 = call i32 @select(i32 noundef %66, ptr noundef %13, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 %67, ptr %5, align 4
%68 = load i32, ptr %5, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68)
%70 = load i32, ptr %2, align 4
%71 = call i64 @FD_ISSET(i32 noundef %70, ptr noundef %13)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %62
%74 = load i32, ptr %2, align 4
%75 = call i32 @accept(i32 noundef %74, ptr noundef %14, ptr noundef %11)
store i32 %75, ptr %3, align 4
%76 = load i32, ptr %3, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %76)
%78 = load i32, ptr %3, align 4
%79 = call i32 @FD_SET(i32 noundef %78, ptr noundef %12)
%80 = load i32, ptr %3, align 4
%81 = load i32, ptr %8, align 4
%82 = icmp sgt i32 %80, %81
br i1 %82, label %83, label %85
83: ; preds = %73
%84 = load i32, ptr %3, align 4
store i32 %84, ptr %8, align 4
br label %85
85: ; preds = %83, %73
br label %86
86: ; preds = %85, %62
%87 = load i32, ptr %3, align 4
%88 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%89 = call i64 @read(i32 noundef %87, ptr noundef %88, i32 noundef 16)
store i64 %89, ptr %9, align 8
%90 = load i64, ptr %9, align 8
%91 = trunc i64 %90 to i32
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %91)
%93 = load i64, ptr %9, align 8
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %86
%96 = load i32, ptr %3, align 4
%97 = call i32 @FD_CLR(i32 noundef %96, ptr noundef %12)
%98 = load i32, ptr %3, align 4
%99 = call i32 @close(i32 noundef %98)
br label %100
100: ; preds = %95, %86
br label %61
101: ; preds = %51, %43, %26
%102 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %102)
%103 = load i32, ptr %1, align 4
ret i32 %103
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @htonl(i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #2
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @FD_CLR(i32 noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp09tgj4fl.c'
source_filename = "/tmp/tmp09tgj4fl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%4 = call i32 (...) @f()
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 7
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 10
store i32 %8, ptr %2, align 4
ret i32 0
}
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp09tgj4fl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%4 = call i32 (...) @f()
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 7
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 10
store i32 %8, ptr %2, align 4
ret i32 0
}
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1qqncf8o.c'
source_filename = "/tmp/tmp1qqncf8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findSingleOccurenceNumber(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %52
13: ; preds = %2
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %47, %13
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 32
br i1 %16, label %17, label %50
17: ; preds = %14
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %34, %17
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %6, align 4
%29 = call i64 @k_th_bit(i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %8, align 4
br label %34
34: ; preds = %22
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load i32, ptr %8, align 4
%39 = srem i32 %38, 3
%40 = icmp sgt i32 %39, 0
%41 = zext i1 %40 to i32
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = shl i32 %43, %44
%46 = or i32 %42, %45
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %37
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
br label %14, !llvm.loop !8
50: ; preds = %14
%51 = load i32, ptr %7, align 4
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %50, %12
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i64 @k_th_bit(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1qqncf8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findSingleOccurenceNumber(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %55
13: ; preds = %2
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 32
br i1 %15, label %.lr.ph2, label %53
.lr.ph2: ; preds = %13
br label %16
16: ; preds = %.lr.ph2, %48
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %38
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %32
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %6, align 4
%27 = call i64 @k_th_bit(i32 noundef %25, i32 noundef %26)
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, %27
%31 = trunc i64 %30 to i32
store i32 %31, ptr %8, align 4
br label %32
32: ; preds = %20
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %16
%39 = load i32, ptr %8, align 4
%40 = srem i32 %39, 3
%41 = icmp sgt i32 %40, 0
%42 = zext i1 %41 to i32
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = shl i32 %44, %45
%47 = or i32 %43, %46
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %38
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %51, 32
br i1 %52, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %53
53: ; preds = %._crit_edge3, %13
%54 = load i32, ptr %7, align 4
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %53, %12
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i64 @k_th_bit(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbhvkueyj.c'
source_filename = "/tmp/tmpbhvkueyj.c"
target datalayout = "e-m:e-p270: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/tmpbhvkueyj.c"
target datalayout = "e-m:e-p270: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/tmprtyk_v9e.c'
source_filename = "/tmp/tmprtyk_v9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"/usr/lib/libX11.so.6\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/usr/lib32/libX11.so.6\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Failed to dlopen %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"dlerror says: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_xlib_handle() #0 {
%1 = alloca ptr, align 8
%2 = alloca [1025 x i8], align 16
store ptr null, ptr %1, align 8
%3 = call i64 (...) @is_emulated_32bit()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @snprintf(ptr noundef %6, i32 noundef 1024, ptr noundef @.str)
br label %11
8: ; preds = %0
%9 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @snprintf(ptr noundef %9, i32 noundef 1024, ptr noundef @.str.1)
br label %11
11: ; preds = %8, %5
%12 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%13 = load i32, ptr @RTLD_LAZY, align 4
%14 = call ptr @dlopen(ptr noundef %12, i32 noundef %13)
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 %24
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19)
%21 = load i32, ptr @stderr, align 4
%22 = call ptr (...) @dlerror()
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef %22)
br label %24
24: ; preds = %17, %11
%25 = load ptr, ptr %1, align 8
ret ptr %25
}
declare i64 @is_emulated_32bit(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @dlerror(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtyk_v9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"/usr/lib/libX11.so.6\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/usr/lib32/libX11.so.6\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Failed to dlopen %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"dlerror says: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_xlib_handle() #0 {
%1 = alloca ptr, align 8
%2 = alloca [1025 x i8], align 16
store ptr null, ptr %1, align 8
%3 = call i64 (...) @is_emulated_32bit()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @snprintf(ptr noundef %6, i32 noundef 1024, ptr noundef @.str)
br label %11
8: ; preds = %0
%9 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @snprintf(ptr noundef %9, i32 noundef 1024, ptr noundef @.str.1)
br label %11
11: ; preds = %8, %5
%12 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%13 = load i32, ptr @RTLD_LAZY, align 4
%14 = call ptr @dlopen(ptr noundef %12, i32 noundef %13)
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 %24
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19)
%21 = load i32, ptr @stderr, align 4
%22 = call ptr (...) @dlerror()
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef %22)
br label %24
24: ; preds = %17, %11
%25 = load ptr, ptr %1, align 8
ret ptr %25
}
declare i64 @is_emulated_32bit(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @dlerror(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwgyt_g3_.c'
source_filename = "/tmp/tmpwgyt_g3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwgyt_g3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm0c3olq6.c'
source_filename = "/tmp/tmpm0c3olq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_timetzfunc1() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm0c3olq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_timetzfunc1() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1q_16qaa.c'
source_filename = "/tmp/tmp1q_16qaa.c"
target datalayout = "e-m:e-p270: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/tmp1q_16qaa.c"
target datalayout = "e-m:e-p270: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/tmplyb5m5e0.c'
source_filename = "/tmp/tmplyb5m5e0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @populate_float_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %16, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = call float (...) @gen_rand_float()
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds float, ptr %12, i64 %14
store float %11, ptr %15, align 4
br label %16
16: ; preds = %10
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
ret void
}
declare float @gen_rand_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplyb5m5e0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @populate_float_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = call float (...) @gen_rand_float()
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
store float %10, ptr %14, align 4
br label %15
15: ; preds = %9
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
ret void
}
declare float @gen_rand_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpylhx1p5t.c'
source_filename = "/tmp/tmpylhx1p5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [120 x i8] c"The following are the dates of the Paschal full moon (using Servois notation) and the date of Easter for 2020-2030 AD:\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Year\09Servois number\09Easter\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%d\09\09%s\09%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x i8], align 1
%3 = alloca [9 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 2020, ptr %4, align 4
br label %7
7: ; preds = %19, %0
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %8, 2030
br i1 %9, label %10, label %22
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0
%14 = call ptr @computus(i32 noundef %12, i32 noundef 1, ptr noundef %13, i32 noundef 9)
%15 = load i32, ptr %4, align 4
%16 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
%17 = call ptr @computus(i32 noundef %15, i32 noundef 0, ptr noundef %16, i32 noundef 9)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, ptr noundef %14, ptr noundef %17)
br label %19
19: ; preds = %10
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @computus(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylhx1p5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [120 x i8] c"The following are the dates of the Paschal full moon (using Servois notation) and the date of Easter for 2020-2030 AD:\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Year\09Servois number\09Easter\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%d\09\09%s\09%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x i8], align 1
%3 = alloca [9 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 2020, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 2030
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %18
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0
%13 = call ptr @computus(i32 noundef %11, i32 noundef 1, ptr noundef %12, i32 noundef 9)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
%16 = call ptr @computus(i32 noundef %14, i32 noundef 0, ptr noundef %15, i32 noundef 9)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, ptr noundef %13, ptr noundef %16)
br label %18
18: ; preds = %9
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sle i32 %21, 2030
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @computus(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmploxzeewq.c'
source_filename = "/tmp/tmploxzeewq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eddsa_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @ed25519_verify(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12)
ret i32 %13
}
declare i32 @ed25519_verify(ptr noundef, ptr noundef, 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/tmploxzeewq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eddsa_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @ed25519_verify(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12)
ret i32 %13
}
declare i32 @ed25519_verify(ptr noundef, ptr noundef, 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/tmp1cl38dsk.c'
source_filename = "/tmp/tmp1cl38dsk.c"
target datalayout = "e-m:e-p270: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.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16
@.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1
@__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16
@.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\0A\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"string cast to integer is %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [43 x i8] c"%s is living backwards with %d years old.\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 [5 x i32], align 16
%7 = alloca [5 x ptr], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false)
store i32 5, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %29, %2
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %32
19: ; preds = %15
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %23, i32 noundef %27)
br label %29
29: ; preds = %19
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %15, !llvm.loop !6
32: ; preds = %15
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%34 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %34, ptr %10, align 8
%35 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %35, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %36
36: ; preds = %52, %32
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %45, i32 noundef %50)
br label %52
52: ; preds = %40
%53 = load i32, ptr %12, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %12, align 4
br label %36, !llvm.loop !8
55: ; preds = %36
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %13, align 4
br label %57
57: ; preds = %73, %55
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %76
61: ; preds = %57
%62 = load ptr, ptr %11, align 8
%63 = load i32, ptr %13, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load ptr, ptr %10, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %66, i32 noundef %71)
br label %73
73: ; preds = %61
%74 = load i32, ptr %13, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %13, align 4
br label %57, !llvm.loop !9
76: ; preds = %57
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%78 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %78, ptr %11, align 8
%79 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %79, ptr %10, align 8
br label %80
80: ; preds = %96, %76
%81 = load ptr, ptr %10, align 8
%82 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%83 = ptrtoint ptr %81 to i64
%84 = ptrtoint ptr %82 to i64
%85 = sub i64 %83, %84
%86 = sdiv exact i64 %85, 4
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = icmp slt i64 %86, %88
br i1 %89, label %90, label %101
90: ; preds = %80
%91 = load ptr, ptr %11, align 8
%92 = load ptr, ptr %91, align 8
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %93, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %92, i32 noundef %94)
br label %96
96: ; preds = %90
%97 = load ptr, ptr %11, align 8
%98 = getelementptr inbounds ptr, ptr %97, i32 1
store ptr %98, ptr %11, align 8
%99 = load ptr, ptr %10, align 8
%100 = getelementptr inbounds i32, ptr %99, i32 1
store ptr %100, ptr %10, align 8
br label %80, !llvm.loop !10
101: ; preds = %80
%102 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %102, ptr %10, align 8
%103 = load ptr, ptr %10, align 8
%104 = load i32, ptr %103, align 4
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %104)
%106 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %106, ptr %10, align 8
%107 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %107, ptr %11, align 8
%108 = load i32, ptr %8, align 4
%109 = sub nsw i32 %108, 1
store i32 %109, ptr %14, align 4
br label %110
110: ; preds = %125, %101
%111 = load i32, ptr %14, align 4
%112 = icmp sge i32 %111, 0
br i1 %112, label %113, label %128
113: ; preds = %110
%114 = load ptr, ptr %11, align 8
%115 = load i32, ptr %14, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds ptr, ptr %114, i64 %116
%118 = load ptr, ptr %117, align 8
%119 = load ptr, ptr %10, align 8
%120 = load i32, ptr %14, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %118, i32 noundef %123)
br label %125
125: ; preds = %113
%126 = load i32, ptr %14, align 4
%127 = add nsw i32 %126, -1
store i32 %127, ptr %14, align 4
br label %110, !llvm.loop !11
128: ; preds = %110
%129 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %129, ptr %11, align 8
%130 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %130, ptr %10, align 8
br label %131
131: ; preds = %148, %128
%132 = load ptr, ptr %10, align 8
%133 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%134 = ptrtoint ptr %132 to i64
%135 = ptrtoint ptr %133 to i64
%136 = sub i64 %134, %135
%137 = sdiv exact i64 %136, 4
%138 = load i32, ptr %8, align 4
%139 = add nsw i32 %138, 10
%140 = sext i32 %139 to i64
%141 = icmp slt i64 %137, %140
br i1 %141, label %142, label %153
142: ; preds = %131
%143 = load ptr, ptr %11, align 8
%144 = load ptr, ptr %143, align 8
%145 = load ptr, ptr %10, align 8
%146 = load i32, ptr %145, align 4
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %144, i32 noundef %146)
br label %148
148: ; preds = %142
%149 = load ptr, ptr %11, align 8
%150 = getelementptr inbounds ptr, ptr %149, i32 1
store ptr %150, ptr %11, align 8
%151 = load ptr, ptr %10, align 8
%152 = getelementptr inbounds i32, ptr %151, i32 1
store ptr %152, ptr %10, align 8
br label %131, !llvm.loop !12
153: ; preds = %131
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 @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"}
!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/tmp1cl38dsk.c"
target datalayout = "e-m:e-p270: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.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16
@.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1
@__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16
@.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\0A\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"string cast to integer is %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [43 x i8] c"%s is living backwards with %d years old.\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 [5 x i32], align 16
%7 = alloca [5 x ptr], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false)
store i32 5, ptr %8, align 4
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %28
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %22, i32 noundef %26)
br label %28
28: ; preds = %18
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%36 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %36, ptr %10, align 8
%37 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %37, ptr %11, align 8
store i32 0, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %59
.lr.ph2: ; preds = %34
br label %41
41: ; preds = %.lr.ph2, %53
%42 = load ptr, ptr %11, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %46, i32 noundef %51)
br label %53
53: ; preds = %41
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
%56 = load i32, ptr %12, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %34
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %13, align 4
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph5, label %82
.lr.ph5: ; preds = %59
br label %64
64: ; preds = %.lr.ph5, %76
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %13, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load ptr, ptr %10, align 8
%71 = load i32, ptr %13, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %69, i32 noundef %74)
br label %76
76: ; preds = %64
%77 = load i32, ptr %13, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %13, align 4
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %8, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %59
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%84 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %84, ptr %11, align 8
%85 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %85, ptr %10, align 8
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%88 = ptrtoint ptr %86 to i64
%89 = ptrtoint ptr %87 to i64
%90 = sub i64 %88, %89
%91 = sdiv exact i64 %90, 4
%92 = load i32, ptr %8, align 4
%93 = sext i32 %92 to i64
%94 = icmp slt i64 %91, %93
br i1 %94, label %.lr.ph8, label %113
.lr.ph8: ; preds = %82
br label %95
95: ; preds = %.lr.ph8, %101
%96 = load ptr, ptr %11, align 8
%97 = load ptr, ptr %96, align 8
%98 = load ptr, ptr %10, align 8
%99 = load i32, ptr %98, align 4
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %97, i32 noundef %99)
br label %101
101: ; preds = %95
%102 = load ptr, ptr %11, align 8
%103 = getelementptr inbounds ptr, ptr %102, i32 1
store ptr %103, ptr %11, align 8
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds i32, ptr %104, i32 1
store ptr %105, ptr %10, align 8
%106 = load ptr, ptr %10, align 8
%107 = ptrtoint ptr %106 to i64
%108 = sub i64 %107, %89
%109 = sdiv exact i64 %108, 4
%110 = load i32, ptr %8, align 4
%111 = sext i32 %110 to i64
%112 = icmp slt i64 %109, %111
br i1 %112, label %95, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %101
br label %113
113: ; preds = %._crit_edge9, %82
%114 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %114, ptr %10, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i32, ptr %115, align 4
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %116)
%118 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %118, ptr %10, align 8
%119 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %119, ptr %11, align 8
%120 = load i32, ptr %8, align 4
%121 = sub nsw i32 %120, 1
store i32 %121, ptr %14, align 4
%122 = load i32, ptr %14, align 4
%123 = icmp sge i32 %122, 0
br i1 %123, label %.lr.ph11, label %141
.lr.ph11: ; preds = %113
br label %124
124: ; preds = %.lr.ph11, %136
%125 = load ptr, ptr %11, align 8
%126 = load i32, ptr %14, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds ptr, ptr %125, i64 %127
%129 = load ptr, ptr %128, align 8
%130 = load ptr, ptr %10, align 8
%131 = load i32, ptr %14, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
%134 = load i32, ptr %133, align 4
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %129, i32 noundef %134)
br label %136
136: ; preds = %124
%137 = load i32, ptr %14, align 4
%138 = add nsw i32 %137, -1
store i32 %138, ptr %14, align 4
%139 = load i32, ptr %14, align 4
%140 = icmp sge i32 %139, 0
br i1 %140, label %124, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %136
br label %141
141: ; preds = %._crit_edge12, %113
%142 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %142, ptr %11, align 8
%143 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %143, ptr %10, align 8
%144 = load ptr, ptr %10, align 8
%145 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%146 = ptrtoint ptr %144 to i64
%147 = ptrtoint ptr %145 to i64
%148 = sub i64 %146, %147
%149 = sdiv exact i64 %148, 4
%150 = load i32, ptr %8, align 4
%151 = add nsw i32 %150, 10
%152 = sext i32 %151 to i64
%153 = icmp slt i64 %149, %152
br i1 %153, label %.lr.ph14, label %173
.lr.ph14: ; preds = %141
br label %154
154: ; preds = %.lr.ph14, %160
%155 = load ptr, ptr %11, align 8
%156 = load ptr, ptr %155, align 8
%157 = load ptr, ptr %10, align 8
%158 = load i32, ptr %157, align 4
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %156, i32 noundef %158)
br label %160
160: ; preds = %154
%161 = load ptr, ptr %11, align 8
%162 = getelementptr inbounds ptr, ptr %161, i32 1
store ptr %162, ptr %11, align 8
%163 = load ptr, ptr %10, align 8
%164 = getelementptr inbounds i32, ptr %163, i32 1
store ptr %164, ptr %10, align 8
%165 = load ptr, ptr %10, align 8
%166 = ptrtoint ptr %165 to i64
%167 = sub i64 %166, %147
%168 = sdiv exact i64 %167, 4
%169 = load i32, ptr %8, align 4
%170 = add nsw i32 %169, 10
%171 = sext i32 %170 to i64
%172 = icmp slt i64 %168, %171
br i1 %172, label %154, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %160
br label %173
173: ; preds = %._crit_edge15, %141
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 @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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmps8c2yi89.c'
source_filename = "/tmp/tmps8c2yi89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Invalid row numbers entered\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap_rows(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 10
br i1 %10, label %20, label %11
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = icmp sge i32 %12, 10
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17, %14, %11, %3
%21 = call i32 @printf(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %17
store i32 0, ptr %7, align 4
br label %24
24: ; preds = %59, %23
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %25, 10
br i1 %26, label %27, label %62
27: ; preds = %24
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i8], ptr %28, i64 %30
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [10 x i8], ptr %31, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
store i8 %35, ptr %8, align 1
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x i8], ptr %36, i64 %38
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i8], ptr %39, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [10 x i8], ptr %44, i64 %46
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i8], ptr %47, i64 0, i64 %49
store i8 %43, ptr %50, align 1
%51 = load i8, ptr %8, align 1
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x i8], ptr %52, i64 %54
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i8], ptr %55, i64 0, i64 %57
store i8 %51, ptr %58, align 1
br label %59
59: ; preds = %27
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
br label %24, !llvm.loop !6
62: ; preds = %24
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8c2yi89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Invalid row numbers entered\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @swap_rows(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 10
br i1 %10, label %20, label %11
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = icmp sge i32 %12, 10
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17, %14, %11, %3
%21 = call i32 @printf(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %17
store i32 0, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 10
br i1 %25, label %.lr.ph, label %63
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %58
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x i8], ptr %27, i64 %29
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i8], ptr %30, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
store i8 %34, ptr %8, align 1
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x i8], ptr %35, i64 %37
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x i8], ptr %38, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x i8], ptr %43, i64 %45
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10 x i8], ptr %46, i64 0, i64 %48
store i8 %42, ptr %49, align 1
%50 = load i8, ptr %8, align 1
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x i8], ptr %51, i64 %53
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i8], ptr %54, i64 0, i64 %56
store i8 %50, ptr %57, align 1
br label %58
58: ; preds = %26
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %61, 10
br i1 %62, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %63
63: ; preds = %._crit_edge, %23
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3vaoj2l6.c'
source_filename = "/tmp/tmp3vaoj2l6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaRefz(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 5.544500e-01, ptr %19, align 8
store double -1.133000e-02, ptr %20, align 8
store double 2.020000e-03, ptr %21, align 8
store double 2.838500e-01, ptr %22, align 8
store double 2.390000e-02, ptr %23, align 8
store double 9.300000e+01, ptr %24, align 8
store double 0x3FF72D8F9A8323E6, ptr %25, align 8
store double 0x3FC1AC6B7E7C0987, ptr %26, align 8
%27 = load double, ptr %5, align 8
%28 = fcmp olt double %27, 0x3FF72D8F9A8323E6
br i1 %28, label %29, label %31
29: ; preds = %4
%30 = load double, ptr %5, align 8
br label %32
31: ; preds = %4
br label %32
32: ; preds = %31, %29
%33 = phi double [ %30, %29 ], [ 0x3FF72D8F9A8323E6, %31 ]
store double %33, ptr %9, align 8
%34 = load double, ptr %9, align 8
store double %34, ptr %10, align 8
%35 = load double, ptr %10, align 8
%36 = call double @sin(double noundef %35) #3
store double %36, ptr %11, align 8
%37 = load double, ptr %10, align 8
%38 = call double @cos(double noundef %37) #3
store double %38, ptr %12, align 8
%39 = load double, ptr %11, align 8
%40 = load double, ptr %12, align 8
%41 = fdiv double %39, %40
store double %41, ptr %13, align 8
%42 = load double, ptr %13, align 8
%43 = load double, ptr %13, align 8
%44 = fmul double %42, %43
store double %44, ptr %14, align 8
%45 = load double, ptr %13, align 8
%46 = load double, ptr %14, align 8
%47 = fmul double %45, %46
store double %47, ptr %15, align 8
%48 = load double, ptr %6, align 8
%49 = load double, ptr %13, align 8
%50 = load double, ptr %7, align 8
%51 = load double, ptr %15, align 8
%52 = fmul double %50, %51
%53 = call double @llvm.fmuladd.f64(double %48, double %49, double %52)
%54 = load double, ptr %6, align 8
%55 = load double, ptr %7, align 8
%56 = fmul double 3.000000e+00, %55
%57 = load double, ptr %14, align 8
%58 = call double @llvm.fmuladd.f64(double %56, double %57, double %54)
%59 = load double, ptr %12, align 8
%60 = load double, ptr %12, align 8
%61 = fmul double %59, %60
%62 = fdiv double %58, %61
%63 = fadd double 1.000000e+00, %62
%64 = fdiv double %53, %63
%65 = load double, ptr %10, align 8
%66 = fsub double %65, %64
store double %66, ptr %10, align 8
%67 = load double, ptr %10, align 8
%68 = call double @sin(double noundef %67) #3
store double %68, ptr %11, align 8
%69 = load double, ptr %10, align 8
%70 = call double @cos(double noundef %69) #3
store double %70, ptr %12, align 8
%71 = load double, ptr %11, align 8
%72 = load double, ptr %12, align 8
%73 = fdiv double %71, %72
store double %73, ptr %13, align 8
%74 = load double, ptr %13, align 8
%75 = load double, ptr %13, align 8
%76 = fmul double %74, %75
store double %76, ptr %14, align 8
%77 = load double, ptr %13, align 8
%78 = load double, ptr %14, align 8
%79 = fmul double %77, %78
store double %79, ptr %15, align 8
%80 = load double, ptr %9, align 8
%81 = load double, ptr %10, align 8
%82 = fsub double %80, %81
%83 = load double, ptr %10, align 8
%84 = load double, ptr %9, align 8
%85 = fsub double %83, %84
%86 = load double, ptr %6, align 8
%87 = load double, ptr %13, align 8
%88 = call double @llvm.fmuladd.f64(double %86, double %87, double %85)
%89 = load double, ptr %7, align 8
%90 = load double, ptr %15, align 8
%91 = call double @llvm.fmuladd.f64(double %89, double %90, double %88)
%92 = load double, ptr %6, align 8
%93 = load double, ptr %7, align 8
%94 = fmul double 3.000000e+00, %93
%95 = load double, ptr %14, align 8
%96 = call double @llvm.fmuladd.f64(double %94, double %95, double %92)
%97 = load double, ptr %12, align 8
%98 = load double, ptr %12, align 8
%99 = fmul double %97, %98
%100 = fdiv double %96, %99
%101 = fadd double 1.000000e+00, %100
%102 = fdiv double %91, %101
%103 = fadd double %82, %102
store double %103, ptr %16, align 8
%104 = load double, ptr %5, align 8
%105 = load double, ptr %9, align 8
%106 = fcmp ogt double %104, %105
br i1 %106, label %107, label %133
107: ; preds = %32
%108 = load double, ptr %5, align 8
%109 = fmul double %108, 0x404CA5DC1A63C1F8
%110 = fcmp olt double 9.300000e+01, %109
br i1 %110, label %111, label %112
111: ; preds = %107
br label %115
112: ; preds = %107
%113 = load double, ptr %5, align 8
%114 = fmul double %113, 0x404CA5DC1A63C1F8
br label %115
115: ; preds = %112, %111
%116 = phi double [ 9.300000e+01, %111 ], [ %114, %112 ]
%117 = fsub double 9.000000e+01, %116
store double %117, ptr %17, align 8
%118 = load double, ptr %17, align 8
%119 = load double, ptr %17, align 8
%120 = fmul double %118, %119
store double %120, ptr %18, align 8
%121 = load double, ptr %16, align 8
%122 = fdiv double %121, 0x3FC1AC6B7E7C0987
%123 = load double, ptr %17, align 8
%124 = call double @llvm.fmuladd.f64(double -1.133000e-02, double %123, double 5.544500e-01)
%125 = load double, ptr %18, align 8
%126 = call double @llvm.fmuladd.f64(double 2.020000e-03, double %125, double %124)
%127 = fmul double %122, %126
%128 = load double, ptr %17, align 8
%129 = call double @llvm.fmuladd.f64(double 2.838500e-01, double %128, double 1.000000e+00)
%130 = load double, ptr %18, align 8
%131 = call double @llvm.fmuladd.f64(double 2.390000e-02, double %130, double %129)
%132 = fdiv double %127, %131
store double %132, ptr %16, align 8
br label %133
133: ; preds = %115, %32
%134 = load double, ptr %5, align 8
%135 = load double, ptr %16, align 8
%136 = fsub double %134, %135
%137 = load ptr, ptr %8, align 8
store double %136, ptr %137, align 8
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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/tmp3vaoj2l6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaRefz(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 5.544500e-01, ptr %19, align 8
store double -1.133000e-02, ptr %20, align 8
store double 2.020000e-03, ptr %21, align 8
store double 2.838500e-01, ptr %22, align 8
store double 2.390000e-02, ptr %23, align 8
store double 9.300000e+01, ptr %24, align 8
store double 0x3FF72D8F9A8323E6, ptr %25, align 8
store double 0x3FC1AC6B7E7C0987, ptr %26, align 8
%27 = load double, ptr %5, align 8
%28 = fcmp olt double %27, 0x3FF72D8F9A8323E6
br i1 %28, label %29, label %31
29: ; preds = %4
%30 = load double, ptr %5, align 8
br label %32
31: ; preds = %4
br label %32
32: ; preds = %31, %29
%33 = phi double [ %30, %29 ], [ 0x3FF72D8F9A8323E6, %31 ]
store double %33, ptr %9, align 8
%34 = load double, ptr %9, align 8
store double %34, ptr %10, align 8
%35 = load double, ptr %10, align 8
%36 = call double @sin(double noundef %35) #3
store double %36, ptr %11, align 8
%37 = load double, ptr %10, align 8
%38 = call double @cos(double noundef %37) #3
store double %38, ptr %12, align 8
%39 = load double, ptr %11, align 8
%40 = load double, ptr %12, align 8
%41 = fdiv double %39, %40
store double %41, ptr %13, align 8
%42 = load double, ptr %13, align 8
%43 = load double, ptr %13, align 8
%44 = fmul double %42, %43
store double %44, ptr %14, align 8
%45 = load double, ptr %13, align 8
%46 = load double, ptr %14, align 8
%47 = fmul double %45, %46
store double %47, ptr %15, align 8
%48 = load double, ptr %6, align 8
%49 = load double, ptr %13, align 8
%50 = load double, ptr %7, align 8
%51 = load double, ptr %15, align 8
%52 = fmul double %50, %51
%53 = call double @llvm.fmuladd.f64(double %48, double %49, double %52)
%54 = load double, ptr %6, align 8
%55 = load double, ptr %7, align 8
%56 = fmul double 3.000000e+00, %55
%57 = load double, ptr %14, align 8
%58 = call double @llvm.fmuladd.f64(double %56, double %57, double %54)
%59 = load double, ptr %12, align 8
%60 = load double, ptr %12, align 8
%61 = fmul double %59, %60
%62 = fdiv double %58, %61
%63 = fadd double 1.000000e+00, %62
%64 = fdiv double %53, %63
%65 = load double, ptr %10, align 8
%66 = fsub double %65, %64
store double %66, ptr %10, align 8
%67 = load double, ptr %10, align 8
%68 = call double @sin(double noundef %67) #3
store double %68, ptr %11, align 8
%69 = load double, ptr %10, align 8
%70 = call double @cos(double noundef %69) #3
store double %70, ptr %12, align 8
%71 = load double, ptr %11, align 8
%72 = load double, ptr %12, align 8
%73 = fdiv double %71, %72
store double %73, ptr %13, align 8
%74 = load double, ptr %13, align 8
%75 = load double, ptr %13, align 8
%76 = fmul double %74, %75
store double %76, ptr %14, align 8
%77 = load double, ptr %13, align 8
%78 = load double, ptr %14, align 8
%79 = fmul double %77, %78
store double %79, ptr %15, align 8
%80 = load double, ptr %9, align 8
%81 = load double, ptr %10, align 8
%82 = fsub double %80, %81
%83 = load double, ptr %10, align 8
%84 = load double, ptr %9, align 8
%85 = fsub double %83, %84
%86 = load double, ptr %6, align 8
%87 = load double, ptr %13, align 8
%88 = call double @llvm.fmuladd.f64(double %86, double %87, double %85)
%89 = load double, ptr %7, align 8
%90 = load double, ptr %15, align 8
%91 = call double @llvm.fmuladd.f64(double %89, double %90, double %88)
%92 = load double, ptr %6, align 8
%93 = load double, ptr %7, align 8
%94 = fmul double 3.000000e+00, %93
%95 = load double, ptr %14, align 8
%96 = call double @llvm.fmuladd.f64(double %94, double %95, double %92)
%97 = load double, ptr %12, align 8
%98 = load double, ptr %12, align 8
%99 = fmul double %97, %98
%100 = fdiv double %96, %99
%101 = fadd double 1.000000e+00, %100
%102 = fdiv double %91, %101
%103 = fadd double %82, %102
store double %103, ptr %16, align 8
%104 = load double, ptr %5, align 8
%105 = load double, ptr %9, align 8
%106 = fcmp ogt double %104, %105
br i1 %106, label %107, label %133
107: ; preds = %32
%108 = load double, ptr %5, align 8
%109 = fmul double %108, 0x404CA5DC1A63C1F8
%110 = fcmp olt double 9.300000e+01, %109
br i1 %110, label %111, label %112
111: ; preds = %107
br label %115
112: ; preds = %107
%113 = load double, ptr %5, align 8
%114 = fmul double %113, 0x404CA5DC1A63C1F8
br label %115
115: ; preds = %112, %111
%116 = phi double [ 9.300000e+01, %111 ], [ %114, %112 ]
%117 = fsub double 9.000000e+01, %116
store double %117, ptr %17, align 8
%118 = load double, ptr %17, align 8
%119 = load double, ptr %17, align 8
%120 = fmul double %118, %119
store double %120, ptr %18, align 8
%121 = load double, ptr %16, align 8
%122 = fdiv double %121, 0x3FC1AC6B7E7C0987
%123 = load double, ptr %17, align 8
%124 = call double @llvm.fmuladd.f64(double -1.133000e-02, double %123, double 5.544500e-01)
%125 = load double, ptr %18, align 8
%126 = call double @llvm.fmuladd.f64(double 2.020000e-03, double %125, double %124)
%127 = fmul double %122, %126
%128 = load double, ptr %17, align 8
%129 = call double @llvm.fmuladd.f64(double 2.838500e-01, double %128, double 1.000000e+00)
%130 = load double, ptr %18, align 8
%131 = call double @llvm.fmuladd.f64(double 2.390000e-02, double %130, double %129)
%132 = fdiv double %127, %131
store double %132, ptr %16, align 8
br label %133
133: ; preds = %115, %32
%134 = load double, ptr %5, align 8
%135 = load double, ptr %16, align 8
%136 = fsub double %134, %135
%137 = load ptr, ptr %8, align 8
store double %136, ptr %137, align 8
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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/tmpj9k6vrau.c'
source_filename = "/tmp/tmpj9k6vrau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64 }
@BUFSIZ = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readcall(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 0, ptr %9, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i32 1, ptr %10, align 8
%11 = load i32, ptr @BUFSIZ, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr @O_RDONLY, align 4
%17 = call i32 @open(ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %1
store i32 1, ptr %2, align 4
store i32 1, ptr %8, align 4
br label %30
21: ; preds = %1
br label %22
22: ; preds = %27, %21
%23 = load i32, ptr %7, align 4
%24 = trunc i64 %12 to i32
%25 = call i64 @read(i32 noundef %23, ptr noundef %14, i32 noundef %24)
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @usleep(i32 noundef 1)
br label %22, !llvm.loop !6
29: ; preds = %22
store i32 0, ptr %2, align 4
store i32 1, ptr %8, align 4
br label %30
30: ; preds = %29, %20
%31 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %31)
%32 = load i32, ptr %2, align 4
ret i32 %32
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @usleep(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9k6vrau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64 }
@BUFSIZ = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readcall(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 0, ptr %9, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i32 1, ptr %10, align 8
%11 = load i32, ptr @BUFSIZ, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr @O_RDONLY, align 4
%17 = call i32 @open(ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %1
store i32 1, ptr %2, align 4
store i32 1, ptr %8, align 4
br label %32
21: ; preds = %1
%22 = load i32, ptr %7, align 4
%23 = trunc i64 %12 to i32
%24 = call i64 @read(i32 noundef %22, ptr noundef %14, i32 noundef %23)
%25 = icmp sgt i64 %24, 0
br i1 %25, label %.lr.ph, label %31
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %26
%27 = call i32 @usleep(i32 noundef 1)
%28 = load i32, ptr %7, align 4
%29 = call i64 @read(i32 noundef %28, ptr noundef %14, i32 noundef %23)
%30 = icmp sgt i64 %29, 0
br i1 %30, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %21
store i32 0, ptr %2, align 4
store i32 1, ptr %8, align 4
br label %32
32: ; preds = %31, %20
%33 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %2, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @usleep(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_xzz03ol.c'
source_filename = "/tmp/tmp_xzz03ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_dobldobl_drop_coordinate_by_name(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %7, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %8, align 8
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %13, i64 %26
store i32 %24, ptr %27, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load ptr, ptr %9, align 8
%33 = call i32 @_ada_use_c2phc4c(i32 noundef 349, ptr noundef %3, ptr noundef %13, ptr noundef %32, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %35)
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xzz03ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_dobldobl_drop_coordinate_by_name(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %7, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %8, align 8
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %13, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %17
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load ptr, ptr %9, align 8
%35 = call i32 @_ada_use_c2phc4c(i32 noundef 349, ptr noundef %3, ptr noundef %13, ptr noundef %34, i32 noundef 0)
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %37)
ret i32 %36
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxnqg49d6.c'
source_filename = "/tmp/tmpxnqg49d6.c"
target datalayout = "e-m:e-p270: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/tmpxnqg49d6.c"
target datalayout = "e-m:e-p270: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/tmp9gd6rbuc.c'
source_filename = "/tmp/tmp9gd6rbuc.c"
target datalayout = "e-m:e-p270: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"usage: %s <n> <k>\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"calculating nchoosek(%li, %li) (native)... \0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"result: %li\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %33
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @atoll(ptr noundef %19)
store i64 %20, ptr %6, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i64 @atoll(ptr noundef %23)
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.1, i64 noundef %25, i64 noundef %26)
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @nchoosek_native(i64 noundef %28, i64 noundef %29)
%31 = sext i32 %30 to i64
%32 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.2, i64 noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %16, %10
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, ...) #1
declare i32 @nchoosek_native(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/tmp9gd6rbuc.c"
target datalayout = "e-m:e-p270: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"usage: %s <n> <k>\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"calculating nchoosek(%li, %li) (native)... \0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"result: %li\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %33
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @atoll(ptr noundef %19)
store i64 %20, ptr %6, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i64 @atoll(ptr noundef %23)
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.1, i64 noundef %25, i64 noundef %26)
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @nchoosek_native(i64 noundef %28, i64 noundef %29)
%31 = sext i32 %30 to i64
%32 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.2, i64 noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %16, %10
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, ...) #1
declare i32 @nchoosek_native(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.