llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmph8fn1w8k.c'
source_filename = "/tmp/tmph8fn1w8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"CANT OPEN %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %2
%19 = load ptr, ptr %4, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %23, %18
store i64 0, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @size(ptr noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = call i32 @size(ptr noundef %29)
%31 = call i64 @min(i32 noundef %28, i32 noundef %30)
store i64 %31, ptr %8, align 8
br label %32
32: ; preds = %45, %26
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %36, label %48
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fgetc(ptr noundef %37)
store i32 %38, ptr %9, align 4
%39 = load ptr, ptr %5, align 8
%40 = call i32 @fgetc(ptr noundef %39)
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %10, align 4
%43 = xor i32 %41, %42
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
br label %45
45: ; preds = %36
%46 = load i64, ptr %7, align 8
%47 = add nsw i64 %46, 1
store i64 %47, ptr %7, align 8
br label %32, !llvm.loop !6
48: ; preds = %32
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @min(i32 noundef, i32 noundef) #1
declare i32 @size(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmph8fn1w8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"CANT OPEN %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %2
%19 = load ptr, ptr %4, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %23, %18
store i64 0, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @size(ptr noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = call i32 @size(ptr noundef %29)
%31 = call i64 @min(i32 noundef %28, i32 noundef %30)
store i64 %31, ptr %8, align 8
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %8, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %.lr.ph, label %50
.lr.ph: ; preds = %26
br label %35
35: ; preds = %.lr.ph, %44
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fgetc(ptr noundef %36)
store i32 %37, ptr %9, align 4
%38 = load ptr, ptr %5, align 8
%39 = call i32 @fgetc(ptr noundef %38)
store i32 %39, ptr %10, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %10, align 4
%42 = xor i32 %40, %41
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42)
br label %44
44: ; preds = %35
%45 = load i64, ptr %7, align 8
%46 = add nsw i64 %45, 1
store i64 %46, ptr %7, align 8
%47 = load i64, ptr %7, align 8
%48 = load i64, ptr %8, align 8
%49 = icmp ult i64 %47, %48
br i1 %49, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %26
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @min(i32 noundef, i32 noundef) #1
declare i32 @size(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmpb0qr9s.c'
source_filename = "/tmp/tmpmpb0qr9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap___udivdi3(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 @__normal___udivdi3(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @__normal___udivdi3(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/tmpmpb0qr9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap___udivdi3(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 @__normal___udivdi3(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @__normal___udivdi3(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/tmpsko0rlbs.c'
source_filename = "/tmp/tmpsko0rlbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_random.lfsr = internal global i32 44257, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_random() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @get_random.lfsr, align 4
%3 = ashr i32 %2, 0
%4 = load i32, ptr @get_random.lfsr, align 4
%5 = ashr i32 %4, 2
%6 = xor i32 %3, %5
%7 = load i32, ptr @get_random.lfsr, align 4
%8 = ashr i32 %7, 3
%9 = xor i32 %6, %8
%10 = load i32, ptr @get_random.lfsr, align 4
%11 = ashr i32 %10, 5
%12 = xor i32 %9, %11
%13 = and i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = load i32, ptr @get_random.lfsr, align 4
%15 = ashr i32 %14, 1
%16 = load i32, ptr %1, align 4
%17 = shl i32 %16, 15
%18 = or i32 %15, %17
store i32 %18, ptr @get_random.lfsr, align 4
%19 = load i32, ptr @get_random.lfsr, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsko0rlbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_random.lfsr = internal global i32 44257, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_random() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @get_random.lfsr, align 4
%3 = ashr i32 %2, 0
%4 = load i32, ptr @get_random.lfsr, align 4
%5 = ashr i32 %4, 2
%6 = xor i32 %3, %5
%7 = load i32, ptr @get_random.lfsr, align 4
%8 = ashr i32 %7, 3
%9 = xor i32 %6, %8
%10 = load i32, ptr @get_random.lfsr, align 4
%11 = ashr i32 %10, 5
%12 = xor i32 %9, %11
%13 = and i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = load i32, ptr @get_random.lfsr, align 4
%15 = ashr i32 %14, 1
%16 = load i32, ptr %1, align 4
%17 = shl i32 %16, 15
%18 = or i32 %15, %17
store i32 %18, ptr @get_random.lfsr, align 4
%19 = load i32, ptr @get_random.lfsr, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp90__z063.c'
source_filename = "/tmp/tmp90__z063.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_le(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%9 = load float, ptr %3, align 4
%10 = call i32 @f2u(float noundef %9)
store i32 %10, ptr %5, align 4
%11 = load float, ptr %4, align 4
%12 = call i32 @f2u(float noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = lshr i32 %13, 31
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = lshr i32 %15, 31
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = shl i32 %17, 1
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %2
%21 = load i32, ptr %6, align 4
%22 = shl i32 %21, 1
%23 = icmp eq i32 %22, 0
br i1 %23, label %52, label %24
24: ; preds = %20, %2
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %52
30: ; preds = %27, %24
%31 = load i32, ptr %7, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp ule i32 %37, %38
br i1 %39, label %52, label %40
40: ; preds = %36, %33, %30
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp uge i32 %47, %48
br label %50
50: ; preds = %46, %43, %40
%51 = phi i1 [ false, %43 ], [ false, %40 ], [ %49, %46 ]
br label %52
52: ; preds = %50, %36, %27, %20
%53 = phi i1 [ true, %36 ], [ true, %27 ], [ true, %20 ], [ %51, %50 ]
%54 = zext i1 %53 to i32
ret i32 %54
}
declare i32 @f2u(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp90__z063.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_le(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%9 = load float, ptr %3, align 4
%10 = call i32 @f2u(float noundef %9)
store i32 %10, ptr %5, align 4
%11 = load float, ptr %4, align 4
%12 = call i32 @f2u(float noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = lshr i32 %13, 31
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = lshr i32 %15, 31
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = shl i32 %17, 1
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %2
%21 = load i32, ptr %6, align 4
%22 = shl i32 %21, 1
%23 = icmp eq i32 %22, 0
br i1 %23, label %52, label %24
24: ; preds = %20, %2
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %52
30: ; preds = %27, %24
%31 = load i32, ptr %7, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp ule i32 %37, %38
br i1 %39, label %52, label %40
40: ; preds = %36, %33, %30
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp uge i32 %47, %48
br label %50
50: ; preds = %46, %43, %40
%51 = phi i1 [ false, %43 ], [ false, %40 ], [ %49, %46 ]
br label %52
52: ; preds = %50, %36, %27, %20
%53 = phi i1 [ true, %36 ], [ true, %27 ], [ true, %20 ], [ %51, %50 ]
%54 = zext i1 %53 to i32
ret i32 %54
}
declare i32 @f2u(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3bl2t3v8.c'
source_filename = "/tmp/tmp3bl2t3v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: primecheck [OPTION] <integer>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\09-c\09\09Specify number of threads to use\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\09-h\09\09Print this help and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3bl2t3v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: primecheck [OPTION] <integer>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"\09-c\09\09Specify number of threads to use\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\09-h\09\09Print this help and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwirh54x1.c'
source_filename = "/tmp/tmpwirh54x1.c"
target datalayout = "e-m:e-p270: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/tmpwirh54x1.c"
target datalayout = "e-m:e-p270: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/tmpza37xv3e.c'
source_filename = "/tmp/tmpza37xv3e.c"
target datalayout = "e-m:e-p270: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.is_rufus_mbr.mbr_rufus_0x0 = private unnamed_addr constant [440 x i8] c"AKEO\FC1\C0\FA\8E\D0\BC\00|\FB\89\E6\89\E7\1E\06\8E\D8\BB\13\04\8B\07H\89\07\C1\E0\06-\C0\07\8E\C0\B9\00\02\F3\A4Ph0|\CB\8E\D8f1\DB\8E\C3A\BA\81\00\E8\89\00rm\BB\BE}\B9\04\00&\80?\00|\09u\05\83\C3\10\E2\F3\EBX\BE\94}\E8\DA\00\E8\CA\00\BAZ}\BEn}\E8\A0\00\B4\01\CD\16u=\B4\02\CD\16$\04u8\80>\93}\00\7F\0B\BE\B4}\E8\B3\00\C6\06\93}\12\80>\92}\00u\D9\E8\89\00\C6\06\BE}\81h\80\00\BAr}\BE~}\E8e\00Z\07\1F\EA\00|\00\00\E8m\00\E8x\00\BB\BE}\8B\17R\B2\80\8BO\02f\8B_\08\E8\05\00s\D5\07\1F\CB`\B4A\BB\AAU\CD\13r,\81\FBU\AAu&\F7\C1\01\00t a\1Ef1\C0\8E\D8fPfSPh\00|@Pj\10\89\E6\B4B\CD\13\9F\83\C4\10\9E\1F\C3a\BB\00|\B8\01\02\CD\13\C3\FA\8B\1C&f\8B\07f\89\04&\89\17&\8CO\02\FB\C3\FA\BB \00f\A1n}&f\89\07\FB\C3\B4\01\CD\16t\06\B4\00\CD\16\E2\F4\C3\AC<\00t\09\B4\0E\BB\07\00\CD\10\EB\F2\C3P.\A0\BE}\80\FA\80u\04\88\C2\EB\068\C2u\02\B2\80X\C3\FA.\80>\92}\00t\0A.\FE\0E\93}.\FE\0E\92}\EA \00\00\00\9C.\FE\06\91}u\03\E8\C7\FF\9AL\00\00\00\9C.\FE\0E\91}y\03\E8\B7\FF\9D\CA\02\00\FFI\12\0D\0APress any key to boot from USB.\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_rufus_mbr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [440 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.is_rufus_mbr.mbr_rufus_0x0, i64 440, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds [440 x i8], ptr %3, i64 0, i64 0
%6 = call i64 @contains_data(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 440)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i64 @is_br(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br label %12
12: ; preds = %8, %1
%13 = phi i1 [ false, %1 ], [ %11, %8 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
; 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 i64 @contains_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @is_br(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpza37xv3e.c"
target datalayout = "e-m:e-p270: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.is_rufus_mbr.mbr_rufus_0x0 = private unnamed_addr constant [440 x i8] c"AKEO\FC1\C0\FA\8E\D0\BC\00|\FB\89\E6\89\E7\1E\06\8E\D8\BB\13\04\8B\07H\89\07\C1\E0\06-\C0\07\8E\C0\B9\00\02\F3\A4Ph0|\CB\8E\D8f1\DB\8E\C3A\BA\81\00\E8\89\00rm\BB\BE}\B9\04\00&\80?\00|\09u\05\83\C3\10\E2\F3\EBX\BE\94}\E8\DA\00\E8\CA\00\BAZ}\BEn}\E8\A0\00\B4\01\CD\16u=\B4\02\CD\16$\04u8\80>\93}\00\7F\0B\BE\B4}\E8\B3\00\C6\06\93}\12\80>\92}\00u\D9\E8\89\00\C6\06\BE}\81h\80\00\BAr}\BE~}\E8e\00Z\07\1F\EA\00|\00\00\E8m\00\E8x\00\BB\BE}\8B\17R\B2\80\8BO\02f\8B_\08\E8\05\00s\D5\07\1F\CB`\B4A\BB\AAU\CD\13r,\81\FBU\AAu&\F7\C1\01\00t a\1Ef1\C0\8E\D8fPfSPh\00|@Pj\10\89\E6\B4B\CD\13\9F\83\C4\10\9E\1F\C3a\BB\00|\B8\01\02\CD\13\C3\FA\8B\1C&f\8B\07f\89\04&\89\17&\8CO\02\FB\C3\FA\BB \00f\A1n}&f\89\07\FB\C3\B4\01\CD\16t\06\B4\00\CD\16\E2\F4\C3\AC<\00t\09\B4\0E\BB\07\00\CD\10\EB\F2\C3P.\A0\BE}\80\FA\80u\04\88\C2\EB\068\C2u\02\B2\80X\C3\FA.\80>\92}\00t\0A.\FE\0E\93}.\FE\0E\92}\EA \00\00\00\9C.\FE\06\91}u\03\E8\C7\FF\9AL\00\00\00\9C.\FE\0E\91}y\03\E8\B7\FF\9D\CA\02\00\FFI\12\0D\0APress any key to boot from USB.\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_rufus_mbr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [440 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.is_rufus_mbr.mbr_rufus_0x0, i64 440, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds [440 x i8], ptr %3, i64 0, i64 0
%6 = call i64 @contains_data(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 440)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i64 @is_br(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br label %12
12: ; preds = %8, %1
%13 = phi i1 [ false, %1 ], [ %11, %8 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
; 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 i64 @contains_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @is_br(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp77mmv4g3.c'
source_filename = "/tmp/tmp77mmv4g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Content-Type: text/plain;charset=us-ascii\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%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 [128 x i8], align 16
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca [16 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
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %7, align 4
%11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 128)
%13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%14 = call i64 @getCookie(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
18: ; preds = %2
%19 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 16)
%21 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%23 = call i32 @GetOrderNumber(ptr noundef %21, ptr noundef %22, i32 noundef 1)
store i32 %23, ptr %8, align 4
%24 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %24)
br label %26
26: ; preds = %18, %16
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getCookie(ptr noundef) #1
declare i32 @GetOrderNumber(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/tmp77mmv4g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Content-Type: text/plain;charset=us-ascii\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%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 [128 x i8], align 16
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca [16 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
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %7, align 4
%11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 128)
%13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%14 = call i64 @getCookie(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
18: ; preds = %2
%19 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 16)
%21 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%23 = call i32 @GetOrderNumber(ptr noundef %21, ptr noundef %22, i32 noundef 1)
store i32 %23, ptr %8, align 4
%24 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %24)
br label %26
26: ; preds = %18, %16
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getCookie(ptr noundef) #1
declare i32 @GetOrderNumber(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/tmp1itglfnz.c'
source_filename = "/tmp/tmp1itglfnz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test15() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = call ptr @alloca(i32 noundef 99)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 97, i32 noundef 100)
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 99
store i8 0, ptr %7, align 1
%8 = load ptr, ptr %1, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %2, align 8
%10 = load i64, ptr %2, align 8
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare ptr @alloca(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1itglfnz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test15() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = call ptr @alloca(i32 noundef 99)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 97, i32 noundef 100)
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 99
store i8 0, ptr %7, align 1
%8 = load ptr, ptr %1, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %2, align 8
%10 = load i64, ptr %2, align 8
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare ptr @alloca(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqh4alr6.c'
source_filename = "/tmp/tmpbqh4alr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @mf__mem_end(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare ptr @mf__mem_end(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqh4alr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @mf__mem_end(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare ptr @mf__mem_end(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprd_rm6mv.c'
source_filename = "/tmp/tmprd_rm6mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%2.2f%s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %29, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp sle i32 %7, %9
br i1 %10, label %11, label %32
11: ; preds = %6
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i64
%15 = select i1 %13, ptr @.str.1, ptr @.str.2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
%25 = icmp eq i32 %22, %24
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.4, ptr @.str.5
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %21, ptr noundef %27)
br label %29
29: ; preds = %11
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %6, !llvm.loop !6
32: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprd_rm6mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%2.2f%s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = icmp sle i32 %6, %8
br i1 %9, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %28
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.1, ptr @.str.2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp eq i32 %21, %23
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str.4, ptr @.str.5
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, ptr noundef %26)
br label %28
28: ; preds = %10
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 %32, 1
%34 = icmp sle i32 %31, %33
br i1 %34, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %35
35: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwkezp3vu.c'
source_filename = "/tmp/tmpwkezp3vu.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %3, align 4
br label %134
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 1, ptr %3, align 4
br label %134
29: ; preds = %21
store i64 1, ptr %7, align 8
br label %30
30: ; preds = %35, %29
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = load i64, ptr %7, align 8
%34 = icmp sgt i64 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i64, ptr %7, align 8
%37 = mul nsw i64 %36, 10
store i64 %37, ptr %7, align 8
br label %30, !llvm.loop !6
38: ; preds = %30
store i32 1, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 8
%42 = trunc i64 %41 to i32
%43 = call ptr @x_malloc(i32 noundef %42)
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds i64, ptr %44, i64 0
store i64 1, ptr %45, align 8
store i32 1, ptr %10, align 4
br label %46
46: ; preds = %38, %128
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %59
50: ; preds = %46
%51 = load i32, ptr %8, align 4
%52 = mul nsw i32 %51, 10
store i32 %52, ptr %8, align 4
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = mul i64 %55, 8
%57 = trunc i64 %56 to i32
%58 = call ptr @x_realloc(ptr noundef %53, i32 noundef %57)
store ptr %58, ptr %9, align 8
br label %59
59: ; preds = %50, %46
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i64, ptr %60, i64 %62
store i64 0, ptr %63, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%64 = call i32 @next_generalised_pentagonal_num(i32 noundef 1)
br label %65
65: ; preds = %107, %59
%66 = call i32 @next_generalised_pentagonal_num(i32 noundef 0)
store i32 %66, ptr %11, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %115
69: ; preds = %65
%70 = load i32, ptr %12, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %12, align 4
%72 = load i32, ptr %12, align 4
%73 = srem i32 %72, 4
%74 = icmp eq i32 %73, 1
br i1 %74, label %79, label %75
75: ; preds = %69
%76 = load i32, ptr %12, align 4
%77 = srem i32 %76, 4
%78 = icmp eq i32 %77, 2
br i1 %78, label %79, label %93
79: ; preds = %75, %69
%80 = load ptr, ptr %9, align 8
%81 = load i32, ptr %10, align 4
%82 = load i32, ptr %11, align 4
%83 = sub nsw i32 %81, %82
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i64, ptr %80, i64 %84
%86 = load i64, ptr %85, align 8
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %10, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i64, ptr %87, i64 %89
%91 = load i64, ptr %90, align 8
%92 = add nsw i64 %91, %86
store i64 %92, ptr %90, align 8
br label %107
93: ; preds = %75
%94 = load ptr, ptr %9, align 8
%95 = load i32, ptr %10, align 4
%96 = load i32, ptr %11, align 4
%97 = sub nsw i32 %95, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i64, ptr %94, i64 %98
%100 = load i64, ptr %99, align 8
%101 = load ptr, ptr %9, align 8
%102 = load i32, ptr %10, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i64, ptr %101, i64 %103
%105 = load i64, ptr %104, align 8
%106 = sub nsw i64 %105, %100
store i64 %106, ptr %104, align 8
br label %107
107: ; preds = %93, %79
%108 = load i64, ptr %7, align 8
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %10, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i64, ptr %109, i64 %111
%113 = load i64, ptr %112, align 8
%114 = srem i64 %113, %108
store i64 %114, ptr %112, align 8
br label %65, !llvm.loop !8
115: ; preds = %65
%116 = load ptr, ptr %9, align 8
%117 = load i32, ptr %10, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i64, ptr %116, i64 %118
%120 = load i64, ptr %119, align 8
%121 = load i32, ptr %6, align 4
%122 = sext i32 %121 to i64
%123 = srem i64 %120, %122
%124 = icmp eq i64 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %115
%126 = load i32, ptr %10, align 4
%127 = call i32 @printf(ptr noundef @.str.1, i32 noundef %126)
br label %131
128: ; preds = %115
%129 = load i32, ptr %10, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %10, align 4
br label %46
131: ; preds = %125
%132 = load ptr, ptr %9, align 8
%133 = call i32 @free(ptr noundef %132)
store i32 0, ptr %3, align 4
br label %134
134: ; preds = %131, %28, %15
%135 = load i32, ptr %3, align 4
ret i32 %135
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @x_malloc(i32 noundef) #1
declare ptr @x_realloc(ptr noundef, i32 noundef) #1
declare i32 @next_generalised_pentagonal_num(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwkezp3vu.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %3, align 4
br label %139
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 1, ptr %3, align 4
br label %139
29: ; preds = %21
store i64 1, ptr %7, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %7, align 8
%33 = icmp sgt i64 %31, %32
br i1 %33, label %.lr.ph, label %41
.lr.ph: ; preds = %29
br label %34
34: ; preds = %.lr.ph, %34
%35 = load i64, ptr %7, align 8
%36 = mul nsw i64 %35, 10
store i64 %36, ptr %7, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = load i64, ptr %7, align 8
%40 = icmp sgt i64 %38, %39
br i1 %40, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %29
store i32 1, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %43, 8
%45 = trunc i64 %44 to i32
%46 = call ptr @x_malloc(i32 noundef %45)
store ptr %46, ptr %9, align 8
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 0
store i64 1, ptr %48, align 8
store i32 1, ptr %10, align 4
br label %49
49: ; preds = %133, %41
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp sge i32 %50, %51
br i1 %52, label %53, label %62
53: ; preds = %49
%54 = load i32, ptr %8, align 4
%55 = mul nsw i32 %54, 10
store i32 %55, ptr %8, align 4
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call ptr @x_realloc(ptr noundef %56, i32 noundef %60)
store ptr %61, ptr %9, align 8
br label %62
62: ; preds = %53, %49
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i64, ptr %63, i64 %65
store i64 0, ptr %66, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%67 = call i32 @next_generalised_pentagonal_num(i32 noundef 1)
%68 = call i32 @next_generalised_pentagonal_num(i32 noundef 0)
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %.lr.ph2, label %120
.lr.ph2: ; preds = %62
br label %71
71: ; preds = %.lr.ph2, %109
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %12, align 4
%74 = load i32, ptr %12, align 4
%75 = srem i32 %74, 4
%76 = icmp eq i32 %75, 1
br i1 %76, label %81, label %77
77: ; preds = %71
%78 = load i32, ptr %12, align 4
%79 = srem i32 %78, 4
%80 = icmp eq i32 %79, 2
br i1 %80, label %81, label %95
81: ; preds = %77, %71
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = sub nsw i32 %83, %84
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i64, ptr %82, i64 %86
%88 = load i64, ptr %87, align 8
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i64, ptr %89, i64 %91
%93 = load i64, ptr %92, align 8
%94 = add nsw i64 %93, %88
store i64 %94, ptr %92, align 8
br label %109
95: ; preds = %77
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %10, align 4
%98 = load i32, ptr %11, align 4
%99 = sub nsw i32 %97, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i64, ptr %96, i64 %100
%102 = load i64, ptr %101, align 8
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %10, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i64, ptr %103, i64 %105
%107 = load i64, ptr %106, align 8
%108 = sub nsw i64 %107, %102
store i64 %108, ptr %106, align 8
br label %109
109: ; preds = %95, %81
%110 = load i64, ptr %7, align 8
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr %10, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i64, ptr %111, i64 %113
%115 = load i64, ptr %114, align 8
%116 = srem i64 %115, %110
store i64 %116, ptr %114, align 8
%117 = call i32 @next_generalised_pentagonal_num(i32 noundef 0)
store i32 %117, ptr %11, align 4
%118 = load i32, ptr %10, align 4
%119 = icmp sle i32 %117, %118
br i1 %119, label %71, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %109
br label %120
120: ; preds = %._crit_edge3, %62
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %10, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i64, ptr %121, i64 %123
%125 = load i64, ptr %124, align 8
%126 = load i32, ptr %6, align 4
%127 = sext i32 %126 to i64
%128 = srem i64 %125, %127
%129 = icmp eq i64 %128, 0
br i1 %129, label %130, label %133
130: ; preds = %120
%131 = load i32, ptr %10, align 4
%132 = call i32 @printf(ptr noundef @.str.1, i32 noundef %131)
br label %136
133: ; preds = %120
%134 = load i32, ptr %10, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %10, align 4
br label %49
136: ; preds = %130
%137 = load ptr, ptr %9, align 8
%138 = call i32 @free(ptr noundef %137)
store i32 0, ptr %3, align 4
br label %139
139: ; preds = %136, %28, %15
%140 = load i32, ptr %3, align 4
ret i32 %140
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @x_malloc(i32 noundef) #1
declare ptr @x_realloc(ptr noundef, i32 noundef) #1
declare i32 @next_generalised_pentagonal_num(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1ej3ii1c.c'
source_filename = "/tmp/tmp1ej3ii1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d%d%d%d%d%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %17, %18
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %21, %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %23, %24
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %25, %26
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %27, %28
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ej3ii1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d%d%d%d%d%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %17, %18
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %21, %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %23, %24
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %25, %26
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %27, %28
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptxtjfa94.c'
source_filename = "/tmp/tmptxtjfa94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16
@.str = private unnamed_addr constant [24 x i8] c"val->%d found in array\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"val->%d NOT found in array\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 [10 x i32], align 16
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 40, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.array, i64 40, i1 false)
%5 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @binary_search_array(ptr noundef %5, i32 noundef %6, i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %16
13: ; preds = %0
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %13, %10
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 i64 @binary_search_array(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxtjfa94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16
@.str = private unnamed_addr constant [24 x i8] c"val->%d found in array\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"val->%d NOT found in array\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 [10 x i32], align 16
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 40, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.array, i64 40, i1 false)
%5 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @binary_search_array(ptr noundef %5, i32 noundef %6, i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %16
13: ; preds = %0
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %13, %10
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 i64 @binary_search_array(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn_e4mpab.c'
source_filename = "/tmp/tmpn_e4mpab.c"
target datalayout = "e-m:e-p270: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 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_HDRINCL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketRaw(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%8 = load i32, ptr @PF_INET, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 4)
%19 = load i16, ptr %4, align 2
%20 = call i32 @htons(i16 noundef zeroext %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %5, align 4
%23 = call i64 @bind(i32 noundef %22, ptr noundef %6, i32 noundef 4)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %17
store i32 1, ptr %7, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr @IPPROTO_IP, align 4
%31 = load i32, ptr @IP_HDRINCL, align 4
%32 = call i64 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %7, i32 noundef 4)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = call i32 @perror(ptr noundef @.str.2)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %28
%38 = load i32, ptr %5, align 4
ret i32 %38
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i16 noundef zeroext) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpn_e4mpab.c"
target datalayout = "e-m:e-p270: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 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_HDRINCL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketRaw(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%8 = load i32, ptr @PF_INET, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 4)
%19 = load i16, ptr %4, align 2
%20 = call i32 @htons(i16 noundef zeroext %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %5, align 4
%23 = call i64 @bind(i32 noundef %22, ptr noundef %6, i32 noundef 4)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %17
store i32 1, ptr %7, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr @IPPROTO_IP, align 4
%31 = load i32, ptr @IP_HDRINCL, align 4
%32 = call i64 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %7, i32 noundef 4)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = call i32 @perror(ptr noundef @.str.2)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %28
%38 = load i32, ptr %5, align 4
ret i32 %38
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i16 noundef zeroext) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp3kuinvcn.c'
source_filename = "/tmp/tmp3kuinvcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK4000C90FDAA22168C235, ptr %2, align 16
store x86_fp80 0xK4000ADF85458A2BB4A9B, ptr %3, align 16
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16)
%6 = load x86_fp80, ptr %2, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fadd x86_fp80 %6, %7
store x86_fp80 %8, ptr %4, align 16
%9 = call i32 @printfp(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printfp(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/tmp3kuinvcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK4000C90FDAA22168C235, ptr %2, align 16
store x86_fp80 0xK4000ADF85458A2BB4A9B, ptr %3, align 16
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16)
%6 = load x86_fp80, ptr %2, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fadd x86_fp80 %6, %7
store x86_fp80 %8, ptr %4, align 16
%9 = call i32 @printfp(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printfp(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/tmphew0v7hd.c'
source_filename = "/tmp/tmphew0v7hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"C\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"B\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %7, %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %15, %12
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %23, %20
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31, %28
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphew0v7hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"C\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"B\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %7, %0
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %15, %12
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %23, %20
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31, %28
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf9wyhi30.c'
source_filename = "/tmp/tmpf9wyhi30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %13, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i64 @isdigit(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br label %11
11: ; preds = %7, %3
%12 = phi i1 [ false, %3 ], [ %10, %7 ]
br i1 %12, label %13, label %20
13: ; preds = %11
%14 = load i32, ptr %1, align 4
%15 = mul nsw i32 %14, 10
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %16, 48
%18 = load i32, ptr %1, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %1, align 4
br label %3, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @stdin, align 4
%23 = call i32 @ungetc(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @getchar(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetc(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/tmpf9wyhi30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %13, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i64 @isdigit(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br label %11
11: ; preds = %7, %3
%12 = phi i1 [ false, %3 ], [ %10, %7 ]
br i1 %12, label %13, label %20
13: ; preds = %11
%14 = load i32, ptr %1, align 4
%15 = mul nsw i32 %14, 10
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %16, 48
%18 = load i32, ptr %1, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %1, align 4
br label %3, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @stdin, align 4
%23 = call i32 @ungetc(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @getchar(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetc(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/tmpnbzpku1x.c'
source_filename = "/tmp/tmpnbzpku1x.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(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 i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @gluOrtho2D(i32 noundef 0, i32 noundef %11, i32 noundef 0, i32 noundef %12)
%14 = load i32, ptr @GL_MODELVIEW, align 4
%15 = call i32 @glMatrixMode(i32 noundef %14)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbzpku1x.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(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 i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @gluOrtho2D(i32 noundef 0, i32 noundef %11, i32 noundef 0, i32 noundef %12)
%14 = load i32, ptr @GL_MODELVIEW, align 4
%15 = call i32 @glMatrixMode(i32 noundef %14)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppjxwd10i.c'
source_filename = "/tmp/tmppjxwd10i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 (...) @getpid()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @sleep(i32 noundef 3)
ret i32 44
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppjxwd10i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 (...) @getpid()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @sleep(i32 noundef 3)
ret i32 44
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj26seha2.c'
source_filename = "/tmp/tmpj26seha2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_fcntl(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @fcntl(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/tmpj26seha2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_fcntl(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @fcntl(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/tmp_20cb6yd.c'
source_filename = "/tmp/tmp_20cb6yd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaGaleq(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load double, ptr %5, align 8
store double %13, ptr %9, align 8
%14 = load double, ptr %6, align 8
store double %14, ptr %10, align 8
%15 = call i32 @sla_galeq_(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%16 = load double, ptr %11, align 8
%17 = load ptr, ptr %7, align 8
store double %16, ptr %17, align 8
%18 = load double, ptr %12, align 8
%19 = load ptr, ptr %8, align 8
store double %18, ptr %19, align 8
ret void
}
declare i32 @sla_galeq_(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/tmp_20cb6yd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaGaleq(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load double, ptr %5, align 8
store double %13, ptr %9, align 8
%14 = load double, ptr %6, align 8
store double %14, ptr %10, align 8
%15 = call i32 @sla_galeq_(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%16 = load double, ptr %11, align 8
%17 = load ptr, ptr %7, align 8
store double %16, ptr %17, align 8
%18 = load double, ptr %12, align 8
%19 = load ptr, ptr %8, align 8
store double %18, ptr %19, align 8
ret void
}
declare i32 @sla_galeq_(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/tmpxjog7lwv.c'
source_filename = "/tmp/tmpxjog7lwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tache_philosophe0() #0 {
%1 = call i32 @comportement_philosophe(i32 noundef 0)
%2 = call i32 (...) @fin_tache()
ret void
}
declare i32 @comportement_philosophe(i32 noundef) #1
declare i32 @fin_tache(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjog7lwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tache_philosophe0() #0 {
%1 = call i32 @comportement_philosophe(i32 noundef 0)
%2 = call i32 (...) @fin_tache()
ret void
}
declare i32 @comportement_philosophe(i32 noundef) #1
declare i32 @fin_tache(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5zztudhd.c'
source_filename = "/tmp/tmp5zztudhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htonll_(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 %3, align 4
%6 = call i32 @htonl(i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %22
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %4, align 4
%12 = getelementptr inbounds i32, ptr %3, i64 1
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @htonl(i32 noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = shl i32 %16, 32
%18 = load i32, ptr %5, align 4
%19 = call i32 @htonl(i32 noundef %18)
%20 = or i32 %17, %19
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %10, %8
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @htonl(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/tmp5zztudhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htonll_(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 %3, align 4
%6 = call i32 @htonl(i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %22
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %4, align 4
%12 = getelementptr inbounds i32, ptr %3, i64 1
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @htonl(i32 noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = shl i32 %16, 32
%18 = load i32, ptr %5, align 4
%19 = call i32 @htonl(i32 noundef %18)
%20 = or i32 %17, %19
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %10, %8
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @htonl(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/tmpf6q8xwlf.c'
source_filename = "/tmp/tmpf6q8xwlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_test() #0 {
%1 = alloca i32, align 4
%2 = call i32 @strlen(ptr noundef @.str)
%3 = icmp ne i32 %2, 5
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
5: ; preds = %0
%6 = call i32 @strlen(ptr noundef @.str.1)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, ptr %1, align 4
br label %10
9: ; preds = %5
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %8, %4
%11 = load i32, ptr %1, align 4
ret i32 %11
}
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/tmpf6q8xwlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_test() #0 {
%1 = alloca i32, align 4
%2 = call i32 @strlen(ptr noundef @.str)
%3 = icmp ne i32 %2, 5
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
5: ; preds = %0
%6 = call i32 @strlen(ptr noundef @.str.1)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, ptr %1, align 4
br label %10
9: ; preds = %5
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %8, %4
%11 = load i32, ptr %1, align 4
ret i32 %11
}
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/tmpuo7e6qwg.c'
source_filename = "/tmp/tmpuo7e6qwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @default_fst_error_callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuo7e6qwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @default_fst_error_callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2jf7xd0n.c'
source_filename = "/tmp/tmp2jf7xd0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store double 1.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 10000
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load double, ptr %6, align 8
%12 = fmul double %11, 2.000000e+00
store double %12, ptr %6, align 8
br label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %7, !llvm.loop !6
16: ; preds = %7
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, 1
%26 = load ptr, ptr %3, align 8
store i32 %25, ptr %26, align 4
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2jf7xd0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store double 1.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 10000
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = load double, ptr %6, align 8
%11 = fmul double %10, 2.000000e+00
store double %11, ptr %6, align 8
br label %12
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 10000
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %2
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %19, %20
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %25, 1
%27 = load ptr, ptr %3, align 8
store i32 %26, ptr %27, align 4
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqwowwqhk.c'
source_filename = "/tmp/tmpqwowwqhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5000, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 2, %5
store i32 %6, ptr %3, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
%9 = call i32 (...) @rand()
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = srem i32 %10, 100
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqwowwqhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5000, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 2, %5
store i32 %6, ptr %3, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
%9 = call i32 (...) @rand()
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = srem i32 %10, 100
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpay0o6fck.c'
source_filename = "/tmp/tmpay0o6fck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Philosoper [%d] is eating... \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eat(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 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpay0o6fck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Philosoper [%d] is eating... \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eat(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 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpycv83ifg.c'
source_filename = "/tmp/tmpycv83ifg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @showfile(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 [80 x i8], align 16
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %1
br label %13
13: ; preds = %20, %12
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 80)
store i32 %16, ptr %5, align 4
%17 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i32 @write(i32 noundef 1, ptr noundef %17, i32 noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %13, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = call i32 @close(i32 noundef %24)
store i32 1, ptr %2, align 4
br label %27
26: ; preds = %1
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %23
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpycv83ifg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @showfile(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 [80 x i8], align 16
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %1
br label %13
13: ; preds = %20, %12
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 80)
store i32 %16, ptr %5, align 4
%17 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i32 @write(i32 noundef 1, ptr noundef %17, i32 noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %13, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = call i32 @close(i32 noundef %24)
store i32 1, ptr %2, align 4
br label %27
26: ; preds = %1
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %23
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaqr58qpr.c'
source_filename = "/tmp/tmpaqr58qpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cb_new_kv(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %16, label %21
16: ; preds = %5
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
br label %21
21: ; preds = %16, %5
%22 = load ptr, ptr %11, align 8
%23 = load i64, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
store i8 0, ptr %24, align 1
%25 = load ptr, ptr %11, align 8
%26 = load i64, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %9, align 8
%31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30)
%32 = load i64, ptr %9, align 8
%33 = load i64, ptr %7, align 8
%34 = add i64 %32, %33
%35 = add i64 %34, 1
ret i64 %35
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqr58qpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cb_new_kv(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %16, label %21
16: ; preds = %5
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
br label %21
21: ; preds = %16, %5
%22 = load ptr, ptr %11, align 8
%23 = load i64, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
store i8 0, ptr %24, align 1
%25 = load ptr, ptr %11, align 8
%26 = load i64, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %9, align 8
%31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30)
%32 = load i64, ptr %9, align 8
%33 = load i64, ptr %7, align 8
%34 = add i64 %32, %33
%35 = add i64 %34, 1
ret i64 %35
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz33y7xyq.c'
source_filename = "/tmp/tmpz33y7xyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %16, %2
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, -1
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i64, ptr %6, align 8
%13 = call i32 @primo(i64 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %11, %7
br label %16
16: ; preds = %15
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %17, -1
br i1 %18, label %7, label %19, !llvm.loop !6
19: ; preds = %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @primo(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/tmpz33y7xyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %16, %2
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, -1
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i64, ptr %6, align 8
%13 = call i32 @primo(i64 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %11, %7
br label %16
16: ; preds = %15
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %17, -1
br i1 %18, label %7, label %19, !llvm.loop !6
19: ; preds = %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @primo(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/tmpgpw797qv.c'
source_filename = "/tmp/tmpgpw797qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_current_paper_index() #0 {
%1 = call i64 (...) @get_current_paper_index()
%2 = add nsw i64 %1, 1
%3 = call i32 @set_current_paper_index(i64 noundef %2)
ret void
}
declare i32 @set_current_paper_index(i64 noundef) #1
declare i64 @get_current_paper_index(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgpw797qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_current_paper_index() #0 {
%1 = call i64 (...) @get_current_paper_index()
%2 = add nsw i64 %1, 1
%3 = call i32 @set_current_paper_index(i64 noundef %2)
ret void
}
declare i32 @set_current_paper_index(i64 noundef) #1
declare i64 @get_current_paper_index(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplh_34mgu.c'
source_filename = "/tmp/tmplh_34mgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp waitting handle\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tcp_waiting_handle() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @sleep(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplh_34mgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp waitting handle\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tcp_waiting_handle() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @sleep(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3e5eb172.c'
source_filename = "/tmp/tmp3e5eb172.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 {
%1 = call i32 (...) @interface()
%2 = call i32 (...) @FH_DU()
ret i32 0
}
declare i32 @interface(...) #1
declare i32 @FH_DU(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3e5eb172.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 {
%1 = call i32 (...) @interface()
%2 = call i32 (...) @FH_DU()
ret i32 0
}
declare i32 @interface(...) #1
declare i32 @FH_DU(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7a2990kr.c'
source_filename = "/tmp/tmp7a2990kr.c"
target datalayout = "e-m:e-p270: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/tmp7a2990kr.c"
target datalayout = "e-m:e-p270: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/tmpi9wn8vdc.c'
source_filename = "/tmp/tmpi9wn8vdc.c"
target datalayout = "e-m:e-p270: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_2.str = private unnamed_addr constant [31 x i8] c"Yet another Hello World (YAHW)\00", align 16
@.str = private unnamed_addr constant [32 x i8] c"\0Aabout to reverse string: '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"strlen %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"reversed string: '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main_2(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [31 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main_2.str, i64 31, i1 false)
%6 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%9 = call i64 @strlen(ptr noundef %8)
%10 = trunc i64 %9 to i32
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @reverse(ptr noundef %12)
%14 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @reverse(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi9wn8vdc.c"
target datalayout = "e-m:e-p270: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_2.str = private unnamed_addr constant [31 x i8] c"Yet another Hello World (YAHW)\00", align 16
@.str = private unnamed_addr constant [32 x i8] c"\0Aabout to reverse string: '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"strlen %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"reversed string: '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main_2(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [31 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main_2.str, i64 31, i1 false)
%6 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%9 = call i64 @strlen(ptr noundef %8)
%10 = trunc i64 %9 to i32
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @reverse(ptr noundef %12)
%14 = getelementptr inbounds [31 x i8], ptr %5, i64 0, i64 0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @reverse(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp07hq7xak.c'
source_filename = "/tmp/tmp07hq7xak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalizing_constant_Q(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %9
9: ; preds = %28, %3
%10 = load i64, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %31
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds ptr, ptr %14, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load i64, ptr %8, align 8
%19 = getelementptr inbounds double, ptr %17, i64 %18
%20 = load double, ptr %19, align 8
%21 = fneg double %20
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %8, align 8
%24 = getelementptr inbounds double, ptr %22, i64 %23
%25 = load double, ptr %24, align 8
%26 = load double, ptr %7, align 8
%27 = call double @llvm.fmuladd.f64(double %21, double %25, double %26)
store double %27, ptr %7, align 8
br label %28
28: ; preds = %13
%29 = load i64, ptr %8, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %8, align 8
br label %9, !llvm.loop !6
31: ; preds = %9
%32 = load double, ptr %7, align 8
ret double %32
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp07hq7xak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalizing_constant_Q(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i64 0, ptr %8, align 8
%9 = load i64, ptr %8, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %27
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %8, align 8
%15 = getelementptr inbounds ptr, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = load i64, ptr %8, align 8
%18 = getelementptr inbounds double, ptr %16, i64 %17
%19 = load double, ptr %18, align 8
%20 = fneg double %19
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %8, align 8
%23 = getelementptr inbounds double, ptr %21, i64 %22
%24 = load double, ptr %23, align 8
%25 = load double, ptr %7, align 8
%26 = call double @llvm.fmuladd.f64(double %20, double %24, double %25)
store double %26, ptr %7, align 8
br label %27
27: ; preds = %12
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %8, align 8
%30 = load i64, ptr %8, align 8
%31 = load i64, ptr %6, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %3
%34 = load double, ptr %7, align 8
ret double %34
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_f8koq7r.c'
source_filename = "/tmp/tmp_f8koq7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i64, i32, i64, i32 }
@.str = private unnamed_addr constant [38 x i8] c"Errore nell'apertura del Display !!!\0A\00", align 1
@ButtonPress = dso_local global i32 0, align 4
@True = dso_local global i32 0, align 4
@PointerWindow = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Errore nell'invio dell'evento !!!\0A\00", align 1
@ButtonRelease = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mouseClick(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.TYPE_6__, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
br label %103
10: ; preds = %1
%11 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 64)
%12 = load i32, ptr @ButtonPress, align 4
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 1
store i32 %12, ptr %13, align 8
%14 = load i32, ptr %2, align 4
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 8
%17 = load i32, ptr @True, align 4
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i32 0, i32 9
store i32 %17, ptr %19, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @DefaultScreen(ptr noundef %22)
%24 = call i64 @RootWindow(ptr noundef %21, i32 noundef %23)
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i32 0, i32 7
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 8
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %29, i32 0, i32 5
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 4
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 3
%35 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %35, i32 0, i32 2
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%38 = getelementptr inbounds %struct.TYPE_5__, ptr %37, i32 0, i32 1
%39 = call i32 @XQueryPointer(ptr noundef %20, i64 noundef %24, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %36, ptr noundef %38)
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_5__, ptr %40, i32 0, i32 8
%42 = load i64, ptr %41, align 8
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %43, i32 0, i32 6
store i64 %42, ptr %44, align 8
br label %45
45: ; preds = %50, %10
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%47 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i32 0, i32 6
%48 = load i64, ptr %47, align 8
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %75
50: ; preds = %45
%51 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i32 0, i32 6
%53 = load i64, ptr %52, align 8
%54 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i32 0, i32 8
store i64 %53, ptr %55, align 8
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%58 = getelementptr inbounds %struct.TYPE_5__, ptr %57, i32 0, i32 8
%59 = load i64, ptr %58, align 8
%60 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%61 = getelementptr inbounds %struct.TYPE_5__, ptr %60, i32 0, i32 7
%62 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%63 = getelementptr inbounds %struct.TYPE_5__, ptr %62, i32 0, i32 6
%64 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%65 = getelementptr inbounds %struct.TYPE_5__, ptr %64, i32 0, i32 5
%66 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %66, i32 0, i32 4
%68 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%69 = getelementptr inbounds %struct.TYPE_5__, ptr %68, i32 0, i32 3
%70 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%71 = getelementptr inbounds %struct.TYPE_5__, ptr %70, i32 0, i32 2
%72 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%73 = getelementptr inbounds %struct.TYPE_5__, ptr %72, i32 0, i32 1
%74 = call i32 @XQueryPointer(ptr noundef %56, i64 noundef %59, ptr noundef %61, ptr noundef %63, ptr noundef %65, ptr noundef %67, ptr noundef %69, ptr noundef %71, ptr noundef %73)
br label %45, !llvm.loop !6
75: ; preds = %45
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr @PointerWindow, align 4
%78 = load i32, ptr @True, align 4
%79 = call i64 @XSendEvent(ptr noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef 4095, ptr noundef %4)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 @printf(ptr noundef @.str.1)
br label %83
83: ; preds = %81, %75
%84 = load ptr, ptr %3, align 8
%85 = call i32 @XFlush(ptr noundef %84)
%86 = call i32 @usleep(i32 noundef 100000)
%87 = load i32, ptr @ButtonRelease, align 4
%88 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 1
store i32 %87, ptr %88, align 8
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%90 = getelementptr inbounds %struct.TYPE_5__, ptr %89, i32 0, i32 1
store i32 256, ptr %90, align 4
%91 = load ptr, ptr %3, align 8
%92 = load i32, ptr @PointerWindow, align 4
%93 = load i32, ptr @True, align 4
%94 = call i64 @XSendEvent(ptr noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef 4095, ptr noundef %4)
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %83
%97 = call i32 @printf(ptr noundef @.str.1)
br label %98
98: ; preds = %96, %83
%99 = load ptr, ptr %3, align 8
%100 = call i32 @XFlush(ptr noundef %99)
%101 = load ptr, ptr %3, align 8
%102 = call i32 @XCloseDisplay(ptr noundef %101)
br label %103
103: ; preds = %98, %8
ret void
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XQueryPointer(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @DefaultScreen(ptr noundef) #1
declare i64 @XSendEvent(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f8koq7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i64, i32, i64, i32 }
@.str = private unnamed_addr constant [38 x i8] c"Errore nell'apertura del Display !!!\0A\00", align 1
@ButtonPress = dso_local global i32 0, align 4
@True = dso_local global i32 0, align 4
@PointerWindow = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Errore nell'invio dell'evento !!!\0A\00", align 1
@ButtonRelease = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mouseClick(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.TYPE_6__, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
br label %104
10: ; preds = %1
%11 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 64)
%12 = load i32, ptr @ButtonPress, align 4
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 1
store i32 %12, ptr %13, align 8
%14 = load i32, ptr %2, align 4
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 8
%17 = load i32, ptr @True, align 4
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i32 0, i32 9
store i32 %17, ptr %19, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @DefaultScreen(ptr noundef %22)
%24 = call i64 @RootWindow(ptr noundef %21, i32 noundef %23)
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i32 0, i32 7
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 8
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %29, i32 0, i32 5
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 4
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 3
%35 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %35, i32 0, i32 2
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%38 = getelementptr inbounds %struct.TYPE_5__, ptr %37, i32 0, i32 1
%39 = call i32 @XQueryPointer(ptr noundef %20, i64 noundef %24, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %36, ptr noundef %38)
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_5__, ptr %40, i32 0, i32 8
%42 = load i64, ptr %41, align 8
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %43, i32 0, i32 6
store i64 %42, ptr %44, align 8
%45 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%46 = getelementptr inbounds %struct.TYPE_5__, ptr %45, i32 0, i32 6
%47 = load i64, ptr %46, align 8
%48 = icmp ne i64 %47, 0
br i1 %48, label %.lr.ph, label %76
.lr.ph: ; preds = %10
br label %49
49: ; preds = %.lr.ph, %49
%50 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%51 = getelementptr inbounds %struct.TYPE_5__, ptr %50, i32 0, i32 6
%52 = load i64, ptr %51, align 8
%53 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%54 = getelementptr inbounds %struct.TYPE_5__, ptr %53, i32 0, i32 8
store i64 %52, ptr %54, align 8
%55 = load ptr, ptr %3, align 8
%56 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%57 = getelementptr inbounds %struct.TYPE_5__, ptr %56, i32 0, i32 8
%58 = load i64, ptr %57, align 8
%59 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %59, i32 0, i32 7
%61 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%62 = getelementptr inbounds %struct.TYPE_5__, ptr %61, i32 0, i32 6
%63 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%64 = getelementptr inbounds %struct.TYPE_5__, ptr %63, i32 0, i32 5
%65 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%66 = getelementptr inbounds %struct.TYPE_5__, ptr %65, i32 0, i32 4
%67 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%68 = getelementptr inbounds %struct.TYPE_5__, ptr %67, i32 0, i32 3
%69 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%70 = getelementptr inbounds %struct.TYPE_5__, ptr %69, i32 0, i32 2
%71 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%72 = getelementptr inbounds %struct.TYPE_5__, ptr %71, i32 0, i32 1
%73 = call i32 @XQueryPointer(ptr noundef %55, i64 noundef %58, ptr noundef %60, ptr noundef %62, ptr noundef %64, ptr noundef %66, ptr noundef %68, ptr noundef %70, ptr noundef %72)
%74 = load i64, ptr %46, align 8
%75 = icmp ne i64 %74, 0
br i1 %75, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %76
76: ; preds = %._crit_edge, %10
%77 = load ptr, ptr %3, align 8
%78 = load i32, ptr @PointerWindow, align 4
%79 = load i32, ptr @True, align 4
%80 = call i64 @XSendEvent(ptr noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef 4095, ptr noundef %4)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %76
%83 = call i32 @printf(ptr noundef @.str.1)
br label %84
84: ; preds = %82, %76
%85 = load ptr, ptr %3, align 8
%86 = call i32 @XFlush(ptr noundef %85)
%87 = call i32 @usleep(i32 noundef 100000)
%88 = load i32, ptr @ButtonRelease, align 4
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 1
store i32 %88, ptr %89, align 8
%90 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i32 0, i32 0
%91 = getelementptr inbounds %struct.TYPE_5__, ptr %90, i32 0, i32 1
store i32 256, ptr %91, align 4
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr @PointerWindow, align 4
%94 = load i32, ptr @True, align 4
%95 = call i64 @XSendEvent(ptr noundef %92, i32 noundef %93, i32 noundef %94, i32 noundef 4095, ptr noundef %4)
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %84
%98 = call i32 @printf(ptr noundef @.str.1)
br label %99
99: ; preds = %97, %84
%100 = load ptr, ptr %3, align 8
%101 = call i32 @XFlush(ptr noundef %100)
%102 = load ptr, ptr %3, align 8
%103 = call i32 @XCloseDisplay(ptr noundef %102)
br label %104
104: ; preds = %99, %8
ret void
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XQueryPointer(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @DefaultScreen(ptr noundef) #1
declare i64 @XSendEvent(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmmftrvax.c'
source_filename = "/tmp/tmpmmftrvax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaDjcl(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca double, align 8
%18 = alloca i32, align 4
store double %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%19 = load double, ptr %7, align 8
store double %19, ptr %13, align 8
%20 = call i32 @sla_djcl_(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
%21 = load i32, ptr %14, align 4
%22 = load ptr, ptr %8, align 8
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %15, align 4
%24 = load ptr, ptr %9, align 8
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %16, align 4
%26 = load ptr, ptr %10, align 8
store i32 %25, ptr %26, align 4
%27 = load double, ptr %17, align 8
%28 = load ptr, ptr %11, align 8
store double %27, ptr %28, align 8
%29 = load i32, ptr %18, align 4
%30 = load ptr, ptr %12, align 8
store i32 %29, ptr %30, align 4
ret void
}
declare i32 @sla_djcl_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmmftrvax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaDjcl(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca double, align 8
%18 = alloca i32, align 4
store double %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%19 = load double, ptr %7, align 8
store double %19, ptr %13, align 8
%20 = call i32 @sla_djcl_(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
%21 = load i32, ptr %14, align 4
%22 = load ptr, ptr %8, align 8
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %15, align 4
%24 = load ptr, ptr %9, align 8
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %16, align 4
%26 = load ptr, ptr %10, align 8
store i32 %25, ptr %26, align 4
%27 = load double, ptr %17, align 8
%28 = load ptr, ptr %11, align 8
store double %27, ptr %28, align 8
%29 = load i32, ptr %18, align 4
%30 = load ptr, ptr %12, align 8
store i32 %29, ptr %30, align 4
ret void
}
declare i32 @sla_djcl_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5tlq9cds.c'
source_filename = "/tmp/tmp5tlq9cds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Number = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 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/tmp5tlq9cds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Number = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 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/tmpaqj4eh0e.c'
source_filename = "/tmp/tmpaqj4eh0e.c"
target datalayout = "e-m:e-p270: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 { i32, i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@IFF_UP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iface_up(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 %struct.ifreq, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_DGRAM, align 4
%9 = load i32, ptr @IPPROTO_UDP, align 4
%10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcpy(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr @SIOCGIFFLAGS, align 4
%17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef %6)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %28, label %22
22: ; preds = %1
%23 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @IFF_UP, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %22, %1
store i32 0, ptr %2, align 4
br label %30
29: ; preds = %22
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %28
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr 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/tmpaqj4eh0e.c"
target datalayout = "e-m:e-p270: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 { i32, i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@IFF_UP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iface_up(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 %struct.ifreq, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_DGRAM, align 4
%9 = load i32, ptr @IPPROTO_UDP, align 4
%10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcpy(i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr @SIOCGIFFLAGS, align 4
%17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef %6)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %28, label %22
22: ; preds = %1
%23 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @IFF_UP, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %22, %1
store i32 0, ptr %2, align 4
br label %30
29: ; preds = %22
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %28
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr 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/tmp2cx9n_76.c'
source_filename = "/tmp/tmp2cx9n_76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mem_copy_from_offset(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i64, ptr %8, align 8
%14 = call i32 @memcpy(ptr noundef %9, ptr noundef %12, i64 noundef %13)
ret i8 1
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2cx9n_76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mem_copy_from_offset(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i64, ptr %8, align 8
%14 = call i32 @memcpy(ptr noundef %9, ptr noundef %12, i64 noundef %13)
ret i8 1
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1nt87tru.c'
source_filename = "/tmp/tmp1nt87tru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"red\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"green\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"\1B[32m\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"brown\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\1B[33m\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"blue\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"\1B[34m\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"magenta\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"\1B[35m\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"cyan\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"\1B[36m\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"white\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"\1B[37m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @choose_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
store ptr @.str.1, ptr %10, align 8
store i32 0, ptr %3, align 4
br label %48
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.2)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
store ptr @.str.3, ptr %16, align 8
store i32 0, ptr %3, align 4
br label %48
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.4)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
store ptr @.str.5, ptr %22, align 8
store i32 0, ptr %3, align 4
br label %48
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.6)
%26 = icmp ne i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
store ptr @.str.7, ptr %28, align 8
store i32 0, ptr %3, align 4
br label %48
29: ; preds = %23
%30 = load ptr, ptr %4, align 8
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.8)
%32 = icmp ne i32 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
store ptr @.str.9, ptr %34, align 8
store i32 0, ptr %3, align 4
br label %48
35: ; preds = %29
%36 = load ptr, ptr %4, align 8
%37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.10)
%38 = icmp ne i32 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
store ptr @.str.11, ptr %40, align 8
store i32 0, ptr %3, align 4
br label %48
41: ; preds = %35
%42 = load ptr, ptr %4, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.12)
%44 = icmp ne i32 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %41
%46 = load ptr, ptr %5, align 8
store ptr @.str.13, ptr %46, align 8
store i32 0, ptr %3, align 4
br label %48
47: ; preds = %41
store i32 -1, ptr %3, align 4
br label %48
48: ; preds = %47, %45, %39, %33, %27, %21, %15, %9
%49 = load i32, ptr %3, align 4
ret i32 %49
}
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/tmp1nt87tru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"red\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"green\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"\1B[32m\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"brown\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\1B[33m\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"blue\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"\1B[34m\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"magenta\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"\1B[35m\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"cyan\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"\1B[36m\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"white\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"\1B[37m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @choose_color(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
store ptr @.str.1, ptr %10, align 8
store i32 0, ptr %3, align 4
br label %48
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.2)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
store ptr @.str.3, ptr %16, align 8
store i32 0, ptr %3, align 4
br label %48
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.4)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
store ptr @.str.5, ptr %22, align 8
store i32 0, ptr %3, align 4
br label %48
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.6)
%26 = icmp ne i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
store ptr @.str.7, ptr %28, align 8
store i32 0, ptr %3, align 4
br label %48
29: ; preds = %23
%30 = load ptr, ptr %4, align 8
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.8)
%32 = icmp ne i32 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
store ptr @.str.9, ptr %34, align 8
store i32 0, ptr %3, align 4
br label %48
35: ; preds = %29
%36 = load ptr, ptr %4, align 8
%37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.10)
%38 = icmp ne i32 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
store ptr @.str.11, ptr %40, align 8
store i32 0, ptr %3, align 4
br label %48
41: ; preds = %35
%42 = load ptr, ptr %4, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.12)
%44 = icmp ne i32 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %41
%46 = load ptr, ptr %5, align 8
store ptr @.str.13, ptr %46, align 8
store i32 0, ptr %3, align 4
br label %48
47: ; preds = %41
store i32 -1, ptr %3, align 4
br label %48
48: ; preds = %47, %45, %39, %33, %27, %21, %15, %9
%49 = load i32, ptr %3, align 4
ret i32 %49
}
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/tmpu1h7wpbq.c'
source_filename = "/tmp/tmpu1h7wpbq.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Usage: ./test array...\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %13, 1
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %2
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %9, align 8
store i32 0, ptr %6, align 4
br label %27
27: ; preds = %43, %19
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %46
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %32, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i32 @atoi(ptr noundef %37)
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
store i32 %38, ptr %42, align 4
br label %43
43: ; preds = %31
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %27, !llvm.loop !6
46: ; preds = %27
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %8, align 4
%49 = call ptr @subsets(ptr noundef %47, i32 noundef %48, ptr noundef %11, ptr noundef %10)
store ptr %49, ptr %12, align 8
store i32 0, ptr %6, align 4
br label %50
50: ; preds = %79, %46
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %82
54: ; preds = %50
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %74, %54
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %56, %61
br i1 %62, label %63, label %77
63: ; preds = %55
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %72)
br label %74
74: ; preds = %63
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %55, !llvm.loop !8
77: ; preds = %55
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %79
79: ; preds = %77
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
br label %50, !llvm.loop !9
82: ; preds = %50
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @subsets(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu1h7wpbq.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Usage: ./test array...\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %13, 1
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %2
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %9, align 8
store i32 0, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %48
.lr.ph: ; preds = %19
br label %30
30: ; preds = %.lr.ph, %42
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %31, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @atoi(ptr noundef %36)
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
br label %42
42: ; preds = %30
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %19
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %8, align 4
%51 = call ptr @subsets(ptr noundef %49, i32 noundef %50, ptr noundef %11, ptr noundef %10)
store ptr %51, ptr %12, align 8
store i32 0, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %11, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph5, label %92
.lr.ph5: ; preds = %48
br label %55
55: ; preds = %.lr.ph5, %86
store i32 0, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %56, %61
br i1 %62, label %.lr.ph2, label %84
.lr.ph2: ; preds = %55
br label %63
63: ; preds = %.lr.ph2, %74
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %72)
br label %74
74: ; preds = %63
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
%77 = load i32, ptr %7, align 4
%78 = load ptr, ptr %10, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
%82 = load i32, ptr %81, align 4
%83 = icmp slt i32 %77, %82
br i1 %83, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %74
br label %84
84: ; preds = %._crit_edge3, %55
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %86
86: ; preds = %84
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = load i32, ptr %11, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %92
92: ; preds = %._crit_edge6, %48
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @subsets(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc8gwen0g.c'
source_filename = "/tmp/tmpc8gwen0g.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mipv6_suffix_compare(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 i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp ugt i32 %9, 128
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 0, ptr %4, align 4
br label %66
12: ; preds = %3
store i32 3, ptr %8, align 4
br label %13
13: ; preds = %60, %12
%14 = load i32, ptr %7, align 4
%15 = icmp ugt i32 %14, 0
br i1 %15, label %16, label %65
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = icmp uge i32 %17, 32
br i1 %18, label %19, label %37
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds %struct.in6_addr, ptr %20, i32 0, i32 0
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds %struct.in6_addr, ptr %27, i32 0, i32 0
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp ne i32 %26, %33
br i1 %34, label %35, label %36
35: ; preds = %19
store i32 0, ptr %4, align 4
br label %66
36: ; preds = %19
br label %59
37: ; preds = %16
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.in6_addr, ptr %38, i32 0, i32 0
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds %struct.in6_addr, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = xor i32 %44, %51
%53 = load i32, ptr %7, align 4
%54 = shl i32 -1, %53
%55 = and i32 %52, %54
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %37
store i32 0, ptr %4, align 4
br label %66
58: ; preds = %37
store i32 1, ptr %4, align 4
br label %66
59: ; preds = %36
br label %60
60: ; preds = %59
%61 = load i32, ptr %7, align 4
%62 = sub i32 %61, 32
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %8, align 4
br label %13, !llvm.loop !6
65: ; preds = %13
store i32 1, ptr %4, align 4
br label %66
66: ; preds = %65, %58, %57, %35, %11
%67 = load i32, ptr %4, align 4
ret i32 %67
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc8gwen0g.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mipv6_suffix_compare(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 i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp ugt i32 %9, 128
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 0, ptr %4, align 4
br label %67
12: ; preds = %3
store i32 3, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp ugt i32 %13, 0
br i1 %14, label %.lr.ph, label %66
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %59
%16 = load i32, ptr %7, align 4
%17 = icmp uge i32 %16, 32
br i1 %17, label %18, label %36
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.in6_addr, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.in6_addr, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp ne i32 %25, %32
br i1 %33, label %34, label %35
34: ; preds = %18
store i32 0, ptr %4, align 4
br label %67
35: ; preds = %18
br label %58
36: ; preds = %15
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.in6_addr, ptr %37, i32 0, i32 0
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds %struct.in6_addr, ptr %44, i32 0, i32 0
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = xor i32 %43, %50
%52 = load i32, ptr %7, align 4
%53 = shl i32 -1, %52
%54 = and i32 %51, %53
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %36
store i32 0, ptr %4, align 4
br label %67
57: ; preds = %36
store i32 1, ptr %4, align 4
br label %67
58: ; preds = %35
br label %59
59: ; preds = %58
%60 = load i32, ptr %7, align 4
%61 = sub i32 %60, 32
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %8, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp ugt i32 %64, 0
br i1 %65, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %66
66: ; preds = %._crit_edge, %12
store i32 1, ptr %4, align 4
br label %67
67: ; preds = %66, %57, %56, %34, %11
%68 = load i32, ptr %4, align 4
ret i32 %68
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpf1y97o99.c'
source_filename = "/tmp/tmpf1y97o99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@EXDEV = dso_local global i64 0, align 8
@PATH_MAX = dso_local global i32 0, align 4
@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/tmpf1y97o99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@EXDEV = dso_local global i64 0, align 8
@PATH_MAX = dso_local global i32 0, align 4
@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/tmpeja1lxpu.c'
source_filename = "/tmp/tmpeja1lxpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QEIIntClear(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 40
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeja1lxpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QEIIntClear(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 40
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgsgvkcao.c'
source_filename = "/tmp/tmpgsgvkcao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@itoa_recursive.index = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @itoa_recursive(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 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 45, ptr %9, align 1
store i32 1, ptr @itoa_recursive.index, align 4
br label %10
10: ; preds = %7, %2
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %11, 10
%13 = call i32 @abs(i32 noundef %12) #2
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 10
%18 = call i32 @abs(i32 noundef %17) #2
%19 = load ptr, ptr %4, align 8
call void @itoa_recursive(i32 noundef %18, ptr noundef %19)
br label %20
20: ; preds = %15, %10
%21 = load i32, ptr %3, align 4
%22 = srem i32 %21, 10
%23 = call i32 @abs(i32 noundef %22) #2
%24 = add nsw i32 %23, 48
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr @itoa_recursive.index, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr @itoa_recursive.index, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
store i8 %25, ptr %30, align 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr @itoa_recursive.index, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgsgvkcao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@itoa_recursive.index = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @itoa_recursive(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 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 45, ptr %9, align 1
store i32 1, ptr @itoa_recursive.index, align 4
br label %10
10: ; preds = %7, %2
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %11, 10
%13 = call i32 @abs(i32 noundef %12) #2
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 10
%18 = call i32 @abs(i32 noundef %17) #2
%19 = load ptr, ptr %4, align 8
call void @itoa_recursive(i32 noundef %18, ptr noundef %19)
br label %20
20: ; preds = %15, %10
%21 = load i32, ptr %3, align 4
%22 = srem i32 %21, 10
%23 = call i32 @abs(i32 noundef %22) #2
%24 = add nsw i32 %23, 48
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr @itoa_recursive.index, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr @itoa_recursive.index, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
store i8 %25, ptr %30, align 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr @itoa_recursive.index, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybp6r9c7.c'
source_filename = "/tmp/tmpybp6r9c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexOf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @strstr(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
%16 = ptrtoint ptr %14 to i64
%17 = ptrtoint ptr %15 to i64
%18 = sub i64 %16, %17
store i64 %18, ptr %7, align 8
br label %20
19: ; preds = %2
store i64 -1, ptr %3, align 8
br label %26
20: ; preds = %13
%21 = load i64, ptr %7, align 8
%22 = icmp sge i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i64, ptr %7, align 8
store i64 %24, ptr %3, align 8
br label %26
25: ; preds = %20
store i64 -1, ptr %3, align 8
br label %26
26: ; preds = %25, %23, %19
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare ptr @strstr(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/tmpybp6r9c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexOf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @strstr(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
%16 = ptrtoint ptr %14 to i64
%17 = ptrtoint ptr %15 to i64
%18 = sub i64 %16, %17
store i64 %18, ptr %7, align 8
br label %20
19: ; preds = %2
store i64 -1, ptr %3, align 8
br label %26
20: ; preds = %13
%21 = load i64, ptr %7, align 8
%22 = icmp sge i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i64, ptr %7, align 8
store i64 %24, ptr %3, align 8
br label %26
25: ; preds = %20
store i64 -1, ptr %3, align 8
br label %26
26: ; preds = %25, %23, %19
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare ptr @strstr(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/tmpncp39yg_.c'
source_filename = "/tmp/tmpncp39yg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LibTomFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmpncp39yg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LibTomFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmpqs9s7n0f.c'
source_filename = "/tmp/tmpqs9s7n0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @parsepipe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @parsepipe(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/tmpqs9s7n0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @parsepipe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @parsepipe(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/tmpjdv14ftm.c'
source_filename = "/tmp/tmpjdv14ftm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intDblDiv(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = call i64 @divmod(i64 noundef %11, i64 noundef %12, i64 noundef %13, ptr noundef %9, ptr noundef %10, ptr noundef %8)
store i64 %14, ptr %7, align 8
%15 = call i32 @set_overflow(i32 noundef 0)
%16 = load i64, ptr %8, align 8
%17 = icmp ne i64 %16, 0
%18 = zext i1 %17 to i32
%19 = call i32 @set_carry(i32 noundef %18)
%20 = load i64, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp ne i32 %21, %22
%24 = zext i1 %23 to i32
%25 = call i64 @build_value(i64 noundef %20, i32 noundef %24)
ret i64 %25
}
declare i64 @divmod(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @set_overflow(i32 noundef) #1
declare i32 @set_carry(i32 noundef) #1
declare i64 @build_value(i64 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/tmpjdv14ftm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intDblDiv(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = call i64 @divmod(i64 noundef %11, i64 noundef %12, i64 noundef %13, ptr noundef %9, ptr noundef %10, ptr noundef %8)
store i64 %14, ptr %7, align 8
%15 = call i32 @set_overflow(i32 noundef 0)
%16 = load i64, ptr %8, align 8
%17 = icmp ne i64 %16, 0
%18 = zext i1 %17 to i32
%19 = call i32 @set_carry(i32 noundef %18)
%20 = load i64, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp ne i32 %21, %22
%24 = zext i1 %23 to i32
%25 = call i64 @build_value(i64 noundef %20, i32 noundef %24)
ret i64 %25
}
declare i64 @divmod(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @set_overflow(i32 noundef) #1
declare i32 @set_carry(i32 noundef) #1
declare i64 @build_value(i64 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/tmpfn6uc7r0.c'
source_filename = "/tmp/tmpfn6uc7r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f451(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f450(ptr noundef %3)
ret i32 %4
}
declare i32 @f450(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfn6uc7r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f451(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f450(ptr noundef %3)
ret i32 %4
}
declare i32 @f450(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx8xge6r4.c'
source_filename = "/tmp/tmpx8xge6r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @open_soundfile(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca [1000 x i8], align 16
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store i64 %7, ptr %17, align 8
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %11, align 8
%24 = getelementptr inbounds [1000 x i8], ptr %18, i64 0, i64 0
%25 = call i32 @open_via_path(ptr noundef %22, ptr noundef %23, ptr noundef @.str, ptr noundef %24, ptr noundef %19, i32 noundef 1000, i32 noundef 1)
store i32 %25, ptr %20, align 4
%26 = load i32, ptr %20, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %8
store i32 -1, ptr %9, align 4
br label %45
29: ; preds = %8
%30 = load i32, ptr %20, align 4
%31 = load i32, ptr %12, align 4
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %14, align 8
%34 = load ptr, ptr %15, align 8
%35 = load ptr, ptr %16, align 8
%36 = load i64, ptr %17, align 8
%37 = call i32 @open_soundfile_via_fd(i32 noundef %30, i32 noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, i64 noundef %36)
store i32 %37, ptr %21, align 4
%38 = load i32, ptr %21, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %29
%41 = load i32, ptr %20, align 4
%42 = call i32 @sys_close(i32 noundef %41)
br label %43
43: ; preds = %40, %29
%44 = load i32, ptr %21, align 4
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %43, %28
%46 = load i32, ptr %9, align 4
ret i32 %46
}
declare i32 @open_via_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @open_soundfile_via_fd(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sys_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/tmpx8xge6r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @open_soundfile(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca [1000 x i8], align 16
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store i64 %7, ptr %17, align 8
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %11, align 8
%24 = getelementptr inbounds [1000 x i8], ptr %18, i64 0, i64 0
%25 = call i32 @open_via_path(ptr noundef %22, ptr noundef %23, ptr noundef @.str, ptr noundef %24, ptr noundef %19, i32 noundef 1000, i32 noundef 1)
store i32 %25, ptr %20, align 4
%26 = load i32, ptr %20, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %8
store i32 -1, ptr %9, align 4
br label %45
29: ; preds = %8
%30 = load i32, ptr %20, align 4
%31 = load i32, ptr %12, align 4
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %14, align 8
%34 = load ptr, ptr %15, align 8
%35 = load ptr, ptr %16, align 8
%36 = load i64, ptr %17, align 8
%37 = call i32 @open_soundfile_via_fd(i32 noundef %30, i32 noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, i64 noundef %36)
store i32 %37, ptr %21, align 4
%38 = load i32, ptr %21, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %29
%41 = load i32, ptr %20, align 4
%42 = call i32 @sys_close(i32 noundef %41)
br label %43
43: ; preds = %40, %29
%44 = load i32, ptr %21, align 4
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %43, %28
%46 = load i32, ptr %9, align 4
ret i32 %46
}
declare i32 @open_via_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @open_soundfile_via_fd(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sys_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/tmpz5xxupkw.c'
source_filename = "/tmp/tmpz5xxupkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acot(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fdiv double 1.000000e+00, %3
%5 = call double @atan(double noundef %4) #2
ret double %5
}
; Function Attrs: nounwind
declare double @atan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5xxupkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acot(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fdiv double 1.000000e+00, %3
%5 = call double @atan(double noundef %4) #2
ret double %5
}
; Function Attrs: nounwind
declare double @atan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpogq9qs1z.c'
source_filename = "/tmp/tmpogq9qs1z.c"
target datalayout = "e-m:e-p270: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.n1 = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 1, i32 1, i32 4], align 16
@__const.main.n2 = private unnamed_addr constant [5 x i32] [i32 3, i32 2, i32 1, i32 0, i32 4], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n1, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.n2, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @canJump(ptr noundef %4, i32 noundef 5)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @canJump(ptr noundef %7, i32 noundef 5)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
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 @canJump(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogq9qs1z.c"
target datalayout = "e-m:e-p270: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.n1 = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 1, i32 1, i32 4], align 16
@__const.main.n2 = private unnamed_addr constant [5 x i32] [i32 3, i32 2, i32 1, i32 0, i32 4], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n1, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.n2, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @canJump(ptr noundef %4, i32 noundef 5)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @canJump(ptr noundef %7, i32 noundef 5)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
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 @canJump(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxick04l2.c'
source_filename = "/tmp/tmpxick04l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter size of array:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Enter value of coprime divisors:\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Enter value of remainders:\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Answer is: %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 [100 x i32], align 16
%5 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %32, %21
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %29
%31 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %30)
br label %32
32: ; preds = %27
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %23, !llvm.loop !8
35: ; preds = %23
%36 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 0
%37 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 0
%38 = load i32, ptr %2, align 4
%39 = call i32 @minresult(ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @minresult(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxick04l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter size of array:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Enter value of coprime divisors:\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Enter value of remainders:\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Answer is: %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 [100 x i32], align 16
%5 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph2, label %39
.lr.ph2: ; preds = %23
br label %28
28: ; preds = %.lr.ph2, %33
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %30
%32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %31)
br label %33
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %39
39: ; preds = %._crit_edge3, %23
%40 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 0
%41 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 0
%42 = load i32, ptr %2, align 4
%43 = call i32 @minresult(ptr noundef %40, ptr noundef %41, i32 noundef %42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @minresult(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9j2opjw9.c'
source_filename = "/tmp/tmp9j2opjw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @colon() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @peekList()
%3 = call i64 @strcmp(i32 noundef %2, ptr noundef @.str)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @reportError(i8 noundef signext 58)
store i32 0, ptr %1, align 4
br label %10
7: ; preds = %0
%8 = call i32 (...) @dequeueList()
%9 = call i32 @addToTree(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %10
10: ; preds = %7, %5
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @peekList(...) #1
declare i32 @reportError(i8 noundef signext) #1
declare i32 @dequeueList(...) #1
declare i32 @addToTree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9j2opjw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @colon() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @peekList()
%3 = call i64 @strcmp(i32 noundef %2, ptr noundef @.str)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @reportError(i8 noundef signext 58)
store i32 0, ptr %1, align 4
br label %10
7: ; preds = %0
%8 = call i32 (...) @dequeueList()
%9 = call i32 @addToTree(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %10
10: ; preds = %7, %5
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @peekList(...) #1
declare i32 @reportError(i8 noundef signext) #1
declare i32 @dequeueList(...) #1
declare i32 @addToTree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz8gn8uw8.c'
source_filename = "/tmp/tmpz8gn8uw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type the name of the first student: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Type the age of the first student: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"Type the exam grade of the first student: \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"\0AType the name of the second student: \00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"Type the age of the second student: \00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Type the exam grade of the second student: \00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\0A\09\09STUDENTS INFORMATION\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\0AFIRST STUDENT\0AName: %s\0AAge: %d\0AExam grade: %.2f\00", align 1
@.str.11 = private unnamed_addr constant [51 x i8] c"\0ASECOND STUDENT\0AName: %s\0AAge: %d\0AExam grade: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca [50 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7)
call void @horizontalRule()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
call void @horizontalRule()
%23 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%24 = load i32, ptr %4, align 4
%25 = load float, ptr %6, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %23, i32 noundef %24, double noundef %26)
call void @horizontalRule()
%28 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%29 = load i32, ptr %5, align 4
%30 = load float, ptr %7, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %28, i32 noundef %29, double noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare void @horizontalRule() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz8gn8uw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type the name of the first student: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Type the age of the first student: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"Type the exam grade of the first student: \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"\0AType the name of the second student: \00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"Type the age of the second student: \00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Type the exam grade of the second student: \00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\0A\09\09STUDENTS INFORMATION\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\0AFIRST STUDENT\0AName: %s\0AAge: %d\0AExam grade: %.2f\00", align 1
@.str.11 = private unnamed_addr constant [51 x i8] c"\0ASECOND STUDENT\0AName: %s\0AAge: %d\0AExam grade: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca [50 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7)
call void @horizontalRule()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
call void @horizontalRule()
%23 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%24 = load i32, ptr %4, align 4
%25 = load float, ptr %6, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %23, i32 noundef %24, double noundef %26)
call void @horizontalRule()
%28 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%29 = load i32, ptr %5, align 4
%30 = load float, ptr %7, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %28, i32 noundef %29, double noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare void @horizontalRule() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqtmkp0mt.c'
source_filename = "/tmp/tmpqtmkp0mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_dummy() #0 {
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtmkp0mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_dummy() #0 {
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo3746rm6.c'
source_filename = "/tmp/tmpo3746rm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hey man, what's up?\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str.1, ptr noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo3746rm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hey man, what's up?\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str.1, ptr noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0_ioobcd.c'
source_filename = "/tmp/tmp0_ioobcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(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
store ptr %7, ptr %5, align 8
br label %8
8: ; preds = %39, %2
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %6, align 8
br label %14
14: ; preds = %30, %12
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %22, %25
br label %27
27: ; preds = %19, %14
%28 = phi i1 [ false, %14 ], [ %26, %19 ]
br i1 %28, label %29, label %33
29: ; preds = %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %6, align 8
br label %14, !llvm.loop !6
33: ; preds = %27
%34 = load ptr, ptr %6, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %33
br label %42
38: ; preds = %33
br label %39
39: ; preds = %38
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %5, align 8
br label %8, !llvm.loop !8
42: ; preds = %37, %8
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %3, align 8
%45 = ptrtoint ptr %43 to i64
%46 = ptrtoint ptr %44 to i64
%47 = sub i64 %45, %46
%48 = trunc i64 %47 to i32
ret i32 %48
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0_ioobcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(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
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %38
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %29, %11
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %21, %24
br label %26
26: ; preds = %18, %13
%27 = phi i1 [ false, %13 ], [ %25, %18 ]
br i1 %27, label %28, label %32
28: ; preds = %26
br label %29
29: ; preds = %28
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %6, align 8
br label %13, !llvm.loop !6
32: ; preds = %26
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %37, label %36
36: ; preds = %32
br label %44
37: ; preds = %32
br label %38
38: ; preds = %37
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i8, ptr %41, align 1
%43 = icmp ne i8 %42, 0
br i1 %43, label %11, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %44
44: ; preds = %.loopexit, %36
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %3, align 8
%47 = ptrtoint ptr %45 to i64
%48 = ptrtoint ptr %46 to i64
%49 = sub i64 %47, %48
%50 = trunc i64 %49 to i32
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyk06qpz2.c'
source_filename = "/tmp/tmpyk06qpz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ketama_hashi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @ketama_md5_digest(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 3
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 24
%11 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 2
%12 = load i8, ptr %11, align 2
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 16
%15 = or i32 %10, %14
%16 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = shl i32 %18, 8
%20 = or i32 %15, %19
%21 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%22 = load i8, ptr %21, align 16
%23 = zext i8 %22 to i32
%24 = or i32 %20, %23
ret i32 %24
}
declare i32 @ketama_md5_digest(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/tmpyk06qpz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ketama_hashi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @ketama_md5_digest(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 3
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 24
%11 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 2
%12 = load i8, ptr %11, align 2
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 16
%15 = or i32 %10, %14
%16 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = shl i32 %18, 8
%20 = or i32 %15, %19
%21 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%22 = load i8, ptr %21, align 16
%23 = zext i8 %22 to i32
%24 = or i32 %20, %23
ret i32 %24
}
declare i32 @ketama_md5_digest(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/tmpd6b2wn_u.c'
source_filename = "/tmp/tmpd6b2wn_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"desert.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"desert.out\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %1)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %3)
ret void
}
declare i32 @freopen(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/tmpd6b2wn_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"desert.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"desert.out\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %1)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %3)
ret void
}
declare i32 @freopen(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/tmp104sizk2.c'
source_filename = "/tmp/tmp104sizk2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"ERROR: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @throw_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @throw_message(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @throw_message(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp104sizk2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"ERROR: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @throw_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @throw_message(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @throw_message(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp35ih8m_4.c'
source_filename = "/tmp/tmp35ih8m_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Called combine for %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @combine(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %12, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %13, align 4
br label %20
20: ; preds = %66, %6
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %12, align 4
%27 = icmp sle i32 %25, %26
br label %28
28: ; preds = %24, %20
%29 = phi i1 [ false, %20 ], [ %27, %24 ]
br i1 %29, label %30, label %67
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %54
42: ; preds = %30
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i32, ptr %43, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %13, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %13, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
store i32 %48, ptr %53, align 4
br label %66
54: ; preds = %30
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %13, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %13, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i32, ptr %61, i64 %64
store i32 %60, ptr %65, align 4
br label %66
66: ; preds = %54, %42
br label %20, !llvm.loop !6
67: ; preds = %28
br label %68
68: ; preds = %72, %67
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %72, label %84
72: ; preds = %68
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = sext i32 %74 to i64
%77 = getelementptr inbounds i32, ptr %73, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %8, align 8
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %13, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
store i32 %78, ptr %83, align 4
br label %68, !llvm.loop !8
84: ; preds = %68
br label %85
85: ; preds = %89, %84
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %12, align 4
%88 = icmp sle i32 %86, %87
br i1 %88, label %89, label %101
89: ; preds = %85
%90 = load ptr, ptr %7, align 8
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load ptr, ptr %8, align 8
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %13, align 4
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i32, ptr %96, i64 %99
store i32 %95, ptr %100, align 4
br label %85, !llvm.loop !9
101: ; preds = %85
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35ih8m_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Called combine for %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @combine(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %12, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %13, align 4
br label %20
20: ; preds = %66, %6
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %12, align 4
%27 = icmp sle i32 %25, %26
br label %28
28: ; preds = %24, %20
%29 = phi i1 [ false, %20 ], [ %27, %24 ]
br i1 %29, label %30, label %67
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %54
42: ; preds = %30
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i32, ptr %43, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %13, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %13, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
store i32 %48, ptr %53, align 4
br label %66
54: ; preds = %30
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %13, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %13, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i32, ptr %61, i64 %64
store i32 %60, ptr %65, align 4
br label %66
66: ; preds = %54, %42
br label %20, !llvm.loop !6
67: ; preds = %28
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %.lr.ph, label %86
.lr.ph: ; preds = %67
br label %71
71: ; preds = %.lr.ph, %71
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %9, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i32, ptr %72, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %13, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %13, align 4
%81 = sext i32 %79 to i64
%82 = getelementptr inbounds i32, ptr %78, i64 %81
store i32 %77, ptr %82, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %10, align 4
%85 = icmp sle i32 %83, %84
br i1 %85, label %71, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %71
br label %86
86: ; preds = %._crit_edge, %67
%87 = load i32, ptr %11, align 4
%88 = load i32, ptr %12, align 4
%89 = icmp sle i32 %87, %88
br i1 %89, label %.lr.ph2, label %105
.lr.ph2: ; preds = %86
br label %90
90: ; preds = %.lr.ph2, %90
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %11, align 4
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %13, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %13, align 4
%100 = sext i32 %98 to i64
%101 = getelementptr inbounds i32, ptr %97, i64 %100
store i32 %96, ptr %101, align 4
%102 = load i32, ptr %11, align 4
%103 = load i32, ptr %12, align 4
%104 = icmp sle i32 %102, %103
br i1 %104, label %90, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %90
br label %105
105: ; preds = %._crit_edge3, %86
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpelzdyv7_.c'
source_filename = "/tmp/tmpelzdyv7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Block Bitmap End == %ld\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_block_bitmap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @write(i32 noundef %6, ptr noundef %7, i32 noundef 4096)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SEEK_CUR, align 4
%11 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelzdyv7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Block Bitmap End == %ld\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_block_bitmap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @write(i32 noundef %6, ptr noundef %7, i32 noundef 4096)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SEEK_CUR, align 4
%11 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxbpvcqlh.c'
source_filename = "/tmp/tmpxbpvcqlh.c"
target datalayout = "e-m:e-p270: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/tmpxbpvcqlh.c"
target datalayout = "e-m:e-p270: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/tmpljqyxdx2.c'
source_filename = "/tmp/tmpljqyxdx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extern_func1_1(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @extern_func1_2(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @extern_func1_2(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljqyxdx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extern_func1_1(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @extern_func1_2(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @extern_func1_2(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp19oq2ye1.c'
source_filename = "/tmp/tmp19oq2ye1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"raw write\0A\0D\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"fputs\0A\0D\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"printf\0A\0D\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"argv: %d\0A\0D\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"argc[%d]:%s\0A\0D\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 11)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %32, %2
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %35
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18, ptr noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fputs(ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %17
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %13, !llvm.loop !6
35: ; preds = %13
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp19oq2ye1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"raw write\0A\0D\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"fputs\0A\0D\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"printf\0A\0D\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"argv: %d\0A\0D\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"argc[%d]:%s\0A\0D\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 11)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %31
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @fputs(ptr noundef %28, i32 noundef %29)
br label %31
31: ; preds = %16
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_f8ell80.c'
source_filename = "/tmp/tmp_f8ell80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %27, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %28
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 9
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %27
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 8
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 92
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
22: ; preds = %17
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23)
br label %25
25: ; preds = %22, %20
br label %26
26: ; preds = %25, %15
br label %27
27: ; preds = %26, %10
br label %3, !llvm.loop !6
28: ; preds = %3
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f8ell80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %26
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 9
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %26
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 8
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, 92
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %24
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
br label %24
24: ; preds = %21, %19
br label %25
25: ; preds = %24, %14
br label %26
26: ; preds = %25, %9
%27 = call i32 (...) @getchar()
store i32 %27, ptr %2, align 4
%28 = load i32, ptr @EOF, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz3zp15_e.c'
source_filename = "/tmp/tmpz3zp15_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iupStrDup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %24
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
br label %22
22: ; preds = %17, %8
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %25
24: ; preds = %1
store ptr null, ptr %2, align 8
br label %25
25: ; preds = %24, %22
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz3zp15_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iupStrDup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %24
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
br label %22
22: ; preds = %17, %8
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %25
24: ; preds = %1
store ptr null, ptr %2, align 8
br label %25
25: ; preds = %24, %22
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxl5cgpm6.c'
source_filename = "/tmp/tmpxl5cgpm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sinf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @sin(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxl5cgpm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sinf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @sin(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyf50ec_k.c'
source_filename = "/tmp/tmpyf50ec_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGTRAP = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_step_child() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @SIGUSR1, align 4
%3 = load i32, ptr @SIG_IGN, align 4
%4 = call i32 @signal(i32 noundef %2, i32 noundef %3)
%5 = call i32 @WRITE(i32 noundef 0)
%6 = call i64 (...) @READ()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @e(i32 noundef 100)
br label %10
10: ; preds = %8, %0
%11 = load i32, ptr @SIGTRAP, align 4
%12 = load i32, ptr @SIG_IGN, align 4
%13 = call i32 @signal(i32 noundef %11, i32 noundef %12)
%14 = call i32 @sigfillset(ptr noundef %1)
%15 = load i32, ptr @SIG_SETMASK, align 4
%16 = call i32 @sigprocmask(i32 noundef %15, ptr noundef %1, ptr noundef null)
%17 = call i32 @exit(i32 noundef 42) #3
unreachable
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @WRITE(i32 noundef) #1
declare i64 @READ(...) #1
declare i32 @e(i32 noundef) #1
declare i32 @sigfillset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyf50ec_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGTRAP = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_step_child() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @SIGUSR1, align 4
%3 = load i32, ptr @SIG_IGN, align 4
%4 = call i32 @signal(i32 noundef %2, i32 noundef %3)
%5 = call i32 @WRITE(i32 noundef 0)
%6 = call i64 (...) @READ()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @e(i32 noundef 100)
br label %10
10: ; preds = %8, %0
%11 = load i32, ptr @SIGTRAP, align 4
%12 = load i32, ptr @SIG_IGN, align 4
%13 = call i32 @signal(i32 noundef %11, i32 noundef %12)
%14 = call i32 @sigfillset(ptr noundef %1)
%15 = load i32, ptr @SIG_SETMASK, align 4
%16 = call i32 @sigprocmask(i32 noundef %15, ptr noundef %1, ptr noundef null)
%17 = call i32 @exit(i32 noundef 42) #3
unreachable
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @WRITE(i32 noundef) #1
declare i64 @READ(...) #1
declare i32 @e(i32 noundef) #1
declare i32 @sigfillset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgzfs_86q.c'
source_filename = "/tmp/tmpgzfs_86q.c"
target datalayout = "e-m:e-p270: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/tmpgzfs_86q.c"
target datalayout = "e-m:e-p270: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/tmp27154fbh.c'
source_filename = "/tmp/tmp27154fbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x9a() #0 {
%1 = call i64 @isodigit(i32 noundef 154)
%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 775, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp27154fbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x9a() #0 {
%1 = call i64 @isodigit(i32 noundef 154)
%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 775, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmps5bje2fr.c'
source_filename = "/tmp/tmps5bje2fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %64
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %64
13: ; preds = %10
%14 = load i64, ptr %7, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %64
16: ; preds = %13
br label %17
17: ; preds = %35, %16
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %6, align 8
%23 = load i8, ptr %21, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %20, %24
br i1 %25, label %26, label %27
26: ; preds = %17
br label %39
27: ; preds = %17
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 0, ptr %4, align 4
br label %65
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %7, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %17, label %39, !llvm.loop !6
39: ; preds = %35, %26
%40 = load i64, ptr %7, align 8
%41 = icmp ugt i64 %40, 0
br i1 %41, label %42, label %63
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
store i32 -1, ptr %4, align 4
br label %65
48: ; preds = %42
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 -1
store ptr %50, ptr %6, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %48
store i32 1, ptr %4, align 4
br label %65
55: ; preds = %48
%56 = load ptr, ptr %5, align 8
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = load ptr, ptr %6, align 8
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = sub nsw i32 %58, %61
store i32 %62, ptr %4, align 4
br label %65
63: ; preds = %39
br label %64
64: ; preds = %63, %13, %10, %3
store i32 0, ptr %4, align 4
br label %65
65: ; preds = %64, %55, %54, %47, %33
%66 = load i32, ptr %4, align 4
ret i32 %66
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps5bje2fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %64
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %64
13: ; preds = %10
%14 = load i64, ptr %7, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %64
16: ; preds = %13
br label %17
17: ; preds = %35, %16
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %6, align 8
%23 = load i8, ptr %21, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %20, %24
br i1 %25, label %26, label %27
26: ; preds = %17
br label %39
27: ; preds = %17
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 0, ptr %4, align 4
br label %65
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %7, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %17, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %35
br label %39
39: ; preds = %.loopexit, %26
%40 = load i64, ptr %7, align 8
%41 = icmp ugt i64 %40, 0
br i1 %41, label %42, label %63
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
store i32 -1, ptr %4, align 4
br label %65
48: ; preds = %42
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 -1
store ptr %50, ptr %6, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %48
store i32 1, ptr %4, align 4
br label %65
55: ; preds = %48
%56 = load ptr, ptr %5, align 8
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = load ptr, ptr %6, align 8
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = sub nsw i32 %58, %61
store i32 %62, ptr %4, align 4
br label %65
63: ; preds = %39
br label %64
64: ; preds = %63, %13, %10, %3
store i32 0, ptr %4, align 4
br label %65
65: ; preds = %64, %55, %54, %47, %33
%66 = load i32, ptr %4, align 4
ret i32 %66
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1z0ymfhf.c'
source_filename = "/tmp/tmp1z0ymfhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@callback.j = internal global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"j = %d,\09\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"i = %d, %s = %s\09\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load i32, ptr @callback.j, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr @callback.j, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %30, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %33
17: ; preds = %13
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18, ptr noundef %23, ptr noundef %28)
br label %30
30: ; preds = %17
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
br label %13, !llvm.loop !6
33: ; preds = %13
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1z0ymfhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@callback.j = internal global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"j = %d,\09\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"i = %d, %s = %s\09\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load i32, ptr @callback.j, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr @callback.j, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %29
%17 = load i32, ptr %9, align 4
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, ptr noundef %22, ptr noundef %27)
br label %29
29: ; preds = %16
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5rwyf_6l.c'
source_filename = "/tmp/tmp5rwyf_6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%02d:%02d - A porta %s!\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"abriu\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fechou\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %24, %0
%7 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %25
10: ; preds = %6
br label %11
11: ; preds = %15, %10
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %24
15: ; preds = %11
%16 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.3, ptr @.str.4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %18, ptr noundef %22)
br label %11, !llvm.loop !6
24: ; preds = %11
br label %6, !llvm.loop !8
25: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5rwyf_6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%02d:%02d - A porta %s!\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"abriu\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fechou\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph2, label %29
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %25
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %2, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %13
%14 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %17, 0
%19 = zext i1 %18 to i64
%20 = select i1 %18, ptr @.str.3, ptr @.str.4
%21 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, ptr noundef %20)
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %2, align 4
%24 = icmp ne i32 %22, 0
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %25
25: ; preds = %._crit_edge, %9
%26 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%27 = load i64, ptr @EOF, align 8
%28 = icmp ne i64 %26, %27
br i1 %28, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %29
29: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp089e6kl8.c'
source_filename = "/tmp/tmp089e6kl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSPC = dso_local global i32 0, align 4
@ETIMEDOUT = 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/tmp089e6kl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSPC = dso_local global i32 0, align 4
@ETIMEDOUT = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_j0yp13g.c'
source_filename = "/tmp/tmp_j0yp13g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%s on %#02x to %s: error.\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%s on %#02x to %s: done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogMessageText(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = call i32 (...) @LogDateTime()
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14, ptr noundef %15)
br label %22
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, ptr noundef %20)
br label %22
22: ; preds = %17, %12
ret void
}
declare i32 @LogDateTime(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_j0yp13g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%s on %#02x to %s: error.\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%s on %#02x to %s: done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogMessageText(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = call i32 (...) @LogDateTime()
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14, ptr noundef %15)
br label %22
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, ptr noundef %20)
br label %22
22: ; preds = %17, %12
ret void
}
declare i32 @LogDateTime(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt0wdb3ze.c'
source_filename = "/tmp/tmpt0wdb3ze.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 }
@IMAXBEL = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@INPCK = dso_local global i32 0, align 4
@BRKINT = dso_local global i32 0, align 4
@PARMRK = dso_local global i32 0, align 4
@ISTRIP = dso_local global i32 0, align 4
@INLCR = dso_local global i32 0, align 4
@IGNCR = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@IGNPAR = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHOE = dso_local global i32 0, align 4
@ECHOK = dso_local global i32 0, align 4
@ECHONL = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@NOFLSH = dso_local global i32 0, align 4
@TOSTOP = dso_local global i32 0, align 4
@PENDIN = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cfmakeraw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @IMAXBEL, align 4
%4 = load i32, ptr @IXOFF, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @INPCK, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @BRKINT, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @PARMRK, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @ISTRIP, align 4
%13 = or i32 %11, %12
%14 = load i32, ptr @INLCR, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @IGNCR, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @ICRNL, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @IXON, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @IGNPAR, align 4
%23 = or i32 %21, %22
%24 = xor i32 %23, -1
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds %struct.termios, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 8
%28 = and i32 %27, %24
store i32 %28, ptr %26, align 8
%29 = load i32, ptr @IGNBRK, align 4
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds %struct.termios, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 8
%33 = or i32 %32, %29
store i32 %33, ptr %31, align 8
%34 = load i32, ptr @OPOST, align 4
%35 = xor i32 %34, -1
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds %struct.termios, ptr %36, i32 0, i32 4
%38 = load i32, ptr %37, align 8
%39 = and i32 %38, %35
store i32 %39, ptr %37, align 8
%40 = load i32, ptr @ECHO, align 4
%41 = load i32, ptr @ECHOE, align 4
%42 = or i32 %40, %41
%43 = load i32, ptr @ECHOK, align 4
%44 = or i32 %42, %43
%45 = load i32, ptr @ECHONL, align 4
%46 = or i32 %44, %45
%47 = load i32, ptr @ICANON, align 4
%48 = or i32 %46, %47
%49 = load i32, ptr @ISIG, align 4
%50 = or i32 %48, %49
%51 = load i32, ptr @IEXTEN, align 4
%52 = or i32 %50, %51
%53 = load i32, ptr @NOFLSH, align 4
%54 = or i32 %52, %53
%55 = load i32, ptr @TOSTOP, align 4
%56 = or i32 %54, %55
%57 = load i32, ptr @PENDIN, align 4
%58 = or i32 %56, %57
%59 = xor i32 %58, -1
%60 = load ptr, ptr %2, align 8
%61 = getelementptr inbounds %struct.termios, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 4
%63 = and i32 %62, %59
store i32 %63, ptr %61, align 4
%64 = load i32, ptr @CSIZE, align 4
%65 = load i32, ptr @PARENB, align 4
%66 = or i32 %64, %65
%67 = xor i32 %66, -1
%68 = load ptr, ptr %2, align 8
%69 = getelementptr inbounds %struct.termios, ptr %68, i32 0, i32 2
%70 = load i32, ptr %69, align 8
%71 = and i32 %70, %67
store i32 %71, ptr %69, align 8
%72 = load i32, ptr @CS8, align 4
%73 = load i32, ptr @CREAD, align 4
%74 = or i32 %72, %73
%75 = load ptr, ptr %2, align 8
%76 = getelementptr inbounds %struct.termios, ptr %75, i32 0, i32 2
%77 = load i32, ptr %76, align 8
%78 = or i32 %77, %74
store i32 %78, ptr %76, align 8
%79 = load ptr, ptr %2, align 8
%80 = getelementptr inbounds %struct.termios, ptr %79, i32 0, i32 3
%81 = load ptr, ptr %80, align 8
%82 = load i64, ptr @VMIN, align 8
%83 = getelementptr inbounds i32, ptr %81, i64 %82
store i32 1, ptr %83, align 4
%84 = load ptr, ptr %2, align 8
%85 = getelementptr inbounds %struct.termios, ptr %84, i32 0, i32 3
%86 = load ptr, ptr %85, align 8
%87 = load i64, ptr @VTIME, align 8
%88 = getelementptr inbounds i32, ptr %86, i64 %87
store i32 0, ptr %88, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt0wdb3ze.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 }
@IMAXBEL = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@INPCK = dso_local global i32 0, align 4
@BRKINT = dso_local global i32 0, align 4
@PARMRK = dso_local global i32 0, align 4
@ISTRIP = dso_local global i32 0, align 4
@INLCR = dso_local global i32 0, align 4
@IGNCR = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@IGNPAR = dso_local global i32 0, align 4
@IGNBRK = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHOE = dso_local global i32 0, align 4
@ECHOK = dso_local global i32 0, align 4
@ECHONL = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@IEXTEN = dso_local global i32 0, align 4
@NOFLSH = dso_local global i32 0, align 4
@TOSTOP = dso_local global i32 0, align 4
@PENDIN = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cfmakeraw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @IMAXBEL, align 4
%4 = load i32, ptr @IXOFF, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @INPCK, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @BRKINT, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @PARMRK, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @ISTRIP, align 4
%13 = or i32 %11, %12
%14 = load i32, ptr @INLCR, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @IGNCR, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @ICRNL, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @IXON, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @IGNPAR, align 4
%23 = or i32 %21, %22
%24 = xor i32 %23, -1
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds %struct.termios, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 8
%28 = and i32 %27, %24
store i32 %28, ptr %26, align 8
%29 = load i32, ptr @IGNBRK, align 4
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds %struct.termios, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 8
%33 = or i32 %32, %29
store i32 %33, ptr %31, align 8
%34 = load i32, ptr @OPOST, align 4
%35 = xor i32 %34, -1
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds %struct.termios, ptr %36, i32 0, i32 4
%38 = load i32, ptr %37, align 8
%39 = and i32 %38, %35
store i32 %39, ptr %37, align 8
%40 = load i32, ptr @ECHO, align 4
%41 = load i32, ptr @ECHOE, align 4
%42 = or i32 %40, %41
%43 = load i32, ptr @ECHOK, align 4
%44 = or i32 %42, %43
%45 = load i32, ptr @ECHONL, align 4
%46 = or i32 %44, %45
%47 = load i32, ptr @ICANON, align 4
%48 = or i32 %46, %47
%49 = load i32, ptr @ISIG, align 4
%50 = or i32 %48, %49
%51 = load i32, ptr @IEXTEN, align 4
%52 = or i32 %50, %51
%53 = load i32, ptr @NOFLSH, align 4
%54 = or i32 %52, %53
%55 = load i32, ptr @TOSTOP, align 4
%56 = or i32 %54, %55
%57 = load i32, ptr @PENDIN, align 4
%58 = or i32 %56, %57
%59 = xor i32 %58, -1
%60 = load ptr, ptr %2, align 8
%61 = getelementptr inbounds %struct.termios, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 4
%63 = and i32 %62, %59
store i32 %63, ptr %61, align 4
%64 = load i32, ptr @CSIZE, align 4
%65 = load i32, ptr @PARENB, align 4
%66 = or i32 %64, %65
%67 = xor i32 %66, -1
%68 = load ptr, ptr %2, align 8
%69 = getelementptr inbounds %struct.termios, ptr %68, i32 0, i32 2
%70 = load i32, ptr %69, align 8
%71 = and i32 %70, %67
store i32 %71, ptr %69, align 8
%72 = load i32, ptr @CS8, align 4
%73 = load i32, ptr @CREAD, align 4
%74 = or i32 %72, %73
%75 = load ptr, ptr %2, align 8
%76 = getelementptr inbounds %struct.termios, ptr %75, i32 0, i32 2
%77 = load i32, ptr %76, align 8
%78 = or i32 %77, %74
store i32 %78, ptr %76, align 8
%79 = load ptr, ptr %2, align 8
%80 = getelementptr inbounds %struct.termios, ptr %79, i32 0, i32 3
%81 = load ptr, ptr %80, align 8
%82 = load i64, ptr @VMIN, align 8
%83 = getelementptr inbounds i32, ptr %81, i64 %82
store i32 1, ptr %83, align 4
%84 = load ptr, ptr %2, align 8
%85 = getelementptr inbounds %struct.termios, ptr %84, i32 0, i32 3
%86 = load ptr, ptr %85, align 8
%87 = load i64, ptr @VTIME, align 8
%88 = getelementptr inbounds i32, ptr %86, i64 %87
store i32 0, ptr %88, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaahwv5s2.c'
source_filename = "/tmp/tmpaahwv5s2.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @early_kprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaahwv5s2.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @early_kprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpisf2wmwj.c'
source_filename = "/tmp/tmpisf2wmwj.c"
target datalayout = "e-m:e-p270: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/tmpisf2wmwj.c"
target datalayout = "e-m:e-p270: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/tmpd8v3jlkw.c'
source_filename = "/tmp/tmpd8v3jlkw.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [30 x i8] c"Cannot add socket for epoll!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_epoll_descriptor(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
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, 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
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 8)
%12 = load i32, ptr %8, align 4
%13 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr %7, align 4
%15 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @epoll_ctl(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %10)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = call i32 @panic(ptr noundef @.str)
br label %25
25: ; preds = %23, %4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @panic(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd8v3jlkw.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [30 x i8] c"Cannot add socket for epoll!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_epoll_descriptor(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
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, 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
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 8)
%12 = load i32, ptr %8, align 4
%13 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr %7, align 4
%15 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @epoll_ctl(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %10)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = call i32 @panic(ptr noundef @.str)
br label %25
25: ; preds = %23, %4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @panic(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk7y7f6m.c'
source_filename = "/tmp/tmphk7y7f6m.c"
target datalayout = "e-m:e-p270: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/tmphk7y7f6m.c"
target datalayout = "e-m:e-p270: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/tmpfi8qw4bj.c'
source_filename = "/tmp/tmpfi8qw4bj.c"
target datalayout = "e-m:e-p270: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/tmpfi8qw4bj.c"
target datalayout = "e-m:e-p270: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/tmp0sle1ffu.c'
source_filename = "/tmp/tmp0sle1ffu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"shared_fb\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_fb_open() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @O_RDWR, align 4
%3 = load i32, ptr @S_IRUSR, align 4
%4 = load i32, ptr @S_IWUSR, align 4
%5 = or i32 %3, %4
%6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %2, i32 noundef %5)
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @shm_open(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/tmp0sle1ffu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"shared_fb\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_fb_open() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @O_RDWR, align 4
%3 = load i32, ptr @S_IRUSR, align 4
%4 = load i32, ptr @S_IWUSR, align 4
%5 = or i32 %3, %4
%6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %2, i32 noundef %5)
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @shm_open(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/tmprkn5s7o2.c'
source_filename = "/tmp/tmprkn5s7o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 42
br i1 %9, label %10, label %30
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
br label %13
13: ; preds = %26, %10
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @match(ptr noundef %14, ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %29
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr %3, align 4
br label %72
25: ; preds = %19
br label %26
26: ; preds = %25
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
br label %13, !llvm.loop !6
29: ; preds = %13
store i32 1, ptr %3, align 4
br label %72
30: ; preds = %2
%31 = load ptr, ptr %5, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
%40 = zext i1 %39 to i32
store i32 %40, ptr %3, align 4
br label %72
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 0, ptr %3, align 4
br label %72
47: ; preds = %41
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 63
br i1 %52, label %62, label %53
53: ; preds = %47
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 0
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = call i64 @same_ch(i8 noundef signext %56, i8 noundef signext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %69
62: ; preds = %53, %47
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 1
%67 = call i32 @match(ptr noundef %64, ptr noundef %66)
%68 = icmp ne i32 %67, 0
br label %69
69: ; preds = %62, %53
%70 = phi i1 [ false, %53 ], [ %68, %62 ]
%71 = zext i1 %70 to i32
store i32 %71, ptr %3, align 4
br label %72
72: ; preds = %69, %46, %35, %29, %24
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i64 @same_ch(i8 noundef signext, 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/tmprkn5s7o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 42
br i1 %9, label %10, label %34
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = call i32 @match(ptr noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %.lr.ph, label %33
.lr.ph: ; preds = %10
br label %18
18: ; preds = %.lr.ph, %25
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %3, align 4
br label %76
24: ; preds = %18
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = call i32 @match(ptr noundef %28, ptr noundef %29)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
br i1 %32, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %10
store i32 1, ptr %3, align 4
br label %76
34: ; preds = %2
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i32
store i32 %44, ptr %3, align 4
br label %76
45: ; preds = %34
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %45
store i32 0, ptr %3, align 4
br label %76
51: ; preds = %45
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 0
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 63
br i1 %56, label %66, label %57
57: ; preds = %51
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 0
%60 = load i8, ptr %59, align 1
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
%63 = load i8, ptr %62, align 1
%64 = call i64 @same_ch(i8 noundef signext %60, i8 noundef signext %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %57, %51
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 1
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 1
%71 = call i32 @match(ptr noundef %68, ptr noundef %70)
%72 = icmp ne i32 %71, 0
br label %73
73: ; preds = %66, %57
%74 = phi i1 [ false, %57 ], [ %72, %66 ]
%75 = zext i1 %74 to i32
store i32 %75, ptr %3, align 4
br label %76
76: ; preds = %73, %50, %39, %33, %23
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare i64 @same_ch(i8 noundef signext, 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/tmp1nabw7xb.c'
source_filename = "/tmp/tmp1nabw7xb.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"%s will replace any IPv4 address on standard input with the\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"\09matching prefix in prefix_file, or 'NF'.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Usage: %s -f prefix_file [-d]\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1nabw7xb.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"%s will replace any IPv4 address on standard input with the\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"\09matching prefix in prefix_file, or 'NF'.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Usage: %s -f prefix_file [-d]\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1cya164.c'
source_filename = "/tmp/tmpy1cya164.c"
target datalayout = "e-m:e-p270: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_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ux_socket_listen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @unlink(ptr noundef %6)
%8 = load i32, ptr @AF_UNIX, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %37
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%16 = load i32, ptr @AF_UNIX, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %3, align 8
%21 = call i32 @strncpy(i32 noundef %19, ptr noundef %20, i32 noundef 4)
%22 = load i32, ptr %4, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %5, i32 noundef 8)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %28
25: ; preds = %14
%26 = load i32, ptr %4, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %14
%29 = load i32, ptr %4, align 4
%30 = call i32 @listen(i32 noundef %29, i32 noundef 10)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %4, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -1, ptr %2, align 4
br label %37
35: ; preds = %28
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %35, %32, %25, %13
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @unlink(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1cya164.c"
target datalayout = "e-m:e-p270: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_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ux_socket_listen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @unlink(ptr noundef %6)
%8 = load i32, ptr @AF_UNIX, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %37
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%16 = load i32, ptr @AF_UNIX, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %3, align 8
%21 = call i32 @strncpy(i32 noundef %19, ptr noundef %20, i32 noundef 4)
%22 = load i32, ptr %4, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %5, i32 noundef 8)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %28
25: ; preds = %14
%26 = load i32, ptr %4, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %14
%29 = load i32, ptr %4, align 4
%30 = call i32 @listen(i32 noundef %29, i32 noundef 10)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %4, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -1, ptr %2, align 4
br label %37
35: ; preds = %28
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %35, %32, %25, %13
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @unlink(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxrfy9eaa.c'
source_filename = "/tmp/tmpxrfy9eaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sexpo.q = internal global [8 x float] [float 0x3FE62E4300000000, float 0x3FEDDE3280000000, float 0x3FEFA4E300000000, float 0x3FEFF3ADA0000000, float 0x3FEFFE9A00000000, float 0x3FEFFFDD00000000, float 0x3FEFFFFD20000000, float 1.000000e+00], align 16
@sexpo.i = internal global i64 0, align 8
@sexpo.sexpo = internal global float 0.000000e+00, align 4
@sexpo.a = internal global float 0.000000e+00, align 4
@sexpo.u = internal global float 0.000000e+00, align 4
@sexpo.ustar = internal global float 0.000000e+00, align 4
@sexpo.umin = internal global float 0.000000e+00, align 4
@sexpo.q1 = internal global ptr @sexpo.q, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sexpo() #0 {
%1 = alloca float, align 4
store float 0.000000e+00, ptr @sexpo.a, align 4
%2 = call float (...) @ranf()
store float %2, ptr @sexpo.u, align 4
br label %8
3: ; preds = %15
%4 = load ptr, ptr @sexpo.q1, align 8
%5 = load float, ptr %4, align 4
%6 = load float, ptr @sexpo.a, align 4
%7 = fadd float %6, %5
store float %7, ptr @sexpo.a, align 4
br label %8
8: ; preds = %3, %0
%9 = load float, ptr @sexpo.u, align 4
%10 = load float, ptr @sexpo.u, align 4
%11 = fadd float %10, %9
store float %11, ptr @sexpo.u, align 4
%12 = load float, ptr @sexpo.u, align 4
%13 = fpext float %12 to double
%14 = fcmp ole double %13, 1.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %8
br label %3
16: ; preds = %8
%17 = load float, ptr @sexpo.u, align 4
%18 = fpext float %17 to double
%19 = fsub double %18, 1.000000e+00
%20 = fptrunc double %19 to float
store float %20, ptr @sexpo.u, align 4
%21 = load float, ptr @sexpo.u, align 4
%22 = load ptr, ptr @sexpo.q1, align 8
%23 = load float, ptr %22, align 4
%24 = fcmp ogt float %21, %23
br i1 %24, label %25, label %26
25: ; preds = %16
br label %31
26: ; preds = %16
%27 = load float, ptr @sexpo.a, align 4
%28 = load float, ptr @sexpo.u, align 4
%29 = fadd float %27, %28
store float %29, ptr @sexpo.sexpo, align 4
%30 = load float, ptr @sexpo.sexpo, align 4
store float %30, ptr %1, align 4
br label %58
31: ; preds = %25
store i64 1, ptr @sexpo.i, align 8
%32 = call float (...) @ranf()
store float %32, ptr @sexpo.ustar, align 4
%33 = load float, ptr @sexpo.ustar, align 4
store float %33, ptr @sexpo.umin, align 4
br label %34
34: ; preds = %50, %31
%35 = call float (...) @ranf()
store float %35, ptr @sexpo.ustar, align 4
%36 = load float, ptr @sexpo.ustar, align 4
%37 = load float, ptr @sexpo.umin, align 4
%38 = fcmp olt float %36, %37
br i1 %38, label %39, label %41
39: ; preds = %34
%40 = load float, ptr @sexpo.ustar, align 4
store float %40, ptr @sexpo.umin, align 4
br label %41
41: ; preds = %39, %34
%42 = load i64, ptr @sexpo.i, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr @sexpo.i, align 8
%44 = load float, ptr @sexpo.u, align 4
%45 = load i64, ptr @sexpo.i, align 8
%46 = getelementptr inbounds float, ptr @sexpo.q, i64 %45
%47 = getelementptr inbounds float, ptr %46, i64 -1
%48 = load float, ptr %47, align 4
%49 = fcmp ogt float %44, %48
br i1 %49, label %50, label %51
50: ; preds = %41
br label %34
51: ; preds = %41
%52 = load float, ptr @sexpo.a, align 4
%53 = load float, ptr @sexpo.umin, align 4
%54 = load ptr, ptr @sexpo.q1, align 8
%55 = load float, ptr %54, align 4
%56 = call float @llvm.fmuladd.f32(float %53, float %55, float %52)
store float %56, ptr @sexpo.sexpo, align 4
%57 = load float, ptr @sexpo.sexpo, align 4
store float %57, ptr %1, align 4
br label %58
58: ; preds = %51, %26
%59 = load float, ptr %1, align 4
ret float %59
}
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxrfy9eaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sexpo.q = internal global [8 x float] [float 0x3FE62E4300000000, float 0x3FEDDE3280000000, float 0x3FEFA4E300000000, float 0x3FEFF3ADA0000000, float 0x3FEFFE9A00000000, float 0x3FEFFFDD00000000, float 0x3FEFFFFD20000000, float 1.000000e+00], align 16
@sexpo.i = internal global i64 0, align 8
@sexpo.sexpo = internal global float 0.000000e+00, align 4
@sexpo.a = internal global float 0.000000e+00, align 4
@sexpo.u = internal global float 0.000000e+00, align 4
@sexpo.ustar = internal global float 0.000000e+00, align 4
@sexpo.umin = internal global float 0.000000e+00, align 4
@sexpo.q1 = internal global ptr @sexpo.q, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sexpo() #0 {
%1 = alloca float, align 4
store float 0.000000e+00, ptr @sexpo.a, align 4
%2 = call float (...) @ranf()
store float %2, ptr @sexpo.u, align 4
%3 = load float, ptr @sexpo.u, align 4
%4 = load float, ptr @sexpo.u, align 4
%5 = fadd float %4, %3
store float %5, ptr @sexpo.u, align 4
%6 = load float, ptr @sexpo.u, align 4
%7 = fpext float %6 to double
%8 = fcmp ole double %7, 1.000000e+00
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %20
9: ; preds = %20
%10 = load ptr, ptr @sexpo.q1, align 8
%11 = load float, ptr %10, align 4
%12 = load float, ptr @sexpo.a, align 4
%13 = fadd float %12, %11
store float %13, ptr @sexpo.a, align 4
%14 = load float, ptr @sexpo.u, align 4
%15 = load float, ptr @sexpo.u, align 4
%16 = fadd float %15, %14
store float %16, ptr @sexpo.u, align 4
%17 = load float, ptr @sexpo.u, align 4
%18 = fpext float %17 to double
%19 = fcmp ole double %18, 1.000000e+00
br i1 %19, label %20, label %._crit_edge
20: ; preds = %.lr.ph, %9
br label %9
._crit_edge: ; preds = %9
br label %21
21: ; preds = %._crit_edge, %0
%22 = load float, ptr @sexpo.u, align 4
%23 = fpext float %22 to double
%24 = fsub double %23, 1.000000e+00
%25 = fptrunc double %24 to float
store float %25, ptr @sexpo.u, align 4
%26 = load float, ptr @sexpo.u, align 4
%27 = load ptr, ptr @sexpo.q1, align 8
%28 = load float, ptr %27, align 4
%29 = fcmp ogt float %26, %28
br i1 %29, label %30, label %31
30: ; preds = %21
br label %36
31: ; preds = %21
%32 = load float, ptr @sexpo.a, align 4
%33 = load float, ptr @sexpo.u, align 4
%34 = fadd float %32, %33
store float %34, ptr @sexpo.sexpo, align 4
%35 = load float, ptr @sexpo.sexpo, align 4
store float %35, ptr %1, align 4
br label %62
36: ; preds = %30
store i64 1, ptr @sexpo.i, align 8
%37 = call float (...) @ranf()
store float %37, ptr @sexpo.ustar, align 4
%38 = load float, ptr @sexpo.ustar, align 4
store float %38, ptr @sexpo.umin, align 4
br label %39
39: ; preds = %46, %36
%40 = call float (...) @ranf()
store float %40, ptr @sexpo.ustar, align 4
%41 = load float, ptr @sexpo.ustar, align 4
%42 = load float, ptr @sexpo.umin, align 4
%43 = fcmp olt float %41, %42
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = load float, ptr @sexpo.ustar, align 4
store float %45, ptr @sexpo.umin, align 4
br label %46
46: ; preds = %44, %39
%47 = load i64, ptr @sexpo.i, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr @sexpo.i, align 8
%49 = load float, ptr @sexpo.u, align 4
%50 = load i64, ptr @sexpo.i, align 8
%51 = getelementptr inbounds float, ptr @sexpo.q, i64 %50
%52 = getelementptr inbounds float, ptr %51, i64 -1
%53 = load float, ptr %52, align 4
%54 = fcmp ogt float %49, %53
br i1 %54, label %39, label %55
55: ; preds = %46
%56 = load float, ptr @sexpo.a, align 4
%57 = load float, ptr @sexpo.umin, align 4
%58 = load ptr, ptr @sexpo.q1, align 8
%59 = load float, ptr %58, align 4
%60 = call float @llvm.fmuladd.f32(float %57, float %59, float %56)
store float %60, ptr @sexpo.sexpo, align 4
%61 = load float, ptr @sexpo.sexpo, align 4
store float %61, ptr %1, align 4
br label %62
62: ; preds = %55, %31
%63 = load float, ptr %1, align 4
ret float %63
}
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplqwtwcc8.c'
source_filename = "/tmp/tmplqwtwcc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_viewport_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmplqwtwcc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_viewport_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmpi71m7jdt.c'
source_filename = "/tmp/tmpi71m7jdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Obrobka poslidovnostei drobovyx chysel.\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"Pislya vvody kojnogo chysla natyskaite <Enter>\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A -> \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %7
7: ; preds = %22, %0
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 5
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %4)
%13 = load float, ptr %4, align 4
%14 = load float, ptr %2, align 4
%15 = fadd float %14, %13
store float %15, ptr %2, align 4
%16 = load float, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = sitofp i32 %17 to float
%19 = fdiv float %16, %18
%20 = fpext float %19 to double
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %20)
br label %22
22: ; preds = %10
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = call i32 @system(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi71m7jdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Obrobka poslidovnostei drobovyx chysel.\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"Pislya vvody kojnogo chysla natyskaite <Enter>\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A -> \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 5
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %21
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %4)
%12 = load float, ptr %4, align 4
%13 = load float, ptr %2, align 4
%14 = fadd float %13, %12
store float %14, ptr %2, align 4
%15 = load float, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = sitofp i32 %16 to float
%18 = fdiv float %15, %17
%19 = fpext float %18 to double
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %19)
br label %21
21: ; preds = %9
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %24, 5
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i32 @system(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl4xvf0vb.c'
source_filename = "/tmp/tmpl4xvf0vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @hello_call()
ret i32 0
}
declare i32 @hello_call(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl4xvf0vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @hello_call()
ret i32 0
}
declare i32 @hello_call(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf0saeoff.c'
source_filename = "/tmp/tmpf0saeoff.c"
target datalayout = "e-m:e-p270: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/tmpf0saeoff.c"
target datalayout = "e-m:e-p270: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/tmp2sbanqqf.c'
source_filename = "/tmp/tmp2sbanqqf.c"
target datalayout = "e-m:e-p270: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/tmp2sbanqqf.c"
target datalayout = "e-m:e-p270: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/tmpg8_vayyh.c'
source_filename = "/tmp/tmpg8_vayyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in cmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in cmatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @usmatrix(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
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
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
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = zext i32 %14 to i64
%16 = mul i64 %15, 8
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %4
%23 = call i32 @dump_error(ptr noundef @.str)
br label %24
24: ; preds = %22, %4
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %10, align 8
%27 = sext i32 %25 to i64
%28 = sub i64 0, %27
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr %29, ptr %10, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %67, %24
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %70
35: ; preds = %31
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %36, %37
%39 = add nsw i32 %38, 1
%40 = zext i32 %39 to i64
%41 = mul i64 %40, 2
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
store ptr %44, ptr %48, align 8
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %57, label %55
55: ; preds = %35
%56 = call i32 @dump_error(ptr noundef @.str.1)
br label %57
57: ; preds = %55, %35
%58 = load i32, ptr %7, align 4
%59 = load ptr, ptr %10, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = sext i32 %58 to i64
%65 = sub i64 0, %64
%66 = getelementptr inbounds i16, ptr %63, i64 %65
store ptr %66, ptr %62, align 8
br label %67
67: ; preds = %57
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
br label %31, !llvm.loop !6
70: ; preds = %31
%71 = load ptr, ptr %10, align 8
ret ptr %71
}
declare i64 @malloc(i32 noundef) #1
declare i32 @dump_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8_vayyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in cmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in cmatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @usmatrix(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
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
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
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = zext i32 %14 to i64
%16 = mul i64 %15, 8
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %4
%23 = call i32 @dump_error(ptr noundef @.str)
br label %24
24: ; preds = %22, %4
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %10, align 8
%27 = sext i32 %25 to i64
%28 = sub i64 0, %27
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr %29, ptr %10, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %72
.lr.ph: ; preds = %24
br label %34
34: ; preds = %.lr.ph, %66
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = zext i32 %38 to i64
%40 = mul i64 %39, 2
%41 = trunc i64 %40 to i32
%42 = call i64 @malloc(i32 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %10, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
store ptr %43, ptr %47, align 8
%48 = load ptr, ptr %10, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %56, label %54
54: ; preds = %34
%55 = call i32 @dump_error(ptr noundef @.str.1)
br label %56
56: ; preds = %54, %34
%57 = load i32, ptr %7, align 4
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = sext i32 %57 to i64
%64 = sub i64 0, %63
%65 = getelementptr inbounds i16, ptr %62, i64 %64
store ptr %65, ptr %61, align 8
br label %66
66: ; preds = %56
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %24
%73 = load ptr, ptr %10, align 8
ret ptr %73
}
declare i64 @malloc(i32 noundef) #1
declare i32 @dump_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwjneudvg.c'
source_filename = "/tmp/tmpwjneudvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\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 @LoadFormData(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca [21 x i8], align 16
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %57
12: ; preds = %1
%13 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %13, align 16
br label %14
14: ; preds = %53, %12
%15 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%16 = load ptr, ptr %6, align 8
%17 = call i64 @fgets(ptr noundef %15, i32 noundef 1023, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %54
19: ; preds = %14
%20 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str.1, ptr noundef %21)
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %49
24: ; preds = %19
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = icmp sge i32 %26, 2
br i1 %27, label %28, label %44
28: ; preds = %24
%29 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%30 = load i8, ptr %29, align 16
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 37
br i1 %32, label %33, label %44
33: ; preds = %28
%34 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 37
br i1 %37, label %38, label %44
38: ; preds = %33
%39 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%40 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%41 = getelementptr inbounds i8, ptr %40, i64 2
%42 = call i32 @strncpy(ptr noundef %39, ptr noundef %41, i32 noundef 20)
%43 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 20
store i8 0, ptr %43, align 4
br label %48
44: ; preds = %33, %28, %24
%45 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%46 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%47 = call i32 @AppendFormData(ptr noundef %45, ptr noundef %46)
br label %48
48: ; preds = %44, %38
br label %53
49: ; preds = %19
%50 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%51 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%52 = call i32 @AppendFormData(ptr noundef %50, ptr noundef %51)
br label %53
53: ; preds = %49, %48
br label %14, !llvm.loop !6
54: ; preds = %14
%55 = load ptr, ptr %6, align 8
%56 = call i32 @fclose(ptr noundef %55)
store i32 1, ptr %2, align 4
br label %57
57: ; preds = %54, %11
%58 = load i32, ptr %2, align 4
ret i32 %58
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @AppendFormData(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwjneudvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\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 @LoadFormData(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca [21 x i8], align 16
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %59
12: ; preds = %1
%13 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %13, align 16
%14 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = call i64 @fgets(ptr noundef %14, i32 noundef 1023, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %.lr.ph, label %56
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %52
%19 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%20 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20)
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %48
23: ; preds = %18
%24 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @strlen(ptr noundef %24)
%26 = icmp sge i32 %25, 2
br i1 %26, label %27, label %43
27: ; preds = %23
%28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%29 = load i8, ptr %28, align 16
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 37
br i1 %31, label %32, label %43
32: ; preds = %27
%33 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 1
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 37
br i1 %36, label %37, label %43
37: ; preds = %32
%38 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = call i32 @strncpy(ptr noundef %38, ptr noundef %40, i32 noundef 20)
%42 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 20
store i8 0, ptr %42, align 4
br label %47
43: ; preds = %32, %27, %23
%44 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%45 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%46 = call i32 @AppendFormData(ptr noundef %44, ptr noundef %45)
br label %47
47: ; preds = %43, %37
br label %52
48: ; preds = %18
%49 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @AppendFormData(ptr noundef %49, ptr noundef %50)
br label %52
52: ; preds = %48, %47
%53 = load ptr, ptr %6, align 8
%54 = call i64 @fgets(ptr noundef %14, i32 noundef 1023, ptr noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %56
56: ; preds = %._crit_edge, %12
%57 = load ptr, ptr %6, align 8
%58 = call i32 @fclose(ptr noundef %57)
store i32 1, ptr %2, align 4
br label %59
59: ; preds = %56, %11
%60 = load i32, ptr %2, align 4
ret i32 %60
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @AppendFormData(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.