llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmp_r2s0lvy.c'
source_filename = "/tmp/tmp_r2s0lvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_Locale_n_sign_posn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @CHAR_MAX, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_r2s0lvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_Locale_n_sign_posn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @CHAR_MAX, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5aph43h_.c'
source_filename = "/tmp/tmp5aph43h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%8d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_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 = %23, %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 %26
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = srem i32 %11, 10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %16
16: ; preds = %14, %10
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %6, !llvm.loop !6
26: ; preds = %6
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5aph43h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%8d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_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 %28
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %5, align 4
%11 = srem i32 %10, 10
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %15
15: ; preds = %13, %9
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %22
22: ; preds = %15
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp72l6zk_6.c'
source_filename = "/tmp/tmp72l6zk_6.c"
target datalayout = "e-m:e-p270: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/tmp72l6zk_6.c"
target datalayout = "e-m:e-p270: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/tmp087mexw3.c'
source_filename = "/tmp/tmp087mexw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"get_mem2Dint: array2D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_mem2Dint_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 8)
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %5, align 8
store ptr %12, ptr %13, align 8
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = call i32 @no_mem_exit(ptr noundef @.str)
br label %17
17: ; preds = %15, %4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = mul nsw i32 %18, %19
%21 = call i64 @calloc(i32 noundef %20, i32 noundef 4)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
store ptr %22, ptr %25, align 8
%26 = icmp eq ptr %22, null
br i1 %26, label %27, label %29
27: ; preds = %17
%28 = call i32 @no_mem_exit(ptr noundef @.str)
br label %29
29: ; preds = %27, %17
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = sext i32 %30 to i64
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store ptr %36, ptr %33, align 8
store i32 1, ptr %9, align 4
br label %37
37: ; preds = %57, %29
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %60
41: ; preds = %37
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %9, align 4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %43, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load ptr, ptr %5, align 8
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
store ptr %51, ptr %56, align 8
br label %57
57: ; preds = %41
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %37, !llvm.loop !6
60: ; preds = %37
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = mul nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = mul i64 %64, 4
%66 = trunc i64 %65 to i32
ret i32 %66
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @no_mem_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp087mexw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"get_mem2Dint: array2D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_mem2Dint_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 8)
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %5, align 8
store ptr %12, ptr %13, align 8
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = call i32 @no_mem_exit(ptr noundef @.str)
br label %17
17: ; preds = %15, %4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = mul nsw i32 %18, %19
%21 = call i64 @calloc(i32 noundef %20, i32 noundef 4)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
store ptr %22, ptr %25, align 8
%26 = icmp eq ptr %22, null
br i1 %26, label %27, label %29
27: ; preds = %17
%28 = call i32 @no_mem_exit(ptr noundef @.str)
br label %29
29: ; preds = %27, %17
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = sext i32 %30 to i64
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store ptr %36, ptr %33, align 8
store i32 1, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph, label %62
.lr.ph: ; preds = %29
br label %40
40: ; preds = %.lr.ph, %56
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %9, align 4
%44 = sub nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %42, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
store ptr %50, ptr %55, align 8
br label %56
56: ; preds = %40
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %29
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %7, align 4
%65 = mul nsw i32 %63, %64
%66 = sext i32 %65 to i64
%67 = mul i64 %66, 4
%68 = trunc i64 %67 to i32
ret i32 %68
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @no_mem_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpih4i44g7.c'
source_filename = "/tmp/tmpih4i44g7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64_encode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr @.str, ptr %9, align 8
%10 = load i64, ptr %4, align 8
%11 = srem i64 %10, 3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i64, ptr %4, align 8
%15 = sdiv i64 %14, 3
%16 = mul nsw i64 %15, 4
store i64 %16, ptr %5, align 8
br label %22
17: ; preds = %2
%18 = load i64, ptr %4, align 8
%19 = sdiv i64 %18, 3
%20 = add nsw i64 %19, 1
%21 = mul nsw i64 %20, 4
store i64 %21, ptr %5, align 8
br label %22
22: ; preds = %17, %13
%23 = load i64, ptr %5, align 8
%24 = mul i64 1, %23
%25 = add i64 %24, 1
%26 = trunc i64 %25 to i32
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store i8 0, ptr %30, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %123, %22
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %5, align 8
%35 = sub nsw i64 %34, 2
%36 = icmp slt i64 %33, %35
br i1 %36, label %37, label %128
37: ; preds = %31
%38 = load ptr, ptr %9, align 8
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = ashr i32 %44, 2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %38, i64 %46
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 %48, ptr %52, align 1
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = and i32 %59, 3
%61 = shl i32 %60, 4
%62 = load ptr, ptr %3, align 8
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = ashr i32 %68, 4
%70 = or i32 %61, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %53, i64 %71
%73 = load i8, ptr %72, align 1
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
store i8 %73, ptr %78, align 1
%79 = load ptr, ptr %9, align 8
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
%85 = load i8, ptr %84, align 1
%86 = zext i8 %85 to i32
%87 = and i32 %86, 15
%88 = shl i32 %87, 2
%89 = load ptr, ptr %3, align 8
%90 = load i32, ptr %8, align 4
%91 = add nsw i32 %90, 2
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = load i8, ptr %93, align 1
%95 = zext i8 %94 to i32
%96 = ashr i32 %95, 6
%97 = or i32 %88, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %79, i64 %98
%100 = load i8, ptr %99, align 1
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 2
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %101, i64 %104
store i8 %100, ptr %105, align 1
%106 = load ptr, ptr %9, align 8
%107 = load ptr, ptr %3, align 8
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 2
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %107, i64 %110
%112 = load i8, ptr %111, align 1
%113 = zext i8 %112 to i32
%114 = and i32 %113, 63
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %106, i64 %115
%117 = load i8, ptr %116, align 1
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %7, align 4
%120 = add nsw i32 %119, 3
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store i8 %117, ptr %122, align 1
br label %123
123: ; preds = %37
%124 = load i32, ptr %8, align 4
%125 = add nsw i32 %124, 3
store i32 %125, ptr %8, align 4
%126 = load i32, ptr %7, align 4
%127 = add nsw i32 %126, 4
store i32 %127, ptr %7, align 4
br label %31, !llvm.loop !6
128: ; preds = %31
%129 = load i64, ptr %4, align 8
%130 = srem i64 %129, 3
switch i64 %130, label %148 [
i64 1, label %131
i64 2, label %142
]
131: ; preds = %128
%132 = load ptr, ptr %6, align 8
%133 = load i32, ptr %7, align 4
%134 = sub nsw i32 %133, 2
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i8, ptr %132, i64 %135
store i8 61, ptr %136, align 1
%137 = load ptr, ptr %6, align 8
%138 = load i32, ptr %7, align 4
%139 = sub nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %137, i64 %140
store i8 61, ptr %141, align 1
br label %148
142: ; preds = %128
%143 = load ptr, ptr %6, align 8
%144 = load i32, ptr %7, align 4
%145 = sub nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i8, ptr %143, i64 %146
store i8 61, ptr %147, align 1
br label %148
148: ; preds = %128, %142, %131
%149 = load ptr, ptr %6, align 8
ret ptr %149
}
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/tmpih4i44g7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64_encode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr @.str, ptr %9, align 8
%10 = load i64, ptr %4, align 8
%11 = srem i64 %10, 3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i64, ptr %4, align 8
%15 = sdiv i64 %14, 3
%16 = mul nsw i64 %15, 4
store i64 %16, ptr %5, align 8
br label %22
17: ; preds = %2
%18 = load i64, ptr %4, align 8
%19 = sdiv i64 %18, 3
%20 = add nsw i64 %19, 1
%21 = mul nsw i64 %20, 4
store i64 %21, ptr %5, align 8
br label %22
22: ; preds = %17, %13
%23 = load i64, ptr %5, align 8
%24 = mul i64 1, %23
%25 = add i64 %24, 1
%26 = trunc i64 %25 to i32
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store i8 0, ptr %30, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = load i64, ptr %5, align 8
%34 = sub nsw i64 %33, 2
%35 = icmp slt i64 %32, %34
br i1 %35, label %.lr.ph, label %132
.lr.ph: ; preds = %22
br label %36
36: ; preds = %.lr.ph, %122
%37 = load ptr, ptr %9, align 8
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = ashr i32 %43, 2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %37, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
store i8 %47, ptr %51, align 1
%52 = load ptr, ptr %9, align 8
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = and i32 %58, 3
%60 = shl i32 %59, 4
%61 = load ptr, ptr %3, align 8
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = ashr i32 %67, 4
%69 = or i32 %60, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %52, i64 %70
%72 = load i8, ptr %71, align 1
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
store i8 %72, ptr %77, align 1
%78 = load ptr, ptr %9, align 8
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = and i32 %85, 15
%87 = shl i32 %86, 2
%88 = load ptr, ptr %3, align 8
%89 = load i32, ptr %8, align 4
%90 = add nsw i32 %89, 2
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %88, i64 %91
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = ashr i32 %94, 6
%96 = or i32 %87, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %78, i64 %97
%99 = load i8, ptr %98, align 1
%100 = load ptr, ptr %6, align 8
%101 = load i32, ptr %7, align 4
%102 = add nsw i32 %101, 2
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %100, i64 %103
store i8 %99, ptr %104, align 1
%105 = load ptr, ptr %9, align 8
%106 = load ptr, ptr %3, align 8
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, 2
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %106, i64 %109
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = and i32 %112, 63
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %105, i64 %114
%116 = load i8, ptr %115, align 1
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %7, align 4
%119 = add nsw i32 %118, 3
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %117, i64 %120
store i8 %116, ptr %121, align 1
br label %122
122: ; preds = %36
%123 = load i32, ptr %8, align 4
%124 = add nsw i32 %123, 3
store i32 %124, ptr %8, align 4
%125 = load i32, ptr %7, align 4
%126 = add nsw i32 %125, 4
store i32 %126, ptr %7, align 4
%127 = load i32, ptr %7, align 4
%128 = sext i32 %127 to i64
%129 = load i64, ptr %5, align 8
%130 = sub nsw i64 %129, 2
%131 = icmp slt i64 %128, %130
br i1 %131, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %122
br label %132
132: ; preds = %._crit_edge, %22
%133 = load i64, ptr %4, align 8
%134 = srem i64 %133, 3
switch i64 %134, label %152 [
i64 1, label %135
i64 2, label %146
]
135: ; preds = %132
%136 = load ptr, ptr %6, align 8
%137 = load i32, ptr %7, align 4
%138 = sub nsw i32 %137, 2
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %136, i64 %139
store i8 61, ptr %140, align 1
%141 = load ptr, ptr %6, align 8
%142 = load i32, ptr %7, align 4
%143 = sub nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %141, i64 %144
store i8 61, ptr %145, align 1
br label %152
146: ; preds = %132
%147 = load ptr, ptr %6, align 8
%148 = load i32, ptr %7, align 4
%149 = sub nsw i32 %148, 1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i8, ptr %147, i64 %150
store i8 61, ptr %151, align 1
br label %152
152: ; preds = %146, %135, %132
%153 = load ptr, ptr %6, align 8
ret ptr %153
}
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/tmp1i7r8dpv.c'
source_filename = "/tmp/tmp1i7r8dpv.c"
target datalayout = "e-m:e-p270: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.usbdevfs_ioctl = type { i32, ptr, i64 }
@USBDEVFS_IOCTL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_usb_cmd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.usbdevfs_ioctl, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 2
store i64 0, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 1
store ptr null, ptr %9, align 8
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @USBDEVFS_IOCTL, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %5)
ret i32 %12
}
declare i32 @ioctl(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/tmp1i7r8dpv.c"
target datalayout = "e-m:e-p270: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.usbdevfs_ioctl = type { i32, ptr, i64 }
@USBDEVFS_IOCTL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_usb_cmd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.usbdevfs_ioctl, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 2
store i64 0, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = getelementptr inbounds %struct.usbdevfs_ioctl, ptr %5, i32 0, i32 1
store ptr null, ptr %9, align 8
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @USBDEVFS_IOCTL, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %5)
ret i32 %12
}
declare i32 @ioctl(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/tmp0gle2cjp.c'
source_filename = "/tmp/tmp0gle2cjp.c"
target datalayout = "e-m:e-p270: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/tmp0gle2cjp.c"
target datalayout = "e-m:e-p270: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/tmp255rm01t.c'
source_filename = "/tmp/tmp255rm01t.c"
target datalayout = "e-m:e-p270: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/tmp255rm01t.c"
target datalayout = "e-m:e-p270: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/tmpwbethuq9.c'
source_filename = "/tmp/tmpwbethuq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @custom_n0(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fdiv double %4, 0x400921FB54442D18
%6 = fptrunc double %5 to float
%7 = call double @sin(float noundef %6)
%8 = fmul double 5.000000e-01, %7
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fdiv double %10, 0x400921FB54442D18
%12 = fptrunc double %11 to float
%13 = call double @sin(float noundef %12)
%14 = call double @llvm.fmuladd.f64(double %8, double %13, double 1.000000e+00)
%15 = fptrunc double %14 to float
ret float %15
}
declare double @sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwbethuq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @custom_n0(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fdiv double %4, 0x400921FB54442D18
%6 = fptrunc double %5 to float
%7 = call double @sin(float noundef %6)
%8 = fmul double 5.000000e-01, %7
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fdiv double %10, 0x400921FB54442D18
%12 = fptrunc double %11 to float
%13 = call double @sin(float noundef %12)
%14 = call double @llvm.fmuladd.f64(double %8, double %13, double 1.000000e+00)
%15 = fptrunc double %14 to float
ret float %15
}
declare double @sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjkgz0vgt.c'
source_filename = "/tmp/tmpjkgz0vgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %3d %15.4lf\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 100, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 100, %8
%10 = load i32, ptr %2, align 4
%11 = sitofp i32 %10 to double
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef 1, double noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %2, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjkgz0vgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %3d %15.4lf\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 100, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 100, %7
%9 = load i32, ptr %2, align 4
%10 = sitofp i32 %9 to double
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef 1, double noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpop9vnjxd.c'
source_filename = "/tmp/tmpop9vnjxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sock_send_error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sock_printf_error(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @sock_printf_error(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/tmpop9vnjxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sock_send_error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sock_printf_error(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @sock_printf_error(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/tmpilizt22r.c'
source_filename = "/tmp/tmpilizt22r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_rand() #0 {
%1 = call i32 @srand(i32 noundef 1500450271)
ret void
}
declare i32 @srand(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/tmpilizt22r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_rand() #0 {
%1 = call i32 @srand(i32 noundef 1500450271)
ret void
}
declare i32 @srand(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/tmpp93fleqv.c'
source_filename = "/tmp/tmpp93fleqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @packet_pack_head(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %7, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i32, ptr %5, align 4
%13 = call i32 @itoa_len(ptr noundef %11, i32 noundef %12, i32 noundef 4)
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 4
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i32, ptr %6, align 4
%21 = call i32 @itoa_len(ptr noundef %19, i32 noundef %20, i32 noundef 2)
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 2
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
ret i32 %24
}
declare i32 @itoa_len(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/tmpp93fleqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @packet_pack_head(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %7, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i32, ptr %5, align 4
%13 = call i32 @itoa_len(ptr noundef %11, i32 noundef %12, i32 noundef 4)
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 4
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i32, ptr %6, align 4
%21 = call i32 @itoa_len(ptr noundef %19, i32 noundef %20, i32 noundef 2)
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 2
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
ret i32 %24
}
declare i32 @itoa_len(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/tmp4781xmg1.c'
source_filename = "/tmp/tmp4781xmg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of p is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nine() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store float 1.250000e+01, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = load float, ptr %5, align 4
%7 = call i32 @printf(ptr noundef @.str, float noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, float 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/tmp4781xmg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of p is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nine() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store float 1.250000e+01, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = load float, ptr %5, align 4
%7 = call i32 @printf(ptr noundef @.str, float noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, float 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/tmp0p374loc.c'
source_filename = "/tmp/tmp0p374loc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.70s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"@%s %s\0A%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"+\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_file(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %16
16: ; preds = %125, %4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @read_data_sequential(ptr noundef %17, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %18, ptr %15, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %126
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %12, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %10, align 8
%28 = call i32 @strlen(ptr noundef %27)
store i32 %28, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %14, align 4
br label %29
29: ; preds = %39, %23
%30 = load i32, ptr %14, align 4
%31 = load i32, ptr %13, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %14, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %37)
br label %39
39: ; preds = %33
%40 = load i32, ptr %14, align 4
%41 = add nsw i32 %40, 70
store i32 %41, ptr %14, align 4
br label %29, !llvm.loop !6
42: ; preds = %29
br label %107
43: ; preds = %20
%44 = load i32, ptr %7, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %85
46: ; preds = %43
%47 = load ptr, ptr %9, align 8
%48 = load ptr, ptr %12, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %47, ptr noundef %48)
%50 = load ptr, ptr %11, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %84
52: ; preds = %46
%53 = load ptr, ptr %11, align 8
%54 = call i32 @strlen(ptr noundef %53)
store i32 %54, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %14, align 4
br label %55
55: ; preds = %80, %52
%56 = load i32, ptr %14, align 4
%57 = load i32, ptr %13, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %83
59: ; preds = %55
%60 = load ptr, ptr %11, align 8
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = sub nsw i32 %65, 33
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66)
%68 = load i32, ptr %14, align 4
%69 = add nsw i32 %68, 1
%70 = srem i32 %69, 30
%71 = icmp eq i32 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %59
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %13, align 4
%75 = sub nsw i32 %74, 1
%76 = icmp eq i32 %73, %75
br i1 %76, label %77, label %79
77: ; preds = %72, %59
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %79
79: ; preds = %77, %72
br label %80
80: ; preds = %79
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
br label %55, !llvm.loop !8
83: ; preds = %55
br label %84
84: ; preds = %83, %46
br label %106
85: ; preds = %43
%86 = load i32, ptr %8, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %98
88: ; preds = %85
%89 = load ptr, ptr %9, align 8
%90 = load ptr, ptr %12, align 8
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %89, ptr noundef %90)
%92 = load ptr, ptr %12, align 8
%93 = icmp ne ptr %92, null
br i1 %93, label %94, label %97
94: ; preds = %88
%95 = load ptr, ptr %12, align 8
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %95)
br label %97
97: ; preds = %94, %88
br label %105
98: ; preds = %85
%99 = load ptr, ptr %9, align 8
%100 = load ptr, ptr %12, align 8
%101 = load ptr, ptr %10, align 8
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %99, ptr noundef %100, ptr noundef %101)
%103 = load ptr, ptr %11, align 8
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %103)
br label %105
105: ; preds = %98, %97
br label %106
106: ; preds = %105, %84
br label %107
107: ; preds = %106, %42
%108 = load ptr, ptr %10, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %110, label %113
110: ; preds = %107
%111 = load ptr, ptr %10, align 8
%112 = call i32 @free(ptr noundef %111)
store ptr null, ptr %10, align 8
br label %113
113: ; preds = %110, %107
%114 = load ptr, ptr %11, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %116, label %119
116: ; preds = %113
%117 = load ptr, ptr %11, align 8
%118 = call i32 @free(ptr noundef %117)
store ptr null, ptr %11, align 8
br label %119
119: ; preds = %116, %113
%120 = load ptr, ptr %12, align 8
%121 = icmp ne ptr %120, null
br i1 %121, label %122, label %125
122: ; preds = %119
%123 = load ptr, ptr %12, align 8
%124 = call i32 @free(ptr noundef %123)
store ptr null, ptr %12, align 8
br label %125
125: ; preds = %122, %119
br label %16, !llvm.loop !9
126: ; preds = %16
%127 = load i32, ptr %15, align 4
ret i32 %127
}
declare i32 @read_data_sequential(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0p374loc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.70s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"@%s %s\0A%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"+\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_file(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @read_data_sequential(ptr noundef %16, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %17, ptr %15, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %.lr.ph5, label %132
.lr.ph5: ; preds = %4
br label %19
19: ; preds = %.lr.ph5, %128
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %44
22: ; preds = %19
%23 = load ptr, ptr %9, align 8
%24 = load ptr, ptr %12, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %23, ptr noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = call i32 @strlen(ptr noundef %26)
store i32 %27, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %14, align 4
%28 = load i32, ptr %14, align 4
%29 = load i32, ptr %13, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %43
.lr.ph2: ; preds = %22
br label %31
31: ; preds = %.lr.ph2, %37
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %14, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %14, align 4
%39 = add nsw i32 %38, 70
store i32 %39, ptr %14, align 4
%40 = load i32, ptr %14, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %31, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %22
br label %110
44: ; preds = %19
%45 = load i32, ptr %7, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %88
47: ; preds = %44
%48 = load ptr, ptr %9, align 8
%49 = load ptr, ptr %12, align 8
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %11, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %87
53: ; preds = %47
%54 = load ptr, ptr %11, align 8
%55 = call i32 @strlen(ptr noundef %54)
store i32 %55, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %14, align 4
%56 = load i32, ptr %14, align 4
%57 = load i32, ptr %13, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph, label %86
.lr.ph: ; preds = %53
br label %59
59: ; preds = %.lr.ph, %80
%60 = load ptr, ptr %11, align 8
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = sub nsw i32 %65, 33
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66)
%68 = load i32, ptr %14, align 4
%69 = add nsw i32 %68, 1
%70 = srem i32 %69, 30
%71 = icmp eq i32 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %59
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %13, align 4
%75 = sub nsw i32 %74, 1
%76 = icmp eq i32 %73, %75
br i1 %76, label %77, label %79
77: ; preds = %72, %59
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %79
79: ; preds = %77, %72
br label %80
80: ; preds = %79
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %13, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %59, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %80
br label %86
86: ; preds = %._crit_edge, %53
br label %87
87: ; preds = %86, %47
br label %109
88: ; preds = %44
%89 = load i32, ptr %8, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %101
91: ; preds = %88
%92 = load ptr, ptr %9, align 8
%93 = load ptr, ptr %12, align 8
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %92, ptr noundef %93)
%95 = load ptr, ptr %12, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %100
97: ; preds = %91
%98 = load ptr, ptr %12, align 8
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %98)
br label %100
100: ; preds = %97, %91
br label %108
101: ; preds = %88
%102 = load ptr, ptr %9, align 8
%103 = load ptr, ptr %12, align 8
%104 = load ptr, ptr %10, align 8
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %102, ptr noundef %103, ptr noundef %104)
%106 = load ptr, ptr %11, align 8
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %106)
br label %108
108: ; preds = %101, %100
br label %109
109: ; preds = %108, %87
br label %110
110: ; preds = %109, %43
%111 = load ptr, ptr %10, align 8
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %116
113: ; preds = %110
%114 = load ptr, ptr %10, align 8
%115 = call i32 @free(ptr noundef %114)
store ptr null, ptr %10, align 8
br label %116
116: ; preds = %113, %110
%117 = load ptr, ptr %11, align 8
%118 = icmp ne ptr %117, null
br i1 %118, label %119, label %122
119: ; preds = %116
%120 = load ptr, ptr %11, align 8
%121 = call i32 @free(ptr noundef %120)
store ptr null, ptr %11, align 8
br label %122
122: ; preds = %119, %116
%123 = load ptr, ptr %12, align 8
%124 = icmp ne ptr %123, null
br i1 %124, label %125, label %128
125: ; preds = %122
%126 = load ptr, ptr %12, align 8
%127 = call i32 @free(ptr noundef %126)
store ptr null, ptr %12, align 8
br label %128
128: ; preds = %125, %122
%129 = load ptr, ptr %5, align 8
%130 = call i32 @read_data_sequential(ptr noundef %129, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %130, ptr %15, align 4
%131 = icmp eq i32 %130, 0
br i1 %131, label %19, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %128
br label %132
132: ; preds = %._crit_edge6, %4
%133 = load i32, ptr %15, align 4
ret i32 %133
}
declare i32 @read_data_sequential(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4kd7b7fu.c'
source_filename = "/tmp/tmp4kd7b7fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Shutting down...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop_func(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @set_finished()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_finished(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4kd7b7fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Shutting down...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop_func(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @set_finished()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_finished(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi6h9y5gx.c'
source_filename = "/tmp/tmpi6h9y5gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @x_fun()
ret i32 0
}
declare i32 @x_fun(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6h9y5gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @x_fun()
ret i32 0
}
declare i32 @x_fun(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdod2m03s.c'
source_filename = "/tmp/tmpdod2m03s.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [24 x i8] c"can't malloc %ld bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"can't open file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d of %d\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"error reading from input file\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cbind(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i8 noundef signext %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%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
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i8 %5, ptr %13, align 1
%21 = load i32, ptr %12, align 4
%22 = mul nsw i32 2, %21
store i32 %22, ptr %16, align 4
%23 = load i32, ptr %16, align 4
%24 = add nsw i32 %23, 2
store i32 %24, ptr %17, align 4
store ptr null, ptr %18, align 8
store ptr null, ptr %19, align 8
store ptr null, ptr %20, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 4, %26
%28 = trunc i64 %27 to i32
%29 = call ptr @malloc(i32 noundef %28)
store ptr %29, ptr %18, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %37, label %31
31: ; preds = %6
%32 = load ptr, ptr @stderr, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = mul nsw i64 4, %34
%36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str, i64 noundef %35)
store i32 0, ptr %7, align 4
br label %169
37: ; preds = %6
%38 = load i32, ptr %17, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 1, %39
%41 = trunc i64 %40 to i32
%42 = call ptr @malloc(i32 noundef %41)
store ptr %42, ptr %20, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %50, label %44
44: ; preds = %37
%45 = load ptr, ptr @stderr, align 8
%46 = load i32, ptr %17, align 4
%47 = sext i32 %46 to i64
%48 = mul nsw i64 1, %47
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str, i64 noundef %48)
store i32 0, ptr %7, align 4
br label %169
50: ; preds = %37
%51 = load ptr, ptr %10, align 8
%52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.1)
store ptr %52, ptr %19, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load ptr, ptr @stderr, align 8
%56 = load ptr, ptr %10, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.2, ptr noundef %56)
store i32 0, ptr %7, align 4
br label %169
58: ; preds = %50
store i32 0, ptr %15, align 4
br label %59
59: ; preds = %84, %58
%60 = load i32, ptr %15, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %87
63: ; preds = %59
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %15, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.3)
%70 = load ptr, ptr %18, align 8
%71 = load i32, ptr %15, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
store ptr %69, ptr %73, align 8
%74 = icmp ne ptr %69, null
br i1 %74, label %83, label %75
75: ; preds = %63
%76 = load ptr, ptr @stderr, align 8
%77 = load ptr, ptr %9, align 8
%78 = load i32, ptr %15, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.2, ptr noundef %81)
store i32 0, ptr %7, align 4
br label %169
83: ; preds = %63
br label %84
84: ; preds = %83
%85 = load i32, ptr %15, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %15, align 4
br label %59, !llvm.loop !6
87: ; preds = %59
store i32 0, ptr %14, align 4
br label %88
88: ; preds = %144, %87
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %11, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %147
92: ; preds = %88
%93 = load i32, ptr %14, align 4
%94 = load i32, ptr %11, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %93, i32 noundef %94)
store i32 0, ptr %15, align 4
br label %96
96: ; preds = %137, %92
%97 = load i32, ptr %15, align 4
%98 = load i32, ptr %8, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %140
100: ; preds = %96
%101 = load ptr, ptr %20, align 8
%102 = load i32, ptr %17, align 4
%103 = load ptr, ptr %18, align 8
%104 = load i32, ptr %15, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %103, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = call ptr @fgets(ptr noundef %101, i32 noundef %102, ptr noundef %107)
store ptr %108, ptr %20, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %113, label %110
110: ; preds = %100
%111 = load ptr, ptr @stderr, align 8
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.5)
store i32 0, ptr %7, align 4
br label %169
113: ; preds = %100
%114 = load ptr, ptr %20, align 8
%115 = load ptr, ptr %20, align 8
%116 = call i32 @strlen(ptr noundef %115)
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %114, i64 %118
store i8 0, ptr %119, align 1
%120 = load ptr, ptr %19, align 8
%121 = load ptr, ptr %20, align 8
%122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.6, ptr noundef %121)
%123 = load i8, ptr %13, align 1
%124 = sext i8 %123 to i32
%125 = icmp ne i32 %124, 0
br i1 %125, label %126, label %136
126: ; preds = %113
%127 = load i32, ptr %15, align 4
%128 = load i32, ptr %8, align 4
%129 = sub nsw i32 %128, 1
%130 = icmp slt i32 %127, %129
br i1 %130, label %131, label %136
131: ; preds = %126
%132 = load ptr, ptr %19, align 8
%133 = load i8, ptr %13, align 1
%134 = sext i8 %133 to i32
%135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.7, i32 noundef %134)
br label %136
136: ; preds = %131, %126, %113
br label %137
137: ; preds = %136
%138 = load i32, ptr %15, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %15, align 4
br label %96, !llvm.loop !8
140: ; preds = %96
%141 = load ptr, ptr %19, align 8
%142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.8)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %144
144: ; preds = %140
%145 = load i32, ptr %14, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %14, align 4
br label %88, !llvm.loop !9
147: ; preds = %88
store i32 0, ptr %15, align 4
br label %148
148: ; preds = %159, %147
%149 = load i32, ptr %15, align 4
%150 = load i32, ptr %8, align 4
%151 = icmp slt i32 %149, %150
br i1 %151, label %152, label %162
152: ; preds = %148
%153 = load ptr, ptr %18, align 8
%154 = load i32, ptr %15, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds ptr, ptr %153, i64 %155
%157 = load ptr, ptr %156, align 8
%158 = call i32 @fclose(ptr noundef %157)
br label %159
159: ; preds = %152
%160 = load i32, ptr %15, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %15, align 4
br label %148, !llvm.loop !10
162: ; preds = %148
%163 = load ptr, ptr %18, align 8
%164 = call i32 @free(ptr noundef %163)
%165 = load ptr, ptr %19, align 8
%166 = call i32 @fclose(ptr noundef %165)
%167 = load ptr, ptr %20, align 8
%168 = call i32 @free(ptr noundef %167)
store i32 1, ptr %7, align 4
br label %169
169: ; preds = %162, %110, %75, %54, %44, %31
%170 = load i32, ptr %7, align 4
ret i32 %170
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdod2m03s.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [24 x i8] c"can't malloc %ld bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"can't open file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d of %d\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"error reading from input file\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cbind(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i8 noundef signext %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%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
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i8 %5, ptr %13, align 1
%21 = load i32, ptr %12, align 4
%22 = mul nsw i32 2, %21
store i32 %22, ptr %16, align 4
%23 = load i32, ptr %16, align 4
%24 = add nsw i32 %23, 2
store i32 %24, ptr %17, align 4
store ptr null, ptr %18, align 8
store ptr null, ptr %19, align 8
store ptr null, ptr %20, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 4, %26
%28 = trunc i64 %27 to i32
%29 = call ptr @malloc(i32 noundef %28)
store ptr %29, ptr %18, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %37, label %31
31: ; preds = %6
%32 = load ptr, ptr @stderr, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = mul nsw i64 4, %34
%36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str, i64 noundef %35)
store i32 0, ptr %7, align 4
br label %177
37: ; preds = %6
%38 = load i32, ptr %17, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 1, %39
%41 = trunc i64 %40 to i32
%42 = call ptr @malloc(i32 noundef %41)
store ptr %42, ptr %20, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %50, label %44
44: ; preds = %37
%45 = load ptr, ptr @stderr, align 8
%46 = load i32, ptr %17, align 4
%47 = sext i32 %46 to i64
%48 = mul nsw i64 1, %47
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str, i64 noundef %48)
store i32 0, ptr %7, align 4
br label %177
50: ; preds = %37
%51 = load ptr, ptr %10, align 8
%52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.1)
store ptr %52, ptr %19, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load ptr, ptr @stderr, align 8
%56 = load ptr, ptr %10, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.2, ptr noundef %56)
store i32 0, ptr %7, align 4
br label %177
58: ; preds = %50
store i32 0, ptr %15, align 4
%59 = load i32, ptr %15, align 4
%60 = load i32, ptr %8, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph, label %89
.lr.ph: ; preds = %58
br label %62
62: ; preds = %.lr.ph, %83
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %15, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = call ptr @fopen(ptr noundef %67, ptr noundef @.str.3)
%69 = load ptr, ptr %18, align 8
%70 = load i32, ptr %15, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
store ptr %68, ptr %72, align 8
%73 = icmp ne ptr %68, null
br i1 %73, label %82, label %74
74: ; preds = %62
%75 = load ptr, ptr @stderr, align 8
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %15, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.2, ptr noundef %80)
store i32 0, ptr %7, align 4
br label %177
82: ; preds = %62
br label %83
83: ; preds = %82
%84 = load i32, ptr %15, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %15, align 4
%86 = load i32, ptr %15, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %58
store i32 0, ptr %14, align 4
%90 = load i32, ptr %14, align 4
%91 = load i32, ptr %11, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %.lr.ph5, label %153
.lr.ph5: ; preds = %89
br label %93
93: ; preds = %.lr.ph5, %147
%94 = load i32, ptr %14, align 4
%95 = load i32, ptr %11, align 4
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %94, i32 noundef %95)
store i32 0, ptr %15, align 4
%97 = load i32, ptr %15, align 4
%98 = load i32, ptr %8, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %.lr.ph2, label %143
.lr.ph2: ; preds = %93
br label %100
100: ; preds = %.lr.ph2, %137
%101 = load ptr, ptr %20, align 8
%102 = load i32, ptr %17, align 4
%103 = load ptr, ptr %18, align 8
%104 = load i32, ptr %15, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %103, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = call ptr @fgets(ptr noundef %101, i32 noundef %102, ptr noundef %107)
store ptr %108, ptr %20, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %113, label %110
110: ; preds = %100
%111 = load ptr, ptr @stderr, align 8
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.5)
store i32 0, ptr %7, align 4
br label %177
113: ; preds = %100
%114 = load ptr, ptr %20, align 8
%115 = load ptr, ptr %20, align 8
%116 = call i32 @strlen(ptr noundef %115)
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %114, i64 %118
store i8 0, ptr %119, align 1
%120 = load ptr, ptr %19, align 8
%121 = load ptr, ptr %20, align 8
%122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.6, ptr noundef %121)
%123 = load i8, ptr %13, align 1
%124 = sext i8 %123 to i32
%125 = icmp ne i32 %124, 0
br i1 %125, label %126, label %136
126: ; preds = %113
%127 = load i32, ptr %15, align 4
%128 = load i32, ptr %8, align 4
%129 = sub nsw i32 %128, 1
%130 = icmp slt i32 %127, %129
br i1 %130, label %131, label %136
131: ; preds = %126
%132 = load ptr, ptr %19, align 8
%133 = load i8, ptr %13, align 1
%134 = sext i8 %133 to i32
%135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.7, i32 noundef %134)
br label %136
136: ; preds = %131, %126, %113
br label %137
137: ; preds = %136
%138 = load i32, ptr %15, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %15, align 4
%140 = load i32, ptr %15, align 4
%141 = load i32, ptr %8, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %100, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %137
br label %143
143: ; preds = %._crit_edge3, %93
%144 = load ptr, ptr %19, align 8
%145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.8)
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %147
147: ; preds = %143
%148 = load i32, ptr %14, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %14, align 4
%150 = load i32, ptr %14, align 4
%151 = load i32, ptr %11, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %93, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %147
br label %153
153: ; preds = %._crit_edge6, %89
store i32 0, ptr %15, align 4
%154 = load i32, ptr %15, align 4
%155 = load i32, ptr %8, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %.lr.ph8, label %170
.lr.ph8: ; preds = %153
br label %157
157: ; preds = %.lr.ph8, %164
%158 = load ptr, ptr %18, align 8
%159 = load i32, ptr %15, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds ptr, ptr %158, i64 %160
%162 = load ptr, ptr %161, align 8
%163 = call i32 @fclose(ptr noundef %162)
br label %164
164: ; preds = %157
%165 = load i32, ptr %15, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %15, align 4
%167 = load i32, ptr %15, align 4
%168 = load i32, ptr %8, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %157, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %164
br label %170
170: ; preds = %._crit_edge9, %153
%171 = load ptr, ptr %18, align 8
%172 = call i32 @free(ptr noundef %171)
%173 = load ptr, ptr %19, align 8
%174 = call i32 @fclose(ptr noundef %173)
%175 = load ptr, ptr %20, align 8
%176 = call i32 @free(ptr noundef %175)
store i32 1, ptr %7, align 4
br label %177
177: ; preds = %170, %110, %74, %54, %44, %31
%178 = load i32, ptr %7, align 4
ret i32 %178
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpcrcitp5h.c'
source_filename = "/tmp/tmpcrcitp5h.c"
target datalayout = "e-m:e-p270: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/tmpcrcitp5h.c"
target datalayout = "e-m:e-p270: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/tmpg1xv7lrg.c'
source_filename = "/tmp/tmpg1xv7lrg.c"
target datalayout = "e-m:e-p270: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/tmpg1xv7lrg.c"
target datalayout = "e-m:e-p270: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/tmpbriokwuj.c'
source_filename = "/tmp/tmpbriokwuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".XXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tmp_file_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strlen(ptr noundef %11)
store i64 %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = add i64 %15, 1
%17 = load i64, ptr %8, align 8
%18 = add i64 %16, %17
%19 = add i64 %18, 8
store i64 %19, ptr %9, align 8
%20 = load i64, ptr %9, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %2
store ptr null, ptr %3, align 8
br label %63
26: ; preds = %2
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %7, align 8
%30 = trunc i64 %29 to i32
%31 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
store i8 47, ptr %34, align 1
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %8, align 8
%41 = trunc i64 %40 to i32
%42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i64, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
%49 = call i32 @memcpy(ptr noundef %48, ptr noundef @.str, i32 noundef 8)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @mkstemp(ptr noundef %50)
store i32 %51, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %57
54: ; preds = %26
%55 = load ptr, ptr %6, align 8
%56 = call i32 @free(ptr noundef %55)
store ptr null, ptr %3, align 8
br label %63
57: ; preds = %26
%58 = load i32, ptr %10, align 4
%59 = call i32 @close(i32 noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @remove(ptr noundef %60)
%62 = load ptr, ptr %6, align 8
store ptr %62, ptr %3, align 8
br label %63
63: ; preds = %57, %54, %25
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mkstemp(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbriokwuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".XXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tmp_file_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strlen(ptr noundef %11)
store i64 %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = add i64 %15, 1
%17 = load i64, ptr %8, align 8
%18 = add i64 %16, %17
%19 = add i64 %18, 8
store i64 %19, ptr %9, align 8
%20 = load i64, ptr %9, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %2
store ptr null, ptr %3, align 8
br label %63
26: ; preds = %2
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %7, align 8
%30 = trunc i64 %29 to i32
%31 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
store i8 47, ptr %34, align 1
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %8, align 8
%41 = trunc i64 %40 to i32
%42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i64, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
%49 = call i32 @memcpy(ptr noundef %48, ptr noundef @.str, i32 noundef 8)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @mkstemp(ptr noundef %50)
store i32 %51, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %57
54: ; preds = %26
%55 = load ptr, ptr %6, align 8
%56 = call i32 @free(ptr noundef %55)
store ptr null, ptr %3, align 8
br label %63
57: ; preds = %26
%58 = load i32, ptr %10, align 4
%59 = call i32 @close(i32 noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @remove(ptr noundef %60)
%62 = load ptr, ptr %6, align 8
store ptr %62, ptr %3, align 8
br label %63
63: ; preds = %57, %54, %25
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mkstemp(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9d63yafw.c'
source_filename = "/tmp/tmp9d63yafw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-*/^\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"*/^\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"/^\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @popCMoreThanCurrent(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %27
10: ; preds = %2
%11 = load i8, ptr %5, align 1
%12 = sext i8 %11 to i32
switch i32 %12, label %26 [
i32 43, label %13
i32 45, label %16
i32 42, label %19
i32 47, label %22
i32 94, label %25
]
13: ; preds = %10
%14 = load i8, ptr %4, align 1
%15 = call i32 @isOneOf(i8 noundef signext %14, ptr noundef @.str)
store i32 %15, ptr %3, align 4
br label %27
16: ; preds = %10
%17 = load i8, ptr %4, align 1
%18 = call i32 @isOneOf(i8 noundef signext %17, ptr noundef @.str.1)
store i32 %18, ptr %3, align 4
br label %27
19: ; preds = %10
%20 = load i8, ptr %4, align 1
%21 = call i32 @isOneOf(i8 noundef signext %20, ptr noundef @.str.2)
store i32 %21, ptr %3, align 4
br label %27
22: ; preds = %10
%23 = load i8, ptr %4, align 1
%24 = call i32 @isOneOf(i8 noundef signext %23, ptr noundef @.str.3)
store i32 %24, ptr %3, align 4
br label %27
25: ; preds = %10
store i32 0, ptr %3, align 4
br label %27
26: ; preds = %10
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %25, %22, %19, %16, %13, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @isOneOf(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9d63yafw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-*/^\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"*/^\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"/^\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @popCMoreThanCurrent(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %27
10: ; preds = %2
%11 = load i8, ptr %5, align 1
%12 = sext i8 %11 to i32
switch i32 %12, label %26 [
i32 43, label %13
i32 45, label %16
i32 42, label %19
i32 47, label %22
i32 94, label %25
]
13: ; preds = %10
%14 = load i8, ptr %4, align 1
%15 = call i32 @isOneOf(i8 noundef signext %14, ptr noundef @.str)
store i32 %15, ptr %3, align 4
br label %27
16: ; preds = %10
%17 = load i8, ptr %4, align 1
%18 = call i32 @isOneOf(i8 noundef signext %17, ptr noundef @.str.1)
store i32 %18, ptr %3, align 4
br label %27
19: ; preds = %10
%20 = load i8, ptr %4, align 1
%21 = call i32 @isOneOf(i8 noundef signext %20, ptr noundef @.str.2)
store i32 %21, ptr %3, align 4
br label %27
22: ; preds = %10
%23 = load i8, ptr %4, align 1
%24 = call i32 @isOneOf(i8 noundef signext %23, ptr noundef @.str.3)
store i32 %24, ptr %3, align 4
br label %27
25: ; preds = %10
store i32 0, ptr %3, align 4
br label %27
26: ; preds = %10
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %25, %22, %19, %16, %13, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @isOneOf(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2xtord5n.c'
source_filename = "/tmp/tmp2xtord5n.c"
target datalayout = "e-m:e-p270: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/tmp2xtord5n.c"
target datalayout = "e-m:e-p270: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/tmpnd9wdvea.c'
source_filename = "/tmp/tmpnd9wdvea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_int_list(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = mul nsw i32 %9, %11
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = add nsw i32 %14, %12
store i32 %15, ptr %13, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
%20 = mul nsw i32 %19, %17
store i32 %20, ptr %18, align 4
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %7, align 8
ret ptr %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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnd9wdvea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_int_list(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = mul nsw i32 %9, %11
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = add nsw i32 %14, %12
store i32 %15, ptr %13, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %18, align 4
%20 = mul nsw i32 %19, %17
store i32 %20, ptr %18, align 4
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %7, align 8
ret ptr %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"}
|
; ModuleID = '/tmp/tmpgi3wnlaz.c'
source_filename = "/tmp/tmpgi3wnlaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR FORK.\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Pid del hijo: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Pid del padre: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str)
br label %25
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = call i32 (...) @getpid()
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %24
19: ; preds = %12
%20 = call i32 @sleep(i32 noundef 3)
%21 = call i32 (...) @getpid()
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22)
br label %24
24: ; preds = %19, %15
br label %25
25: ; preds = %24, %10
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgi3wnlaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR FORK.\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Pid del hijo: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Pid del padre: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str)
br label %25
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = call i32 (...) @getpid()
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %24
19: ; preds = %12
%20 = call i32 @sleep(i32 noundef 3)
%21 = call i32 (...) @getpid()
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22)
br label %24
24: ; preds = %19, %15
br label %25
25: ; preds = %24, %10
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj0pb37fl.c'
source_filename = "/tmp/tmpj0pb37fl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\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)
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = shl i32 1, %7
%9 = and i32 %6, %8
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1)
br label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %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/tmpj0pb37fl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\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)
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = shl i32 1, %7
%9 = and i32 %6, %8
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1)
br label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %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/tmpbvnifr__.c'
source_filename = "/tmp/tmpbvnifr__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRobotStopCleaningAndDock() #0 {
%1 = call i32 (...) @iRobot_Start()
%2 = call i32 (...) @iRobot_Dock()
%3 = call i32 (...) @iRobot_Stop()
%4 = call i32 @DelayTime(i32 noundef 2000)
%5 = call i32 (...) @iRobot_Start()
%6 = call i32 (...) @iRobot_Dock()
%7 = call i32 (...) @iRobot_Stop()
ret void
}
declare i32 @iRobot_Start(...) #1
declare i32 @iRobot_Dock(...) #1
declare i32 @iRobot_Stop(...) #1
declare i32 @DelayTime(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/tmpbvnifr__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRobotStopCleaningAndDock() #0 {
%1 = call i32 (...) @iRobot_Start()
%2 = call i32 (...) @iRobot_Dock()
%3 = call i32 (...) @iRobot_Stop()
%4 = call i32 @DelayTime(i32 noundef 2000)
%5 = call i32 (...) @iRobot_Start()
%6 = call i32 (...) @iRobot_Dock()
%7 = call i32 (...) @iRobot_Stop()
ret void
}
declare i32 @iRobot_Start(...) #1
declare i32 @iRobot_Dock(...) #1
declare i32 @iRobot_Stop(...) #1
declare i32 @DelayTime(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/tmpohhwi823.c'
source_filename = "/tmp/tmpohhwi823.c"
target datalayout = "e-m:e-p270: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/tmpohhwi823.c"
target datalayout = "e-m:e-p270: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/tmpcnt6jodt.c'
source_filename = "/tmp/tmpcnt6jodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crear_vector(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcnt6jodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crear_vector(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdu_bypur.c'
source_filename = "/tmp/tmpdu_bypur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subtraction(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [10 x i8], align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0
%16 = call i32 @bzero(ptr noundef %15, i32 noundef 10)
%17 = load ptr, ptr %10, align 8
%18 = call i32 @bzero(ptr noundef %17, i32 noundef 8)
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %48
22: ; preds = %5
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %9, align 4
store i32 %24, ptr %12, align 4
br label %25
25: ; preds = %42, %22
%26 = load i32, ptr %12, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %47
28: ; preds = %25
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 %33, ptr %37, align 1
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %28
%43 = load i32, ptr %11, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %12, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %12, align 4
br label %25, !llvm.loop !6
47: ; preds = %25
br label %48
48: ; preds = %47, %5
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0
%51 = call i32 @bcopy(ptr noundef %49, ptr noundef %50, i32 noundef 8)
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %11, align 4
br label %53
53: ; preds = %130, %48
%54 = load i32, ptr %11, align 4
%55 = icmp sge i32 %54, 0
br i1 %55, label %56, label %133
56: ; preds = %53
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %11, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = icmp sge i32 %61, %67
br i1 %68, label %69, label %87
69: ; preds = %56
%70 = load i32, ptr %11, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %11, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = zext i8 %79 to i32
%81 = sub nsw i32 %74, %80
%82 = trunc i32 %81 to i8
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 %82, ptr %86, align 1
br label %129
87: ; preds = %56
%88 = load i32, ptr %11, align 4
%89 = sub nsw i32 %88, 1
store i32 %89, ptr %12, align 4
br label %90
90: ; preds = %87, %125
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %92
%94 = load i8, ptr %93, align 1
%95 = zext i8 %94 to i32
%96 = icmp sgt i32 %95, 0
br i1 %96, label %97, label %121
97: ; preds = %90
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = add i8 %101, -1
store i8 %102, ptr %100, align 1
%103 = load ptr, ptr %8, align 8
%104 = load i32, ptr %11, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = zext i8 %107 to i32
%109 = sub nsw i32 256, %108
%110 = load i32, ptr %11, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %111
%113 = load i8, ptr %112, align 1
%114 = zext i8 %113 to i32
%115 = add nsw i32 %109, %114
%116 = trunc i32 %115 to i8
%117 = load ptr, ptr %10, align 8
%118 = load i32, ptr %11, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %117, i64 %119
store i8 %116, ptr %120, align 1
br label %128
121: ; preds = %90
%122 = load i32, ptr %12, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %123
store i8 -1, ptr %124, align 1
br label %125
125: ; preds = %121
%126 = load i32, ptr %12, align 4
%127 = add nsw i32 %126, -1
store i32 %127, ptr %12, align 4
br label %90
128: ; preds = %97
br label %129
129: ; preds = %128, %69
br label %130
130: ; preds = %129
%131 = load i32, ptr %11, align 4
%132 = add nsw i32 %131, -1
store i32 %132, ptr %11, align 4
br label %53, !llvm.loop !8
133: ; preds = %53
%134 = load i32, ptr %7, align 4
%135 = load i32, ptr %9, align 4
%136 = icmp ne i32 %134, %135
br i1 %136, label %137, label %184
137: ; preds = %133
%138 = load i32, ptr %7, align 4
store i32 %138, ptr %9, align 4
store i32 0, ptr %11, align 4
br label %139
139: ; preds = %180, %137
%140 = load i32, ptr %11, align 4
%141 = load i32, ptr %9, align 4
%142 = icmp sle i32 %140, %141
br i1 %142, label %143, label %183
143: ; preds = %139
%144 = load ptr, ptr %8, align 8
%145 = load i32, ptr %11, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i8, ptr %144, i64 %146
%148 = load i8, ptr %147, align 1
%149 = zext i8 %148 to i32
%150 = icmp sgt i32 %149, 0
br i1 %150, label %151, label %152
151: ; preds = %143
br label %183
152: ; preds = %143
store i32 0, ptr %12, align 4
store i32 1, ptr %13, align 4
br label %153
153: ; preds = %167, %152
%154 = load i32, ptr %13, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp sle i32 %154, %155
br i1 %156, label %157, label %172
157: ; preds = %153
%158 = load ptr, ptr %8, align 8
%159 = load i32, ptr %13, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %158, i64 %160
%162 = load i8, ptr %161, align 1
%163 = load ptr, ptr %8, align 8
%164 = load i32, ptr %12, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, ptr %163, i64 %165
store i8 %162, ptr %166, align 1
br label %167
167: ; preds = %157
%168 = load i32, ptr %12, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %12, align 4
%170 = load i32, ptr %13, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %13, align 4
br label %153, !llvm.loop !9
172: ; preds = %153
%173 = load ptr, ptr %8, align 8
%174 = load i32, ptr %9, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i8, ptr %173, i64 %175
store i8 0, ptr %176, align 1
%177 = load i32, ptr %9, align 4
%178 = add nsw i32 %177, -1
store i32 %178, ptr %9, align 4
br label %179
179: ; preds = %172
br label %180
180: ; preds = %179
%181 = load i32, ptr %11, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %11, align 4
br label %139, !llvm.loop !10
183: ; preds = %151, %139
br label %184
184: ; preds = %183, %133
store i32 0, ptr %11, align 4
br label %185
185: ; preds = %226, %184
%186 = load i32, ptr %11, align 4
%187 = load i32, ptr %7, align 4
%188 = icmp sle i32 %186, %187
br i1 %188, label %189, label %229
189: ; preds = %185
%190 = load ptr, ptr %10, align 8
%191 = load i32, ptr %11, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i8, ptr %190, i64 %192
%194 = load i8, ptr %193, align 1
%195 = zext i8 %194 to i32
%196 = icmp sgt i32 %195, 0
br i1 %196, label %197, label %198
197: ; preds = %189
br label %229
198: ; preds = %189
store i32 0, ptr %12, align 4
store i32 1, ptr %13, align 4
br label %199
199: ; preds = %213, %198
%200 = load i32, ptr %13, align 4
%201 = load i32, ptr %7, align 4
%202 = icmp sle i32 %200, %201
br i1 %202, label %203, label %218
203: ; preds = %199
%204 = load ptr, ptr %10, align 8
%205 = load i32, ptr %13, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i8, ptr %204, i64 %206
%208 = load i8, ptr %207, align 1
%209 = load ptr, ptr %10, align 8
%210 = load i32, ptr %12, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i8, ptr %209, i64 %211
store i8 %208, ptr %212, align 1
br label %213
213: ; preds = %203
%214 = load i32, ptr %12, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %12, align 4
%216 = load i32, ptr %13, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %13, align 4
br label %199, !llvm.loop !11
218: ; preds = %199
%219 = load ptr, ptr %10, align 8
%220 = load i32, ptr %7, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds i8, ptr %219, i64 %221
store i8 0, ptr %222, align 1
%223 = load i32, ptr %7, align 4
%224 = add nsw i32 %223, -1
store i32 %224, ptr %7, align 4
br label %225
225: ; preds = %218
br label %226
226: ; preds = %225
%227 = load i32, ptr %11, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %11, align 4
br label %185, !llvm.loop !12
229: ; preds = %197, %185
%230 = load i32, ptr %7, align 4
ret i32 %230
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdu_bypur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subtraction(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [10 x i8], align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0
%16 = call i32 @bzero(ptr noundef %15, i32 noundef 10)
%17 = load ptr, ptr %10, align 8
%18 = call i32 @bzero(ptr noundef %17, i32 noundef 8)
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %49
22: ; preds = %5
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %9, align 4
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %.lr.ph, label %48
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %41
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %12, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
br label %41
41: ; preds = %27
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %11, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %12, align 4
%46 = load i32, ptr %12, align 4
%47 = icmp sge i32 %46, 0
br i1 %47, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %22
br label %49
49: ; preds = %48, %5
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0
%52 = call i32 @bcopy(ptr noundef %50, ptr noundef %51, i32 noundef 8)
%53 = load i32, ptr %7, align 4
store i32 %53, ptr %11, align 4
%54 = load i32, ptr %11, align 4
%55 = icmp sge i32 %54, 0
br i1 %55, label %.lr.ph6, label %140
.lr.ph6: ; preds = %49
br label %56
56: ; preds = %.lr.ph6, %135
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %11, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = icmp sge i32 %61, %67
br i1 %68, label %69, label %87
69: ; preds = %56
%70 = load i32, ptr %11, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %11, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = zext i8 %79 to i32
%81 = sub nsw i32 %74, %80
%82 = trunc i32 %81 to i8
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 %82, ptr %86, align 1
br label %134
87: ; preds = %56
%88 = load i32, ptr %11, align 4
%89 = sub nsw i32 %88, 1
store i32 %89, ptr %12, align 4
%90 = load i32, ptr %12, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = icmp sgt i32 %94, 0
br i1 %95, label %96, label %.lr.ph3
.lr.ph3: ; preds = %87
br label %120
._crit_edge4: ; preds = %124
br label %96
96: ; preds = %._crit_edge4, %87
%97 = load i32, ptr %12, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %98
%100 = load i8, ptr %99, align 1
%101 = add i8 %100, -1
store i8 %101, ptr %99, align 1
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %11, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = zext i8 %106 to i32
%108 = sub nsw i32 256, %107
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %110
%112 = load i8, ptr %111, align 1
%113 = zext i8 %112 to i32
%114 = add nsw i32 %108, %113
%115 = trunc i32 %114 to i8
%116 = load ptr, ptr %10, align 8
%117 = load i32, ptr %11, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
store i8 %115, ptr %119, align 1
br label %133
120: ; preds = %.lr.ph3, %124
%121 = load i32, ptr %12, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %122
store i8 -1, ptr %123, align 1
br label %124
124: ; preds = %120
%125 = load i32, ptr %12, align 4
%126 = add nsw i32 %125, -1
store i32 %126, ptr %12, align 4
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 %128
%130 = load i8, ptr %129, align 1
%131 = zext i8 %130 to i32
%132 = icmp sgt i32 %131, 0
br i1 %132, label %._crit_edge4, label %120
133: ; preds = %96
br label %134
134: ; preds = %133, %69
br label %135
135: ; preds = %134
%136 = load i32, ptr %11, align 4
%137 = add nsw i32 %136, -1
store i32 %137, ptr %11, align 4
%138 = load i32, ptr %11, align 4
%139 = icmp sge i32 %138, 0
br i1 %139, label %56, label %._crit_edge7, !llvm.loop !8
._crit_edge7: ; preds = %135
br label %140
140: ; preds = %._crit_edge7, %49
%141 = load i32, ptr %7, align 4
%142 = load i32, ptr %9, align 4
%143 = icmp ne i32 %141, %142
br i1 %143, label %144, label %195
144: ; preds = %140
%145 = load i32, ptr %7, align 4
store i32 %145, ptr %9, align 4
store i32 0, ptr %11, align 4
%146 = load i32, ptr %11, align 4
%147 = load i32, ptr %9, align 4
%148 = icmp sle i32 %146, %147
br i1 %148, label %.lr.ph12, label %.loopexit1
.lr.ph12: ; preds = %144
br label %149
149: ; preds = %.lr.ph12, %188
%150 = load ptr, ptr %8, align 8
%151 = load i32, ptr %11, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i8, ptr %150, i64 %152
%154 = load i8, ptr %153, align 1
%155 = zext i8 %154 to i32
%156 = icmp sgt i32 %155, 0
br i1 %156, label %157, label %158
157: ; preds = %149
br label %194
158: ; preds = %149
store i32 0, ptr %12, align 4
store i32 1, ptr %13, align 4
%159 = load i32, ptr %13, align 4
%160 = load i32, ptr %9, align 4
%161 = icmp sle i32 %159, %160
br i1 %161, label %.lr.ph9, label %180
.lr.ph9: ; preds = %158
br label %162
162: ; preds = %.lr.ph9, %172
%163 = load ptr, ptr %8, align 8
%164 = load i32, ptr %13, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, ptr %163, i64 %165
%167 = load i8, ptr %166, align 1
%168 = load ptr, ptr %8, align 8
%169 = load i32, ptr %12, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %168, i64 %170
store i8 %167, ptr %171, align 1
br label %172
172: ; preds = %162
%173 = load i32, ptr %12, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %12, align 4
%175 = load i32, ptr %13, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %13, align 4
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %9, align 4
%179 = icmp sle i32 %177, %178
br i1 %179, label %162, label %._crit_edge10, !llvm.loop !9
._crit_edge10: ; preds = %172
br label %180
180: ; preds = %._crit_edge10, %158
%181 = load ptr, ptr %8, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
store i8 0, ptr %184, align 1
%185 = load i32, ptr %9, align 4
%186 = add nsw i32 %185, -1
store i32 %186, ptr %9, align 4
br label %187
187: ; preds = %180
br label %188
188: ; preds = %187
%189 = load i32, ptr %11, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %11, align 4
%191 = load i32, ptr %11, align 4
%192 = load i32, ptr %9, align 4
%193 = icmp sle i32 %191, %192
br i1 %193, label %149, label %..loopexit1_crit_edge, !llvm.loop !10
..loopexit1_crit_edge: ; preds = %188
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %144
br label %194
194: ; preds = %.loopexit1, %157
br label %195
195: ; preds = %194, %140
store i32 0, ptr %11, align 4
%196 = load i32, ptr %11, align 4
%197 = load i32, ptr %7, align 4
%198 = icmp sle i32 %196, %197
br i1 %198, label %.lr.ph17, label %.loopexit
.lr.ph17: ; preds = %195
br label %199
199: ; preds = %.lr.ph17, %238
%200 = load ptr, ptr %10, align 8
%201 = load i32, ptr %11, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8, ptr %200, i64 %202
%204 = load i8, ptr %203, align 1
%205 = zext i8 %204 to i32
%206 = icmp sgt i32 %205, 0
br i1 %206, label %207, label %208
207: ; preds = %199
br label %244
208: ; preds = %199
store i32 0, ptr %12, align 4
store i32 1, ptr %13, align 4
%209 = load i32, ptr %13, align 4
%210 = load i32, ptr %7, align 4
%211 = icmp sle i32 %209, %210
br i1 %211, label %.lr.ph14, label %230
.lr.ph14: ; preds = %208
br label %212
212: ; preds = %.lr.ph14, %222
%213 = load ptr, ptr %10, align 8
%214 = load i32, ptr %13, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i8, ptr %213, i64 %215
%217 = load i8, ptr %216, align 1
%218 = load ptr, ptr %10, align 8
%219 = load i32, ptr %12, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, ptr %218, i64 %220
store i8 %217, ptr %221, align 1
br label %222
222: ; preds = %212
%223 = load i32, ptr %12, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %12, align 4
%225 = load i32, ptr %13, align 4
%226 = add nsw i32 %225, 1
store i32 %226, ptr %13, align 4
%227 = load i32, ptr %13, align 4
%228 = load i32, ptr %7, align 4
%229 = icmp sle i32 %227, %228
br i1 %229, label %212, label %._crit_edge15, !llvm.loop !11
._crit_edge15: ; preds = %222
br label %230
230: ; preds = %._crit_edge15, %208
%231 = load ptr, ptr %10, align 8
%232 = load i32, ptr %7, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i8, ptr %231, i64 %233
store i8 0, ptr %234, align 1
%235 = load i32, ptr %7, align 4
%236 = add nsw i32 %235, -1
store i32 %236, ptr %7, align 4
br label %237
237: ; preds = %230
br label %238
238: ; preds = %237
%239 = load i32, ptr %11, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %11, align 4
%241 = load i32, ptr %11, align 4
%242 = load i32, ptr %7, align 4
%243 = icmp sle i32 %241, %242
br i1 %243, label %199, label %..loopexit_crit_edge, !llvm.loop !12
..loopexit_crit_edge: ; preds = %238
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %195
br label %244
244: ; preds = %.loopexit, %207
%245 = load i32, ptr %7, align 4
ret i32 %245
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp0kbdxv4i.c'
source_filename = "/tmp/tmp0kbdxv4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR5A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR5A_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kbdxv4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR5A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR5A_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp21yntxqx.c'
source_filename = "/tmp/tmp21yntxqx.c"
target datalayout = "e-m:e-p270: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/tmp21yntxqx.c"
target datalayout = "e-m:e-p270: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/tmp332qn_4h.c'
source_filename = "/tmp/tmp332qn_4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"create socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"convert to ip\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"set socket\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"bind socket\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"listen socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MakeServer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %1
br label %13
13: ; preds = %12
%14 = call i32 @perror(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; No predecessors!
br label %18
18: ; preds = %17, %1
%19 = call i32 @htons(i32 noundef 80)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %21, ptr %22, align 4
%23 = load i32, ptr @PF_INET, align 4
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%25 = call i32 @inet_pton(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24)
store i32 %25, ptr %3, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %18
br label %28
28: ; preds = %27
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
32: ; No predecessors!
br label %33
33: ; preds = %32, %18
store i32 1, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @SOL_SOCKET, align 4
%36 = load i32, ptr @SO_REUSEADDR, align 4
%37 = call i32 @setsockopt(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %6, i32 noundef 4)
store i32 %37, ptr %3, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %33
br label %40
40: ; preds = %39
%41 = call i32 @perror(ptr noundef @.str.3)
%42 = load i32, ptr @EXIT_FAILURE, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; No predecessors!
br label %45
45: ; preds = %44, %33
%46 = load i32, ptr %4, align 4
%47 = call i32 @bind(i32 noundef %46, ptr noundef %5, i32 noundef 4)
store i32 %47, ptr %3, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %45
br label %50
50: ; preds = %49
%51 = call i32 @perror(ptr noundef @.str.4)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; No predecessors!
br label %55
55: ; preds = %54, %45
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %2, align 4
%58 = call i32 @listen(i32 noundef %56, i32 noundef %57)
store i32 %58, ptr %3, align 4
%59 = icmp slt i32 %58, 0
br i1 %59, label %60, label %66
60: ; preds = %55
br label %61
61: ; preds = %60
%62 = call i32 @perror(ptr noundef @.str.5)
%63 = load i32, ptr @EXIT_FAILURE, align 4
%64 = call i32 @exit(i32 noundef %63) #3
unreachable
65: ; No predecessors!
br label %66
66: ; preds = %65, %55
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp332qn_4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"create socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"convert to ip\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"set socket\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"bind socket\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"listen socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MakeServer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %1
br label %13
13: ; preds = %12
%14 = call i32 @perror(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; No predecessors!
br label %18
18: ; preds = %17, %1
%19 = call i32 @htons(i32 noundef 80)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %21, ptr %22, align 4
%23 = load i32, ptr @PF_INET, align 4
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%25 = call i32 @inet_pton(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24)
store i32 %25, ptr %3, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %18
br label %28
28: ; preds = %27
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
32: ; No predecessors!
br label %33
33: ; preds = %32, %18
store i32 1, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @SOL_SOCKET, align 4
%36 = load i32, ptr @SO_REUSEADDR, align 4
%37 = call i32 @setsockopt(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %6, i32 noundef 4)
store i32 %37, ptr %3, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %33
br label %40
40: ; preds = %39
%41 = call i32 @perror(ptr noundef @.str.3)
%42 = load i32, ptr @EXIT_FAILURE, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; No predecessors!
br label %45
45: ; preds = %44, %33
%46 = load i32, ptr %4, align 4
%47 = call i32 @bind(i32 noundef %46, ptr noundef %5, i32 noundef 4)
store i32 %47, ptr %3, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %45
br label %50
50: ; preds = %49
%51 = call i32 @perror(ptr noundef @.str.4)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; No predecessors!
br label %55
55: ; preds = %54, %45
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %2, align 4
%58 = call i32 @listen(i32 noundef %56, i32 noundef %57)
store i32 %58, ptr %3, align 4
%59 = icmp slt i32 %58, 0
br i1 %59, label %60, label %66
60: ; preds = %55
br label %61
61: ; preds = %60
%62 = call i32 @perror(ptr noundef @.str.5)
%63 = load i32, ptr @EXIT_FAILURE, align 4
%64 = call i32 @exit(i32 noundef %63) #3
unreachable
65: ; No predecessors!
br label %66
66: ; preds = %65, %55
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp19jo4g_o.c'
source_filename = "/tmp/tmp19jo4g_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Input the count (>0) of fibonacci numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"fibonacci sequence: \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fibonacci(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibonacci(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/tmp19jo4g_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Input the count (>0) of fibonacci numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"fibonacci sequence: \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fibonacci(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibonacci(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/tmpv6i2kp1l.c'
source_filename = "/tmp/tmpv6i2kp1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disp_stdin() #0 {
%1 = alloca i8, align 1
br label %2
2: ; preds = %5, %0
%3 = call i64 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1)
br label %2, !llvm.loop !6
7: ; preds = %2
ret void
}
declare i64 @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/tmpv6i2kp1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disp_stdin() #0 {
%1 = alloca i8, align 1
%2 = call i64 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
%3 = icmp ne i64 %2, 0
br i1 %3, label %.lr.ph, label %8
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %4
%5 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1)
%6 = call i64 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
%7 = icmp ne i64 %6, 0
br i1 %7, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %4
br label %8
8: ; preds = %._crit_edge, %0
ret void
}
declare i64 @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/tmpcngwuy08.c'
source_filename = "/tmp/tmpcngwuy08.c"
target datalayout = "e-m:e-p270: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/tmpcngwuy08.c"
target datalayout = "e-m:e-p270: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/tmpjd0hpag6.c'
source_filename = "/tmp/tmpjd0hpag6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 4453
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjd0hpag6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 4453
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgkgoga7q.c'
source_filename = "/tmp/tmpgkgoga7q.c"
target datalayout = "e-m:e-p270: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/tmpgkgoga7q.c"
target datalayout = "e-m:e-p270: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/tmp89p6jshg.c'
source_filename = "/tmp/tmp89p6jshg.c"
target datalayout = "e-m:e-p270: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/tmp89p6jshg.c"
target datalayout = "e-m:e-p270: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/tmpg3bd6cv_.c'
source_filename = "/tmp/tmpg3bd6cv_.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"dbetaidx argument out of range\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dbetaidx(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
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %6, align 8
%8 = fcmp ole double %7, 0.000000e+00
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load double, ptr %6, align 8
%11 = fcmp oge double %10, 1.000000e+00
br i1 %11, label %12, label %16
12: ; preds = %9, %3
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %9
%17 = load double, ptr %6, align 8
%18 = fptosi double %17 to i32
%19 = load double, ptr %4, align 8
%20 = fsub double %19, 1.000000e+00
%21 = call double @pow(i32 noundef %18, double noundef %20)
%22 = load double, ptr %6, align 8
%23 = fsub double 1.000000e+00, %22
%24 = fptosi double %23 to i32
%25 = load double, ptr %5, align 8
%26 = fsub double %25, 1.000000e+00
%27 = call double @pow(i32 noundef %24, double noundef %26)
%28 = fmul double %21, %27
%29 = load double, ptr %4, align 8
%30 = load double, ptr %5, align 8
%31 = call double @beta(double noundef %29, double noundef %30)
%32 = fdiv double %28, %31
ret double %32
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @pow(i32 noundef, double noundef) #1
declare double @beta(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpg3bd6cv_.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"dbetaidx argument out of range\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dbetaidx(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
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %6, align 8
%8 = fcmp ole double %7, 0.000000e+00
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load double, ptr %6, align 8
%11 = fcmp oge double %10, 1.000000e+00
br i1 %11, label %12, label %16
12: ; preds = %9, %3
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %9
%17 = load double, ptr %6, align 8
%18 = fptosi double %17 to i32
%19 = load double, ptr %4, align 8
%20 = fsub double %19, 1.000000e+00
%21 = call double @pow(i32 noundef %18, double noundef %20)
%22 = load double, ptr %6, align 8
%23 = fsub double 1.000000e+00, %22
%24 = fptosi double %23 to i32
%25 = load double, ptr %5, align 8
%26 = fsub double %25, 1.000000e+00
%27 = call double @pow(i32 noundef %24, double noundef %26)
%28 = fmul double %21, %27
%29 = load double, ptr %4, align 8
%30 = load double, ptr %5, align 8
%31 = call double @beta(double noundef %29, double noundef %30)
%32 = fdiv double %28, %31
ret double %32
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @pow(i32 noundef, double noundef) #1
declare double @beta(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp7v4cogvm.c'
source_filename = "/tmp/tmp7v4cogvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmp7v4cogvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmpuudzqvd9.c'
source_filename = "/tmp/tmpuudzqvd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"#include<stdio.h> \0Aint main(void){ \0A\09puts(\22hello world!\22); \0A\09return 0; \0A}\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"hello.c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\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
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fprintf(ptr noundef %8, ptr noundef %9)
br label %11
11: ; preds = %7, %0
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuudzqvd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"#include<stdio.h> \0Aint main(void){ \0A\09puts(\22hello world!\22); \0A\09return 0; \0A}\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"hello.c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\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
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fprintf(ptr noundef %8, ptr noundef %9)
br label %11
11: ; preds = %7, %0
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4rgc37a6.c'
source_filename = "/tmp/tmp4rgc37a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"integer multiplication: %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 10, ptr %2, align 4
store i32 20, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = mul nsw i32 %5, %4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4rgc37a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"integer multiplication: %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 10, ptr %2, align 4
store i32 20, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = mul nsw i32 %5, %4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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"}
|
; ModuleID = '/tmp/tmpxeoxnugz.c'
source_filename = "/tmp/tmpxeoxnugz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d is odd\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%d is even\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
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 1
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
br label %13
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %10, %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxeoxnugz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d is odd\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%d is even\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
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 1
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
br label %13
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %10, %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6o1ogrvv.c'
source_filename = "/tmp/tmp6o1ogrvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Open failed on %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filesize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 40
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 112
br i1 %15, label %16, label %17
16: ; preds = %10
br label %33
17: ; preds = %10, %1
%18 = load ptr, ptr %2, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str)
store ptr %19, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %2, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24)
br label %32
26: ; preds = %17
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr @SEEK_END, align 4
%29 = call i32 @fseek(ptr noundef %27, i64 noundef 0, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = call i32 @ftello(ptr noundef %30)
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %26, %22
br label %33
33: ; preds = %32, %16
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @ftello(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6o1ogrvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Open failed on %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filesize(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 40
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 112
br i1 %15, label %16, label %17
16: ; preds = %10
br label %33
17: ; preds = %10, %1
%18 = load ptr, ptr %2, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str)
store ptr %19, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %2, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24)
br label %32
26: ; preds = %17
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr @SEEK_END, align 4
%29 = call i32 @fseek(ptr noundef %27, i64 noundef 0, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = call i32 @ftello(ptr noundef %30)
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %26, %22
br label %33
33: ; preds = %32, %16
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @ftello(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp93at47o9.c'
source_filename = "/tmp/tmp93at47o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmp93at47o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmpq05gdy2z.c'
source_filename = "/tmp/tmpq05gdy2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @proc(ptr noundef %3)
ret ptr %4
}
declare ptr @proc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq05gdy2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @proc(ptr noundef %3)
ret ptr %4
}
declare ptr @proc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy9foomcg.c'
source_filename = "/tmp/tmpy9foomcg.c"
target datalayout = "e-m:e-p270: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/tmpy9foomcg.c"
target datalayout = "e-m:e-p270: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/tmpqw_b33iu.c'
source_filename = "/tmp/tmpqw_b33iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOTDIR = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IRWXO = dso_local global i32 0, align 4
@S_IRWXU = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqw_b33iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOTDIR = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IRWXO = dso_local global i32 0, align 4
@S_IRWXU = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppfzjlq_y.c'
source_filename = "/tmp/tmppfzjlq_y.c"
target datalayout = "e-m:e-p270: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.shmid_ds = type { i32 }
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.shmid_ds, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = load i32, ptr @IPC_PRIVATE, align 4
%10 = load i32, ptr @IPC_CREAT, align 4
%11 = load i32, ptr @S_IRUSR, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @S_IWUSR, align 4
%14 = or i32 %12, %13
%15 = call i32 @binary_semaphore_allocation(i32 noundef %9, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @binary_semaphore_initialize(i32 noundef %16)
%18 = load i32, ptr @IPC_PRIVATE, align 4
%19 = call i32 (...) @getpagesize()
%20 = mul nsw i32 1, %19
%21 = load i32, ptr @IPC_CREAT, align 4
%22 = load i32, ptr @IPC_EXCL, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IRUSR, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @S_IWUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @shmget(i32 noundef %18, i32 noundef %20, i32 noundef %27)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = call i64 @shmat(i32 noundef %29, i32 noundef 0, i32 noundef 0)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef 100)
%34 = load ptr, ptr %4, align 8
%35 = call i32 @shmdt(ptr noundef %34)
%36 = call i32 (...) @fork()
store i32 %36, ptr %2, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
br label %37
37: ; preds = %44, %0
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %38, 1000000
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %3, align 4
%43 = call i32 @print_hundred(i32 noundef %41, i32 noundef %42)
br label %44
44: ; preds = %40
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %37, !llvm.loop !6
47: ; preds = %37
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr @IPC_RMID, align 4
%50 = call i32 @shmctl(i32 noundef %48, i32 noundef %49, i32 noundef 0)
%51 = load i32, ptr %7, align 4
%52 = call i32 @binary_semaphore_deallocate(i32 noundef %51)
ret i32 0
}
declare i32 @binary_semaphore_allocation(i32 noundef, i32 noundef) #1
declare i32 @binary_semaphore_initialize(i32 noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpagesize(...) #1
declare i64 @shmat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @print_hundred(i32 noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @binary_semaphore_deallocate(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/tmppfzjlq_y.c"
target datalayout = "e-m:e-p270: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.shmid_ds = type { i32 }
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.shmid_ds, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = load i32, ptr @IPC_PRIVATE, align 4
%10 = load i32, ptr @IPC_CREAT, align 4
%11 = load i32, ptr @S_IRUSR, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @S_IWUSR, align 4
%14 = or i32 %12, %13
%15 = call i32 @binary_semaphore_allocation(i32 noundef %9, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @binary_semaphore_initialize(i32 noundef %16)
%18 = load i32, ptr @IPC_PRIVATE, align 4
%19 = call i32 (...) @getpagesize()
%20 = mul nsw i32 1, %19
%21 = load i32, ptr @IPC_CREAT, align 4
%22 = load i32, ptr @IPC_EXCL, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IRUSR, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @S_IWUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @shmget(i32 noundef %18, i32 noundef %20, i32 noundef %27)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = call i64 @shmat(i32 noundef %29, i32 noundef 0, i32 noundef 0)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef 100)
%34 = load ptr, ptr %4, align 8
%35 = call i32 @shmdt(ptr noundef %34)
%36 = call i32 (...) @fork()
store i32 %36, ptr %2, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %37, 1000000
br i1 %38, label %.lr.ph, label %48
.lr.ph: ; preds = %0
br label %39
39: ; preds = %.lr.ph, %43
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %3, align 4
%42 = call i32 @print_hundred(i32 noundef %40, i32 noundef %41)
br label %43
43: ; preds = %39
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %46, 1000000
br i1 %47, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %0
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @IPC_RMID, align 4
%51 = call i32 @shmctl(i32 noundef %49, i32 noundef %50, i32 noundef 0)
%52 = load i32, ptr %7, align 4
%53 = call i32 @binary_semaphore_deallocate(i32 noundef %52)
ret i32 0
}
declare i32 @binary_semaphore_allocation(i32 noundef, i32 noundef) #1
declare i32 @binary_semaphore_initialize(i32 noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpagesize(...) #1
declare i64 @shmat(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @print_hundred(i32 noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @binary_semaphore_deallocate(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/tmpa3lwmzrq.c'
source_filename = "/tmp/tmpa3lwmzrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(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 @ltrim(ptr noundef %3)
%5 = call ptr @rtrim(i32 noundef %4)
ret ptr %5
}
declare ptr @rtrim(i32 noundef) #1
declare i32 @ltrim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa3lwmzrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(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 @ltrim(ptr noundef %3)
%5 = call ptr @rtrim(i32 noundef %4)
ret ptr %5
}
declare ptr @rtrim(i32 noundef) #1
declare i32 @ltrim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg6movmpj.c'
source_filename = "/tmp/tmpg6movmpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modipulategml_song_stop(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @song_play(double noundef %3, i32 noundef 0)
ret double %4
}
declare double @song_play(double 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/tmpg6movmpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modipulategml_song_stop(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @song_play(double noundef %3, i32 noundef 0)
ret double %4
}
declare double @song_play(double 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/tmpuwbdm8nw.c'
source_filename = "/tmp/tmpuwbdm8nw.c"
target datalayout = "e-m:e-p270: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/tmpuwbdm8nw.c"
target datalayout = "e-m:e-p270: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/tmpxgiagmkk.c'
source_filename = "/tmp/tmpxgiagmkk.c"
target datalayout = "e-m:e-p270: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/tmpxgiagmkk.c"
target datalayout = "e-m:e-p270: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/tmp5p8ai1_k.c'
source_filename = "/tmp/tmp5p8ai1_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 (...) @bar()
%4 = call i32 (...) @bar()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5p8ai1_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 (...) @bar()
%4 = call i32 (...) @bar()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvfeddkvi.c'
source_filename = "/tmp/tmpvfeddkvi.c"
target datalayout = "e-m:e-p270: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_CRIT = 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/tmpvfeddkvi.c"
target datalayout = "e-m:e-p270: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_CRIT = 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/tmpkk0o2mcm.c'
source_filename = "/tmp/tmpkk0o2mcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n=(do 10 cifreno chislo) \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%d se povtarq %d put\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"%d se povtarq %d puti\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 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %43, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %11, label %46
11: ; preds = %8
store i32 0, ptr %5, align 4
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %24, %11
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %4, align 4
%16 = srem i32 %15, 10
%17 = icmp eq i32 %14, %16
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %18, %13
%22 = load i32, ptr %4, align 4
%23 = sdiv i32 %22, 10
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %13, label %27, !llvm.loop !6
27: ; preds = %24
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %42
30: ; preds = %27
%31 = load i32, ptr %5, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, i32 noundef %35)
br label %41
37: ; preds = %30
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %5, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38, i32 noundef %39)
br label %41
41: ; preds = %37, %33
br label %42
42: ; preds = %41, %27
br label %43
43: ; preds = %42
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
br label %8, !llvm.loop !8
46: ; preds = %8
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkk0o2mcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n=(do 10 cifreno chislo) \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%d se povtarq %d put\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"%d se povtarq %d puti\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 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %42
store i32 0, ptr %5, align 4
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %23, %10
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = srem i32 %14, 10
%16 = icmp eq i32 %13, %15
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %17, %12
%21 = load i32, ptr %4, align 4
%22 = sdiv i32 %21, 10
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %12, label %26, !llvm.loop !6
26: ; preds = %23
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %41
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %5, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34)
br label %40
36: ; preds = %29
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %36, %32
br label %41
41: ; preds = %40, %26
br label %42
42: ; preds = %41
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %2, align 4
%46 = icmp slt i32 %45, 10
br i1 %46, label %10, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %0
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2bade80w.c'
source_filename = "/tmp/tmp2bade80w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (...) @g()
%5 = add nsw i32 %3, %4
ret i32 %5
}
declare i32 @g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2bade80w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (...) @g()
%5 = add nsw i32 %3, %4
ret i32 %5
}
declare i32 @g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkrxzb6l4.c'
source_filename = "/tmp/tmpkrxzb6l4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c" | \0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c" | | \0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c" | O \0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c" | -| \0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c" | -|- \0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c" | / \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c" | / \\ \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printImage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = call i32 @printf(ptr noundef @.str)
br label %105
14: ; preds = %1
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str)
%19 = call i32 @printf(ptr noundef @.str.2)
%20 = call i32 @printf(ptr noundef @.str.1)
%21 = call i32 @printf(ptr noundef @.str.1)
%22 = call i32 @printf(ptr noundef @.str.1)
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @printf(ptr noundef @.str)
br label %104
26: ; preds = %14
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = call i32 @printf(ptr noundef @.str)
%31 = call i32 @printf(ptr noundef @.str.2)
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = call i32 @printf(ptr noundef @.str.1)
%34 = call i32 @printf(ptr noundef @.str.1)
%35 = call i32 @printf(ptr noundef @.str.1)
%36 = call i32 @printf(ptr noundef @.str.1)
%37 = call i32 @printf(ptr noundef @.str)
br label %103
38: ; preds = %26
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 3
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = call i32 @printf(ptr noundef @.str)
%43 = call i32 @printf(ptr noundef @.str.2)
%44 = call i32 @printf(ptr noundef @.str.3)
%45 = call i32 @printf(ptr noundef @.str.2)
%46 = call i32 @printf(ptr noundef @.str.1)
%47 = call i32 @printf(ptr noundef @.str.1)
%48 = call i32 @printf(ptr noundef @.str.1)
%49 = call i32 @printf(ptr noundef @.str)
br label %102
50: ; preds = %38
%51 = load i32, ptr %2, align 4
%52 = icmp eq i32 %51, 4
br i1 %52, label %53, label %62
53: ; preds = %50
%54 = call i32 @printf(ptr noundef @.str)
%55 = call i32 @printf(ptr noundef @.str.2)
%56 = call i32 @printf(ptr noundef @.str.3)
%57 = call i32 @printf(ptr noundef @.str.4)
%58 = call i32 @printf(ptr noundef @.str.1)
%59 = call i32 @printf(ptr noundef @.str.1)
%60 = call i32 @printf(ptr noundef @.str.1)
%61 = call i32 @printf(ptr noundef @.str)
br label %101
62: ; preds = %50
%63 = load i32, ptr %2, align 4
%64 = icmp eq i32 %63, 5
br i1 %64, label %65, label %74
65: ; preds = %62
%66 = call i32 @printf(ptr noundef @.str)
%67 = call i32 @printf(ptr noundef @.str.2)
%68 = call i32 @printf(ptr noundef @.str.3)
%69 = call i32 @printf(ptr noundef @.str.5)
%70 = call i32 @printf(ptr noundef @.str.1)
%71 = call i32 @printf(ptr noundef @.str.1)
%72 = call i32 @printf(ptr noundef @.str.1)
%73 = call i32 @printf(ptr noundef @.str)
br label %100
74: ; preds = %62
%75 = load i32, ptr %2, align 4
%76 = icmp eq i32 %75, 6
br i1 %76, label %77, label %86
77: ; preds = %74
%78 = call i32 @printf(ptr noundef @.str)
%79 = call i32 @printf(ptr noundef @.str.2)
%80 = call i32 @printf(ptr noundef @.str.3)
%81 = call i32 @printf(ptr noundef @.str.5)
%82 = call i32 @printf(ptr noundef @.str.6)
%83 = call i32 @printf(ptr noundef @.str.1)
%84 = call i32 @printf(ptr noundef @.str.1)
%85 = call i32 @printf(ptr noundef @.str)
br label %99
86: ; preds = %74
%87 = load i32, ptr %2, align 4
%88 = icmp eq i32 %87, 7
br i1 %88, label %89, label %98
89: ; preds = %86
%90 = call i32 @printf(ptr noundef @.str)
%91 = call i32 @printf(ptr noundef @.str.2)
%92 = call i32 @printf(ptr noundef @.str.3)
%93 = call i32 @printf(ptr noundef @.str.5)
%94 = call i32 @printf(ptr noundef @.str.7)
%95 = call i32 @printf(ptr noundef @.str.1)
%96 = call i32 @printf(ptr noundef @.str.1)
%97 = call i32 @printf(ptr noundef @.str)
br label %98
98: ; preds = %89, %86
br label %99
99: ; preds = %98, %77
br label %100
100: ; preds = %99, %65
br label %101
101: ; preds = %100, %53
br label %102
102: ; preds = %101, %41
br label %103
103: ; preds = %102, %29
br label %104
104: ; preds = %103, %17
br label %105
105: ; preds = %104, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkrxzb6l4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c" | \0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c" | | \0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c" | O \0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c" | -| \0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c" | -|- \0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c" | / \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c" | / \\ \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printImage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = call i32 @printf(ptr noundef @.str)
br label %105
14: ; preds = %1
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str)
%19 = call i32 @printf(ptr noundef @.str.2)
%20 = call i32 @printf(ptr noundef @.str.1)
%21 = call i32 @printf(ptr noundef @.str.1)
%22 = call i32 @printf(ptr noundef @.str.1)
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @printf(ptr noundef @.str)
br label %104
26: ; preds = %14
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = call i32 @printf(ptr noundef @.str)
%31 = call i32 @printf(ptr noundef @.str.2)
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = call i32 @printf(ptr noundef @.str.1)
%34 = call i32 @printf(ptr noundef @.str.1)
%35 = call i32 @printf(ptr noundef @.str.1)
%36 = call i32 @printf(ptr noundef @.str.1)
%37 = call i32 @printf(ptr noundef @.str)
br label %103
38: ; preds = %26
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 3
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = call i32 @printf(ptr noundef @.str)
%43 = call i32 @printf(ptr noundef @.str.2)
%44 = call i32 @printf(ptr noundef @.str.3)
%45 = call i32 @printf(ptr noundef @.str.2)
%46 = call i32 @printf(ptr noundef @.str.1)
%47 = call i32 @printf(ptr noundef @.str.1)
%48 = call i32 @printf(ptr noundef @.str.1)
%49 = call i32 @printf(ptr noundef @.str)
br label %102
50: ; preds = %38
%51 = load i32, ptr %2, align 4
%52 = icmp eq i32 %51, 4
br i1 %52, label %53, label %62
53: ; preds = %50
%54 = call i32 @printf(ptr noundef @.str)
%55 = call i32 @printf(ptr noundef @.str.2)
%56 = call i32 @printf(ptr noundef @.str.3)
%57 = call i32 @printf(ptr noundef @.str.4)
%58 = call i32 @printf(ptr noundef @.str.1)
%59 = call i32 @printf(ptr noundef @.str.1)
%60 = call i32 @printf(ptr noundef @.str.1)
%61 = call i32 @printf(ptr noundef @.str)
br label %101
62: ; preds = %50
%63 = load i32, ptr %2, align 4
%64 = icmp eq i32 %63, 5
br i1 %64, label %65, label %74
65: ; preds = %62
%66 = call i32 @printf(ptr noundef @.str)
%67 = call i32 @printf(ptr noundef @.str.2)
%68 = call i32 @printf(ptr noundef @.str.3)
%69 = call i32 @printf(ptr noundef @.str.5)
%70 = call i32 @printf(ptr noundef @.str.1)
%71 = call i32 @printf(ptr noundef @.str.1)
%72 = call i32 @printf(ptr noundef @.str.1)
%73 = call i32 @printf(ptr noundef @.str)
br label %100
74: ; preds = %62
%75 = load i32, ptr %2, align 4
%76 = icmp eq i32 %75, 6
br i1 %76, label %77, label %86
77: ; preds = %74
%78 = call i32 @printf(ptr noundef @.str)
%79 = call i32 @printf(ptr noundef @.str.2)
%80 = call i32 @printf(ptr noundef @.str.3)
%81 = call i32 @printf(ptr noundef @.str.5)
%82 = call i32 @printf(ptr noundef @.str.6)
%83 = call i32 @printf(ptr noundef @.str.1)
%84 = call i32 @printf(ptr noundef @.str.1)
%85 = call i32 @printf(ptr noundef @.str)
br label %99
86: ; preds = %74
%87 = load i32, ptr %2, align 4
%88 = icmp eq i32 %87, 7
br i1 %88, label %89, label %98
89: ; preds = %86
%90 = call i32 @printf(ptr noundef @.str)
%91 = call i32 @printf(ptr noundef @.str.2)
%92 = call i32 @printf(ptr noundef @.str.3)
%93 = call i32 @printf(ptr noundef @.str.5)
%94 = call i32 @printf(ptr noundef @.str.7)
%95 = call i32 @printf(ptr noundef @.str.1)
%96 = call i32 @printf(ptr noundef @.str.1)
%97 = call i32 @printf(ptr noundef @.str)
br label %98
98: ; preds = %89, %86
br label %99
99: ; preds = %98, %77
br label %100
100: ; preds = %99, %65
br label %101
101: ; preds = %100, %53
br label %102
102: ; preds = %101, %41
br label %103
103: ; preds = %102, %29
br label %104
104: ; preds = %103, %17
br label %105
105: ; preds = %104, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoila2dl5.c'
source_filename = "/tmp/tmpoila2dl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xcrossing_state(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoila2dl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xcrossing_state(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb3ozf2o8.c'
source_filename = "/tmp/tmpb3ozf2o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fn.count = internal 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 void @fn() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %9, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr @fn.count, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr @fn.count, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %9
9: ; preds = %5
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
br label %2, !llvm.loop !6
12: ; preds = %2
ret void
}
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/tmpb3ozf2o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fn.count = internal 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 void @fn() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 10
br i1 %3, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %8
%5 = load i32, ptr @fn.count, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr @fn.count, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
br label %8
8: ; preds = %4
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
ret void
}
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/tmptpohe9eg.c'
source_filename = "/tmp/tmptpohe9eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @partition(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/tmptpohe9eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @partition(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/tmpmcl0t9we.c'
source_filename = "/tmp/tmpmcl0t9we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 97
%9 = trunc i32 %8 to i8
store i8 %9, ptr %4, align 1
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 122, %11
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
%14 = load i8, ptr %3, align 1
%15 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcl0t9we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 97
%9 = trunc i32 %8 to i8
store i8 %9, ptr %4, align 1
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 122, %11
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
%14 = load i8, ptr %3, align 1
%15 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplnh5b55u.c'
source_filename = "/tmp/tmplnh5b55u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmplnh5b55u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmpb18t2i4k.c'
source_filename = "/tmp/tmpb18t2i4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"compressor_lut.hex\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%4d -> %4d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%.2X\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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %28, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 256
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 186
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to double
%16 = fdiv double %15, 1.860000e+02
store double %16, ptr %5, align 8
%17 = load double, ptr %5, align 8
%18 = call i32 @pow(double noundef %17, double noundef 7.500000e-01)
%19 = mul nsw i32 255, %18
store i32 %19, ptr %4, align 4
br label %21
20: ; preds = %10
store i32 255, ptr %4, align 4
br label %21
21: ; preds = %20, %13
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %7, !llvm.loop !6
31: ; preds = %7
%32 = load ptr, ptr %2, align 8
%33 = call i32 @fclose(ptr noundef %32)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @pow(double noundef, double noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb18t2i4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"compressor_lut.hex\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%4d -> %4d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%.2X\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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 256
br i1 %8, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 186
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = sitofp i32 %13 to double
%15 = fdiv double %14, 1.860000e+02
store double %15, ptr %5, align 8
%16 = load double, ptr %5, align 8
%17 = call i32 @pow(double noundef %16, double noundef 7.500000e-01)
%18 = mul nsw i32 255, %17
store i32 %18, ptr %4, align 4
br label %20
19: ; preds = %9
store i32 255, ptr %4, align 4
br label %20
20: ; preds = %19, %12
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %21, i32 noundef %22)
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.3, i32 noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 256
br i1 %31, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
%33 = load ptr, ptr %2, align 8
%34 = call i32 @fclose(ptr noundef %33)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @pow(double noundef, double noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprzud294o.c'
source_filename = "/tmp/tmprzud294o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Welcome to MOS\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Interruptions enabled.\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"IRQs enabled.\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0A\0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main() #0 {
%1 = call i32 (...) @clear_screen()
%2 = call i32 @kprint(ptr noundef @.str)
%3 = call i32 (...) @isr_install()
%4 = call i32 @kprint(ptr noundef @.str.1)
%5 = call i32 (...) @irq_install()
%6 = call i32 @kprint(ptr noundef @.str.2)
%7 = call i32 @kprint(ptr noundef @.str.3)
ret void
}
declare i32 @clear_screen(...) #1
declare i32 @kprint(ptr noundef) #1
declare i32 @isr_install(...) #1
declare i32 @irq_install(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprzud294o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Welcome to MOS\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Interruptions enabled.\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"IRQs enabled.\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0A\0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main() #0 {
%1 = call i32 (...) @clear_screen()
%2 = call i32 @kprint(ptr noundef @.str)
%3 = call i32 (...) @isr_install()
%4 = call i32 @kprint(ptr noundef @.str.1)
%5 = call i32 (...) @irq_install()
%6 = call i32 @kprint(ptr noundef @.str.2)
%7 = call i32 @kprint(ptr noundef @.str.3)
ret void
}
declare i32 @clear_screen(...) #1
declare i32 @kprint(ptr noundef) #1
declare i32 @isr_install(...) #1
declare i32 @irq_install(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5j8orw42.c'
source_filename = "/tmp/tmp5j8orw42.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"HELLO WORLD!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 (...) @PrintHelloWorldDynamic()
%9 = call i32 (...) @PrintHelloWorldArchive()
%10 = call i32 (...) @PrintHelloWorldSubDir()
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
ret i32 0
}
declare i32 @PrintHelloWorldDynamic(...) #1
declare i32 @PrintHelloWorldArchive(...) #1
declare i32 @PrintHelloWorldSubDir(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5j8orw42.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"HELLO WORLD!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 (...) @PrintHelloWorldDynamic()
%9 = call i32 (...) @PrintHelloWorldArchive()
%10 = call i32 (...) @PrintHelloWorldSubDir()
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
ret i32 0
}
declare i32 @PrintHelloWorldDynamic(...) #1
declare i32 @PrintHelloWorldArchive(...) #1
declare i32 @PrintHelloWorldSubDir(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphl2_4eh3.c'
source_filename = "/tmp/tmphl2_4eh3.c"
target datalayout = "e-m:e-p270: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/tmphl2_4eh3.c"
target datalayout = "e-m:e-p270: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/tmp6xcr20eb.c'
source_filename = "/tmp/tmp6xcr20eb.c"
target datalayout = "e-m:e-p270: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/tmp6xcr20eb.c"
target datalayout = "e-m:e-p270: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/tmpsngm8cr1.c'
source_filename = "/tmp/tmpsngm8cr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osc_start_message(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %7, align 8
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef %19)
store i32 0, ptr %13, align 4
br label %21
21: ; preds = %34, %6
%22 = load ptr, ptr %11, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %21
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %11, align 8
%29 = load i8, ptr %27, align 1
%30 = load ptr, ptr %15, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %26
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %13, align 4
br label %21, !llvm.loop !6
37: ; preds = %21
%38 = load i32, ptr %13, align 4
%39 = add nsw i32 %38, 4
%40 = load i32, ptr %13, align 4
%41 = and i32 %40, 3
%42 = sub nsw i32 %39, %41
store i32 %42, ptr %13, align 4
%43 = load ptr, ptr %15, align 8
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 44, ptr %47, align 1
%48 = load i32, ptr %13, align 4
store i32 %48, ptr %14, align 4
br label %49
49: ; preds = %62, %37
%50 = load ptr, ptr %12, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %65
54: ; preds = %49
%55 = load ptr, ptr %12, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %12, align 8
%57 = load i8, ptr %55, align 1
%58 = load ptr, ptr %15, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 %57, ptr %61, align 1
br label %62
62: ; preds = %54
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
br label %49, !llvm.loop !8
65: ; preds = %49
%66 = load ptr, ptr %7, align 8
%67 = load ptr, ptr %9, align 8
%68 = load ptr, ptr %10, align 8
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %70, 4
%72 = load i32, ptr %13, align 4
%73 = and i32 %72, 3
%74 = sub nsw i32 %71, %73
%75 = call i32 @index_osc_values(ptr noundef %66, ptr noundef %67, ptr noundef %68, i32 noundef %69, i32 noundef %74)
%76 = load ptr, ptr %9, align 8
store ptr %76, ptr %16, align 8
%77 = load ptr, ptr %16, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 1
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %7, align 8
%81 = ptrtoint ptr %79 to i64
%82 = ptrtoint ptr %80 to i64
%83 = sub i64 %81, %82
%84 = trunc i64 %83 to i32
ret i32 %84
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @index_osc_values(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsngm8cr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osc_start_message(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %7, align 8
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef %19)
store i32 0, ptr %13, align 4
%21 = load ptr, ptr %11, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph, label %40
.lr.ph: ; preds = %6
br label %25
25: ; preds = %.lr.ph, %33
%26 = load ptr, ptr %11, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %11, align 8
%28 = load i8, ptr %26, align 1
%29 = load ptr, ptr %15, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %25
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %13, align 4
%36 = load ptr, ptr %11, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %6
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, 4
%43 = load i32, ptr %13, align 4
%44 = and i32 %43, 3
%45 = sub nsw i32 %42, %44
store i32 %45, ptr %13, align 4
%46 = load ptr, ptr %15, align 8
%47 = load i32, ptr %13, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %13, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 44, ptr %50, align 1
%51 = load i32, ptr %13, align 4
store i32 %51, ptr %14, align 4
%52 = load ptr, ptr %12, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %.lr.ph2, label %71
.lr.ph2: ; preds = %40
br label %56
56: ; preds = %.lr.ph2, %64
%57 = load ptr, ptr %12, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %12, align 8
%59 = load i8, ptr %57, align 1
%60 = load ptr, ptr %15, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
br label %64
64: ; preds = %56
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
%67 = load ptr, ptr %12, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %71
71: ; preds = %._crit_edge3, %40
%72 = load ptr, ptr %7, align 8
%73 = load ptr, ptr %9, align 8
%74 = load ptr, ptr %10, align 8
%75 = load i32, ptr %14, align 4
%76 = load i32, ptr %13, align 4
%77 = add nsw i32 %76, 4
%78 = load i32, ptr %13, align 4
%79 = and i32 %78, 3
%80 = sub nsw i32 %77, %79
%81 = call i32 @index_osc_values(ptr noundef %72, ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %80)
%82 = load ptr, ptr %9, align 8
store ptr %82, ptr %16, align 8
%83 = load ptr, ptr %16, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 1
%85 = load ptr, ptr %84, align 8
%86 = load ptr, ptr %7, align 8
%87 = ptrtoint ptr %85 to i64
%88 = ptrtoint ptr %86 to i64
%89 = sub i64 %87, %88
%90 = trunc i64 %89 to i32
ret i32 %90
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @index_osc_values(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9b8vcrda.c'
source_filename = "/tmp/tmp9b8vcrda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_bit_16(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9b8vcrda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_bit_16(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmzoppkzy.c'
source_filename = "/tmp/tmpmzoppkzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @posmat(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @submat(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = add nsw i32 %10, 1
ret i32 %11
}
declare i32 @submat(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/tmpmzoppkzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @posmat(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @submat(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = add nsw i32 %10, 1
ret i32 %11
}
declare i32 @submat(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/tmpexedfop7.c'
source_filename = "/tmp/tmpexedfop7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getdtime() #0 {
%1 = load i32, ptr @CLOCK_MONOTONIC, align 4
%2 = call double @_getdtime(i32 noundef %1)
ret double %2
}
declare double @_getdtime(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/tmpexedfop7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getdtime() #0 {
%1 = load i32, ptr @CLOCK_MONOTONIC, align 4
%2 = call double @_getdtime(i32 noundef %1)
ret double %2
}
declare double @_getdtime(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/tmp6x9y65bd.c'
source_filename = "/tmp/tmp6x9y65bd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%4d! is %16lld\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 i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %3, align 8
store i32 2, ptr %2, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = load i64, ptr %3, align 8
%11 = mul nsw i64 %10, %9
store i64 %11, ptr %3, align 8
%12 = load i32, ptr %2, align 4
%13 = load i64, ptr %3, align 8
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i64 noundef %13)
%15 = load i64, ptr %3, align 8
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %7
br label %22
18: ; preds = %7
br label %19
19: ; preds = %18
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %4, !llvm.loop !6
22: ; preds = %17, %4
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6x9y65bd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%4d! is %16lld\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 i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %3, align 8
store i32 2, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 1000
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %18
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = load i64, ptr %3, align 8
%10 = mul nsw i64 %9, %8
store i64 %10, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = load i64, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i64 noundef %12)
%14 = load i64, ptr %3, align 8
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %6
br label %23
17: ; preds = %6
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 1000
br i1 %22, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %18
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %23
23: ; preds = %.loopexit, %16
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptivx3f7_.c'
source_filename = "/tmp/tmptivx3f7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"The square root of 3 is %f\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 double @sqrt(float noundef 3.000000e+00)
store double %3, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, double noundef %4)
ret i32 0
}
declare double @sqrt(float 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/tmptivx3f7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"The square root of 3 is %f\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 double @sqrt(float noundef 3.000000e+00)
store double %3, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, double noundef %4)
ret i32 0
}
declare double @sqrt(float 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/tmp47afm34d.c'
source_filename = "/tmp/tmp47afm34d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glTexCoord2f(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i32 @glTexCoord4f(float noundef %5, float noundef %6, i32 noundef 0, i32 noundef 1)
ret void
}
declare i32 @glTexCoord4f(float noundef, float 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/tmp47afm34d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glTexCoord2f(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i32 @glTexCoord4f(float noundef %5, float noundef %6, i32 noundef 0, i32 noundef 1)
ret void
}
declare i32 @glTexCoord4f(float noundef, float 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/tmpfcrqfv3i.c'
source_filename = "/tmp/tmpfcrqfv3i.c"
target datalayout = "e-m:e-p270: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/tmpfcrqfv3i.c"
target datalayout = "e-m:e-p270: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/tmp65jyzquq.c'
source_filename = "/tmp/tmp65jyzquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xml_write_tree(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @xml_write_tree_file(ptr noundef %13, ptr noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fclose(ptr noundef %16)
%18 = load i32, ptr %7, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %12, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @xml_write_tree_file(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp65jyzquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xml_write_tree(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @xml_write_tree_file(ptr noundef %13, ptr noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fclose(ptr noundef %16)
%18 = load i32, ptr %7, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %12, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @xml_write_tree_file(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe9t7iwh7.c'
source_filename = "/tmp/tmpe9t7iwh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"There is nothing to check\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9t7iwh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"There is nothing to check\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_5boqxx.c'
source_filename = "/tmp/tmpb_5boqxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strtok_r(ptr noundef %8, ptr noundef @.str, ptr noundef %4)
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %5, align 8
ret ptr %13
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb_5boqxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strtok_r(ptr noundef %8, ptr noundef @.str, ptr noundef %4)
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %5, align 8
ret ptr %13
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbxq6z6nf.c'
source_filename = "/tmp/tmpbxq6z6nf.c"
target datalayout = "e-m:e-p270: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/tmpbxq6z6nf.c"
target datalayout = "e-m:e-p270: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/tmpfgmlbz99.c'
source_filename = "/tmp/tmpfgmlbz99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xunmap_serial(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfgmlbz99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xunmap_serial(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvcc9x_wx.c'
source_filename = "/tmp/tmpvcc9x_wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @sum(i32 noundef 1, i32 noundef 2)
%6 = call i32 @sum(i32 noundef 1, i32 noundef 2)
store i32 %6, ptr %2, align 4
store ptr %2, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @sub(i32 noundef 1, ptr noundef %7)
store ptr %8, ptr %4, align 8
ret i32 0
}
declare i32 @sum(i32 noundef, i32 noundef) #1
declare ptr @sub(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/tmpvcc9x_wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @sum(i32 noundef 1, i32 noundef 2)
%6 = call i32 @sum(i32 noundef 1, i32 noundef 2)
store i32 %6, ptr %2, align 4
store ptr %2, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @sub(i32 noundef 1, ptr noundef %7)
store ptr %8, ptr %4, align 8
ret i32 0
}
declare i32 @sum(i32 noundef, i32 noundef) #1
declare ptr @sub(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/tmpplyx3wmc.c'
source_filename = "/tmp/tmpplyx3wmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shash_jen(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 @shash_jen_update(i32 noundef 0, ptr noundef %3)
ret i32 %4
}
declare i32 @shash_jen_update(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/tmpplyx3wmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shash_jen(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 @shash_jen_update(i32 noundef 0, ptr noundef %3)
ret i32 %4
}
declare i32 @shash_jen_update(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/tmpr6hbsxt1.c'
source_filename = "/tmp/tmpr6hbsxt1.c"
target datalayout = "e-m:e-p270: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/tmpr6hbsxt1.c"
target datalayout = "e-m:e-p270: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/tmp9kanv2ue.c'
source_filename = "/tmp/tmp9kanv2ue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oled_write(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 = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = zext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @oled_write_byte(i8 noundef zeroext %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
ret void
}
declare i32 @oled_write_byte(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9kanv2ue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oled_write(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 ult i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = zext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @oled_write_byte(i8 noundef zeroext %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ult i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
ret void
}
declare i32 @oled_write_byte(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnq407mpl.c'
source_filename = "/tmp/tmpnq407mpl.c"
target datalayout = "e-m:e-p270: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_SETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"Error using fcntl for CLOEXEC flag\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_cloexec_flag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_SETFD, align 4
%5 = load i32, ptr @FD_CLOEXEC, align 4
%6 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @throw(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @throw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnq407mpl.c"
target datalayout = "e-m:e-p270: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_SETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"Error using fcntl for CLOEXEC flag\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_cloexec_flag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_SETFD, align 4
%5 = load i32, ptr @FD_CLOEXEC, align 4
%6 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @throw(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @throw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsoltdjba.c'
source_filename = "/tmp/tmpsoltdjba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocFails() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 12)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @realloc(ptr noundef %4, i32 noundef 13)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
br label %14
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @free(ptr noundef %12)
br label %14
14: ; preds = %11, %8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsoltdjba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocFails() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 12)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @realloc(ptr noundef %4, i32 noundef 13)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
br label %14
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @free(ptr noundef %12)
br label %14
14: ; preds = %11, %8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpko91dlez.c'
source_filename = "/tmp/tmpko91dlez.c"
target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [31 x i8] c"A man, a plan, a canal: Panama\00", align 16
@__const.main.str2 = private unnamed_addr constant [11 x i8] c"race a car\00", align 1
@__const.main.str3 = private unnamed_addr constant [3 x i8] c"aa\00", align 1
@__const.main.str4 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@__const.main.str5 = private unnamed_addr constant [3 x i8] c"a.\00", align 1
@.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 [31 x i8], align 16
%3 = alloca [11 x i8], align 1
%4 = alloca [3 x i8], align 1
%5 = alloca [3 x i8], align 1
%6 = alloca [3 x i8], align 1
%7 = alloca [1 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 31, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.str2, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str3, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.str4, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.str5, i64 3, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 1, i1 false)
%8 = getelementptr inbounds [31 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @isPalindrome(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @isPalindrome(ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%15 = call i32 @isPalindrome(ptr noundef %14)
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @isPalindrome(ptr noundef %17)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @isPalindrome(ptr noundef %20)
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%24 = call i32 @isPalindrome(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @isPalindrome(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpko91dlez.c"
target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [31 x i8] c"A man, a plan, a canal: Panama\00", align 16
@__const.main.str2 = private unnamed_addr constant [11 x i8] c"race a car\00", align 1
@__const.main.str3 = private unnamed_addr constant [3 x i8] c"aa\00", align 1
@__const.main.str4 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@__const.main.str5 = private unnamed_addr constant [3 x i8] c"a.\00", align 1
@.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 [31 x i8], align 16
%3 = alloca [11 x i8], align 1
%4 = alloca [3 x i8], align 1
%5 = alloca [3 x i8], align 1
%6 = alloca [3 x i8], align 1
%7 = alloca [1 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 31, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.str2, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str3, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.str4, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.str5, i64 3, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 1, i1 false)
%8 = getelementptr inbounds [31 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @isPalindrome(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @isPalindrome(ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%15 = call i32 @isPalindrome(ptr noundef %14)
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @isPalindrome(ptr noundef %17)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @isPalindrome(ptr noundef %20)
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%24 = call i32 @isPalindrome(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @isPalindrome(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ct7m4sh.c'
source_filename = "/tmp/tmp0ct7m4sh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TEST\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"sample.jpg\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"[ERROR] fail to open %s [!!]\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\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 i64, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%12 = call i32 @exit(i32 noundef -1) #3
unreachable
13: ; preds = %0
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %2, align 8
%19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.4, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fclose(ptr noundef %20)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp0ct7m4sh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TEST\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"sample.jpg\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"[ERROR] fail to open %s [!!]\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\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 i64, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%12 = call i32 @exit(i32 noundef -1) #3
unreachable
13: ; preds = %0
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %2, align 8
%19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.4, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fclose(ptr noundef %20)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpfgpc9aj6.c'
source_filename = "/tmp/tmpfgpc9aj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"be\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"le\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reverse_byte_order(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 0, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (...) @machine_is_le()
store i32 %8, ptr %2, align 4
br label %19
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 0, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = call i32 (...) @machine_is_le()
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
store i32 %17, ptr %2, align 4
br label %19
18: ; preds = %9
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %13, %7
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @machine_is_le(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfgpc9aj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"be\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"le\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reverse_byte_order(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 0, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (...) @machine_is_le()
store i32 %8, ptr %2, align 4
br label %19
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 0, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = call i32 (...) @machine_is_le()
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
store i32 %17, ptr %2, align 4
br label %19
18: ; preds = %9
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %13, %7
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @machine_is_le(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1dkfxufg.c'
source_filename = "/tmp/tmp1dkfxufg.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen(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 %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1)
%8 = call i32 @assert(i32 noundef 0)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmp1dkfxufg.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen(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 %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1)
%8 = call i32 @assert(i32 noundef 0)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmpsh4jrmbb.c'
source_filename = "/tmp/tmpsh4jrmbb.c"
target datalayout = "e-m:e-p270: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/tmpsh4jrmbb.c"
target datalayout = "e-m:e-p270: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/tmp3mnmb3dk.c'
source_filename = "/tmp/tmp3mnmb3dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x44() #0 {
%1 = call i32 @isxdigit(i32 noundef 68) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3mnmb3dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x44() #0 {
%1 = call i32 @isxdigit(i32 noundef 68) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7il6ptgv.c'
source_filename = "/tmp/tmp7il6ptgv.c"
target datalayout = "e-m:e-p270: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/tmp7il6ptgv.c"
target datalayout = "e-m:e-p270: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/tmp6nofk4xk.c'
source_filename = "/tmp/tmp6nofk4xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bd0(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%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
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%11 = load double, ptr %4, align 8
%12 = call i32 @isfinite(double noundef %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load double, ptr %5, align 8
%16 = call i32 @isfinite(double noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load double, ptr %5, align 8
%20 = fcmp oeq double %19, 0.000000e+00
br i1 %20, label %21, label %23
21: ; preds = %18, %14, %2
%22 = load double, ptr @NAN, align 8
store double %22, ptr %3, align 8
br label %85
23: ; preds = %18
%24 = load double, ptr %4, align 8
%25 = load double, ptr %5, align 8
%26 = fsub double %24, %25
%27 = call double @llvm.fabs.f64(double %26)
%28 = load double, ptr %4, align 8
%29 = load double, ptr %5, align 8
%30 = fadd double %28, %29
%31 = fmul double 1.000000e-01, %30
%32 = fcmp olt double %27, %31
br i1 %32, label %33, label %75
33: ; preds = %23
%34 = load double, ptr %4, align 8
%35 = load double, ptr %5, align 8
%36 = fsub double %34, %35
%37 = load double, ptr %4, align 8
%38 = load double, ptr %5, align 8
%39 = fadd double %37, %38
%40 = fdiv double %36, %39
store double %40, ptr %9, align 8
%41 = load double, ptr %4, align 8
%42 = load double, ptr %5, align 8
%43 = fsub double %41, %42
%44 = load double, ptr %9, align 8
%45 = fmul double %43, %44
store double %45, ptr %7, align 8
%46 = load double, ptr %4, align 8
%47 = fmul double 2.000000e+00, %46
%48 = load double, ptr %9, align 8
%49 = fmul double %47, %48
store double %49, ptr %6, align 8
%50 = load double, ptr %9, align 8
%51 = load double, ptr %9, align 8
%52 = fmul double %50, %51
store double %52, ptr %9, align 8
store i32 1, ptr %10, align 4
br label %53
53: ; preds = %72, %33
%54 = load double, ptr %9, align 8
%55 = load double, ptr %6, align 8
%56 = fmul double %55, %54
store double %56, ptr %6, align 8
%57 = load double, ptr %7, align 8
%58 = load double, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = shl i32 %59, 1
%61 = add nsw i32 %60, 1
%62 = sitofp i32 %61 to double
%63 = fdiv double %58, %62
%64 = fadd double %57, %63
store double %64, ptr %8, align 8
%65 = load double, ptr %8, align 8
%66 = load double, ptr %7, align 8
%67 = fcmp oeq double %65, %66
br i1 %67, label %68, label %70
68: ; preds = %53
%69 = load double, ptr %8, align 8
store double %69, ptr %3, align 8
br label %85
70: ; preds = %53
%71 = load double, ptr %8, align 8
store double %71, ptr %7, align 8
br label %72
72: ; preds = %70
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %10, align 4
br label %53
75: ; preds = %23
%76 = load double, ptr %4, align 8
%77 = load double, ptr %4, align 8
%78 = load double, ptr %5, align 8
%79 = fdiv double %77, %78
%80 = call double @log(double noundef %79) #4
%81 = load double, ptr %5, align 8
%82 = call double @llvm.fmuladd.f64(double %76, double %80, double %81)
%83 = load double, ptr %4, align 8
%84 = fsub double %82, %83
store double %84, ptr %3, align 8
br label %85
85: ; preds = %75, %68, %21
%86 = load double, ptr %3, align 8
ret double %86
}
declare i32 @isfinite(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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/tmp6nofk4xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bd0(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%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
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%11 = load double, ptr %4, align 8
%12 = call i32 @isfinite(double noundef %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load double, ptr %5, align 8
%16 = call i32 @isfinite(double noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load double, ptr %5, align 8
%20 = fcmp oeq double %19, 0.000000e+00
br i1 %20, label %21, label %23
21: ; preds = %18, %14, %2
%22 = load double, ptr @NAN, align 8
store double %22, ptr %3, align 8
br label %85
23: ; preds = %18
%24 = load double, ptr %4, align 8
%25 = load double, ptr %5, align 8
%26 = fsub double %24, %25
%27 = call double @llvm.fabs.f64(double %26)
%28 = load double, ptr %4, align 8
%29 = load double, ptr %5, align 8
%30 = fadd double %28, %29
%31 = fmul double 1.000000e-01, %30
%32 = fcmp olt double %27, %31
br i1 %32, label %33, label %75
33: ; preds = %23
%34 = load double, ptr %4, align 8
%35 = load double, ptr %5, align 8
%36 = fsub double %34, %35
%37 = load double, ptr %4, align 8
%38 = load double, ptr %5, align 8
%39 = fadd double %37, %38
%40 = fdiv double %36, %39
store double %40, ptr %9, align 8
%41 = load double, ptr %4, align 8
%42 = load double, ptr %5, align 8
%43 = fsub double %41, %42
%44 = load double, ptr %9, align 8
%45 = fmul double %43, %44
store double %45, ptr %7, align 8
%46 = load double, ptr %4, align 8
%47 = fmul double 2.000000e+00, %46
%48 = load double, ptr %9, align 8
%49 = fmul double %47, %48
store double %49, ptr %6, align 8
%50 = load double, ptr %9, align 8
%51 = load double, ptr %9, align 8
%52 = fmul double %50, %51
store double %52, ptr %9, align 8
store i32 1, ptr %10, align 4
br label %53
53: ; preds = %72, %33
%54 = load double, ptr %9, align 8
%55 = load double, ptr %6, align 8
%56 = fmul double %55, %54
store double %56, ptr %6, align 8
%57 = load double, ptr %7, align 8
%58 = load double, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = shl i32 %59, 1
%61 = add nsw i32 %60, 1
%62 = sitofp i32 %61 to double
%63 = fdiv double %58, %62
%64 = fadd double %57, %63
store double %64, ptr %8, align 8
%65 = load double, ptr %8, align 8
%66 = load double, ptr %7, align 8
%67 = fcmp oeq double %65, %66
br i1 %67, label %68, label %70
68: ; preds = %53
%69 = load double, ptr %8, align 8
store double %69, ptr %3, align 8
br label %85
70: ; preds = %53
%71 = load double, ptr %8, align 8
store double %71, ptr %7, align 8
br label %72
72: ; preds = %70
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %10, align 4
br label %53
75: ; preds = %23
%76 = load double, ptr %4, align 8
%77 = load double, ptr %4, align 8
%78 = load double, ptr %5, align 8
%79 = fdiv double %77, %78
%80 = call double @log(double noundef %79) #4
%81 = load double, ptr %5, align 8
%82 = call double @llvm.fmuladd.f64(double %76, double %80, double %81)
%83 = load double, ptr %4, align 8
%84 = fsub double %82, %83
store double %84, ptr %3, align 8
br label %85
85: ; preds = %75, %68, %21
%86 = load double, ptr %3, align 8
ret double %86
}
declare i32 @isfinite(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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/tmp8227_05h.c'
source_filename = "/tmp/tmp8227_05h.c"
target datalayout = "e-m:e-p270: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/tmp8227_05h.c"
target datalayout = "e-m:e-p270: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/tmplcpbv__f.c'
source_filename = "/tmp/tmplcpbv__f.c"
target datalayout = "e-m:e-p270: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/tmplcpbv__f.c"
target datalayout = "e-m:e-p270: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/tmpnjwqbhub.c'
source_filename = "/tmp/tmpnjwqbhub.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XKeyReleasedEvent_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnjwqbhub.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XKeyReleasedEvent_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl7qlcpyh.c'
source_filename = "/tmp/tmpl7qlcpyh.c"
target datalayout = "e-m:e-p270: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.msginfo = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.msginfo, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 4, i1 false)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7qlcpyh.c"
target datalayout = "e-m:e-p270: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.msginfo = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.msginfo, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 4, i1 false)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.