llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpt0jljgm0.c'
source_filename = "/tmp/tmpt0jljgm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"can not support base %d\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @itob(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store ptr @.str, ptr %7, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp sgt i32 %13, 36
br i1 %14, label %15, label %21
15: ; preds = %12, %3
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %12
store i32 0, ptr %9, align 4
br i1 false, label %22, label %25
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %22, %21
br label %26
26: ; preds = %39, %25
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %6, align 4
%30 = srem i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %26
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %4, align 4
%42 = sdiv i32 %41, %40
store i32 %42, ptr %4, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %26, label %44, !llvm.loop !6
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %53
47: ; preds = %44
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = sext i32 %49 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store i8 45, ptr %52, align 1
br label %53
53: ; preds = %47, %44
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %5, align 8
%59 = call i32 @reverse(ptr noundef %58)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @reverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt0jljgm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"can not support base %d\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @itob(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store ptr @.str, ptr %7, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp sgt i32 %13, 36
br i1 %14, label %15, label %21
15: ; preds = %12, %3
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %12
store i32 0, ptr %9, align 4
br i1 false, label %22, label %25
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %22, %21
br label %26
26: ; preds = %39, %25
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %6, align 4
%30 = srem i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %26
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %4, align 4
%42 = sdiv i32 %41, %40
store i32 %42, ptr %4, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %26, label %44, !llvm.loop !6
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %53
47: ; preds = %44
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = sext i32 %49 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store i8 45, ptr %52, align 1
br label %53
53: ; preds = %47, %44
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %5, align 8
%59 = call i32 @reverse(ptr noundef %58)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @reverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptdo462tn.c'
source_filename = "/tmp/tmptdo462tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @err_sys(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @err_sys(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptdo462tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @err_sys(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @err_sys(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyh04iqv9.c'
source_filename = "/tmp/tmpyh04iqv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isIsomorphic(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [128 x i8], align 16
%9 = alloca [128 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %2
store i32 0, ptr %3, align 4
br label %83
21: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 128, i1 false)
store i32 0, ptr %12, align 4
br label %22
22: ; preds = %79, %21
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %82
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = icmp ne i8 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %26
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %43, %49
br i1 %50, label %51, label %52
51: ; preds = %38
store i32 0, ptr %3, align 4
br label %83
52: ; preds = %38
br label %78
53: ; preds = %26
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
store i32 %59, ptr %11, align 4
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = icmp ne i8 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %53
store i32 0, ptr %3, align 4
br label %83
66: ; preds = %53
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 %68
store i8 1, ptr %69, align 1
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %12, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = load i32, ptr %10, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %76
store i8 %74, ptr %77, align 1
br label %78
78: ; preds = %66, %52
br label %79
79: ; preds = %78
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
br label %22, !llvm.loop !6
82: ; preds = %22
store i32 1, ptr %3, align 4
br label %83
83: ; preds = %82, %65, %51, %20
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyh04iqv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isIsomorphic(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [128 x i8], align 16
%9 = alloca [128 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %2
store i32 0, ptr %3, align 4
br label %85
21: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 128, i1 false)
store i32 0, ptr %12, align 4
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %84
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %78
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %37, label %52
37: ; preds = %25
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %42, %48
br i1 %49, label %50, label %51
50: ; preds = %37
store i32 0, ptr %3, align 4
br label %85
51: ; preds = %37
br label %77
52: ; preds = %25
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %12, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = icmp ne i8 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %52
store i32 0, ptr %3, align 4
br label %85
65: ; preds = %52
%66 = load i32, ptr %11, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 %67
store i8 1, ptr %68, align 1
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %12, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = load i32, ptr %10, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 %75
store i8 %73, ptr %76, align 1
br label %77
77: ; preds = %65, %51
br label %78
78: ; preds = %77
%79 = load i32, ptr %12, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %12, align 4
%81 = load i32, ptr %12, align 4
%82 = load i32, ptr %6, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %84
84: ; preds = %._crit_edge, %21
store i32 1, ptr %3, align 4
br label %85
85: ; preds = %84, %64, %50, %20
%86 = load i32, ptr %3, align 4
ret i32 %86
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfijv3o3r.c'
source_filename = "/tmp/tmpfijv3o3r.c"
target datalayout = "e-m:e-p270: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/tmpfijv3o3r.c"
target datalayout = "e-m:e-p270: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/tmp9zst8a72.c'
source_filename = "/tmp/tmp9zst8a72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Failed to create key BIO\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Failed to create RSA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @createRSA(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @BIO_new_mem_buf(ptr noundef %8, i32 noundef -1)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %3, align 8
br label %30
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %7, align 8
%19 = call ptr @PEM_read_bio_RSA_PUBKEY(ptr noundef %18, ptr noundef %6, ptr noundef null, ptr noundef null)
store ptr %19, ptr %6, align 8
br label %23
20: ; preds = %14
%21 = load ptr, ptr %7, align 8
%22 = call ptr @PEM_read_bio_RSAPrivateKey(ptr noundef %21, ptr noundef %6, ptr noundef null, ptr noundef null)
store ptr %22, ptr %6, align 8
br label %23
23: ; preds = %20, %17
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %23
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %3, align 8
br label %30
30: ; preds = %28, %12
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
declare ptr @BIO_new_mem_buf(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @PEM_read_bio_RSA_PUBKEY(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @PEM_read_bio_RSAPrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9zst8a72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Failed to create key BIO\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Failed to create RSA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @createRSA(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @BIO_new_mem_buf(ptr noundef %8, i32 noundef -1)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %3, align 8
br label %30
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %7, align 8
%19 = call ptr @PEM_read_bio_RSA_PUBKEY(ptr noundef %18, ptr noundef %6, ptr noundef null, ptr noundef null)
store ptr %19, ptr %6, align 8
br label %23
20: ; preds = %14
%21 = load ptr, ptr %7, align 8
%22 = call ptr @PEM_read_bio_RSAPrivateKey(ptr noundef %21, ptr noundef %6, ptr noundef null, ptr noundef null)
store ptr %22, ptr %6, align 8
br label %23
23: ; preds = %20, %17
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %23
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %3, align 8
br label %30
30: ; preds = %28, %12
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
declare ptr @BIO_new_mem_buf(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @PEM_read_bio_RSA_PUBKEY(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @PEM_read_bio_RSAPrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1clrsc62.c'
source_filename = "/tmp/tmp1clrsc62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dame numero: \0A\09\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"dame otro numero: \0A \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Suman: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1clrsc62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dame numero: \0A\09\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"dame otro numero: \0A \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Suman: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1wpowjz1.c'
source_filename = "/tmp/tmp1wpowjz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @func_andn64(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i64 @__andn_u64(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @__andn_u64(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wpowjz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @func_andn64(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i64 @__andn_u64(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @__andn_u64(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_tk_qvem.c'
source_filename = "/tmp/tmp_tk_qvem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_INFO_LOG_LENGTH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"error: not a shader or a program\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printlog(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = call i64 @glIsShader(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @GL_INFO_LOG_LENGTH, align 4
%11 = call i32 @glGetShaderiv(i32 noundef %9, i32 noundef %10, ptr noundef %3)
br label %24
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = call i64 @glIsProgram(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr @GL_INFO_LOG_LENGTH, align 4
%19 = call i32 @glGetProgramiv(i32 noundef %17, i32 noundef %18, ptr noundef %3)
br label %23
20: ; preds = %12
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str)
br label %51
23: ; preds = %16
br label %24
24: ; preds = %23, %8
%25 = load i32, ptr %3, align 4
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %4, align 8
%27 = load i32, ptr %2, align 4
%28 = call i64 @glIsShader(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i32 @glGetShaderInfoLog(i32 noundef %31, i32 noundef %32, ptr noundef null, ptr noundef %33)
br label %45
35: ; preds = %24
%36 = load i32, ptr %2, align 4
%37 = call i64 @glIsProgram(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = load ptr, ptr %4, align 8
%43 = call i32 @glGetProgramInfoLog(i32 noundef %40, i32 noundef %41, ptr noundef null, ptr noundef %42)
br label %44
44: ; preds = %39, %35
br label %45
45: ; preds = %44, %30
%46 = load i32, ptr @stderr, align 4
%47 = load ptr, ptr %4, align 8
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.1, ptr noundef %47)
%49 = load ptr, ptr %4, align 8
%50 = call i32 @free(ptr noundef %49)
br label %51
51: ; preds = %45, %20
ret void
}
declare i64 @glIsShader(i32 noundef) #1
declare i32 @glGetShaderiv(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @glIsProgram(i32 noundef) #1
declare i32 @glGetProgramiv(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @glGetShaderInfoLog(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @glGetProgramInfoLog(i32 noundef, i32 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/tmp_tk_qvem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_INFO_LOG_LENGTH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"error: not a shader or a program\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printlog(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = call i64 @glIsShader(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @GL_INFO_LOG_LENGTH, align 4
%11 = call i32 @glGetShaderiv(i32 noundef %9, i32 noundef %10, ptr noundef %3)
br label %24
12: ; preds = %1
%13 = load i32, ptr %2, align 4
%14 = call i64 @glIsProgram(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr @GL_INFO_LOG_LENGTH, align 4
%19 = call i32 @glGetProgramiv(i32 noundef %17, i32 noundef %18, ptr noundef %3)
br label %23
20: ; preds = %12
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str)
br label %51
23: ; preds = %16
br label %24
24: ; preds = %23, %8
%25 = load i32, ptr %3, align 4
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %4, align 8
%27 = load i32, ptr %2, align 4
%28 = call i64 @glIsShader(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i32 @glGetShaderInfoLog(i32 noundef %31, i32 noundef %32, ptr noundef null, ptr noundef %33)
br label %45
35: ; preds = %24
%36 = load i32, ptr %2, align 4
%37 = call i64 @glIsProgram(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = load ptr, ptr %4, align 8
%43 = call i32 @glGetProgramInfoLog(i32 noundef %40, i32 noundef %41, ptr noundef null, ptr noundef %42)
br label %44
44: ; preds = %39, %35
br label %45
45: ; preds = %44, %30
%46 = load i32, ptr @stderr, align 4
%47 = load ptr, ptr %4, align 8
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.1, ptr noundef %47)
%49 = load ptr, ptr %4, align 8
%50 = call i32 @free(ptr noundef %49)
br label %51
51: ; preds = %45, %20
ret void
}
declare i64 @glIsShader(i32 noundef) #1
declare i32 @glGetShaderiv(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @glIsProgram(i32 noundef) #1
declare i32 @glGetProgramiv(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @glGetShaderInfoLog(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @glGetProgramInfoLog(i32 noundef, i32 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/tmpn8ddbi0c.c'
source_filename = "/tmp/tmpn8ddbi0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Votre Nom: \00", align 1
@.str.1 = 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 [10 x i32], align 16
%3 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8ddbi0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Votre Nom: \00", align 1
@.str.1 = 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 [10 x i32], align 16
%3 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprjq3u630.c'
source_filename = "/tmp/tmprjq3u630.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multilog_async(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 ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @start_threaded_log()
br label %9
7: ; preds = %1
%8 = call i32 (...) @stop_threaded_log()
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
ret i32 %10
}
declare i32 @start_threaded_log(...) #1
declare i32 @stop_threaded_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjq3u630.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multilog_async(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 ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @start_threaded_log()
br label %9
7: ; preds = %1
%8 = call i32 (...) @stop_threaded_log()
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
ret i32 %10
}
declare i32 @start_threaded_log(...) #1
declare i32 @stop_threaded_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk8ujphz.c'
source_filename = "/tmp/tmphk8ujphz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @text_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @text_length(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @text_length(ptr noundef %9)
%11 = add nsw i32 %8, %10
%12 = call i32 @text_length(ptr noundef @.str)
%13 = add nsw i32 %11, %12
%14 = sext i32 %13 to i64
%15 = mul i64 1, %14
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21, ptr noundef @.str)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare i64 @malloc(i32 noundef) #1
declare i32 @text_length(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphk8ujphz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @text_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @text_length(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @text_length(ptr noundef %9)
%11 = add nsw i32 %8, %10
%12 = call i32 @text_length(ptr noundef @.str)
%13 = add nsw i32 %11, %12
%14 = sext i32 %13 to i64
%15 = mul i64 1, %14
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21, ptr noundef @.str)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare i64 @malloc(i32 noundef) #1
declare i32 @text_length(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr6sijyui.c'
source_filename = "/tmp/tmpr6sijyui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open output file\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Cannot close output file\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_file(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 33
br i1 %16, label %17, label %21
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = call ptr @popen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %10, align 8
br label %26
21: ; preds = %4
%22 = load ptr, ptr %6, align 8
%23 = call i32 @strip_escapes(ptr noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = call ptr @fopen(i32 noundef %23, ptr noundef %24)
store ptr %25, ptr %10, align 8
br label %26
26: ; preds = %21, %17
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %34, label %29
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr @errno, align 4
%32 = call i32 @show_strerror(ptr noundef %30, i32 noundef %31)
%33 = call i32 @set_error_msg(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %83
34: ; preds = %26
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %9, align 4
%39 = call i64 @write_stream(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
store i64 %39, ptr %11, align 8
%40 = load ptr, ptr %6, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 33
br i1 %43, label %44, label %47
44: ; preds = %34
%45 = load ptr, ptr %10, align 8
%46 = call i32 @pclose(ptr noundef %45)
store i32 %46, ptr %12, align 4
br label %50
47: ; preds = %34
%48 = load ptr, ptr %10, align 8
%49 = call i32 @fclose(ptr noundef %48)
store i32 %49, ptr %12, align 4
br label %50
50: ; preds = %47, %44
%51 = load i64, ptr %11, align 8
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 -1, ptr %5, align 4
br label %83
54: ; preds = %50
%55 = load i32, ptr %12, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr @errno, align 4
%60 = call i32 @show_strerror(ptr noundef %58, i32 noundef %59)
%61 = call i32 @set_error_msg(ptr noundef @.str.2)
store i32 -1, ptr %5, align 4
br label %83
62: ; preds = %54
%63 = call i32 (...) @scripted()
%64 = icmp ne i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %62
%66 = load i64, ptr %11, align 8
%67 = call i32 @printf(ptr noundef @.str.3, i64 noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load i32, ptr %8, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %80
71: ; preds = %68
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %9, align 4
%74 = icmp sle i32 %72, %73
br i1 %74, label %75, label %80
75: ; preds = %71
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %76, %77
%79 = add nsw i32 %78, 1
br label %81
80: ; preds = %71, %68
br label %81
81: ; preds = %80, %75
%82 = phi i32 [ %79, %75 ], [ 0, %80 ]
store i32 %82, ptr %5, align 4
br label %83
83: ; preds = %81, %57, %53, %29
%84 = load i32, ptr %5, align 4
ret i32 %84
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @strip_escapes(ptr noundef) #1
declare i32 @show_strerror(ptr noundef, i32 noundef) #1
declare i32 @set_error_msg(ptr noundef) #1
declare i64 @write_stream(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @scripted(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6sijyui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open output file\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Cannot close output file\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_file(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 33
br i1 %16, label %17, label %21
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = call ptr @popen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %10, align 8
br label %26
21: ; preds = %4
%22 = load ptr, ptr %6, align 8
%23 = call i32 @strip_escapes(ptr noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = call ptr @fopen(i32 noundef %23, ptr noundef %24)
store ptr %25, ptr %10, align 8
br label %26
26: ; preds = %21, %17
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %34, label %29
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr @errno, align 4
%32 = call i32 @show_strerror(ptr noundef %30, i32 noundef %31)
%33 = call i32 @set_error_msg(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %83
34: ; preds = %26
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %9, align 4
%39 = call i64 @write_stream(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
store i64 %39, ptr %11, align 8
%40 = load ptr, ptr %6, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 33
br i1 %43, label %44, label %47
44: ; preds = %34
%45 = load ptr, ptr %10, align 8
%46 = call i32 @pclose(ptr noundef %45)
store i32 %46, ptr %12, align 4
br label %50
47: ; preds = %34
%48 = load ptr, ptr %10, align 8
%49 = call i32 @fclose(ptr noundef %48)
store i32 %49, ptr %12, align 4
br label %50
50: ; preds = %47, %44
%51 = load i64, ptr %11, align 8
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 -1, ptr %5, align 4
br label %83
54: ; preds = %50
%55 = load i32, ptr %12, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr @errno, align 4
%60 = call i32 @show_strerror(ptr noundef %58, i32 noundef %59)
%61 = call i32 @set_error_msg(ptr noundef @.str.2)
store i32 -1, ptr %5, align 4
br label %83
62: ; preds = %54
%63 = call i32 (...) @scripted()
%64 = icmp ne i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %62
%66 = load i64, ptr %11, align 8
%67 = call i32 @printf(ptr noundef @.str.3, i64 noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load i32, ptr %8, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %80
71: ; preds = %68
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %9, align 4
%74 = icmp sle i32 %72, %73
br i1 %74, label %75, label %80
75: ; preds = %71
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %76, %77
%79 = add nsw i32 %78, 1
br label %81
80: ; preds = %71, %68
br label %81
81: ; preds = %80, %75
%82 = phi i32 [ %79, %75 ], [ 0, %80 ]
store i32 %82, ptr %5, align 4
br label %83
83: ; preds = %81, %57, %53, %29
%84 = load i32, ptr %5, align 4
ret i32 %84
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @strip_escapes(ptr noundef) #1
declare i32 @show_strerror(ptr noundef, i32 noundef) #1
declare i32 @set_error_msg(ptr noundef) #1
declare i64 @write_stream(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @scripted(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp31v0e65m.c'
source_filename = "/tmp/tmp31v0e65m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_getrusage(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 i64 @shim_enosys(i32 noundef 0, i32 noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @shim_enosys(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/tmp31v0e65m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_getrusage(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 i64 @shim_enosys(i32 noundef 0, i32 noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @shim_enosys(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/tmp4jkj0ets.c'
source_filename = "/tmp/tmp4jkj0ets.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MCUSendCmdContinueRecordCtrlStart() #0 {
%1 = call i32 @MCUSendCmdContinueRecordCtrl(i32 noundef 0)
ret void
}
declare i32 @MCUSendCmdContinueRecordCtrl(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/tmp4jkj0ets.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MCUSendCmdContinueRecordCtrlStart() #0 {
%1 = call i32 @MCUSendCmdContinueRecordCtrl(i32 noundef 0)
ret void
}
declare i32 @MCUSendCmdContinueRecordCtrl(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/tmpaisqlji3.c'
source_filename = "/tmp/tmpaisqlji3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @revs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %39, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = sdiv i32 %10, 2
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %42
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %5, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %20, 1
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %19, i64 %24
%26 = load i8, ptr %25, align 1
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
%31 = load i8, ptr %5, align 1
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 1
%35 = load i32, ptr %4, align 4
%36 = sub nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %32, i64 %37
store i8 %31, ptr %38, align 1
br label %39
39: ; preds = %13
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %8, !llvm.loop !6
42: ; preds = %8
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaisqlji3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @revs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = sdiv i32 %9, 2
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %38
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %5, align 1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %18, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i8, ptr %5, align 1
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %31, i64 %36
store i8 %30, ptr %37, align 1
br label %38
38: ; preds = %12
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = sdiv i32 %42, 2
%44 = icmp slt i32 %41, %43
br i1 %44, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptshud6ni.c'
source_filename = "/tmp/tmptshud6ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"\0A*The Transpose of the Sparse Matrix*\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0ARow\09Column\09Value\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @transpose(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [3 x i32], ptr %9, i64 0
%11 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [3 x i32], ptr %13, i64 0
%15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0
store i32 %12, ptr %15, align 4
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [3 x i32], ptr %16, i64 0
%18 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [3 x i32], ptr %20, i64 0
%22 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 1
store i32 %19, ptr %22, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds [3 x i32], ptr %23, i64 0
%25 = getelementptr inbounds [3 x i32], ptr %24, i64 0, i64 2
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds [3 x i32], ptr %27, i64 0
%29 = getelementptr inbounds [3 x i32], ptr %28, i64 0, i64 2
store i32 %26, ptr %29, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds [3 x i32], ptr %30, i64 0
%32 = getelementptr inbounds [3 x i32], ptr %31, i64 0, i64 2
%33 = load i32, ptr %32, align 4
store i32 %33, ptr %8, align 4
store i32 0, ptr %5, align 4
br label %34
34: ; preds = %91, %2
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds [3 x i32], ptr %36, i64 0
%38 = getelementptr inbounds [3 x i32], ptr %37, i64 0, i64 1
%39 = load i32, ptr %38, align 4
%40 = icmp slt i32 %35, %39
br i1 %40, label %41, label %94
41: ; preds = %34
store i32 1, ptr %6, align 4
br label %42
42: ; preds = %87, %41
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %90
46: ; preds = %42
%47 = load i32, ptr %5, align 4
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [3 x i32], ptr %48, i64 %50
%52 = getelementptr inbounds [3 x i32], ptr %51, i64 0, i64 1
%53 = load i32, ptr %52, align 4
%54 = icmp eq i32 %47, %53
br i1 %54, label %55, label %86
55: ; preds = %46
%56 = load i32, ptr %5, align 4
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [3 x i32], ptr %57, i64 %59
%61 = getelementptr inbounds [3 x i32], ptr %60, i64 0, i64 0
store i32 %56, ptr %61, align 4
%62 = load ptr, ptr %3, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [3 x i32], ptr %62, i64 %64
%66 = getelementptr inbounds [3 x i32], ptr %65, i64 0, i64 0
%67 = load i32, ptr %66, align 4
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [3 x i32], ptr %68, i64 %70
%72 = getelementptr inbounds [3 x i32], ptr %71, i64 0, i64 1
store i32 %67, ptr %72, align 4
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [3 x i32], ptr %73, i64 %75
%77 = getelementptr inbounds [3 x i32], ptr %76, i64 0, i64 2
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [3 x i32], ptr %79, i64 %81
%83 = getelementptr inbounds [3 x i32], ptr %82, i64 0, i64 2
store i32 %78, ptr %83, align 4
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %7, align 4
br label %86
86: ; preds = %55, %46
br label %87
87: ; preds = %86
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
br label %42, !llvm.loop !6
90: ; preds = %42
br label %91
91: ; preds = %90
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
br label %34, !llvm.loop !8
94: ; preds = %34
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %97
97: ; preds = %121, %94
%98 = load i32, ptr %5, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp sle i32 %98, %99
br i1 %100, label %101, label %124
101: ; preds = %97
%102 = load ptr, ptr %4, align 8
%103 = load i32, ptr %5, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [3 x i32], ptr %102, i64 %104
%106 = getelementptr inbounds [3 x i32], ptr %105, i64 0, i64 0
%107 = load i32, ptr %106, align 4
%108 = load ptr, ptr %4, align 8
%109 = load i32, ptr %5, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [3 x i32], ptr %108, i64 %110
%112 = getelementptr inbounds [3 x i32], ptr %111, i64 0, i64 1
%113 = load i32, ptr %112, align 4
%114 = load ptr, ptr %4, align 8
%115 = load i32, ptr %5, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [3 x i32], ptr %114, i64 %116
%118 = getelementptr inbounds [3 x i32], ptr %117, i64 0, i64 2
%119 = load i32, ptr %118, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %107, i32 noundef %113, i32 noundef %119)
br label %121
121: ; preds = %101
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %5, align 4
br label %97, !llvm.loop !9
124: ; preds = %97
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptshud6ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"\0A*The Transpose of the Sparse Matrix*\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0ARow\09Column\09Value\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @transpose(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [3 x i32], ptr %9, i64 0
%11 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [3 x i32], ptr %13, i64 0
%15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0
store i32 %12, ptr %15, align 4
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [3 x i32], ptr %16, i64 0
%18 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [3 x i32], ptr %20, i64 0
%22 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 1
store i32 %19, ptr %22, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds [3 x i32], ptr %23, i64 0
%25 = getelementptr inbounds [3 x i32], ptr %24, i64 0, i64 2
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds [3 x i32], ptr %27, i64 0
%29 = getelementptr inbounds [3 x i32], ptr %28, i64 0, i64 2
store i32 %26, ptr %29, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds [3 x i32], ptr %30, i64 0
%32 = getelementptr inbounds [3 x i32], ptr %31, i64 0, i64 2
%33 = load i32, ptr %32, align 4
store i32 %33, ptr %8, align 4
store i32 0, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds [3 x i32], ptr %35, i64 0, i64 1
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %34, %37
br i1 %38, label %.lr.ph2, label %100
.lr.ph2: ; preds = %2
br label %39
39: ; preds = %.lr.ph2, %91
store i32 1, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %.lr.ph, label %90
.lr.ph: ; preds = %39
br label %43
43: ; preds = %.lr.ph, %84
%44 = load i32, ptr %5, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3 x i32], ptr %45, i64 %47
%49 = getelementptr inbounds [3 x i32], ptr %48, i64 0, i64 1
%50 = load i32, ptr %49, align 4
%51 = icmp eq i32 %44, %50
br i1 %51, label %52, label %83
52: ; preds = %43
%53 = load i32, ptr %5, align 4
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [3 x i32], ptr %54, i64 %56
%58 = getelementptr inbounds [3 x i32], ptr %57, i64 0, i64 0
store i32 %53, ptr %58, align 4
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [3 x i32], ptr %59, i64 %61
%63 = getelementptr inbounds [3 x i32], ptr %62, i64 0, i64 0
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [3 x i32], ptr %65, i64 %67
%69 = getelementptr inbounds [3 x i32], ptr %68, i64 0, i64 1
store i32 %64, ptr %69, align 4
%70 = load ptr, ptr %3, align 8
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [3 x i32], ptr %70, i64 %72
%74 = getelementptr inbounds [3 x i32], ptr %73, i64 0, i64 2
%75 = load i32, ptr %74, align 4
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [3 x i32], ptr %76, i64 %78
%80 = getelementptr inbounds [3 x i32], ptr %79, i64 0, i64 2
store i32 %75, ptr %80, align 4
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
br label %83
83: ; preds = %52, %43
br label %84
84: ; preds = %83
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = load i32, ptr %8, align 4
%89 = icmp sle i32 %87, %88
br i1 %89, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %90
90: ; preds = %._crit_edge, %39
br label %91
91: ; preds = %90
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
%94 = load i32, ptr %5, align 4
%95 = load ptr, ptr %3, align 8
%96 = getelementptr inbounds [3 x i32], ptr %95, i64 0
%97 = getelementptr inbounds [3 x i32], ptr %96, i64 0, i64 1
%98 = load i32, ptr %97, align 4
%99 = icmp slt i32 %94, %98
br i1 %99, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %91
br label %100
100: ; preds = %._crit_edge3, %2
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%103 = load i32, ptr %5, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp sle i32 %103, %104
br i1 %105, label %.lr.ph5, label %132
.lr.ph5: ; preds = %100
br label %106
106: ; preds = %.lr.ph5, %126
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %5, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [3 x i32], ptr %107, i64 %109
%111 = getelementptr inbounds [3 x i32], ptr %110, i64 0, i64 0
%112 = load i32, ptr %111, align 4
%113 = load ptr, ptr %4, align 8
%114 = load i32, ptr %5, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [3 x i32], ptr %113, i64 %115
%117 = getelementptr inbounds [3 x i32], ptr %116, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = load ptr, ptr %4, align 8
%120 = load i32, ptr %5, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [3 x i32], ptr %119, i64 %121
%123 = getelementptr inbounds [3 x i32], ptr %122, i64 0, i64 2
%124 = load i32, ptr %123, align 4
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %112, i32 noundef %118, i32 noundef %124)
br label %126
126: ; preds = %106
%127 = load i32, ptr %5, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %5, align 4
%129 = load i32, ptr %5, align 4
%130 = load i32, ptr %8, align 4
%131 = icmp sle i32 %129, %130
br i1 %131, label %106, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %126
br label %132
132: ; preds = %._crit_edge6, %100
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpryte5nrm.c'
source_filename = "/tmp/tmpryte5nrm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_grow(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 8, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %15, align 4
%17 = shl i32 %16, 1
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %14, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = mul nsw i32 %21, %22
%24 = call ptr @realloc(ptr noundef %20, i32 noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %18
store i32 -1, ptr %4, align 4
br label %47
28: ; preds = %18
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %29, i64 %34
%36 = load i32, ptr %9, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
%39 = sub nsw i32 %36, %38
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 %39, %40
%42 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %5, align 8
store ptr %43, ptr %44, align 8
%45 = load i32, ptr %9, align 4
%46 = load ptr, ptr %6, align 8
store i32 %45, ptr %46, align 4
store i32 0, ptr %4, align 4
br label %47
47: ; preds = %28, %27
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @memset(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/tmpryte5nrm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_grow(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 8, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %15, align 4
%17 = shl i32 %16, 1
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %14, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = mul nsw i32 %21, %22
%24 = call ptr @realloc(ptr noundef %20, i32 noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %18
store i32 -1, ptr %4, align 4
br label %47
28: ; preds = %18
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %29, i64 %34
%36 = load i32, ptr %9, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
%39 = sub nsw i32 %36, %38
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 %39, %40
%42 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %5, align 8
store ptr %43, ptr %44, align 8
%45 = load i32, ptr %9, align 4
%46 = load ptr, ptr %6, align 8
store i32 %45, ptr %46, align 4
store i32 0, ptr %4, align 4
br label %47
47: ; preds = %28, %27
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @memset(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/tmpzqh7yljf.c'
source_filename = "/tmp/tmpzqh7yljf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pCPU Assembler\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Usage: %s [source] [binary]\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Error: Cannot open file: %s\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Fatal: Code parsing failed.\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1
@.str.6 = private unnamed_addr constant [56 x i8] c"[STATS]\09Exec stack: %d bytes\09Constants stack: %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %14, 1
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20)
store i32 0, ptr %3, align 4
br label %101
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.2)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %34, label %29
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32)
store i32 1, ptr %3, align 4
br label %101
34: ; preds = %22
store i32 0, ptr %7, align 4
%35 = call i64 @malloc(i32 noundef 1)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = call signext i8 @fgetc(ptr noundef %37)
store i8 %38, ptr %9, align 1
br label %39
39: ; preds = %45, %34
%40 = load i8, ptr %9, align 1
%41 = sext i8 %40 to i32
%42 = load i8, ptr @EOF, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %41, %43
br i1 %44, label %45, label %60
45: ; preds = %39
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %7, align 4
%50 = call i64 @realloc(ptr noundef %48, i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %8, align 8
%52 = load i8, ptr %9, align 1
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %53, i64 %56
store i8 %52, ptr %57, align 1
%58 = load ptr, ptr %6, align 8
%59 = call signext i8 @fgetc(ptr noundef %58)
store i8 %59, ptr %9, align 1
br label %39, !llvm.loop !6
60: ; preds = %39
%61 = load ptr, ptr %8, align 8
%62 = call i32 @parseCode(ptr noundef %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %66, label %64
64: ; preds = %60
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %66
66: ; preds = %64, %60
%67 = call ptr (...) @createBinary()
store ptr %67, ptr %10, align 8
%68 = load ptr, ptr %10, align 8
%69 = call i32 @memmap(i32 noundef 0, i32 noundef 80, ptr noundef %68)
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 2
%72 = load ptr, ptr %71, align 8
%73 = call ptr @fopen(ptr noundef %72, ptr noundef @.str.5)
store ptr %73, ptr %11, align 8
%74 = call i32 (...) @calcExecSize()
%75 = call i32 (...) @calcConstSize()
%76 = add nsw i32 %74, %75
%77 = add nsw i32 %76, 1
store i32 %77, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %78
78: ; preds = %90, %66
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %12, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %93
82: ; preds = %78
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = load ptr, ptr %11, align 8
%89 = call i32 @fputc(i8 noundef zeroext %87, ptr noundef %88)
br label %90
90: ; preds = %82
%91 = load i32, ptr %13, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %13, align 4
br label %78, !llvm.loop !8
93: ; preds = %78
%94 = call i32 (...) @calcExecSize()
%95 = call i32 (...) @calcConstSize()
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %94, i32 noundef %95)
%97 = load ptr, ptr %6, align 8
%98 = call i32 @fclose(ptr noundef %97)
%99 = load ptr, ptr %11, align 8
%100 = call i32 @fclose(ptr noundef %99)
br label %101
101: ; preds = %93, %29, %16
%102 = load i32, ptr %3, align 4
ret i32 %102
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @parseCode(ptr noundef) #1
declare ptr @createBinary(...) #1
declare i32 @memmap(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @calcExecSize(...) #1
declare i32 @calcConstSize(...) #1
declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqh7yljf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pCPU Assembler\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Usage: %s [source] [binary]\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Error: Cannot open file: %s\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Fatal: Code parsing failed.\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1
@.str.6 = private unnamed_addr constant [56 x i8] c"[STATS]\09Exec stack: %d bytes\09Constants stack: %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %14, 1
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20)
store i32 0, ptr %3, align 4
br label %107
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.2)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %34, label %29
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32)
store i32 1, ptr %3, align 4
br label %107
34: ; preds = %22
store i32 0, ptr %7, align 4
%35 = call i64 @malloc(i32 noundef 1)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = call signext i8 @fgetc(ptr noundef %37)
store i8 %38, ptr %9, align 1
%39 = load i8, ptr %9, align 1
%40 = sext i8 %39 to i32
%41 = load i8, ptr @EOF, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %40, %42
br i1 %43, label %.lr.ph, label %64
.lr.ph: ; preds = %34
br label %44
44: ; preds = %.lr.ph, %44
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %7, align 4
%49 = call i64 @realloc(ptr noundef %47, i32 noundef %48)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %8, align 8
%51 = load i8, ptr %9, align 1
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %52, i64 %55
store i8 %51, ptr %56, align 1
%57 = load ptr, ptr %6, align 8
%58 = call signext i8 @fgetc(ptr noundef %57)
store i8 %58, ptr %9, align 1
%59 = load i8, ptr %9, align 1
%60 = sext i8 %59 to i32
%61 = load i8, ptr @EOF, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %60, %62
br i1 %63, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %64
64: ; preds = %._crit_edge, %34
%65 = load ptr, ptr %8, align 8
%66 = call i32 @parseCode(ptr noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %64
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %70
70: ; preds = %68, %64
%71 = call ptr (...) @createBinary()
store ptr %71, ptr %10, align 8
%72 = load ptr, ptr %10, align 8
%73 = call i32 @memmap(i32 noundef 0, i32 noundef 80, ptr noundef %72)
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 2
%76 = load ptr, ptr %75, align 8
%77 = call ptr @fopen(ptr noundef %76, ptr noundef @.str.5)
store ptr %77, ptr %11, align 8
%78 = call i32 (...) @calcExecSize()
%79 = call i32 (...) @calcConstSize()
%80 = add nsw i32 %78, %79
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
store i32 0, ptr %13, align 4
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %12, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %.lr.ph2, label %99
.lr.ph2: ; preds = %70
br label %85
85: ; preds = %.lr.ph2, %93
%86 = load ptr, ptr %10, align 8
%87 = load i32, ptr %13, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = load ptr, ptr %11, align 8
%92 = call i32 @fputc(i8 noundef zeroext %90, ptr noundef %91)
br label %93
93: ; preds = %85
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = load i32, ptr %12, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %85, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %99
99: ; preds = %._crit_edge3, %70
%100 = call i32 (...) @calcExecSize()
%101 = call i32 (...) @calcConstSize()
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %100, i32 noundef %101)
%103 = load ptr, ptr %6, align 8
%104 = call i32 @fclose(ptr noundef %103)
%105 = load ptr, ptr %11, align 8
%106 = call i32 @fclose(ptr noundef %105)
br label %107
107: ; preds = %99, %29, %16
%108 = load i32, ptr %3, align 4
ret i32 %108
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @parseCode(ptr noundef) #1
declare ptr @createBinary(...) #1
declare i32 @memmap(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @calcExecSize(...) #1
declare i32 @calcConstSize(...) #1
declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp85p4bwvx.c'
source_filename = "/tmp/tmp85p4bwvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @verrx(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @_verrx(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @_verrx(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85p4bwvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @verrx(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @_verrx(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @_verrx(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4v8wf659.c'
source_filename = "/tmp/tmp4v8wf659.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BigSigma1(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 @rotateRight(i32 noundef %3, i32 noundef 6)
%5 = load i32, ptr %2, align 4
%6 = call i32 @rotateRight(i32 noundef %5, i32 noundef 11)
%7 = xor i32 %4, %6
%8 = load i32, ptr %2, align 4
%9 = call i32 @rotateRight(i32 noundef %8, i32 noundef 25)
%10 = xor i32 %7, %9
ret i32 %10
}
declare i32 @rotateRight(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/tmp4v8wf659.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BigSigma1(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 @rotateRight(i32 noundef %3, i32 noundef 6)
%5 = load i32, ptr %2, align 4
%6 = call i32 @rotateRight(i32 noundef %5, i32 noundef 11)
%7 = xor i32 %4, %6
%8 = load i32, ptr %2, align 4
%9 = call i32 @rotateRight(i32 noundef %8, i32 noundef 25)
%10 = xor i32 %7, %9
ret i32 %10
}
declare i32 @rotateRight(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/tmpzwbi0a4o.c'
source_filename = "/tmp/tmpzwbi0a4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lib1test() #0 {
%1 = call i32 (...) @lib1t1()
%2 = icmp ne i32 %1, 11
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 (...) @abort() #3
unreachable
5: ; preds = %0
%6 = call i32 (...) @lib1t3()
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 (...) @abort() #3
unreachable
10: ; preds = %5
%11 = call i32 (...) @lib1p1()
%12 = icmp ne i32 %11, 11
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %10
ret i32 0
}
declare i32 @lib1t1(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @lib1t3(...) #1
declare i32 @lib1p1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpzwbi0a4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lib1test() #0 {
%1 = call i32 (...) @lib1t1()
%2 = icmp ne i32 %1, 11
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 (...) @abort() #3
unreachable
5: ; preds = %0
%6 = call i32 (...) @lib1t3()
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 (...) @abort() #3
unreachable
10: ; preds = %5
%11 = call i32 (...) @lib1p1()
%12 = icmp ne i32 %11, 11
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %10
ret i32 0
}
declare i32 @lib1t1(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @lib1t3(...) #1
declare i32 @lib1p1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp67rbho0a.c'
source_filename = "/tmp/tmp67rbho0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dnet log error %e %e %e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dnet(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
%14 = load double, ptr %9, align 8
%15 = load double, ptr %10, align 8
%16 = load double, ptr %11, align 8
%17 = fsub double %15, %16
%18 = fdiv double %14, %17
store double %18, ptr %12, align 8
%19 = load double, ptr %8, align 8
%20 = fcmp ogt double %19, 0.000000e+00
br i1 %20, label %21, label %24
21: ; preds = %5
%22 = load double, ptr %7, align 8
%23 = fcmp ogt double %22, 0.000000e+00
br i1 %23, label %46, label %24
24: ; preds = %21, %5
%25 = load double, ptr %8, align 8
%26 = load double, ptr %7, align 8
%27 = load double, ptr %11, align 8
%28 = call i32 @printf(ptr noundef @.str, double noundef %25, double noundef %26, double noundef %27)
%29 = load double, ptr %7, align 8
%30 = fcmp oeq double %29, 0.000000e+00
br i1 %30, label %31, label %35
31: ; preds = %24
%32 = load double, ptr %8, align 8
%33 = fcmp oeq double %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %31
store double 1.000000e+00, ptr %7, align 8
br label %35
35: ; preds = %34, %31, %24
%36 = load double, ptr %8, align 8
%37 = fcmp oeq double %36, 0.000000e+00
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load double, ptr %7, align 8
store double %39, ptr %6, align 8
br label %74
40: ; preds = %35
%41 = load double, ptr %7, align 8
%42 = fcmp oeq double %41, 0.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load double, ptr %8, align 8
store double %44, ptr %6, align 8
br label %74
45: ; preds = %40
br label %46
46: ; preds = %45, %21
%47 = load double, ptr %12, align 8
%48 = load double, ptr %8, align 8
%49 = load double, ptr %7, align 8
%50 = fdiv double %48, %49
%51 = call double @log(double noundef %50) #3
%52 = fmul double %47, %51
store double %52, ptr %13, align 8
%53 = load double, ptr %13, align 8
%54 = fcmp olt double %53, -1.000000e+01
br i1 %54, label %55, label %57
55: ; preds = %46
%56 = load double, ptr %7, align 8
store double %56, ptr %6, align 8
br label %74
57: ; preds = %46
%58 = load double, ptr %13, align 8
%59 = fcmp ogt double %58, 1.000000e+01
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = load double, ptr %8, align 8
store double %61, ptr %6, align 8
br label %74
62: ; preds = %57
%63 = load double, ptr %7, align 8
%64 = load double, ptr %13, align 8
%65 = call i64 @exp(double noundef %64)
%66 = sitofp i64 %65 to double
%67 = fadd double 1.000000e+00, %66
%68 = fptosi double %67 to i64
%69 = load double, ptr %12, align 8
%70 = fdiv double 1.000000e+00, %69
%71 = call double @pow(i64 noundef %68, double noundef %70)
%72 = fmul double %63, %71
store double %72, ptr %12, align 8
%73 = load double, ptr %12, align 8
store double %73, ptr %6, align 8
br label %74
74: ; preds = %62, %60, %55, %43, %38
%75 = load double, ptr %6, align 8
ret double %75
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare double @pow(i64 noundef, double noundef) #1
declare i64 @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67rbho0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dnet log error %e %e %e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dnet(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
%14 = load double, ptr %9, align 8
%15 = load double, ptr %10, align 8
%16 = load double, ptr %11, align 8
%17 = fsub double %15, %16
%18 = fdiv double %14, %17
store double %18, ptr %12, align 8
%19 = load double, ptr %8, align 8
%20 = fcmp ogt double %19, 0.000000e+00
br i1 %20, label %21, label %24
21: ; preds = %5
%22 = load double, ptr %7, align 8
%23 = fcmp ogt double %22, 0.000000e+00
br i1 %23, label %46, label %24
24: ; preds = %21, %5
%25 = load double, ptr %8, align 8
%26 = load double, ptr %7, align 8
%27 = load double, ptr %11, align 8
%28 = call i32 @printf(ptr noundef @.str, double noundef %25, double noundef %26, double noundef %27)
%29 = load double, ptr %7, align 8
%30 = fcmp oeq double %29, 0.000000e+00
br i1 %30, label %31, label %35
31: ; preds = %24
%32 = load double, ptr %8, align 8
%33 = fcmp oeq double %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %31
store double 1.000000e+00, ptr %7, align 8
br label %35
35: ; preds = %34, %31, %24
%36 = load double, ptr %8, align 8
%37 = fcmp oeq double %36, 0.000000e+00
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load double, ptr %7, align 8
store double %39, ptr %6, align 8
br label %74
40: ; preds = %35
%41 = load double, ptr %7, align 8
%42 = fcmp oeq double %41, 0.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load double, ptr %8, align 8
store double %44, ptr %6, align 8
br label %74
45: ; preds = %40
br label %46
46: ; preds = %45, %21
%47 = load double, ptr %12, align 8
%48 = load double, ptr %8, align 8
%49 = load double, ptr %7, align 8
%50 = fdiv double %48, %49
%51 = call double @log(double noundef %50) #3
%52 = fmul double %47, %51
store double %52, ptr %13, align 8
%53 = load double, ptr %13, align 8
%54 = fcmp olt double %53, -1.000000e+01
br i1 %54, label %55, label %57
55: ; preds = %46
%56 = load double, ptr %7, align 8
store double %56, ptr %6, align 8
br label %74
57: ; preds = %46
%58 = load double, ptr %13, align 8
%59 = fcmp ogt double %58, 1.000000e+01
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = load double, ptr %8, align 8
store double %61, ptr %6, align 8
br label %74
62: ; preds = %57
%63 = load double, ptr %7, align 8
%64 = load double, ptr %13, align 8
%65 = call i64 @exp(double noundef %64)
%66 = sitofp i64 %65 to double
%67 = fadd double 1.000000e+00, %66
%68 = fptosi double %67 to i64
%69 = load double, ptr %12, align 8
%70 = fdiv double 1.000000e+00, %69
%71 = call double @pow(i64 noundef %68, double noundef %70)
%72 = fmul double %63, %71
store double %72, ptr %12, align 8
%73 = load double, ptr %12, align 8
store double %73, ptr %6, align 8
br label %74
74: ; preds = %62, %60, %55, %43, %38
%75 = load double, ptr %6, align 8
ret double %75
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare double @pow(i64 noundef, double noundef) #1
declare i64 @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjsy5v2_5.c'
source_filename = "/tmp/tmpjsy5v2_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MultiNomialAlias(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %14
14: ; preds = %23, %5
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %11, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 0, ptr %22, align 4
br label %23
23: ; preds = %18
%24 = load i32, ptr %11, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %11, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
store i32 0, ptr %11, align 4
br label %27
27: ; preds = %68, %26
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %71
31: ; preds = %27
%32 = call i32 (...) @rndu()
%33 = load i32, ptr %7, align 4
%34 = mul nsw i32 %32, %33
%35 = sitofp i32 %34 to double
store double %35, ptr %13, align 8
%36 = load double, ptr %13, align 8
%37 = fptosi double %36 to i32
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = sitofp i32 %38 to double
%40 = load double, ptr %13, align 8
%41 = fsub double %40, %39
store double %41, ptr %13, align 8
%42 = load double, ptr %13, align 8
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
%47 = load double, ptr %46, align 8
%48 = fcmp ole double %42, %47
br i1 %48, label %49, label %56
49: ; preds = %31
%50 = load ptr, ptr %10, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %53, align 4
br label %67
56: ; preds = %31
%57 = load ptr, ptr %10, align 8
%58 = load ptr, ptr %9, align 8
%59 = load i32, ptr %12, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %57, i64 %63
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %64, align 4
br label %67
67: ; preds = %56, %49
br label %68
68: ; preds = %67
%69 = load i32, ptr %11, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %11, align 4
br label %27, !llvm.loop !8
71: ; preds = %27
ret i32 0
}
declare i32 @rndu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjsy5v2_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MultiNomialAlias(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %5
br label %17
17: ; preds = %.lr.ph, %22
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 0, ptr %21, align 4
br label %22
22: ; preds = %17
%23 = load i32, ptr %11, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %5
store i32 0, ptr %11, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %75
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %69
%33 = call i32 (...) @rndu()
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 %33, %34
%36 = sitofp i32 %35 to double
store double %36, ptr %13, align 8
%37 = load double, ptr %13, align 8
%38 = fptosi double %37 to i32
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
%40 = sitofp i32 %39 to double
%41 = load double, ptr %13, align 8
%42 = fsub double %41, %40
store double %42, ptr %13, align 8
%43 = load double, ptr %13, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = fcmp ole double %43, %48
br i1 %49, label %50, label %57
50: ; preds = %32
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %12, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %54, align 4
br label %68
57: ; preds = %32
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %58, i64 %64
%66 = load i32, ptr %65, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %65, align 4
br label %68
68: ; preds = %57, %50
br label %69
69: ; preds = %68
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %6, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %28
ret i32 0
}
declare i32 @rndu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsseamzs_.c'
source_filename = "/tmp/tmpsseamzs_.c"
target datalayout = "e-m:e-p270: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/tmpsseamzs_.c"
target datalayout = "e-m:e-p270: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/tmpq7uncn6d.c'
source_filename = "/tmp/tmpq7uncn6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineCount(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @rewind(ptr noundef %5)
br label %7
7: ; preds = %12, %1
%8 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%9 = load ptr, ptr %2, align 8
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 100, ptr noundef %9)
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %7, !llvm.loop !6
15: ; preds = %7
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @rewind(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7uncn6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineCount(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @rewind(ptr noundef %5)
%7 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%8 = load ptr, ptr %2, align 8
%9 = call ptr @fgets(ptr noundef %7, i32 noundef 100, ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load ptr, ptr %2, align 8
%15 = call ptr @fgets(ptr noundef %7, i32 noundef 100, ptr noundef %14)
%16 = icmp ne ptr %15, null
br i1 %16, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @rewind(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5rvl8dar.c'
source_filename = "/tmp/tmp5rvl8dar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xbc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xbc() #0 {
%1 = call i64 @isalnum(i32 noundef 188)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmp5rvl8dar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xbc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xbc() #0 {
%1 = call i64 @isalnum(i32 noundef 188)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmpnyrinav_.c'
source_filename = "/tmp/tmpnyrinav_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%*d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%**d\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%*%*d\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"%*%*%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"**%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%**%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"%* *%d\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"%* %*%d\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"%4d\0A%4d\0A\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"%6d\0A%6d\0A\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"%*2$d\0A\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"%.3d\0A\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"%.*2$d\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"%.*2$f\0A\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"%m\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"asdf%n\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 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef 2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 12345, i32 noundef 678)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef 12345, i32 noundef 678)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef 1, i32 noundef 2)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef 1, i32 noundef 2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef 1, i32 noundef 2)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef 1.123450e+00, i32 noundef 2)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef 1.123450e+00, i32 noundef 2)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %2)
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnyrinav_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%*d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%**d\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%*%*d\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"%*%*%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"**%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%**%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"%* *%d\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"%* %*%d\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"%4d\0A%4d\0A\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"%6d\0A%6d\0A\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"%*2$d\0A\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"%.3d\0A\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"%.*2$d\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"%.*2$f\0A\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"%m\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"asdf%n\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 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef 2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef 1, i32 noundef 2, i32 noundef 3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 12345, i32 noundef 678)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef 12345, i32 noundef 678)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef 1, i32 noundef 2)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef 1, i32 noundef 2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef 1, i32 noundef 2)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef 1.123450e+00, i32 noundef 2)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef 1.123450e+00, i32 noundef 2)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %2)
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp57k5nxs2.c'
source_filename = "/tmp/tmp57k5nxs2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CutOffExtraChars(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 2
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %3, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 13
br i1 %11, label %12, label %19
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sub nsw i32 %15, 2
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %13, i64 %17
store i8 0, ptr %18, align 1
br label %37
19: ; preds = %1
%20 = load ptr, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %36
29: ; preds = %19
%30 = load ptr, ptr %2, align 8
%31 = load ptr, ptr %2, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %30, i64 %34
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %29, %19
br label %37
37: ; preds = %36, %12
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp57k5nxs2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CutOffExtraChars(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 2
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %3, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 13
br i1 %11, label %12, label %19
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sub nsw i32 %15, 2
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %13, i64 %17
store i8 0, ptr %18, align 1
br label %37
19: ; preds = %1
%20 = load ptr, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %36
29: ; preds = %19
%30 = load ptr, ptr %2, align 8
%31 = load ptr, ptr %2, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %30, i64 %34
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %29, %19
br label %37
37: ; preds = %36, %12
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgiaablqp.c'
source_filename = "/tmp/tmpgiaablqp.c"
target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @access(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/tmpgiaablqp.c"
target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @access(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/tmpagrulu6a.c'
source_filename = "/tmp/tmpagrulu6a.c"
target datalayout = "e-m:e-p270: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/tmpagrulu6a.c"
target datalayout = "e-m:e-p270: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/tmpsq9lntzh.c'
source_filename = "/tmp/tmpsq9lntzh.c"
target datalayout = "e-m:e-p270: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/tmpsq9lntzh.c"
target datalayout = "e-m:e-p270: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/tmpeaecaluy.c'
source_filename = "/tmp/tmpeaecaluy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"loadsb r1 (r1)\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"loadub r1 (r1)\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"load r1 (r1)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_get_indirect(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i8, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 4
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @gen_swap()
br label %14
14: ; preds = %12, %8
%15 = call i32 @output_line(ptr noundef @.str)
br label %31
16: ; preds = %2
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 5
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = and i32 %21, 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 (...) @gen_swap()
br label %26
26: ; preds = %24, %20
%27 = call i32 @output_line(ptr noundef @.str.1)
br label %30
28: ; preds = %16
%29 = call i32 @output_line(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %26
br label %31
31: ; preds = %30, %14
ret void
}
declare i32 @gen_swap(...) #1
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeaecaluy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"loadsb r1 (r1)\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"loadub r1 (r1)\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"load r1 (r1)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_get_indirect(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i8, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 4
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @gen_swap()
br label %14
14: ; preds = %12, %8
%15 = call i32 @output_line(ptr noundef @.str)
br label %31
16: ; preds = %2
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 5
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = and i32 %21, 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 (...) @gen_swap()
br label %26
26: ; preds = %24, %20
%27 = call i32 @output_line(ptr noundef @.str.1)
br label %30
28: ; preds = %16
%29 = call i32 @output_line(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %26
br label %31
31: ; preds = %30, %14
ret void
}
declare i32 @gen_swap(...) #1
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphzulpkle.c'
source_filename = "/tmp/tmphzulpkle.c"
target datalayout = "e-m:e-p270: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.coins1 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 5], align 4
@__const.main.coins2 = private unnamed_addr constant [1 x i32] [i32 2], align 4
@__const.main.coins3 = private unnamed_addr constant [4 x i32] [i32 2, i32 5, i32 10, i32 1], align 16
@__const.main.coins4 = private unnamed_addr constant [4 x i32] [i32 186, i32 419, i32 83, i32 408], align 16
@.str = private unnamed_addr constant [13 x i8] c"case 1 : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"case 2 : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"case 3 : %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"case 4 : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [1 x i32], align 4
%4 = alloca [4 x i32], align 16
%5 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.coins1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.coins2, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.coins3, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.coins4, i64 16, i1 false)
%6 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @coinChange(ptr noundef %6, i32 noundef 3, i32 noundef 11)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @coinChange(ptr noundef %9, i32 noundef 1, i32 noundef 3)
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%13 = call i32 @coinChange(ptr noundef %12, i32 noundef 4, i32 noundef 27)
%14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%16 = call i32 @coinChange(ptr noundef %15, i32 noundef 4, i32 noundef 6249)
%17 = call i32 @printf(ptr noundef @.str.3, i32 noundef %16)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @coinChange(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphzulpkle.c"
target datalayout = "e-m:e-p270: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.coins1 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 5], align 4
@__const.main.coins2 = private unnamed_addr constant [1 x i32] [i32 2], align 4
@__const.main.coins3 = private unnamed_addr constant [4 x i32] [i32 2, i32 5, i32 10, i32 1], align 16
@__const.main.coins4 = private unnamed_addr constant [4 x i32] [i32 186, i32 419, i32 83, i32 408], align 16
@.str = private unnamed_addr constant [13 x i8] c"case 1 : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"case 2 : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"case 3 : %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"case 4 : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [1 x i32], align 4
%4 = alloca [4 x i32], align 16
%5 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.coins1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.coins2, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.coins3, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.coins4, i64 16, i1 false)
%6 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @coinChange(ptr noundef %6, i32 noundef 3, i32 noundef 11)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @coinChange(ptr noundef %9, i32 noundef 1, i32 noundef 3)
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%13 = call i32 @coinChange(ptr noundef %12, i32 noundef 4, i32 noundef 27)
%14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
%16 = call i32 @coinChange(ptr noundef %15, i32 noundef 4, i32 noundef 6249)
%17 = call i32 @printf(ptr noundef @.str.3, i32 noundef %16)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @coinChange(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuz4vgzaz.c'
source_filename = "/tmp/tmpuz4vgzaz.c"
target datalayout = "e-m:e-p270: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/tmpuz4vgzaz.c"
target datalayout = "e-m:e-p270: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/tmpeqp5cjd2.c'
source_filename = "/tmp/tmpeqp5cjd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reflexive_transitive_closure(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @transitive_closure(ptr noundef %9, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 31
%14 = sdiv i32 %13, 32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
store ptr %20, ptr %8, align 8
store i32 0, ptr %6, align 4
%21 = load ptr, ptr %3, align 8
store ptr %21, ptr %7, align 8
br label %22
22: ; preds = %38, %2
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = icmp ult ptr %23, %24
br i1 %25, label %26, label %43
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = shl i32 1, %27
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %29, align 4
%31 = or i32 %30, %28
store i32 %31, ptr %29, align 4
%32 = load i32, ptr %6, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = icmp uge i32 %33, 32
br i1 %34, label %35, label %38
35: ; preds = %26
store i32 0, ptr %6, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 1
store ptr %37, ptr %7, align 8
br label %38
38: ; preds = %35, %26
%39 = load i32, ptr %5, align 4
%40 = load ptr, ptr %7, align 8
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i32, ptr %40, i64 %41
store ptr %42, ptr %7, align 8
br label %22, !llvm.loop !6
43: ; preds = %22
ret void
}
declare i32 @transitive_closure(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/tmpeqp5cjd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reflexive_transitive_closure(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @transitive_closure(ptr noundef %9, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 31
%14 = sdiv i32 %13, 32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
store ptr %20, ptr %8, align 8
store i32 0, ptr %6, align 4
%21 = load ptr, ptr %3, align 8
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = icmp ult ptr %22, %23
br i1 %24, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %25
25: ; preds = %.lr.ph, %37
%26 = load i32, ptr %6, align 4
%27 = shl i32 1, %26
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %28, align 4
%30 = or i32 %29, %27
store i32 %30, ptr %28, align 4
%31 = load i32, ptr %6, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = icmp uge i32 %32, 32
br i1 %33, label %34, label %37
34: ; preds = %25
store i32 0, ptr %6, align 4
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i32, ptr %35, i32 1
store ptr %36, ptr %7, align 8
br label %37
37: ; preds = %34, %25
%38 = load i32, ptr %5, align 4
%39 = load ptr, ptr %7, align 8
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i32, ptr %39, i64 %40
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %8, align 8
%44 = icmp ult ptr %42, %43
br i1 %44, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %45
45: ; preds = %._crit_edge, %2
ret void
}
declare i32 @transitive_closure(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/tmpda04t0mx.c'
source_filename = "/tmp/tmpda04t0mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"I was called as %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Argument %i was: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 0
%9 = load ptr, ptr %8, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %23, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, ptr noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %27
}
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/tmpda04t0mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"I was called as %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Argument %i was: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 0
%9 = load ptr, ptr %8, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %22
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
%29 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %29
}
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/tmptnob9_ww.c'
source_filename = "/tmp/tmptnob9_ww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mltn(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %27
11: ; preds = %2
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %22, %11
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %15, 1
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = call i32 @mlt(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %6, align 4
br label %22
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %25, %10
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @mlt(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnob9_ww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mltn(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %30
11: ; preds = %2
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %6, align 4
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %21
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 @mlt(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp slt i32 %24, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %11
%29 = load i32, ptr %6, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %28, %10
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @mlt(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpytwm3yod.c'
source_filename = "/tmp/tmpytwm3yod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMREXTTEXTOUTW_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @core8_swap(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @core8_swap(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/tmpytwm3yod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMREXTTEXTOUTW_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @core8_swap(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @core8_swap(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/tmpcjb4j9_h.c'
source_filename = "/tmp/tmpcjb4j9_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ranged_random_recycle_mult(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = call i32 (...) @pcg32_random()
store i32 %6, ptr %4, align 4
br label %7
7: ; preds = %1, %36
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
%11 = ashr i32 %10, 32
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = load i32, ptr @UINT32_MAX, align 4
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %15, %16
%18 = add nsw i32 %17, 1
%19 = icmp sgt i32 %14, %18
br i1 %19, label %20, label %34
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, 31
br i1 %22, label %23, label %25
23: ; preds = %20
store i32 0, ptr %3, align 4
%24 = call i32 (...) @pcg32_random()
store i32 %24, ptr %4, align 4
br label %33
25: ; preds = %20
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = ashr i32 %28, 1
%30 = load i32, ptr %4, align 4
%31 = shl i32 %30, 31
%32 = or i32 %29, %31
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %25, %23
br label %36
34: ; preds = %7
%35 = load i32, ptr %5, align 4
ret i32 %35
36: ; preds = %33
br label %7
}
declare i32 @pcg32_random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcjb4j9_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ranged_random_recycle_mult(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = call i32 (...) @pcg32_random()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = mul nsw i32 %7, %8
store i32 poison, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %10, %11
%13 = load i32, ptr @UINT32_MAX, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %13, %14
%16 = add nsw i32 %15, 1
%17 = icmp sgt i32 %12, %16
br i1 %17, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %34
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, 31
br i1 %20, label %21, label %23
21: ; preds = %18
store i32 0, ptr %3, align 4
%22 = call i32 (...) @pcg32_random()
store i32 %22, ptr %4, align 4
br label %31
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = ashr i32 %26, 1
%28 = load i32, ptr %4, align 4
%29 = shl i32 %28, 31
%30 = or i32 %27, %29
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %23, %21
br label %34
._crit_edge: ; preds = %34
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i32, ptr %5, align 4
ret i32 %33
34: ; preds = %31
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = mul nsw i32 %35, %36
%38 = ashr i32 %37, 32
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = sub nsw i32 %39, %40
%42 = load i32, ptr @UINT32_MAX, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %42, %43
%45 = add nsw i32 %44, 1
%46 = icmp sgt i32 %41, %45
br i1 %46, label %18, label %._crit_edge
}
declare i32 @pcg32_random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq_u_lbjf.c'
source_filename = "/tmp/tmpq_u_lbjf.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"usage: %s iface\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"length of the interface must be at least 2 characters.\0A\00", align 1
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"An Error occured: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"IP address of %s: %s\0A\00", align 1
@SIOCGIFNETMASK = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [19 x i8] c"Netmask of %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.ifreq, align 4
%8 = 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
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
store i32 1, ptr %3, align 4
br label %75
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp slt i32 %24, 2
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %27)
store i32 2, ptr %3, align 4
br label %75
29: ; preds = %20
br label %30
30: ; preds = %29
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %8, align 8
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr @IFNAMSIZ, align 8
%41 = sub nsw i64 %40, 1
%42 = call i32 @strncpy(i32 noundef %38, ptr noundef %39, i64 noundef %41)
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @SIOCGIFADDR, align 4
%45 = call i32 @ioctl(i32 noundef %43, i32 noundef %44, ptr noundef %7)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %51
47: ; preds = %30
%48 = load i32, ptr @errno, align 4
%49 = call ptr @strerror(i32 noundef %48)
%50 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %49)
store i32 3, ptr %3, align 4
br label %75
51: ; preds = %30
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call ptr @inet_ntoa(i32 noundef %55)
%57 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %52, ptr noundef %56)
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr @SIOCGIFNETMASK, align 4
%60 = call i32 @ioctl(i32 noundef %58, i32 noundef %59, ptr noundef %7)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %66
62: ; preds = %51
%63 = load i32, ptr @errno, align 4
%64 = call ptr @strerror(i32 noundef %63)
%65 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %64)
store i32 3, ptr %3, align 4
br label %75
66: ; preds = %51
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%69 = getelementptr inbounds %struct.sockaddr_in, ptr %68, i32 0, i32 0
%70 = load i32, ptr %69, align 4
%71 = call ptr @inet_ntoa(i32 noundef %70)
%72 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %67, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @close(i32 noundef %73)
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %66, %62, %47, %26, %14
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @inet_ntoa(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq_u_lbjf.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"usage: %s iface\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"length of the interface must be at least 2 characters.\0A\00", align 1
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"An Error occured: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"IP address of %s: %s\0A\00", align 1
@SIOCGIFNETMASK = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [19 x i8] c"Netmask of %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.ifreq, align 4
%8 = 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
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
store i32 1, ptr %3, align 4
br label %75
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp slt i32 %24, 2
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %27)
store i32 2, ptr %3, align 4
br label %75
29: ; preds = %20
br label %30
30: ; preds = %29
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %8, align 8
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr @IFNAMSIZ, align 8
%41 = sub nsw i64 %40, 1
%42 = call i32 @strncpy(i32 noundef %38, ptr noundef %39, i64 noundef %41)
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @SIOCGIFADDR, align 4
%45 = call i32 @ioctl(i32 noundef %43, i32 noundef %44, ptr noundef %7)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %51
47: ; preds = %30
%48 = load i32, ptr @errno, align 4
%49 = call ptr @strerror(i32 noundef %48)
%50 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %49)
store i32 3, ptr %3, align 4
br label %75
51: ; preds = %30
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call ptr @inet_ntoa(i32 noundef %55)
%57 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %52, ptr noundef %56)
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr @SIOCGIFNETMASK, align 4
%60 = call i32 @ioctl(i32 noundef %58, i32 noundef %59, ptr noundef %7)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %66
62: ; preds = %51
%63 = load i32, ptr @errno, align 4
%64 = call ptr @strerror(i32 noundef %63)
%65 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %64)
store i32 3, ptr %3, align 4
br label %75
66: ; preds = %51
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%69 = getelementptr inbounds %struct.sockaddr_in, ptr %68, i32 0, i32 0
%70 = load i32, ptr %69, align 4
%71 = call ptr @inet_ntoa(i32 noundef %70)
%72 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %67, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @close(i32 noundef %73)
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %66, %62, %47, %26, %14
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @inet_ntoa(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkmlubg_0.c'
source_filename = "/tmp/tmpkmlubg_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDCarriageReturn() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 84
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @LCDWrite(i32 noundef 1, i32 noundef 0)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
ret void
}
declare i32 @LCDWrite(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkmlubg_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDCarriageReturn() #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, 84
br i1 %3, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %6
%5 = call i32 @LCDWrite(i32 noundef 1, i32 noundef 0)
br label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %9, 84
br i1 %10, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
ret void
}
declare i32 @LCDWrite(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgn76wpwj.c'
source_filename = "/tmp/tmpgn76wpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start_alloc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
br label %7
7: ; preds = %1, %34, %54
%8 = load ptr, ptr %3, align 8
%9 = call i32 @alloc_menu(ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @alloc_number(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %17
16: ; preds = %7
br label %55
17: ; preds = %7
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 2
%21 = icmp eq i32 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = call i32 @alloc_form(ptr noundef %23)
br label %53
25: ; preds = %17
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr @INT_MIN, align 4
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = load i32, ptr @INT_MIN, align 4
store i32 %30, ptr %2, align 4
br label %56
31: ; preds = %25
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %35
34: ; preds = %31
br label %7
35: ; preds = %31
br label %36
36: ; preds = %35, %49
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
%39 = call i32 @show_alloc_info(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %43
42: ; preds = %36
br label %50
43: ; preds = %36
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr @INT_MIN, align 4
%46 = icmp eq i32 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i32, ptr @INT_MIN, align 4
store i32 %48, ptr %2, align 4
br label %56
49: ; preds = %43
br label %36
50: ; preds = %42
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
br label %53
53: ; preds = %52, %22
br label %54
54: ; preds = %53
br label %7
55: ; preds = %16
store i32 0, ptr %2, align 4
br label %56
56: ; preds = %55, %47, %29
%57 = load i32, ptr %2, align 4
ret i32 %57
}
declare i32 @alloc_menu(ptr noundef) #1
declare i32 @alloc_number(ptr noundef) #1
declare i32 @alloc_form(ptr noundef) #1
declare i32 @show_alloc_info(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/tmpgn76wpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start_alloc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @alloc_menu(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @alloc_number(ptr noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = icmp eq i32 %11, %13
br i1 %14, label %15, label %.lr.ph2
.lr.ph2: ; preds = %1
br label %16
._crit_edge3: ; preds = %.backedge
br label %15
15: ; preds = %._crit_edge3, %1
br label %66
16: ; preds = %.lr.ph2, %.backedge
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 2
%20 = icmp eq i32 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = call i32 @alloc_form(ptr noundef %22)
br label %64
24: ; preds = %16
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr @INT_MIN, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr @INT_MIN, align 4
store i32 %29, ptr %2, align 4
br label %67
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %42
33: ; preds = %30
br label %.backedge
.backedge: ; preds = %33, %65
%34 = load ptr, ptr %3, align 8
%35 = call i32 @alloc_menu(ptr noundef %34)
store i32 %35, ptr %4, align 4
%36 = load ptr, ptr %3, align 8
%37 = call i32 @alloc_number(ptr noundef %36)
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
%41 = icmp eq i32 %38, %40
br i1 %41, label %._crit_edge3, label %16
42: ; preds = %30
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %4, align 4
%45 = call i32 @show_alloc_info(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %54, label %.lr.ph
.lr.ph: ; preds = %42
br label %55
48: ; preds = %55
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %4, align 4
%51 = call i32 @show_alloc_info(ptr noundef %49, i32 noundef %50)
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, 1
br i1 %53, label %._crit_edge, label %55
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %42
br label %61
55: ; preds = %.lr.ph, %48
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr @INT_MIN, align 4
%58 = icmp eq i32 %56, %57
br i1 %58, label %59, label %48
59: ; preds = %55
%60 = load i32, ptr @INT_MIN, align 4
store i32 %60, ptr %2, align 4
br label %67
61: ; preds = %54
br label %62
62: ; preds = %61
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63, %21
br label %65
65: ; preds = %64
br label %.backedge
66: ; preds = %15
store i32 0, ptr %2, align 4
br label %67
67: ; preds = %66, %59, %28
%68 = load i32, ptr %2, align 4
ret i32 %68
}
declare i32 @alloc_menu(ptr noundef) #1
declare i32 @alloc_number(ptr noundef) #1
declare i32 @alloc_form(ptr noundef) #1
declare i32 @show_alloc_info(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/tmpn3zcvicd.c'
source_filename = "/tmp/tmpn3zcvicd.c"
target datalayout = "e-m:e-p270: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/tmpn3zcvicd.c"
target datalayout = "e-m:e-p270: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/tmprm9jj0iy.c'
source_filename = "/tmp/tmprm9jj0iy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Invalid patameters\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Invalid ID\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %42
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @barrier_init(i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16, %11
%21 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %42
22: ; preds = %16
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 0, %23
br i1 %24, label %25, label %33
25: ; preds = %22
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call i64 @start_leader(i32 noundef %26, i32 noundef %27, i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 -1, ptr %3, align 4
br label %42
32: ; preds = %25
br label %41
33: ; preds = %22
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = call i64 @start_member(i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %33
store i32 -1, ptr %3, align 4
br label %42
40: ; preds = %33
br label %41
41: ; preds = %40, %32
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %39, %31, %20, %9
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef) #1
declare i32 @barrier_init(i32 noundef) #1
declare i64 @start_leader(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @start_member(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/tmprm9jj0iy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Invalid patameters\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Invalid ID\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %42
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @barrier_init(i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16, %11
%21 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %42
22: ; preds = %16
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 0, %23
br i1 %24, label %25, label %33
25: ; preds = %22
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call i64 @start_leader(i32 noundef %26, i32 noundef %27, i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 -1, ptr %3, align 4
br label %42
32: ; preds = %25
br label %41
33: ; preds = %22
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = call i64 @start_member(i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %33
store i32 -1, ptr %3, align 4
br label %42
40: ; preds = %33
br label %41
41: ; preds = %40, %32
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %39, %31, %20, %9
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef) #1
declare i32 @barrier_init(i32 noundef) #1
declare i64 @start_leader(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @start_member(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/tmpqgvf3jzv.c'
source_filename = "/tmp/tmpqgvf3jzv.c"
target datalayout = "e-m:e-p270: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/tmpqgvf3jzv.c"
target datalayout = "e-m:e-p270: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/tmprghvcoo7.c'
source_filename = "/tmp/tmprghvcoo7.c"
target datalayout = "e-m:e-p270: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/tmprghvcoo7.c"
target datalayout = "e-m:e-p270: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/tmpffscfz_1.c'
source_filename = "/tmp/tmpffscfz_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Ganzzahl (max. 4 stellig) nach '-w=' erwartet\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"Nach Option '-w' wird '='<Anzahl Buchstaben> erwartet.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wWertLesen(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [5 x i8], align 1
%9 = 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
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 61
br i1 %20, label %21, label %90
21: ; preds = %3
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 5, i1 false)
store i32 1, ptr %9, align 4
br label %22
22: ; preds = %55, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp sge i32 %34, 48
br i1 %35, label %36, label %53
36: ; preds = %22
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %41, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 57
br i1 %49, label %50, label %53
50: ; preds = %36
%51 = load i32, ptr %9, align 4
%52 = icmp sle i32 %51, 5
br label %53
53: ; preds = %50, %36, %22
%54 = phi i1 [ false, %36 ], [ false, %22 ], [ %52, %50 ]
br i1 %54, label %55, label %73
55: ; preds = %53
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %60, i64 %64
%66 = load i8, ptr %65, align 1
%67 = load i32, ptr %9, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 %69
store i8 %66, ptr %70, align 1
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %9, align 4
br label %22, !llvm.loop !6
73: ; preds = %53
%74 = load i32, ptr %9, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 %76
store i8 0, ptr %77, align 1
%78 = load i32, ptr %9, align 4
%79 = icmp sgt i32 %78, 1
br i1 %79, label %80, label %83
80: ; preds = %73
%81 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
%82 = call i32 @atoi(ptr noundef %81)
store i32 %82, ptr %7, align 4
br label %85
83: ; preds = %73
%84 = call i32 @fMeld(ptr noundef @.str, i32 noundef 1)
br label %85
85: ; preds = %83, %80
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, 2
%88 = load i32, ptr %9, align 4
%89 = add nsw i32 %87, %88
store i32 %89, ptr %6, align 4
br label %92
90: ; preds = %3
%91 = call i32 @fMeld(ptr noundef @.str.1, i32 noundef 1)
br label %92
92: ; preds = %90, %85
%93 = load i32, ptr %7, align 4
ret i32 %93
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @atoi(ptr noundef) #2
declare i32 @fMeld(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpffscfz_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Ganzzahl (max. 4 stellig) nach '-w=' erwartet\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"Nach Option '-w' wird '='<Anzahl Buchstaben> erwartet.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wWertLesen(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [5 x i8], align 1
%9 = 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
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 61
br i1 %20, label %21, label %90
21: ; preds = %3
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 5, i1 false)
store i32 1, ptr %9, align 4
br label %22
22: ; preds = %55, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp sge i32 %34, 48
br i1 %35, label %36, label %53
36: ; preds = %22
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %41, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 57
br i1 %49, label %50, label %53
50: ; preds = %36
%51 = load i32, ptr %9, align 4
%52 = icmp sle i32 %51, 5
br label %53
53: ; preds = %50, %36, %22
%54 = phi i1 [ false, %36 ], [ false, %22 ], [ %52, %50 ]
br i1 %54, label %55, label %73
55: ; preds = %53
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %60, i64 %64
%66 = load i8, ptr %65, align 1
%67 = load i32, ptr %9, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 %69
store i8 %66, ptr %70, align 1
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %9, align 4
br label %22, !llvm.loop !6
73: ; preds = %53
%74 = load i32, ptr %9, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 %76
store i8 0, ptr %77, align 1
%78 = load i32, ptr %9, align 4
%79 = icmp sgt i32 %78, 1
br i1 %79, label %80, label %83
80: ; preds = %73
%81 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
%82 = call i32 @atoi(ptr noundef %81)
store i32 %82, ptr %7, align 4
br label %85
83: ; preds = %73
%84 = call i32 @fMeld(ptr noundef @.str, i32 noundef 1)
br label %85
85: ; preds = %83, %80
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, 2
%88 = load i32, ptr %9, align 4
%89 = add nsw i32 %87, %88
store i32 %89, ptr %6, align 4
br label %92
90: ; preds = %3
%91 = call i32 @fMeld(ptr noundef @.str.1, i32 noundef 1)
br label %92
92: ; preds = %90, %85
%93 = load i32, ptr %7, align 4
ret i32 %93
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @atoi(ptr noundef) #2
declare i32 @fMeld(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6kevrkff.c'
source_filename = "/tmp/tmp6kevrkff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
store i32 5, ptr %3, align 4
br label %16
16: ; preds = %25, %15
%17 = load i32, ptr %3, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %28
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
br label %16, !llvm.loop !8
28: ; preds = %16
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6kevrkff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 6
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %8
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 6
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
store i32 5, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %25
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmps06w_mrv.c'
source_filename = "/tmp/tmps06w_mrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"[SERVER SOCKET] Error Creating Socket!\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"[SERVER SOCKET] Error bind!\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"[SERVER SOCKET] listening for connection...\0A\00", align 1
@main.count = internal global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"[SERVER SOCKET] Error listen!\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"[SERVER SOCKET] accepting connection... %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"[SERVER SOCKET] Error accept!\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 %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [4096 x i8], align 16
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %63
16: ; preds = %0
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0
store i32 %19, ptr %21, align 4
%22 = call i32 @htons(i32 noundef 50123)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %22, ptr %23, align 4
store i32 12, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 @bind(i32 noundef %24, ptr noundef %4, i32 noundef %25)
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %16
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %63
31: ; preds = %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%33 = load i32, ptr %3, align 4
%34 = call i32 @listen(i32 noundef %33, i32 noundef 5)
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %63
39: ; preds = %31
%40 = load i32, ptr @main.count, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr @main.count, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41)
%43 = load i32, ptr %3, align 4
%44 = call i32 @accept(i32 noundef %43, ptr noundef %4, ptr noundef %5)
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %1, align 4
br label %63
49: ; preds = %39
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 4096, i1 false)
store i32 0, ptr %8, align 4
br label %50
50: ; preds = %59, %49
%51 = load i32, ptr %6, align 4
%52 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%53 = call i32 @read(i32 noundef %51, ptr noundef %52, i32 noundef 4096)
store i32 %53, ptr %8, align 4
%54 = load i32, ptr %6, align 4
%55 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%56 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @strlen(ptr noundef %56)
%58 = call i32 @send(i32 noundef %54, ptr noundef %55, i32 noundef %57, i32 noundef 0)
br label %59
59: ; preds = %50
%60 = load i32, ptr %8, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %50, label %62, !llvm.loop !6
62: ; preds = %59
store i32 0, ptr %1, align 4
br label %63
63: ; preds = %62, %47, %37, %29, %14
%64 = load i32, ptr %1, align 4
ret i32 %64
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #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 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps06w_mrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"[SERVER SOCKET] Error Creating Socket!\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"[SERVER SOCKET] Error bind!\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"[SERVER SOCKET] listening for connection...\0A\00", align 1
@main.count = internal global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"[SERVER SOCKET] Error listen!\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"[SERVER SOCKET] accepting connection... %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"[SERVER SOCKET] Error accept!\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 %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [4096 x i8], align 16
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %63
16: ; preds = %0
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0
store i32 %19, ptr %21, align 4
%22 = call i32 @htons(i32 noundef 50123)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %22, ptr %23, align 4
store i32 12, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 @bind(i32 noundef %24, ptr noundef %4, i32 noundef %25)
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %16
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %63
31: ; preds = %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%33 = load i32, ptr %3, align 4
%34 = call i32 @listen(i32 noundef %33, i32 noundef 5)
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %63
39: ; preds = %31
%40 = load i32, ptr @main.count, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr @main.count, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41)
%43 = load i32, ptr %3, align 4
%44 = call i32 @accept(i32 noundef %43, ptr noundef %4, ptr noundef %5)
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %1, align 4
br label %63
49: ; preds = %39
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 4096, i1 false)
store i32 0, ptr %8, align 4
br label %50
50: ; preds = %59, %49
%51 = load i32, ptr %6, align 4
%52 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%53 = call i32 @read(i32 noundef %51, ptr noundef %52, i32 noundef 4096)
store i32 %53, ptr %8, align 4
%54 = load i32, ptr %6, align 4
%55 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%56 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @strlen(ptr noundef %56)
%58 = call i32 @send(i32 noundef %54, ptr noundef %55, i32 noundef %57, i32 noundef 0)
br label %59
59: ; preds = %50
%60 = load i32, ptr %8, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %50, label %62, !llvm.loop !6
62: ; preds = %59
store i32 0, ptr %1, align 4
br label %63
63: ; preds = %62, %47, %37, %29, %14
%64 = load i32, ptr %1, align 4
ret i32 %64
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #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 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp92sf4cth.c'
source_filename = "/tmp/tmp92sf4cth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Hello, nCurses World\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp92sf4cth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Hello, nCurses World\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc6cbbmcd.c'
source_filename = "/tmp/tmpc6cbbmcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @permutation(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 -1, ptr %4, align 4
br label %50
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
br label %49
19: ; preds = %12
%20 = load i64, ptr %6, align 8
store i64 %20, ptr %8, align 8
br label %21
21: ; preds = %45, %19
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp sle i64 %22, %23
br i1 %24, label %25, label %48
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = call i32 @swap(ptr noundef %28, ptr noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = load i64, ptr %6, align 8
%35 = add nsw i64 %34, 1
%36 = load i64, ptr %7, align 8
%37 = call i32 @permutation(ptr noundef %33, i64 noundef %35, i64 noundef %36)
%38 = load ptr, ptr %5, align 8
%39 = load i64, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = call i32 @swap(ptr noundef %40, ptr noundef %43)
br label %45
45: ; preds = %25
%46 = load i64, ptr %8, align 8
%47 = add nsw i64 %46, 1
store i64 %47, ptr %8, align 8
br label %21, !llvm.loop !6
48: ; preds = %21
br label %49
49: ; preds = %48, %16
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %49, %11
%51 = load i32, ptr %4, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc6cbbmcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @permutation(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 -1, ptr %4, align 4
br label %52
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
br label %51
19: ; preds = %12
%20 = load i64, ptr %6, align 8
store i64 %20, ptr %8, align 8
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr %7, align 8
%23 = icmp sle i64 %21, %22
br i1 %23, label %.lr.ph, label %50
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %44
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = call i32 @swap(ptr noundef %27, ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %6, align 8
%34 = add nsw i64 %33, 1
%35 = load i64, ptr %7, align 8
%36 = call i32 @permutation(ptr noundef %32, i64 noundef %34, i64 noundef %35)
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %40, i64 %41
%43 = call i32 @swap(ptr noundef %39, ptr noundef %42)
br label %44
44: ; preds = %24
%45 = load i64, ptr %8, align 8
%46 = add nsw i64 %45, 1
store i64 %46, ptr %8, align 8
%47 = load i64, ptr %8, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp sle i64 %47, %48
br i1 %49, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %19
br label %51
51: ; preds = %50, %16
store i32 0, ptr %4, align 4
br label %52
52: ; preds = %51, %11
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm0_fl56j.c'
source_filename = "/tmp/tmpm0_fl56j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_strings(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcmp(ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm0_fl56j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_strings(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcmp(ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm4ycpfzy.c'
source_filename = "/tmp/tmpm4ycpfzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_async(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @F_SETFL, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr @O_NONBLOCK, align 4
%14 = or i32 %12, %13
%15 = call i32 (i32, i32, ...) @fcntl(i32 noundef %10, i32 noundef %11, i32 noundef %14)
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %9, %1
store i32 -1, ptr %2, align 4
br label %19
18: ; preds = %9
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %17
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4ycpfzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_async(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @F_SETFL, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr @O_NONBLOCK, align 4
%14 = or i32 %12, %13
%15 = call i32 (i32, i32, ...) @fcntl(i32 noundef %10, i32 noundef %11, i32 noundef %14)
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %9, %1
store i32 -1, ptr %2, align 4
br label %19
18: ; preds = %9
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %17
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd5s4layl.c'
source_filename = "/tmp/tmpd5s4layl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%s%d%s%s%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"USR \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" TWN S \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"INFO : msn : sendTicket : sending Ticket :\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendTicket(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %9, 50
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call ptr (...) @getTrID()
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %17, ptr noundef @.str.2, ptr noundef %18, ptr noundef @.str.3)
%20 = load ptr, ptr %6, align 8
%21 = call i32 @debugPrintStr(ptr noundef @.str.4, ptr noundef %20)
%22 = load i32, ptr %3, align 4
%23 = load ptr, ptr %6, align 8
%24 = call i32 @sendData(i32 noundef %22, ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
ret i32 %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @getTrID(...) #1
declare i32 @debugPrintStr(ptr noundef, ptr noundef) #1
declare i32 @sendData(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/tmpd5s4layl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%s%d%s%s%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"USR \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" TWN S \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"INFO : msn : sendTicket : sending Ticket :\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendTicket(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %9, 50
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call ptr (...) @getTrID()
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %17, ptr noundef @.str.2, ptr noundef %18, ptr noundef @.str.3)
%20 = load ptr, ptr %6, align 8
%21 = call i32 @debugPrintStr(ptr noundef @.str.4, ptr noundef %20)
%22 = load i32, ptr %3, align 4
%23 = load ptr, ptr %6, align 8
%24 = call i32 @sendData(i32 noundef %22, ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
ret i32 %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @getTrID(...) #1
declare i32 @debugPrintStr(ptr noundef, ptr noundef) #1
declare i32 @sendData(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/tmpurkbl9ye.c'
source_filename = "/tmp/tmpurkbl9ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = call i64 @isspace(i8 noundef signext %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
br label %3, !llvm.loop !6
11: ; preds = %3
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpurkbl9ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = call i64 @isspace(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isspace(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %14
14: ; preds = %._crit_edge, %1
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp539o4dks.c'
source_filename = "/tmp/tmp539o4dks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a string: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Enter a substring to append: \00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Final string: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %31, %0
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %26, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %29
store i8 %25, ptr %30, align 1
br label %31
31: ; preds = %21
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %38
store i8 0, ptr %39, align 1
%40 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %40)
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp539o4dks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a string: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Enter a substring to append: \00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Final string: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %6, align 4
store i32 0, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %20
20: ; preds = %.lr.ph, %30
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %28
store i8 %24, ptr %29, align 1
br label %30
30: ; preds = %20
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %0
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %40
store i8 0, ptr %41, align 1
%42 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %42)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp53crveav.c'
source_filename = "/tmp/tmp53crveav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgvprintw(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @vsnprintf(ptr noundef %7, i32 noundef 1024, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @msgaddstr(ptr noundef %11)
%13 = load i32, ptr %6, align 4
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @msgaddstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53crveav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgvprintw(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @vsnprintf(ptr noundef %7, i32 noundef 1024, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @msgaddstr(ptr noundef %11)
%13 = load i32, ptr %6, align 4
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @msgaddstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5qc2d2mc.c'
source_filename = "/tmp/tmp5qc2d2mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaire_iteratif(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %8, %1
%6 = load i32, ptr %2, align 4
%7 = icmp ugt i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = urem i32 %9, 2
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 49, i32 48
%14 = trunc i32 %13 to i8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %17
store i8 %14, ptr %18, align 1
%19 = load i32, ptr %2, align 4
%20 = udiv i32 %19, 2
store i32 %20, ptr %2, align 4
br label %5, !llvm.loop !6
21: ; preds = %5
br label %22
22: ; preds = %25, %21
%23 = load i32, ptr %4, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = call i32 @putchar(i8 noundef signext %30)
br label %22, !llvm.loop !8
32: ; preds = %22
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5qc2d2mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaire_iteratif(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ugt i32 %5, 0
br i1 %6, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %2, align 4
%9 = urem i32 %8, 2
%10 = icmp ne i32 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, i32 49, i32 48
%13 = trunc i32 %12 to i8
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = sext i32 %14 to i64
%17 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %16
store i8 %13, ptr %17, align 1
%18 = load i32, ptr %2, align 4
%19 = udiv i32 %18, 2
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp ugt i32 %20, 0
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %22
22: ; preds = %._crit_edge, %1
%23 = load i32, ptr %4, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %.lr.ph2, label %34
.lr.ph2: ; preds = %22
br label %25
25: ; preds = %.lr.ph2, %25
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = call i32 @putchar(i8 noundef signext %30)
%32 = load i32, ptr %4, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %34
34: ; preds = %._crit_edge3, %22
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_2qy66ar.c'
source_filename = "/tmp/tmp_2qy66ar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_2qy66ar.c"
target datalayout = "e-m:e-p270: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/tmp0xvn691k.c'
source_filename = "/tmp/tmp0xvn691k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Starting from %g:\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c" After %d steps: found root %g\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"After %d steps: found no root\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newrap_root_array(ptr noundef %0, ptr noundef %1, i64 noundef %2, float noundef %3, i8 noundef signext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca float, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store float %3, ptr %9, align 4
store i8 %4, ptr %10, align 1
store i32 0, ptr %11, align 4
%15 = load float, ptr %9, align 4
%16 = fptosi float %15 to i32
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %52, %5
%19 = load i32, ptr %11, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %11, align 4
%21 = icmp slt i32 %20, 10000
br i1 %21, label %22, label %54
22: ; preds = %18
%23 = load float, ptr %9, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %8, align 8
%26 = call float @get_f(float noundef %23, ptr noundef %24, i64 noundef %25)
store float %26, ptr %13, align 4
%27 = load float, ptr %9, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i64, ptr %8, align 8
%30 = call float @get_f_prime(float noundef %27, ptr noundef %28, i64 noundef %29)
store float %30, ptr %14, align 4
%31 = load float, ptr %14, align 4
%32 = call i32 @fabs(float noundef %31)
%33 = call i32 @pow(i32 noundef 10, i32 noundef -14)
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %22
br label %54
36: ; preds = %22
%37 = load float, ptr %9, align 4
%38 = load float, ptr %13, align 4
%39 = load float, ptr %14, align 4
%40 = fdiv float %38, %39
%41 = fsub float %37, %40
store float %41, ptr %12, align 4
%42 = load float, ptr %12, align 4
%43 = load float, ptr %9, align 4
%44 = fsub float %42, %43
%45 = call i32 @fabs(float noundef %44)
%46 = load float, ptr %12, align 4
%47 = call i32 @fabs(float noundef %46)
%48 = sdiv i32 %45, %47
%49 = call i32 @pow(i32 noundef 10, i32 noundef -7)
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %36
br label %54
52: ; preds = %36
%53 = load float, ptr %12, align 4
store float %53, ptr %9, align 4
br label %18, !llvm.loop !6
54: ; preds = %51, %35, %18
%55 = load float, ptr %12, align 4
%56 = call i32 @isnan(float noundef %55)
%57 = icmp ne i32 %56, 0
br i1 %57, label %63, label %58
58: ; preds = %54
%59 = load i32, ptr %11, align 4
%60 = load float, ptr %9, align 4
%61 = fpext float %60 to double
%62 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %59, double noundef %61)
br label %66
63: ; preds = %54
%64 = load i32, ptr %11, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
br label %66
66: ; preds = %63, %58
%67 = load i8, ptr %10, align 1
%68 = icmp ne i8 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load ptr, ptr %6, align 8
%71 = load ptr, ptr %7, align 8
%72 = load i64, ptr %8, align 8
%73 = load float, ptr %9, align 4
%74 = fneg float %73
call void @newrap_root_array(ptr noundef %70, ptr noundef %71, i64 noundef %72, float noundef %74, i8 noundef signext 0)
br label %75
75: ; preds = %69, %66
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare float @get_f(float noundef, ptr noundef, i64 noundef) #1
declare float @get_f_prime(float noundef, ptr noundef, i64 noundef) #1
declare i32 @fabs(float noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xvn691k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Starting from %g:\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c" After %d steps: found root %g\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"After %d steps: found no root\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newrap_root_array(ptr noundef %0, ptr noundef %1, i64 noundef %2, float noundef %3, i8 noundef signext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca float, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store float %3, ptr %9, align 4
store i8 %4, ptr %10, align 1
store i32 0, ptr %11, align 4
%15 = load float, ptr %9, align 4
%16 = fptosi float %15 to i32
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %11, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %11, align 4
%20 = icmp slt i32 %19, 10000
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %5
br label %21
21: ; preds = %.lr.ph, %51
%22 = load float, ptr %9, align 4
%23 = load ptr, ptr %6, align 8
%24 = load i64, ptr %8, align 8
%25 = call float @get_f(float noundef %22, ptr noundef %23, i64 noundef %24)
store float %25, ptr %13, align 4
%26 = load float, ptr %9, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i64, ptr %8, align 8
%29 = call float @get_f_prime(float noundef %26, ptr noundef %27, i64 noundef %28)
store float %29, ptr %14, align 4
%30 = load float, ptr %14, align 4
%31 = call i32 @fabs(float noundef %30)
%32 = call i32 @pow(i32 noundef 10, i32 noundef -14)
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %21
br label %56
35: ; preds = %21
%36 = load float, ptr %9, align 4
%37 = load float, ptr %13, align 4
%38 = load float, ptr %14, align 4
%39 = fdiv float %37, %38
%40 = fsub float %36, %39
store float %40, ptr %12, align 4
%41 = load float, ptr %12, align 4
%42 = load float, ptr %9, align 4
%43 = fsub float %41, %42
%44 = call i32 @fabs(float noundef %43)
%45 = load float, ptr %12, align 4
%46 = call i32 @fabs(float noundef %45)
%47 = sdiv i32 %44, %46
%48 = call i32 @pow(i32 noundef 10, i32 noundef -7)
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %51
50: ; preds = %35
br label %56
51: ; preds = %35
%52 = load float, ptr %12, align 4
store float %52, ptr %9, align 4
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
%55 = icmp slt i32 %54, 10000
br i1 %55, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %51
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %5
br label %56
56: ; preds = %.loopexit, %50, %34
%57 = load float, ptr %12, align 4
%58 = call i32 @isnan(float noundef %57)
%59 = icmp ne i32 %58, 0
br i1 %59, label %65, label %60
60: ; preds = %56
%61 = load i32, ptr %11, align 4
%62 = load float, ptr %9, align 4
%63 = fpext float %62 to double
%64 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %61, double noundef %63)
br label %68
65: ; preds = %56
%66 = load i32, ptr %11, align 4
%67 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %66)
br label %68
68: ; preds = %65, %60
%69 = load i8, ptr %10, align 1
%70 = icmp ne i8 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %68
%72 = load ptr, ptr %6, align 8
%73 = load ptr, ptr %7, align 8
%74 = load i64, ptr %8, align 8
%75 = load float, ptr %9, align 4
%76 = fneg float %75
call void @newrap_root_array(ptr noundef %72, ptr noundef %73, i64 noundef %74, float noundef %76, i8 noundef signext 0)
br label %77
77: ; preds = %71, %68
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare float @get_f(float noundef, ptr noundef, i64 noundef) #1
declare float @get_f_prime(float noundef, ptr noundef, i64 noundef) #1
declare i32 @fabs(float noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl1wxvfr4.c'
source_filename = "/tmp/tmpl1wxvfr4.c"
target datalayout = "e-m:e-p270: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/tmpl1wxvfr4.c"
target datalayout = "e-m:e-p270: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/tmp2ubkg2co.c'
source_filename = "/tmp/tmp2ubkg2co.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parseExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 -1, ptr %5, align 4
br label %6
6: ; preds = %23, %1
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %26
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 46
br i1 %18, label %19, label %20
19: ; preds = %11
br label %23
20: ; preds = %11
%21 = load i32, ptr %4, align 4
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %20
br label %23
23: ; preds = %22, %19
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %6, !llvm.loop !6
26: ; preds = %6
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, -1
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load ptr, ptr %2, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = load ptr, ptr %2, align 8
%35 = call ptr @substr(i32 noundef %31, i32 noundef %33, ptr noundef %34)
store ptr %35, ptr %3, align 8
br label %37
36: ; preds = %26
store ptr @.str, ptr %3, align 8
br label %37
37: ; preds = %36, %29
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i32 @strlen(ptr noundef) #1
declare ptr @substr(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ubkg2co.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parseExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 -1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %22
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 46
br i1 %17, label %18, label %19
18: ; preds = %10
br label %22
19: ; preds = %10
%20 = load i32, ptr %4, align 4
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %19
br label %22
22: ; preds = %21, %18
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = icmp slt i32 %25, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %1
%30 = load i32, ptr %5, align 4
%31 = icmp ne i32 %30, -1
br i1 %31, label %32, label %39
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load ptr, ptr %2, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = call ptr @substr(i32 noundef %34, i32 noundef %36, ptr noundef %37)
store ptr %38, ptr %3, align 8
br label %40
39: ; preds = %29
store ptr @.str, ptr %3, align 8
br label %40
40: ; preds = %39, %32
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @strlen(ptr noundef) #1
declare ptr @substr(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd0e4ga6i.c'
source_filename = "/tmp/tmpd0e4ga6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2200 x i8] c" #name: lsd #author: rafael grompone von gioi <grompone@gmail.com> #version: 1.6 of November 11, 2011 #year: 2007-2011 #desc: Line Segment Detector #opt: scale | s | double | 0.8 | 0.0 | | Scale image by Gaussian filter before processing. #opt: sigma_coef | c | double | 0.6 | 0.0 | | Sigma for Gaussian filter is computed as sigma_coef/scale. #opt: quant | q | double | 2.0 | 0.0 | | Bound to quantization error on the gradient norm. #opt: ang_th | a | double | 22.5 | 0.0 | 180.0 | Gradient angle tolerance in degrees. #opt: log_eps | e | double | 0.0 | | | Detection threshold, -log10(max. NFA) #opt: density_th | d | double | 0.7 | 0.0 | 1.0 | Minimal density of region points in a rectangle to be accepted. #opt: n_bins | b | int | 1024 | 1 | | Number of bins in 'ordering' of gradient modulus. #opt: reg | R | str | | | | Output image: owner LS number at each pixel. Scaled size. (PGM) #opt: epsfile | P | str | | | | Output line segments into EPS file 'epsfile'. #opt: svgfile | S | str | | | | Output line segments into SVG file 'svgfile'. #opt: width | W | double | 1.5 | | | LS width used in EPS and SVG files. If <=0, use detected values. #req: in | | str | | | | Input image (PGM) #req: out | | str | | | | Line Segment output (each ascii line: x1,y1,x2,y2,width,p,-log10(NFA) ) \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"in\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"scale\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"sigma_coef\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"quant\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"ang_th\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"log_eps\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"density_th\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"n_bins\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"out\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdout = dso_local global ptr null, align 8
@.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c"Error: unable to open ASCII output file.\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [47 x i8] c"Error: unable to close file while output file.\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"epsfile\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"width\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"svgfile\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = 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
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call ptr @process_arguments(ptr noundef @.str, i32 noundef %19, ptr noundef %20)
store ptr %21, ptr %6, align 8
store i32 7, ptr %13, align 4
%22 = load ptr, ptr %6, align 8
%23 = call i32 @get_str(ptr noundef %22, ptr noundef @.str.1)
%24 = call ptr @read_pgm_image_double(ptr noundef %9, ptr noundef %10, i32 noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
%29 = call i32 @get_double(ptr noundef %28, ptr noundef @.str.2)
%30 = load ptr, ptr %6, align 8
%31 = call i32 @get_double(ptr noundef %30, ptr noundef @.str.3)
%32 = load ptr, ptr %6, align 8
%33 = call i32 @get_double(ptr noundef %32, ptr noundef @.str.4)
%34 = load ptr, ptr %6, align 8
%35 = call i32 @get_double(ptr noundef %34, ptr noundef @.str.5)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @get_double(ptr noundef %36, ptr noundef @.str.6)
%38 = load ptr, ptr %6, align 8
%39 = call i32 @get_double(ptr noundef %38, ptr noundef @.str.7)
%40 = load ptr, ptr %6, align 8
%41 = call i32 @get_int(ptr noundef %40, ptr noundef @.str.8)
%42 = load ptr, ptr %6, align 8
%43 = call i64 @is_assigned(ptr noundef %42, ptr noundef @.str.9)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %2
br label %47
46: ; preds = %2
br label %47
47: ; preds = %46, %45
%48 = phi ptr [ %14, %45 ], [ null, %46 ]
%49 = call ptr @LineSegmentDetection(ptr noundef %12, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %39, i32 noundef %41, ptr noundef %48, ptr noundef %15, ptr noundef %16)
store ptr %49, ptr %11, align 8
%50 = load ptr, ptr %6, align 8
%51 = call i32 @get_str(ptr noundef %50, ptr noundef @.str.10)
%52 = call i64 @strcmp(i32 noundef %51, ptr noundef @.str.11)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = load ptr, ptr @stdout, align 8
store ptr %55, ptr %7, align 8
br label %60
56: ; preds = %47
%57 = load ptr, ptr %6, align 8
%58 = call i32 @get_str(ptr noundef %57, ptr noundef @.str.10)
%59 = call ptr @fopen(i32 noundef %58, ptr noundef @.str.12)
store ptr %59, ptr %7, align 8
br label %60
60: ; preds = %56, %54
%61 = load ptr, ptr %7, align 8
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 @error(ptr noundef @.str.13)
br label %65
65: ; preds = %63, %60
store i32 0, ptr %17, align 4
br label %66
66: ; preds = %93, %65
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %12, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %96
70: ; preds = %66
store i32 0, ptr %18, align 4
br label %71
71: ; preds = %87, %70
%72 = load i32, ptr %18, align 4
%73 = load i32, ptr %13, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %90
75: ; preds = %71
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %17, align 4
%79 = load i32, ptr %13, align 4
%80 = mul nsw i32 %78, %79
%81 = load i32, ptr %18, align 4
%82 = add nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %77, i64 %83
%85 = load double, ptr %84, align 8
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.14, double noundef %85)
br label %87
87: ; preds = %75
%88 = load i32, ptr %18, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %18, align 4
br label %71, !llvm.loop !6
90: ; preds = %71
%91 = load ptr, ptr %7, align 8
%92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.15)
br label %93
93: ; preds = %90
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %17, align 4
br label %66, !llvm.loop !8
96: ; preds = %66
%97 = load ptr, ptr %7, align 8
%98 = load ptr, ptr @stdout, align 8
%99 = icmp ne ptr %97, %98
br i1 %99, label %100, label %107
100: ; preds = %96
%101 = load ptr, ptr %7, align 8
%102 = call i64 @fclose(ptr noundef %101)
%103 = load i64, ptr @EOF, align 8
%104 = icmp eq i64 %102, %103
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = call i32 @error(ptr noundef @.str.16)
br label %107
107: ; preds = %105, %100, %96
%108 = load ptr, ptr %6, align 8
%109 = call i64 @is_assigned(ptr noundef %108, ptr noundef @.str.9)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %120
111: ; preds = %107
%112 = load ptr, ptr %14, align 8
%113 = load i32, ptr %15, align 4
%114 = load i32, ptr %16, align 4
%115 = load ptr, ptr %6, align 8
%116 = call i32 @get_str(ptr noundef %115, ptr noundef @.str.9)
%117 = call i32 @write_pgm_image_int(ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %116)
%118 = load ptr, ptr %14, align 8
%119 = call i32 @free(ptr noundef %118)
br label %120
120: ; preds = %111, %107
%121 = load ptr, ptr %6, align 8
%122 = call i64 @is_assigned(ptr noundef %121, ptr noundef @.str.17)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %135
124: ; preds = %120
%125 = load ptr, ptr %11, align 8
%126 = load i32, ptr %12, align 4
%127 = load i32, ptr %13, align 4
%128 = load ptr, ptr %6, align 8
%129 = call i32 @get_str(ptr noundef %128, ptr noundef @.str.17)
%130 = load i32, ptr %9, align 4
%131 = load i32, ptr %10, align 4
%132 = load ptr, ptr %6, align 8
%133 = call i32 @get_double(ptr noundef %132, ptr noundef @.str.18)
%134 = call i32 @write_eps(ptr noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %133)
br label %135
135: ; preds = %124, %120
%136 = load ptr, ptr %6, align 8
%137 = call i64 @is_assigned(ptr noundef %136, ptr noundef @.str.19)
%138 = icmp ne i64 %137, 0
br i1 %138, label %139, label %150
139: ; preds = %135
%140 = load ptr, ptr %11, align 8
%141 = load i32, ptr %12, align 4
%142 = load i32, ptr %13, align 4
%143 = load ptr, ptr %6, align 8
%144 = call i32 @get_str(ptr noundef %143, ptr noundef @.str.19)
%145 = load i32, ptr %9, align 4
%146 = load i32, ptr %10, align 4
%147 = load ptr, ptr %6, align 8
%148 = call i32 @get_double(ptr noundef %147, ptr noundef @.str.18)
%149 = call i32 @write_svg(ptr noundef %140, i32 noundef %141, i32 noundef %142, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef %148)
br label %150
150: ; preds = %139, %135
%151 = load ptr, ptr %8, align 8
%152 = call i32 @free(ptr noundef %151)
%153 = load ptr, ptr %11, align 8
%154 = call i32 @free(ptr noundef %153)
%155 = load ptr, ptr %6, align 8
%156 = call i32 @free_arguments(ptr noundef %155)
%157 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %157
}
declare ptr @process_arguments(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @read_pgm_image_double(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_str(ptr noundef, ptr noundef) #1
declare ptr @LineSegmentDetection(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @get_double(ptr noundef, ptr noundef) #1
declare i32 @get_int(ptr noundef, ptr noundef) #1
declare i64 @is_assigned(ptr noundef, ptr noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @fclose(ptr noundef) #1
declare i32 @write_pgm_image_int(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @write_eps(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_svg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free_arguments(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd0e4ga6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2200 x i8] c" #name: lsd #author: rafael grompone von gioi <grompone@gmail.com> #version: 1.6 of November 11, 2011 #year: 2007-2011 #desc: Line Segment Detector #opt: scale | s | double | 0.8 | 0.0 | | Scale image by Gaussian filter before processing. #opt: sigma_coef | c | double | 0.6 | 0.0 | | Sigma for Gaussian filter is computed as sigma_coef/scale. #opt: quant | q | double | 2.0 | 0.0 | | Bound to quantization error on the gradient norm. #opt: ang_th | a | double | 22.5 | 0.0 | 180.0 | Gradient angle tolerance in degrees. #opt: log_eps | e | double | 0.0 | | | Detection threshold, -log10(max. NFA) #opt: density_th | d | double | 0.7 | 0.0 | 1.0 | Minimal density of region points in a rectangle to be accepted. #opt: n_bins | b | int | 1024 | 1 | | Number of bins in 'ordering' of gradient modulus. #opt: reg | R | str | | | | Output image: owner LS number at each pixel. Scaled size. (PGM) #opt: epsfile | P | str | | | | Output line segments into EPS file 'epsfile'. #opt: svgfile | S | str | | | | Output line segments into SVG file 'svgfile'. #opt: width | W | double | 1.5 | | | LS width used in EPS and SVG files. If <=0, use detected values. #req: in | | str | | | | Input image (PGM) #req: out | | str | | | | Line Segment output (each ascii line: x1,y1,x2,y2,width,p,-log10(NFA) ) \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"in\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"scale\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"sigma_coef\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"quant\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"ang_th\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"log_eps\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"density_th\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"n_bins\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"out\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdout = dso_local global ptr null, align 8
@.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c"Error: unable to open ASCII output file.\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [47 x i8] c"Error: unable to close file while output file.\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"epsfile\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"width\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"svgfile\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = 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
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call ptr @process_arguments(ptr noundef @.str, i32 noundef %19, ptr noundef %20)
store ptr %21, ptr %6, align 8
store i32 7, ptr %13, align 4
%22 = load ptr, ptr %6, align 8
%23 = call i32 @get_str(ptr noundef %22, ptr noundef @.str.1)
%24 = call ptr @read_pgm_image_double(ptr noundef %9, ptr noundef %10, i32 noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
%29 = call i32 @get_double(ptr noundef %28, ptr noundef @.str.2)
%30 = load ptr, ptr %6, align 8
%31 = call i32 @get_double(ptr noundef %30, ptr noundef @.str.3)
%32 = load ptr, ptr %6, align 8
%33 = call i32 @get_double(ptr noundef %32, ptr noundef @.str.4)
%34 = load ptr, ptr %6, align 8
%35 = call i32 @get_double(ptr noundef %34, ptr noundef @.str.5)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @get_double(ptr noundef %36, ptr noundef @.str.6)
%38 = load ptr, ptr %6, align 8
%39 = call i32 @get_double(ptr noundef %38, ptr noundef @.str.7)
%40 = load ptr, ptr %6, align 8
%41 = call i32 @get_int(ptr noundef %40, ptr noundef @.str.8)
%42 = load ptr, ptr %6, align 8
%43 = call i64 @is_assigned(ptr noundef %42, ptr noundef @.str.9)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %2
br label %47
46: ; preds = %2
br label %47
47: ; preds = %46, %45
%48 = phi ptr [ %14, %45 ], [ null, %46 ]
%49 = call ptr @LineSegmentDetection(ptr noundef %12, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %39, i32 noundef %41, ptr noundef %48, ptr noundef %15, ptr noundef %16)
store ptr %49, ptr %11, align 8
%50 = load ptr, ptr %6, align 8
%51 = call i32 @get_str(ptr noundef %50, ptr noundef @.str.10)
%52 = call i64 @strcmp(i32 noundef %51, ptr noundef @.str.11)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = load ptr, ptr @stdout, align 8
store ptr %55, ptr %7, align 8
br label %60
56: ; preds = %47
%57 = load ptr, ptr %6, align 8
%58 = call i32 @get_str(ptr noundef %57, ptr noundef @.str.10)
%59 = call ptr @fopen(i32 noundef %58, ptr noundef @.str.12)
store ptr %59, ptr %7, align 8
br label %60
60: ; preds = %56, %54
%61 = load ptr, ptr %7, align 8
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 @error(ptr noundef @.str.13)
br label %65
65: ; preds = %63, %60
store i32 0, ptr %17, align 4
%66 = load i32, ptr %17, align 4
%67 = load i32, ptr %12, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph2, label %100
.lr.ph2: ; preds = %65
br label %69
69: ; preds = %.lr.ph2, %94
store i32 0, ptr %18, align 4
%70 = load i32, ptr %18, align 4
%71 = load i32, ptr %13, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph, label %91
.lr.ph: ; preds = %69
br label %73
73: ; preds = %.lr.ph, %85
%74 = load ptr, ptr %7, align 8
%75 = load ptr, ptr %11, align 8
%76 = load i32, ptr %17, align 4
%77 = load i32, ptr %13, align 4
%78 = mul nsw i32 %76, %77
%79 = load i32, ptr %18, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %75, i64 %81
%83 = load double, ptr %82, align 8
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.14, double noundef %83)
br label %85
85: ; preds = %73
%86 = load i32, ptr %18, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %18, align 4
%88 = load i32, ptr %18, align 4
%89 = load i32, ptr %13, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %73, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %91
91: ; preds = %._crit_edge, %69
%92 = load ptr, ptr %7, align 8
%93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.15)
br label %94
94: ; preds = %91
%95 = load i32, ptr %17, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %17, align 4
%97 = load i32, ptr %17, align 4
%98 = load i32, ptr %12, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %69, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %100
100: ; preds = %._crit_edge3, %65
%101 = load ptr, ptr %7, align 8
%102 = load ptr, ptr @stdout, align 8
%103 = icmp ne ptr %101, %102
br i1 %103, label %104, label %111
104: ; preds = %100
%105 = load ptr, ptr %7, align 8
%106 = call i64 @fclose(ptr noundef %105)
%107 = load i64, ptr @EOF, align 8
%108 = icmp eq i64 %106, %107
br i1 %108, label %109, label %111
109: ; preds = %104
%110 = call i32 @error(ptr noundef @.str.16)
br label %111
111: ; preds = %109, %104, %100
%112 = load ptr, ptr %6, align 8
%113 = call i64 @is_assigned(ptr noundef %112, ptr noundef @.str.9)
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %124
115: ; preds = %111
%116 = load ptr, ptr %14, align 8
%117 = load i32, ptr %15, align 4
%118 = load i32, ptr %16, align 4
%119 = load ptr, ptr %6, align 8
%120 = call i32 @get_str(ptr noundef %119, ptr noundef @.str.9)
%121 = call i32 @write_pgm_image_int(ptr noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %120)
%122 = load ptr, ptr %14, align 8
%123 = call i32 @free(ptr noundef %122)
br label %124
124: ; preds = %115, %111
%125 = load ptr, ptr %6, align 8
%126 = call i64 @is_assigned(ptr noundef %125, ptr noundef @.str.17)
%127 = icmp ne i64 %126, 0
br i1 %127, label %128, label %139
128: ; preds = %124
%129 = load ptr, ptr %11, align 8
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %13, align 4
%132 = load ptr, ptr %6, align 8
%133 = call i32 @get_str(ptr noundef %132, ptr noundef @.str.17)
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %10, align 4
%136 = load ptr, ptr %6, align 8
%137 = call i32 @get_double(ptr noundef %136, ptr noundef @.str.18)
%138 = call i32 @write_eps(ptr noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %137)
br label %139
139: ; preds = %128, %124
%140 = load ptr, ptr %6, align 8
%141 = call i64 @is_assigned(ptr noundef %140, ptr noundef @.str.19)
%142 = icmp ne i64 %141, 0
br i1 %142, label %143, label %154
143: ; preds = %139
%144 = load ptr, ptr %11, align 8
%145 = load i32, ptr %12, align 4
%146 = load i32, ptr %13, align 4
%147 = load ptr, ptr %6, align 8
%148 = call i32 @get_str(ptr noundef %147, ptr noundef @.str.19)
%149 = load i32, ptr %9, align 4
%150 = load i32, ptr %10, align 4
%151 = load ptr, ptr %6, align 8
%152 = call i32 @get_double(ptr noundef %151, ptr noundef @.str.18)
%153 = call i32 @write_svg(ptr noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %152)
br label %154
154: ; preds = %143, %139
%155 = load ptr, ptr %8, align 8
%156 = call i32 @free(ptr noundef %155)
%157 = load ptr, ptr %11, align 8
%158 = call i32 @free(ptr noundef %157)
%159 = load ptr, ptr %6, align 8
%160 = call i32 @free_arguments(ptr noundef %159)
%161 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %161
}
declare ptr @process_arguments(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @read_pgm_image_double(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_str(ptr noundef, ptr noundef) #1
declare ptr @LineSegmentDetection(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @get_double(ptr noundef, ptr noundef) #1
declare i32 @get_int(ptr noundef, ptr noundef) #1
declare i64 @is_assigned(ptr noundef, ptr noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @fclose(ptr noundef) #1
declare i32 @write_pgm_image_int(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @write_eps(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write_svg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free_arguments(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7so562_r.c'
source_filename = "/tmp/tmp7so562_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ucdn_get_mirrored(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @ucdn_mirror(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @ucdn_mirror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7so562_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ucdn_get_mirrored(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @ucdn_mirror(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @ucdn_mirror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1vn0tzm5.c'
source_filename = "/tmp/tmp1vn0tzm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omap_dispc_init() #0 {
%1 = alloca ptr, align 8
store ptr inttoptr (i64 1208288256 to ptr), ptr %1, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @Write32(ptr noundef %2, i32 noundef 16, i32 noundef 8213)
%4 = load ptr, ptr %1, align 8
%5 = call i32 @Write32(ptr noundef %4, i32 noundef 68, i32 noundef 4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @Write32(ptr noundef %6, i32 noundef 76, i32 noundef 8155354)
%8 = load ptr, ptr %1, align 8
%9 = call i32 @Write32(ptr noundef %8, i32 noundef 80, i32 noundef 0)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @Write32(ptr noundef %10, i32 noundef 84, i32 noundef 0)
%12 = load ptr, ptr %1, align 8
%13 = call i32 @Write32(ptr noundef %12, i32 noundef 88, i32 noundef 0)
%14 = load ptr, ptr %1, align 8
%15 = call i32 @Write32(ptr noundef %14, i32 noundef 108, i32 noundef 29192)
%16 = load ptr, ptr %1, align 8
%17 = call i32 @Write32(ptr noundef %16, i32 noundef 112, i32 noundef 65538)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @Write32(ptr noundef %18, i32 noundef 160, i32 noundef 0)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @Write32(ptr noundef %20, i32 noundef 304, i32 noundef 26804520)
%22 = load ptr, ptr %1, align 8
%23 = call i32 @Write32(ptr noundef %22, i32 noundef 308, i32 noundef 19529728)
%24 = load ptr, ptr %1, align 8
%25 = call i32 @Write32(ptr noundef %24, i32 noundef 312, i32 noundef -6488272)
%26 = load ptr, ptr %1, align 8
%27 = call i32 @Write32(ptr noundef %26, i32 noundef 316, i32 noundef 298)
%28 = load ptr, ptr %1, align 8
%29 = call i32 @Write32(ptr noundef %28, i32 noundef 320, i32 noundef 517)
%30 = load ptr, ptr %1, align 8
%31 = call i32 @Write32(ptr noundef %30, i32 noundef 448, i32 noundef 26804520)
%32 = load ptr, ptr %1, align 8
%33 = call i32 @Write32(ptr noundef %32, i32 noundef 452, i32 noundef 19529728)
%34 = load ptr, ptr %1, align 8
%35 = call i32 @Write32(ptr noundef %34, i32 noundef 456, i32 noundef -6488272)
%36 = load ptr, ptr %1, align 8
%37 = call i32 @Write32(ptr noundef %36, i32 noundef 460, i32 noundef 298)
%38 = load ptr, ptr %1, align 8
%39 = call i32 @Write32(ptr noundef %38, i32 noundef 464, i32 noundef 517)
%40 = load ptr, ptr %1, align 8
%41 = call i32 @Write32(ptr noundef %40, i32 noundef 64, i32 noundef 99241)
br label %42
42: ; preds = %47, %0
%43 = load ptr, ptr %1, align 8
%44 = call i32 @Read32(ptr noundef %43, i32 noundef 64)
%45 = and i32 %44, 32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
br label %42, !llvm.loop !6
48: ; preds = %42
ret void
}
declare i32 @Write32(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Read32(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/tmp1vn0tzm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omap_dispc_init() #0 {
%1 = alloca ptr, align 8
store ptr inttoptr (i64 1208288256 to ptr), ptr %1, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @Write32(ptr noundef %2, i32 noundef 16, i32 noundef 8213)
%4 = load ptr, ptr %1, align 8
%5 = call i32 @Write32(ptr noundef %4, i32 noundef 68, i32 noundef 4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @Write32(ptr noundef %6, i32 noundef 76, i32 noundef 8155354)
%8 = load ptr, ptr %1, align 8
%9 = call i32 @Write32(ptr noundef %8, i32 noundef 80, i32 noundef 0)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @Write32(ptr noundef %10, i32 noundef 84, i32 noundef 0)
%12 = load ptr, ptr %1, align 8
%13 = call i32 @Write32(ptr noundef %12, i32 noundef 88, i32 noundef 0)
%14 = load ptr, ptr %1, align 8
%15 = call i32 @Write32(ptr noundef %14, i32 noundef 108, i32 noundef 29192)
%16 = load ptr, ptr %1, align 8
%17 = call i32 @Write32(ptr noundef %16, i32 noundef 112, i32 noundef 65538)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @Write32(ptr noundef %18, i32 noundef 160, i32 noundef 0)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @Write32(ptr noundef %20, i32 noundef 304, i32 noundef 26804520)
%22 = load ptr, ptr %1, align 8
%23 = call i32 @Write32(ptr noundef %22, i32 noundef 308, i32 noundef 19529728)
%24 = load ptr, ptr %1, align 8
%25 = call i32 @Write32(ptr noundef %24, i32 noundef 312, i32 noundef -6488272)
%26 = load ptr, ptr %1, align 8
%27 = call i32 @Write32(ptr noundef %26, i32 noundef 316, i32 noundef 298)
%28 = load ptr, ptr %1, align 8
%29 = call i32 @Write32(ptr noundef %28, i32 noundef 320, i32 noundef 517)
%30 = load ptr, ptr %1, align 8
%31 = call i32 @Write32(ptr noundef %30, i32 noundef 448, i32 noundef 26804520)
%32 = load ptr, ptr %1, align 8
%33 = call i32 @Write32(ptr noundef %32, i32 noundef 452, i32 noundef 19529728)
%34 = load ptr, ptr %1, align 8
%35 = call i32 @Write32(ptr noundef %34, i32 noundef 456, i32 noundef -6488272)
%36 = load ptr, ptr %1, align 8
%37 = call i32 @Write32(ptr noundef %36, i32 noundef 460, i32 noundef 298)
%38 = load ptr, ptr %1, align 8
%39 = call i32 @Write32(ptr noundef %38, i32 noundef 464, i32 noundef 517)
%40 = load ptr, ptr %1, align 8
%41 = call i32 @Write32(ptr noundef %40, i32 noundef 64, i32 noundef 99241)
br label %42
42: ; preds = %42, %0
%43 = load ptr, ptr %1, align 8
%44 = call i32 @Read32(ptr noundef %43, i32 noundef 64)
%45 = and i32 %44, 32
%46 = icmp ne i32 %45, 0
br i1 %46, label %42, label %47, !llvm.loop !6
47: ; preds = %42
ret void
}
declare i32 @Write32(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Read32(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/tmpgs6esc_b.c'
source_filename = "/tmp/tmpgs6esc_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
store i32 2, ptr %16, align 4
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %11, align 4
%22 = call i32 @setleu32(ptr noundef %20, i32 noundef 2, i32 noundef %21)
%23 = load ptr, ptr %8, align 8
%24 = call i32 @setleu32(ptr noundef %23, i32 noundef 6, i32 noundef 12)
ret void
}
declare i32 @setleu32(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/tmpgs6esc_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
store i32 2, ptr %16, align 4
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %11, align 4
%22 = call i32 @setleu32(ptr noundef %20, i32 noundef 2, i32 noundef %21)
%23 = load ptr, ptr %8, align 8
%24 = call i32 @setleu32(ptr noundef %23, i32 noundef 6, i32 noundef 12)
ret void
}
declare i32 @setleu32(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/tmpq5dpaqm8.c'
source_filename = "/tmp/tmpq5dpaqm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @album(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @mls(i32 noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @mls(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/tmpq5dpaqm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @album(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @mls(i32 noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @mls(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/tmpzq7b59td.c'
source_filename = "/tmp/tmpzq7b59td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_weighted_stddev(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sle i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %81
17: ; preds = %3
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %60, %17
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %63
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = load double, ptr %11, align 8
%29 = fadd double %28, %27
store double %29, ptr %11, align 8
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load double, ptr %10, align 8
%41 = call double @llvm.fmuladd.f64(double %34, double %39, double %40)
store double %41, ptr %10, align 8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = fmul double %46, %51
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %53, i64 %55
%57 = load double, ptr %56, align 8
%58 = load double, ptr %9, align 8
%59 = call double @llvm.fmuladd.f64(double %52, double %57, double %58)
store double %59, ptr %9, align 8
br label %60
60: ; preds = %22
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
br label %18, !llvm.loop !6
63: ; preds = %18
%64 = load double, ptr %11, align 8
%65 = fcmp oeq double %64, 0.000000e+00
br i1 %65, label %66, label %67
66: ; preds = %63
store double 0.000000e+00, ptr %4, align 8
br label %81
67: ; preds = %63
%68 = load double, ptr %10, align 8
%69 = load double, ptr %11, align 8
%70 = fdiv double %68, %69
store double %70, ptr %12, align 8
%71 = load double, ptr %9, align 8
%72 = load double, ptr %11, align 8
%73 = fdiv double %71, %72
store double %73, ptr %13, align 8
%74 = load double, ptr %13, align 8
%75 = load double, ptr %12, align 8
%76 = load double, ptr %12, align 8
%77 = fneg double %75
%78 = call double @llvm.fmuladd.f64(double %77, double %76, double %74)
%79 = call i32 @fabs(double noundef %78)
%80 = call double @sqrt(i32 noundef %79)
store double %80, ptr %4, align 8
br label %81
81: ; preds = %67, %66, %16
%82 = load double, ptr %4, align 8
ret double %82
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @sqrt(i32 noundef) #2
declare i32 @fabs(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzq7b59td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_weighted_stddev(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sle i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %83
17: ; preds = %3
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %65
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %59
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = load double, ptr %11, align 8
%28 = fadd double %27, %26
store double %28, ptr %11, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = load double, ptr %10, align 8
%40 = call double @llvm.fmuladd.f64(double %33, double %38, double %39)
store double %40, ptr %10, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = load double, ptr %44, align 8
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = fmul double %45, %50
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = load double, ptr %9, align 8
%58 = call double @llvm.fmuladd.f64(double %51, double %56, double %57)
store double %58, ptr %9, align 8
br label %59
59: ; preds = %21
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %17
%66 = load double, ptr %11, align 8
%67 = fcmp oeq double %66, 0.000000e+00
br i1 %67, label %68, label %69
68: ; preds = %65
store double 0.000000e+00, ptr %4, align 8
br label %83
69: ; preds = %65
%70 = load double, ptr %10, align 8
%71 = load double, ptr %11, align 8
%72 = fdiv double %70, %71
store double %72, ptr %12, align 8
%73 = load double, ptr %9, align 8
%74 = load double, ptr %11, align 8
%75 = fdiv double %73, %74
store double %75, ptr %13, align 8
%76 = load double, ptr %13, align 8
%77 = load double, ptr %12, align 8
%78 = load double, ptr %12, align 8
%79 = fneg double %77
%80 = call double @llvm.fmuladd.f64(double %79, double %78, double %76)
%81 = call i32 @fabs(double noundef %80)
%82 = call double @sqrt(i32 noundef %81)
store double %82, ptr %4, align 8
br label %83
83: ; preds = %69, %68, %16
%84 = load double, ptr %4, align 8
ret double %84
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @sqrt(i32 noundef) #2
declare i32 @fabs(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpme79zc0a.c'
source_filename = "/tmp/tmpme79zc0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @strtoll(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i64 %10
}
declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpme79zc0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @strtoll(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i64 %10
}
declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp83i6pssh.c'
source_filename = "/tmp/tmp83i6pssh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%2d!=%ld\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %3, align 8
store i32 1, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i64 @f(i32 noundef %8)
store i64 %9, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = load i64, ptr %3, align 8
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i64 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 i64 @f(i32 noundef) #1
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/tmp83i6pssh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%2d!=%ld\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %3, align 8
store i32 1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 10
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 = call i64 @f(i32 noundef %7)
store i64 %8, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = load i64, ptr %3, align 8
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i64 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 sle i32 %15, 10
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 i64 @f(i32 noundef) #1
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/tmpbhf0sd6b.c'
source_filename = "/tmp/tmpbhf0sd6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbhf0sd6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_e68va8.c'
source_filename = "/tmp/tmph_e68va8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_uint64_t_uint32_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i64, ptr %13, i64 %15
%17 = load i64, ptr %16, align 8
%18 = add nsw i64 %17, 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
store i64 %18, ptr %22, align 8
br label %23
23: ; preds = %12
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_e68va8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_uint64_t_uint32_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i64, ptr %12, i64 %14
%16 = load i64, ptr %15, align 8
%17 = add nsw i64 %16, 1
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
store i64 %17, ptr %21, align 8
br label %22
22: ; preds = %11
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0uqepdi8.c'
source_filename = "/tmp/tmp0uqepdi8.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@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/tmp0uqepdi8.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@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/tmpu152panq.c'
source_filename = "/tmp/tmpu152panq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_close() #0 {
%1 = call i32 (...) @bdclose()
ret void
}
declare i32 @bdclose(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu152panq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_close() #0 {
%1 = call i32 (...) @bdclose()
ret void
}
declare i32 @bdclose(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp14rmvrm9.c'
source_filename = "/tmp/tmp14rmvrm9.c"
target datalayout = "e-m:e-p270: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/tmp14rmvrm9.c"
target datalayout = "e-m:e-p270: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/tmplszreydl.c'
source_filename = "/tmp/tmplszreydl.c"
target datalayout = "e-m:e-p270: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/tmplszreydl.c"
target datalayout = "e-m:e-p270: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/tmpg803vhi2.c'
source_filename = "/tmp/tmpg803vhi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDIPortReceive(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @MIDIPortReceiveFrom(ptr noundef %7, ptr noundef null, ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @MIDIPortReceiveFrom(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg803vhi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDIPortReceive(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @MIDIPortReceiveFrom(ptr noundef %7, ptr noundef null, ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @MIDIPortReceiveFrom(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_y7nteua.c'
source_filename = "/tmp/tmp_y7nteua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @ntohl(i32 noundef %6)
ret i32 %7
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ntohl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_y7nteua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @ntohl(i32 noundef %6)
ret i32 %7
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ntohl(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/tmp5j9bunz5.c'
source_filename = "/tmp/tmp5j9bunz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @isalnum(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 i64 @isalpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @isdigit(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isalpha(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5j9bunz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @isalnum(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 i64 @isalpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @isdigit(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isalpha(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcos07d52.c'
source_filename = "/tmp/tmpcos07d52.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"semtool - A utility for tinkering with semaphores\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0AUSAGE: semtool4 (c)reate <semcount>\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c" (l)ock <sem #>\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c" (u)nlock <sem #>\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" (d)elete\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c" (m)ode <mode>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcos07d52.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"semtool - A utility for tinkering with semaphores\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\0AUSAGE: semtool4 (c)reate <semcount>\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c" (l)ock <sem #>\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c" (u)nlock <sem #>\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" (d)elete\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c" (m)ode <mode>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9l3ngw8y.c'
source_filename = "/tmp/tmp9l3ngw8y.c"
target datalayout = "e-m:e-p270: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/tmp9l3ngw8y.c"
target datalayout = "e-m:e-p270: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/tmpbtdnlk5k.c'
source_filename = "/tmp/tmpbtdnlk5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"without tzset()\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"tzname: [%s][%s]\0A\00", align 1
@tzname = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [14 x i8] c"with tzset()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load ptr, ptr @tzname, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr @tzname, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %8)
%10 = call i32 (...) @tzset()
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = load ptr, ptr @tzname, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr @tzname, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tzset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtdnlk5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"without tzset()\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"tzname: [%s][%s]\0A\00", align 1
@tzname = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [14 x i8] c"with tzset()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load ptr, ptr @tzname, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr @tzname, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %8)
%10 = call i32 (...) @tzset()
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = load ptr, ptr @tzname, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr @tzname, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tzset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa4m6osvz.c'
source_filename = "/tmp/tmpa4m6osvz.c"
target datalayout = "e-m:e-p270: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/tmpa4m6osvz.c"
target datalayout = "e-m:e-p270: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/tmpi4f8tq9l.c'
source_filename = "/tmp/tmpi4f8tq9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @section_element() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 0, ptr %5, align 8
%6 = call i64 @mgetsize(ptr noundef %1, ptr noundef %2)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %0
%10 = call i64 (...) @msynch()
%11 = call i64 (...) @mgetuleb128()
store i64 %11, ptr %4, align 8
%12 = call i32 @mputuleb128(i64 noundef %11)
%13 = call i64 (...) @msynch()
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, %13
store i64 %15, ptr %5, align 8
br label %16
16: ; preds = %20, %9
%17 = load i64, ptr %4, align 8
%18 = add i64 %17, -1
store i64 %18, ptr %4, align 8
%19 = icmp ne i64 %17, 0
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = call i64 (...) @mgetuleb128()
%22 = call i32 @mputuleb128(i64 noundef %21)
%23 = call i64 (...) @mgetuleb128()
%24 = call i32 @mputuleb128(i64 noundef %23)
%25 = call i64 (...) @mgetuleb128()
%26 = call i32 @mputuleb128(i64 noundef %25)
%27 = call i64 (...) @msynch()
%28 = load i64, ptr %5, align 8
%29 = add nsw i64 %28, %27
store i64 %29, ptr %5, align 8
br label %16, !llvm.loop !6
30: ; preds = %16
%31 = load i64, ptr %1, align 8
%32 = load i64, ptr %2, align 8
%33 = load i64, ptr %5, align 8
%34 = call i64 @msetsize(i64 noundef %31, i64 noundef %32, i64 noundef %33)
%35 = load i64, ptr %5, align 8
%36 = add nsw i64 %35, %34
store i64 %36, ptr %5, align 8
br label %41
37: ; preds = %0
%38 = call i64 (...) @msynch()
%39 = load i64, ptr %5, align 8
%40 = add nsw i64 %39, %38
store i64 %40, ptr %5, align 8
br label %41
41: ; preds = %37, %30
%42 = load i64, ptr %5, align 8
ret i64 %42
}
declare i64 @mgetsize(ptr noundef, ptr noundef) #1
declare i64 @msynch(...) #1
declare i32 @mputuleb128(i64 noundef) #1
declare i64 @mgetuleb128(...) #1
declare i64 @msetsize(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi4f8tq9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @section_element() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 0, ptr %5, align 8
%6 = call i64 @mgetsize(ptr noundef %1, ptr noundef %2)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %39
9: ; preds = %0
%10 = call i64 (...) @msynch()
%11 = call i64 (...) @mgetuleb128()
store i64 %11, ptr %4, align 8
%12 = call i32 @mputuleb128(i64 noundef %11)
%13 = call i64 (...) @msynch()
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, %13
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %4, align 8
%17 = add i64 %16, -1
store i64 %17, ptr %4, align 8
%18 = icmp ne i64 %16, 0
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %9
br label %19
19: ; preds = %.lr.ph, %19
%20 = call i64 (...) @mgetuleb128()
%21 = call i32 @mputuleb128(i64 noundef %20)
%22 = call i64 (...) @mgetuleb128()
%23 = call i32 @mputuleb128(i64 noundef %22)
%24 = call i64 (...) @mgetuleb128()
%25 = call i32 @mputuleb128(i64 noundef %24)
%26 = call i64 (...) @msynch()
%27 = load i64, ptr %5, align 8
%28 = add nsw i64 %27, %26
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %4, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %4, align 8
%31 = icmp ne i64 %29, 0
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %32
32: ; preds = %._crit_edge, %9
%33 = load i64, ptr %1, align 8
%34 = load i64, ptr %2, align 8
%35 = load i64, ptr %5, align 8
%36 = call i64 @msetsize(i64 noundef %33, i64 noundef %34, i64 noundef %35)
%37 = load i64, ptr %5, align 8
%38 = add nsw i64 %37, %36
store i64 %38, ptr %5, align 8
br label %43
39: ; preds = %0
%40 = call i64 (...) @msynch()
%41 = load i64, ptr %5, align 8
%42 = add nsw i64 %41, %40
store i64 %42, ptr %5, align 8
br label %43
43: ; preds = %39, %32
%44 = load i64, ptr %5, align 8
ret i64 %44
}
declare i64 @mgetsize(ptr noundef, ptr noundef) #1
declare i64 @msynch(...) #1
declare i32 @mputuleb128(i64 noundef) #1
declare i64 @mgetuleb128(...) #1
declare i64 @msetsize(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpshmoti0m.c'
source_filename = "/tmp/tmpshmoti0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i64 0, align 8
@ESRCH = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpshmoti0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i64 0, align 8
@ESRCH = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6nuvthaj.c'
source_filename = "/tmp/tmp6nuvthaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo1()
%3 = call i32 (...) @foo2()
%4 = add nsw i32 %2, %3
%5 = call i32 (...) @foo3()
%6 = add nsw i32 %4, %5
%7 = call i32 (...) @foo4()
%8 = add nsw i32 %6, %7
%9 = call i32 (...) @foo5()
%10 = add nsw i32 %8, %9
%11 = call i32 (...) @foo6()
%12 = add nsw i32 %10, %11
%13 = call i32 (...) @foo7()
%14 = add nsw i32 %12, %13
%15 = call i32 (...) @foo8()
%16 = add nsw i32 %14, %15
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
declare i32 @foo3(...) #1
declare i32 @foo4(...) #1
declare i32 @foo5(...) #1
declare i32 @foo6(...) #1
declare i32 @foo7(...) #1
declare i32 @foo8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nuvthaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo1()
%3 = call i32 (...) @foo2()
%4 = add nsw i32 %2, %3
%5 = call i32 (...) @foo3()
%6 = add nsw i32 %4, %5
%7 = call i32 (...) @foo4()
%8 = add nsw i32 %6, %7
%9 = call i32 (...) @foo5()
%10 = add nsw i32 %8, %9
%11 = call i32 (...) @foo6()
%12 = add nsw i32 %10, %11
%13 = call i32 (...) @foo7()
%14 = add nsw i32 %12, %13
%15 = call i32 (...) @foo8()
%16 = add nsw i32 %14, %15
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
declare i32 @foo3(...) #1
declare i32 @foo4(...) #1
declare i32 @foo5(...) #1
declare i32 @foo6(...) #1
declare i32 @foo7(...) #1
declare i32 @foo8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk3friyf.c'
source_filename = "/tmp/tmphk3friyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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/tmphk3friyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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/tmpofbwwbor.c'
source_filename = "/tmp/tmpofbwwbor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_mov2imm_compact(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @emit_movimm(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = icmp slt i32 %14, 128
br i1 %15, label %16, label %28
16: ; preds = %4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %17, %18
%20 = icmp sge i32 %19, -128
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %23, %24
%26 = load i32, ptr %8, align 4
%27 = call i32 @emit_addimm(i32 noundef %22, i32 noundef %25, i32 noundef %26)
br label %32
28: ; preds = %16, %4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @emit_movimm(i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %28, %21
ret void
}
declare i32 @emit_movimm(i32 noundef, i32 noundef) #1
declare i32 @emit_addimm(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/tmpofbwwbor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_mov2imm_compact(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @emit_movimm(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = icmp slt i32 %14, 128
br i1 %15, label %16, label %28
16: ; preds = %4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %17, %18
%20 = icmp sge i32 %19, -128
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %23, %24
%26 = load i32, ptr %8, align 4
%27 = call i32 @emit_addimm(i32 noundef %22, i32 noundef %25, i32 noundef %26)
br label %32
28: ; preds = %16, %4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @emit_movimm(i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %28, %21
ret void
}
declare i32 @emit_movimm(i32 noundef, i32 noundef) #1
declare i32 @emit_addimm(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/tmp0k6szeo9.c'
source_filename = "/tmp/tmp0k6szeo9.c"
target datalayout = "e-m:e-p270: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/tmp0k6szeo9.c"
target datalayout = "e-m:e-p270: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/tmpzqzlrcux.c'
source_filename = "/tmp/tmpzqzlrcux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"last accessed: %s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"last modified: %s\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"last change: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca %struct.stat, align 4
%2 = call i32 @stat(ptr noundef @.str, ptr noundef %1)
%3 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 2
%4 = call ptr @ctime(ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 1
%7 = call ptr @ctime(ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%10 = call ptr @ctime(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str.3, ptr noundef %10)
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqzlrcux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"last accessed: %s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"last modified: %s\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"last change: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca %struct.stat, align 4
%2 = call i32 @stat(ptr noundef @.str, ptr noundef %1)
%3 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 2
%4 = call ptr @ctime(ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 1
%7 = call ptr @ctime(ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%10 = call ptr @ctime(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str.3, ptr noundef %10)
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiueej4bn.c'
source_filename = "/tmp/tmpiueej4bn.c"
target datalayout = "e-m:e-p270: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/tmpiueej4bn.c"
target datalayout = "e-m:e-p270: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/tmp8zs4qaks.c'
source_filename = "/tmp/tmp8zs4qaks.c"
target datalayout = "e-m:e-p270: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/tmp8zs4qaks.c"
target datalayout = "e-m:e-p270: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/tmpq34illql.c'
source_filename = "/tmp/tmpq34illql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(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 i32 @draw(ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @draw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq34illql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(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 i32 @draw(ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @draw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqyyehth3.c'
source_filename = "/tmp/tmpqyyehth3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"n:\00", align 1
@optarg = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"missing file name\0A\00", align 1
@F_OK = dso_local global i32 0, align 4
@R_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"cannot open %s for reading: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@_IOLBF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"read line\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Error on open: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %19, label %13
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %13, %2
%20 = load i32, ptr @EXIT_SUCCESS, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @print_usage(i32 noundef %20, ptr noundef %23)
br label %25
25: ; preds = %19, %13
br label %26
26: ; preds = %49, %25
%27 = load i32, ptr %4, align 4
%28 = load ptr, ptr %5, align 8
%29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1)
store i32 %29, ptr %8, align 4
%30 = icmp ne i32 %29, -1
br i1 %30, label %31, label %50
31: ; preds = %26
%32 = load i32, ptr %8, align 4
switch i32 %32, label %43 [
i32 110, label %33
]
33: ; preds = %31
%34 = load i32, ptr @optarg, align 4
%35 = call i32 @atoi(i32 noundef %34)
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = load i32, ptr %9, align 4
br label %41
40: ; preds = %33
br label %41
41: ; preds = %40, %38
%42 = phi i32 [ %39, %38 ], [ 10, %40 ]
store i32 %42, ptr %9, align 4
br label %49
43: ; preds = %31
%44 = load i32, ptr @EXIT_FAILURE, align 4
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @print_usage(i32 noundef %44, ptr noundef %47)
br label %49
49: ; preds = %43, %41
br label %26, !llvm.loop !6
50: ; preds = %26
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr @optind, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2)
br label %77
56: ; preds = %50
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr @optind, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr @F_OK, align 4
%63 = load i32, ptr @R_OK, align 4
%64 = or i32 %62, %63
%65 = call i32 @access(ptr noundef %61, i32 noundef %64)
%66 = icmp eq i32 %65, -1
br i1 %66, label %67, label %76
67: ; preds = %56
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr @optind, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr @errno, align 4
%74 = call i32 @strerror(i32 noundef %73)
%75 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.3, ptr noundef %72, i32 noundef %74)
br label %76
76: ; preds = %67, %56
br label %77
77: ; preds = %76, %54
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr @optind, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr @O_RDONLY, align 4
%84 = call i32 @open(ptr noundef %82, i32 noundef %83)
store i32 %84, ptr %6, align 4
%85 = load i32, ptr %6, align 4
%86 = icmp ne i32 %85, -1
br i1 %86, label %87, label %106
87: ; preds = %77
%88 = load i32, ptr %6, align 4
%89 = call ptr @fdopen(i32 noundef %88, ptr noundef @.str.4)
store ptr %89, ptr %7, align 8
%90 = load ptr, ptr %7, align 8
%91 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%92 = load i32, ptr @_IOLBF, align 4
%93 = call i32 @setvbuf(ptr noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef 4096)
br label %94
94: ; preds = %99, %87
%95 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%96 = load ptr, ptr %7, align 8
%97 = call ptr @fgets(ptr noundef %95, i32 noundef 4096, ptr noundef %96)
%98 = icmp ne ptr %97, null
br i1 %98, label %99, label %103
99: ; preds = %94
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%101 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %101)
br label %94, !llvm.loop !8
103: ; preds = %94
%104 = load ptr, ptr %7, align 8
%105 = call i32 @fclose(ptr noundef %104)
br label %110
106: ; preds = %77
%107 = load i32, ptr @errno, align 4
%108 = call i32 @strerror(i32 noundef %107)
%109 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.7, i32 noundef %108)
br label %110
110: ; preds = %106, %103
%111 = load i32, ptr @EXIT_SUCCESS, align 4
%112 = call i32 @exit(i32 noundef %111) #3
unreachable
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @print_usage(i32 noundef, ptr noundef) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @err_exit(ptr noundef, ...) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyyehth3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"n:\00", align 1
@optarg = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"missing file name\0A\00", align 1
@F_OK = dso_local global i32 0, align 4
@R_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"cannot open %s for reading: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@_IOLBF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"read line\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Error on open: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %19, label %13
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %13, %2
%20 = load i32, ptr @EXIT_SUCCESS, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @print_usage(i32 noundef %20, ptr noundef %23)
br label %25
25: ; preds = %19, %13
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str.1)
store i32 %28, ptr %8, align 4
%29 = icmp ne i32 %28, -1
br i1 %29, label %.lr.ph, label %53
.lr.ph: ; preds = %25
br label %30
30: ; preds = %.lr.ph, %48
%31 = load i32, ptr %8, align 4
switch i32 %31, label %42 [
i32 110, label %32
]
32: ; preds = %30
%33 = load i32, ptr @optarg, align 4
%34 = call i32 @atoi(i32 noundef %33)
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = load i32, ptr %9, align 4
br label %40
39: ; preds = %32
br label %40
40: ; preds = %39, %37
%41 = phi i32 [ %38, %37 ], [ 10, %39 ]
store i32 %41, ptr %9, align 4
br label %48
42: ; preds = %30
%43 = load i32, ptr @EXIT_FAILURE, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 0
%46 = load ptr, ptr %45, align 8
%47 = call i32 @print_usage(i32 noundef %43, ptr noundef %46)
br label %48
48: ; preds = %42, %40
%49 = load i32, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = call i32 @getopt(i32 noundef %49, ptr noundef %50, ptr noundef @.str.1)
store i32 %51, ptr %8, align 4
%52 = icmp ne i32 %51, -1
br i1 %52, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %53
53: ; preds = %._crit_edge, %25
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr @optind, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2)
br label %80
59: ; preds = %53
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr @optind, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr @F_OK, align 4
%66 = load i32, ptr @R_OK, align 4
%67 = or i32 %65, %66
%68 = call i32 @access(ptr noundef %64, i32 noundef %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %79
70: ; preds = %59
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr @optind, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr @errno, align 4
%77 = call i32 @strerror(i32 noundef %76)
%78 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.3, ptr noundef %75, i32 noundef %77)
br label %79
79: ; preds = %70, %59
br label %80
80: ; preds = %79, %57
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr @optind, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr @O_RDONLY, align 4
%87 = call i32 @open(ptr noundef %85, i32 noundef %86)
store i32 %87, ptr %6, align 4
%88 = load i32, ptr %6, align 4
%89 = icmp ne i32 %88, -1
br i1 %89, label %90, label %111
90: ; preds = %80
%91 = load i32, ptr %6, align 4
%92 = call ptr @fdopen(i32 noundef %91, ptr noundef @.str.4)
store ptr %92, ptr %7, align 8
%93 = load ptr, ptr %7, align 8
%94 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%95 = load i32, ptr @_IOLBF, align 4
%96 = call i32 @setvbuf(ptr noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef 4096)
%97 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%98 = load ptr, ptr %7, align 8
%99 = call ptr @fgets(ptr noundef %97, i32 noundef 4096, ptr noundef %98)
%100 = icmp ne ptr %99, null
br i1 %100, label %.lr.ph2, label %108
.lr.ph2: ; preds = %90
br label %101
101: ; preds = %.lr.ph2, %101
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%103 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %103)
%105 = load ptr, ptr %7, align 8
%106 = call ptr @fgets(ptr noundef %97, i32 noundef 4096, ptr noundef %105)
%107 = icmp ne ptr %106, null
br i1 %107, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %101
br label %108
108: ; preds = %._crit_edge3, %90
%109 = load ptr, ptr %7, align 8
%110 = call i32 @fclose(ptr noundef %109)
br label %115
111: ; preds = %80
%112 = load i32, ptr @errno, align 4
%113 = call i32 @strerror(i32 noundef %112)
%114 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.7, i32 noundef %113)
br label %115
115: ; preds = %111, %108
%116 = load i32, ptr @EXIT_SUCCESS, align 4
%117 = call i32 @exit(i32 noundef %116) #3
unreachable
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @print_usage(i32 noundef, ptr noundef) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @err_exit(ptr noundef, ...) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp10ggu1ae.c'
source_filename = "/tmp/tmp10ggu1ae.c"
target datalayout = "e-m:e-p270: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/tmp10ggu1ae.c"
target datalayout = "e-m:e-p270: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/tmpjw9m4a5p.c'
source_filename = "/tmp/tmpjw9m4a5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @asm_func()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @asm_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjw9m4a5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @asm_func()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @asm_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmwvozivh.c'
source_filename = "/tmp/tmpmwvozivh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_st3_value() #0 {
%1 = call i32 (...) @get_st1_prop()
%2 = call i32 (...) @get_st2_prop()
%3 = add nsw i32 %1, %2
ret i32 %3
}
declare i32 @get_st1_prop(...) #1
declare i32 @get_st2_prop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmwvozivh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_st3_value() #0 {
%1 = call i32 (...) @get_st1_prop()
%2 = call i32 (...) @get_st2_prop()
%3 = add nsw i32 %1, %2
ret i32 %3
}
declare i32 @get_st1_prop(...) #1
declare i32 @get_st2_prop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvjdlcwla.c'
source_filename = "/tmp/tmpvjdlcwla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [32 x i8] c"[Formula] Physical Address: %X\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"[Contact] Physical Address: %X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = call i32 @formula(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = call i32 @contact(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.2, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @formula(i32 noundef) #1
declare i32 @contact(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/tmpvjdlcwla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [32 x i8] c"[Formula] Physical Address: %X\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"[Contact] Physical Address: %X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = call i32 @formula(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = call i32 @contact(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.2, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @formula(i32 noundef) #1
declare i32 @contact(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/tmpnncmsco9.c'
source_filename = "/tmp/tmpnncmsco9.c"
target datalayout = "e-m:e-p270: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/tmpnncmsco9.c"
target datalayout = "e-m:e-p270: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/tmp98xw56yt.c'
source_filename = "/tmp/tmp98xw56yt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_AntennaOff() #0 {
%1 = call i32 @MFRC522_ClearBitMask(i32 noundef 20, i32 noundef 3)
ret void
}
declare i32 @MFRC522_ClearBitMask(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/tmp98xw56yt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_AntennaOff() #0 {
%1 = call i32 @MFRC522_ClearBitMask(i32 noundef 20, i32 noundef 3)
ret void
}
declare i32 @MFRC522_ClearBitMask(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.