llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp37x52x2g.c'
source_filename = "/tmp/tmp37x52x2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %3, align 8
br label %13
11: ; preds = %2
%12 = load i64, ptr %5, align 8
store i64 %12, ptr %3, align 8
br label %13
13: ; preds = %11, %9
%14 = load i64, ptr %3, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp37x52x2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %3, align 8
br label %13
11: ; preds = %2
%12 = load i64, ptr %5, align 8
store i64 %12, ptr %3, align 8
br label %13
13: ; preds = %11, %9
%14 = load i64, ptr %3, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnraiee2l.c'
source_filename = "/tmp/tmpnraiee2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X = %016X =%02x\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%04X = %04x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 -128, ptr %2, align 1
store i8 1, ptr %3, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i64
%10 = trunc i64 %9 to i32
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %12)
store i8 0, ptr %4, align 1
store i8 0, ptr %4, align 1
br label %14
14: ; preds = %31, %0
%15 = load i8, ptr %4, align 1
%16 = sext i8 %15 to i32
%17 = icmp slt i32 %16, 8
br i1 %17, label %18, label %34
18: ; preds = %14
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = shl i32 %20, 8
%22 = load i8, ptr %4, align 1
%23 = sext i8 %22 to i32
%24 = or i32 %21, %23
store i32 %24, ptr %5, align 4
%25 = load i8, ptr %2, align 1
%26 = add i8 %25, 1
store i8 %26, ptr %2, align 1
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %18
%32 = load i8, ptr %4, align 1
%33 = add i8 %32, 1
store i8 %33, ptr %4, align 1
br label %14, !llvm.loop !6
34: ; preds = %14
ret i32 0
}
declare i32 @printf(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnraiee2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X = %016X =%02x\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%04X = %04x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 -128, ptr %2, align 1
store i8 1, ptr %3, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i64
%10 = trunc i64 %9 to i32
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %12)
store i8 0, ptr %4, align 1
store i8 0, ptr %4, align 1
%14 = load i8, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = icmp slt i32 %15, 8
br i1 %16, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %30
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = shl i32 %19, 8
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = or i32 %20, %22
store i32 %23, ptr %5, align 4
%24 = load i8, ptr %2, align 1
%25 = add i8 %24, 1
store i8 %25, ptr %2, align 1
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %17
%31 = load i8, ptr %4, align 1
%32 = add i8 %31, 1
store i8 %32, ptr %4, align 1
%33 = load i8, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp slt i32 %34, 8
br i1 %35, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr 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"}
|
; ModuleID = '/tmp/tmpos8y5h2e.c'
source_filename = "/tmp/tmpos8y5h2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Today's date\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/bin/date\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @date() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @system(ptr noundef @.str.1)
ret void
}
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpos8y5h2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Today's date\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/bin/date\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @date() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @system(ptr noundef @.str.1)
ret void
}
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmpg2dbq3v1.c'
source_filename = "/tmp/tmpg2dbq3v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @proc_select(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds %struct.dirent, ptr %4, i32 0, i32 0
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp slt i32 %9, 49
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %22
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sgt i32 %18, 57
br i1 %19, label %20, label %21
20: ; preds = %12
store i32 0, ptr %2, align 4
br label %22
21: ; preds = %12
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %20, %11
%23 = load i32, ptr %2, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg2dbq3v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @proc_select(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds %struct.dirent, ptr %4, i32 0, i32 0
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp slt i32 %9, 49
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %22
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sgt i32 %18, 57
br i1 %19, label %20, label %21
20: ; preds = %12
store i32 0, ptr %2, align 4
br label %22
21: ; preds = %12
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %20, %11
%23 = load i32, ptr %2, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq9o2gla7.c'
source_filename = "/tmp/tmpq9o2gla7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Size of char is: %ld %ld %ld %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext 1, i64 noundef 1, i64 noundef 4, i64 noundef 4)
store i8 -1, ptr %3, align 1
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %19, %0
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 8
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i8, ptr %3, align 1
%14 = zext i8 %13 to i32
%15 = shl i32 %14, 1
%16 = trunc i32 %15 to i8
store i8 %16, ptr %3, align 1
%17 = load i8, ptr %3, align 1
%18 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
store i8 -1, ptr %3, align 1
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %33, %22
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = load i8, ptr %3, align 1
%28 = zext i8 %27 to i32
%29 = ashr i32 %28, 1
%30 = trunc i32 %29 to i8
store i8 %30, ptr %3, align 1
%31 = load i8, ptr %3, align 1
%32 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %31)
br label %33
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %23, !llvm.loop !8
36: ; preds = %23
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9o2gla7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Size of char is: %ld %ld %ld %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext 1, i64 noundef 1, i64 noundef 4, i64 noundef 4)
store i8 -1, ptr %3, align 1
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %18
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 1
%15 = trunc i32 %14 to i8
store i8 %15, ptr %3, align 1
%16 = load i8, ptr %3, align 1
%17 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 8
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
store i8 -1, ptr %3, align 1
store i32 0, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %.lr.ph2, label %38
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %33
%27 = load i8, ptr %3, align 1
%28 = zext i8 %27 to i32
%29 = ashr i32 %28, 1
%30 = trunc i32 %29 to i8
store i8 %30, ptr %3, align 1
%31 = load i8, ptr %3, align 1
%32 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %31)
br label %33
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 8
br i1 %37, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %23
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3f_e4bqb.c'
source_filename = "/tmp/tmp3f_e4bqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/memdev0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"The dst is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @read(i32 noundef %6, ptr noundef %3, i32 noundef 4)
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @close(i32 noundef %10)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3f_e4bqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/memdev0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"The dst is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @read(i32 noundef %6, ptr noundef %3, i32 noundef 4)
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @close(i32 noundef %10)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmprc26806o.c'
source_filename = "/tmp/tmprc26806o.c"
target datalayout = "e-m:e-p270: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/tmprc26806o.c"
target datalayout = "e-m:e-p270: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/tmp1uinxbav.c'
source_filename = "/tmp/tmp1uinxbav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aeron_reallocf(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = call ptr @realloc(ptr noundef %7, i64 noundef %8) #3
%10 = load ptr, ptr %4, align 8
store ptr %9, ptr %10, align 8
%11 = icmp eq ptr %9, null
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = load i32, ptr @ENOMEM, align 4
store i32 %16, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %18
17: ; preds = %2
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %12
%19 = load i32, ptr %3, align 4
ret i32 %19
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1uinxbav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aeron_reallocf(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = call ptr @realloc(ptr noundef %7, i64 noundef %8) #3
%10 = load ptr, ptr %4, align 8
store ptr %9, ptr %10, align 8
%11 = icmp eq ptr %9, null
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = load i32, ptr @ENOMEM, align 4
store i32 %16, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %18
17: ; preds = %2
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %12
%19 = load i32, ptr %3, align 4
ret i32 %19
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5xc_kuk.c'
source_filename = "/tmp/tmpr5xc_kuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_free() #0 {
%1 = call i32 (...) @mrecv_gc()
ret void
}
declare i32 @mrecv_gc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5xc_kuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_free() #0 {
%1 = call i32 (...) @mrecv_gc()
ret void
}
declare i32 @mrecv_gc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmperogv8ht.c'
source_filename = "/tmp/tmperogv8ht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%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
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 100000, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @delay_until(i32 noundef %13, i32 noundef %14)
br label %16
16: ; preds = %0, %45
store i32 1073741825, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %17, i32 30) #2, !srcloc !6
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 (...) @get_time_low()
%22 = or i32 -2147483648, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %23, i32 30) #2, !srcloc !7
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = call i32 (...) @taskA1_main()
store i32 1073741835, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %28, i32 30) #2, !srcloc !8
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = call i32 (...) @get_time_low()
%33 = or i32 -2147483648, %32
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %34, i32 30) #2, !srcloc !9
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
store i32 %36, ptr %12, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %3, align 4
%39 = add i32 %38, 25000000
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp ult i32 %40, 25000000
br i1 %41, label %42, label %45
42: ; preds = %16
%43 = load i32, ptr %2, align 4
%44 = add i32 %43, 1
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %42, %16
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %3, align 4
%48 = call i32 @delay_until(i32 noundef %46, i32 noundef %47)
br label %16
}
declare i32 @delay_until(i32 noundef, i32 noundef) #1
declare i32 @get_time_low(...) #1
declare i32 @taskA1_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 776}
!7 = !{i64 956}
!8 = !{i64 1159}
!9 = !{i64 1339}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmperogv8ht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%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
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 100000, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @delay_until(i32 noundef %13, i32 noundef %14)
br label %16
16: ; preds = %45, %0
store i32 1073741825, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %17, i32 30) #2, !srcloc !6
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 (...) @get_time_low()
%22 = or i32 -2147483648, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %23, i32 30) #2, !srcloc !7
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = call i32 (...) @taskA1_main()
store i32 1073741835, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %28, i32 30) #2, !srcloc !8
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = call i32 (...) @get_time_low()
%33 = or i32 -2147483648, %32
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %34, i32 30) #2, !srcloc !9
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
store i32 %36, ptr %12, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %3, align 4
%39 = add i32 %38, 25000000
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp ult i32 %40, 25000000
br i1 %41, label %42, label %45
42: ; preds = %16
%43 = load i32, ptr %2, align 4
%44 = add i32 %43, 1
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %42, %16
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %3, align 4
%48 = call i32 @delay_until(i32 noundef %46, i32 noundef %47)
br label %16
}
declare i32 @delay_until(i32 noundef, i32 noundef) #1
declare i32 @get_time_low(...) #1
declare i32 @taskA1_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 776}
!7 = !{i64 956}
!8 = !{i64 1159}
!9 = !{i64 1339}
|
; ModuleID = '/tmp/tmp56ba809s.c'
source_filename = "/tmp/tmp56ba809s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evf_input_get_name(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = load i64, ptr %7, align 8
%11 = call i32 @EVIOCGNAME(i64 noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = call i32 @ioctl(i32 noundef %9, i32 noundef %11, ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 -1, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVIOCGNAME(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/tmp56ba809s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evf_input_get_name(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = load i64, ptr %7, align 8
%11 = call i32 @EVIOCGNAME(i64 noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = call i32 @ioctl(i32 noundef %9, i32 noundef %11, ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 -1, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVIOCGNAME(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/tmpo0idsnlf.c'
source_filename = "/tmp/tmpo0idsnlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md5_mac(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 i32, align 4
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 = call i32 @MD5_Init(ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %10, align 8
%23 = call i32 @MD5_Final(ptr noundef %22, ptr noundef %11)
ret void
}
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @MD5_Final(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/tmpo0idsnlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md5_mac(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 i32, align 4
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 = call i32 @MD5_Init(ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = call i32 @MD5_Update(ptr noundef %11, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %10, align 8
%23 = call i32 @MD5_Final(ptr noundef %22, ptr noundef %11)
ret void
}
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @MD5_Final(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/tmp7o8ucl2u.c'
source_filename = "/tmp/tmp7o8ucl2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_prime(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
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %6, 5
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = shl i32 %13, 5
%15 = sub nsw i32 %12, %14
%16 = call i32 @is_set(ptr noundef %11, i32 noundef %15)
ret i32 %16
}
declare i32 @is_set(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/tmp7o8ucl2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_prime(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
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %6, 5
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = shl i32 %13, 5
%15 = sub nsw i32 %12, %14
%16 = call i32 @is_set(ptr noundef %11, i32 noundef %15)
ret i32 %16
}
declare i32 @is_set(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/tmpz3nwavep.c'
source_filename = "/tmp/tmpz3nwavep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_compare_filename(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 %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @my_string_strcmpFilenames(ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @my_string_strcmpFilenames(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/tmpz3nwavep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_compare_filename(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 %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @my_string_strcmpFilenames(ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @my_string_strcmpFilenames(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/tmpwbsddat9.c'
source_filename = "/tmp/tmpwbsddat9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @time(ptr noundef null)
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 @test_mul_32(float noundef 0x4005BF0A20000000, float noundef 0x400921FB00000000)
%8 = call i32 @test_mul_32(float noundef 0x4005BF0A20000000, float noundef 0x400921FB00000000)
%9 = call i32 @test_mul_32(float noundef 0x400921FB00000000, float noundef 0x4005BF0A20000000)
%10 = call i32 @test_mul_32(float noundef 0x400921FB00000000, float noundef 0x4005BF0A20000000)
%11 = call i32 @test_mul_32(float noundef 0x3FF6C649A0000000, float noundef 0x3FB9320DA0000000)
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 5000
br i1 %14, label %15, label %24
15: ; preds = %12
%16 = call float (...) @randf()
store float %16, ptr %3, align 4
%17 = call float (...) @randf()
store float %17, ptr %4, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = call i32 @test_mul_32(float noundef %18, float noundef %19)
br label %21
21: ; preds = %15
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = call i32 @print_done(i32 noundef 64)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @test_mul_32(float noundef, float noundef) #1
declare float @randf(...) #1
declare i32 @print_done(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/tmpwbsddat9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @time(ptr noundef null)
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 @test_mul_32(float noundef 0x4005BF0A20000000, float noundef 0x400921FB00000000)
%8 = call i32 @test_mul_32(float noundef 0x4005BF0A20000000, float noundef 0x400921FB00000000)
%9 = call i32 @test_mul_32(float noundef 0x400921FB00000000, float noundef 0x4005BF0A20000000)
%10 = call i32 @test_mul_32(float noundef 0x400921FB00000000, float noundef 0x4005BF0A20000000)
%11 = call i32 @test_mul_32(float noundef 0x3FF6C649A0000000, float noundef 0x3FB9320DA0000000)
store i32 0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 5000
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %20
%15 = call float (...) @randf()
store float %15, ptr %3, align 4
%16 = call float (...) @randf()
store float %16, ptr %4, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %4, align 4
%19 = call i32 @test_mul_32(float noundef %17, float noundef %18)
br label %20
20: ; preds = %14
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 5000
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
%26 = call i32 @print_done(i32 noundef 64)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @test_mul_32(float noundef, float noundef) #1
declare float @randf(...) #1
declare i32 @print_done(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/tmpgq5j37as.c'
source_filename = "/tmp/tmpgq5j37as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [323 x i8] c"\1B[00;00m%s\0A\1B[00;01mNAME\0A\1B[00;00m\09%s - A comprehensive, accurate and fast distance-based phylogeny inference program.\0A\0A\1B[00;00m\09Vincent Lefort, Richard Desper and Olivier Gascuel,\0A\1B[00;00m\09Molecular Biology and Evolution 32(10), 2798-800, 2015.\0A\1B[00;00m\09Please cite this paper if you use this program in your publications.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FastME 2.1.5\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"FastME\00", align 1
@.str.3 = private unnamed_addr constant [1039 x i8] c"\1B[00;01m\0ASYNOPSIS\0A\1B[00;01m\09%s\1B[00;00m [\1B[00;01m-i \1B[00;04minput data file\1B[00;00m]\1B[00;00m [\1B[00;01m-u \1B[00;04minput user tree file\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-o \1B[00;04moutput tree file\1B[00;00m]\1B[00;00m [\1B[00;01m-O \1B[00;04moutput matrix file\1B[00;00m]\1B[00;00m [\1B[00;01m-I \1B[00;04moutput information file\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-B \1B[00;04moutput bootstrap trees file\1B[00;00m]\1B[00;00m [\1B[00;01m-a\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-m \1B[00;04mmethod\1B[00;00m]\1B[00;00m [ \1B[00;01m-D\1B[00;04m[model]\1B[00;00m | \1B[00;01m-P\1B[00;04m[model]\1B[00;00m ]\1B[00;00m [\1B[00;01m-r]\1B[00;00m [\1B[00;01m-e]\1B[00;00m [\1B[00;01m-g\1B[00;04m[alpha]\1B[00;00m]\1B[00;00m [\1B[00;01m-n\1B[00;04m[NNI]\1B[00;00m]\1B[00;00m [\1B[00;01m-s\1B[00;00m]\1B[00;00m [\1B[00;01m-w \1B[00;04mbranch\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-d \1B[00;04mdatasets\1B[00;00m]\1B[00;00m [\1B[00;01m-b \1B[00;04mreplicates\1B[00;00m]\1B[00;00m [\1B[00;01m-z \1B[00;04mseed\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-c\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-f\1B[00;00m]\1B[00;00m [\1B[00;01m-v\1B[00;00m]\1B[00;00m [\1B[00;01m-V\1B[00;00m]\1B[00;00m [\1B[00;01m-h\1B[00;00m] \0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fastme\00", align 1
@.str.5 = private unnamed_addr constant [157 x i8] c"\1B[00;00m\0A\09You can use %s with no arguments, in this case change the value of\0A\1B[00;00m\09a parameter by typing its corresponding character as shown on screen.\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\1B[00;01m\0AOPTIONS\0A\00", align 1
@.str.7 = private unnamed_addr constant [198 x i8] c"\1B[00;01m\0A\09-i \1B[00;04minput data file\1B[00;01m, --input_data=\1B[00;04minput data file\1B[00;00m\0A\09\09The \1B[00;04minput data file\1B[00;00m contains sequence alignment(s)\1B[00;00m\0A\09\09or a distance matrix(ces).\0A\00", align 1
@.str.8 = private unnamed_addr constant [247 x i8] c"\1B[00;01m\0A\09-u \1B[00;04minput user tree file\1B[00;01m, --user_tree=\1B[00;04minput user tree file\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mmay use an existing topology available in the \1B[00;04minput user tree file\1B[00;00m\0A\09\09which corresponds to the input dataset.\0A\00", align 1
@.str.9 = private unnamed_addr constant [187 x i8] c"\1B[00;01m\0A\09-o \1B[00;04moutput tree file\1B[00;01m, --output_tree=\1B[00;04moutput tree file\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mwill write the infered tree into the \1B[00;04moutput tree file\1B[00;00m.\0A\00", align 1
@.str.10 = private unnamed_addr constant [267 x i8] c"\1B[00;01m\0A\09-O \1B[00;04moutput matrix file\1B[00;01m, --output_matrix=\1B[00;04moutput matrix file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write the distances\1B[00;00m\0A\09\09matrix computed from the input alignment in the \1B[00;04moutput matrix file\1B[00;00m.\0A\00", align 1
@.str.11 = private unnamed_addr constant [257 x i8] c"\1B[00;01m\0A\09-I \1B[00;04moutput information file\1B[00;01m, --output_info=\1B[00;04moutput information file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write information\1B[00;00m\0A\09\09about its execution in the \1B[00;04moutput information file\1B[00;00m.\0A\00", align 1
@.str.12 = private unnamed_addr constant [246 x i8] c"\1B[00;01m\0A\09-B \1B[00;04moutput bootstrap trees file\1B[00;01m, --output_boot=\1B[00;04moutput bootstrap trees file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write bootstrap trees\1B[00;00m\0A\09\09in the \1B[00;04mbootstrap trees file\1B[00;00m.\0A\00", align 1
@.str.13 = private unnamed_addr constant [158 x i8] c"\1B[00;01m\0A\09-a, --append\1B[00;00m\0A\09\09Use this option to append results to existing output files (if any).\1B[00;00m\0A\09\09By default output files will be overwritten.\0A\00", align 1
@.str.14 = private unnamed_addr constant [360 x i8] c"\1B[00;01m\0A\09-m \1B[00;04mmethod\1B[00;01m, --method=\1B[00;04mmethod\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mcomputes a tree using a distance algorithm.\1B[00;00m\0A\09\09You may choose this \1B[00;04mmethod\1B[00;00m from:\1B[00;00m\0A\09\09\1B[00;01mTaxAdd_(B)alME\1B[00;00m, \1B[00;01mTaxAdd_(O)LSME\1B[00;00m, \1B[00;01mB(I)ONJ\1B[00;00m (default),\1B[00;00m\0A\09\09\1B[00;01m(N)J\1B[00;00m or \1B[00;01m(U)NJ\1B[00;00m.\0A\00", align 1
@.str.15 = private unnamed_addr constant [494 x i8] c"\1B[00;01m\0A\09-d\1B[00;04m[model]\1B[00;01m, --dna=\1B[00;04m[model]\1B[00;00m\0A\09\09Use this option if your input data file contains DNA sequences alignment(s).\1B[00;00m\0A\09\09You may also indicate the evolutionary \1B[00;04m[model]\1B[00;00m which can be choosen from:\1B[00;00m\0A\09\09\1B[00;01m(p)-distance\1B[00;00m, \1B[00;01mR(Y) symmetric\1B[00;00m, \1B[00;01m(R)Y\1B[00;00m, \1B[00;01m(J)C69\1B[00;00m, \1B[00;01m(K)2P\1B[00;00m, \1B[00;01mF8(1)\1B[00;00m, \1B[00;01mF8(4)\1B[00;00m (default), \1B[00;01m(T)N93\1B[00;00m, \1B[00;01m(L)ogDet\1B[00;00m.\0A\00", align 1
@.str.16 = private unnamed_addr constant [612 x i8] c"\1B[00;01m\0A\09-p\1B[00;04m[model]\1B[00;01m, --protein=\1B[00;04m[model]\1B[00;00m\0A\09\09Use this option if your input data file contains protein sequences alignment(s).\1B[00;00m\0A\09\09You may also indicate the evolutionary \1B[00;04m[model]\1B[00;00m which can be choosen from:\1B[00;00m\0A\09\09\1B[00;01m(p)-distance\1B[00;00m, \1B[00;01m(F)81 like\1B[00;00m, \1B[00;01m(L)G\1B[00;00m (default), \1B[00;01m(W)AG\1B[00;00m, \1B[00;01m(J)TT\1B[00;00m, \1B[00;01mDay(h)off\1B[00;00m, \1B[00;00m\0A\09\09\1B[00;01m(D)CMut\1B[00;00m, \1B[00;01m(C)pRev\1B[00;00m, \1B[00;01m(M)tREV\1B[00;00m, \1B[00;01m(R)tREV\1B[00;00m, \1B[00;01mHIV(b)\1B[00;00m, \1B[00;01mH(I)Vw\1B[00;00m or \1B[00;01mFL(U)\1B[00;00m.\0A\00", align 1
@.str.17 = private unnamed_addr constant [194 x i8] c"\1B[00;01m\0A\09-r, --remove_gap\1B[00;00m\0A\09\09Use this option to completely remove any site which has a gap in\1B[00;00m\0A\09\09any sequence. By default, \1B[00;01m%s \1B[00;00mis doing pairwise deletion of gaps.\0A\00", align 1
@.str.18 = private unnamed_addr constant [460 x i8] c"\1B[00;01m\0A\09-e, --equilibrium\1B[00;00m\0A\09\09The equilibrium frequencies for DNA are always estimated by counting\1B[00;00m\0A\09\09the occurence of the nucleotides in the input alignment.\1B[00;00m\0A\09\09For amino-acid sequences, the equilibrium frequencies are estimated\1B[00;00m\0A\09\09using the frequencies defined by the substitution model.\1B[00;00m\0A\09\09Use this option if you whish to estimate the amino-acid frequencies\1B[00;00m\0A\09\09by counting their occurence in the input alignment.\0A\00", align 1
@.str.19 = private unnamed_addr constant [399 x i8] c"\1B[00;01m\0A\09-g\1B[00;04m[alpha]\1B[00;01m, --gamma=\1B[00;04m[alpha]\1B[00;00m\0A\09\09Use this option if you wish to have gamma distributed rates across sites.\1B[00;00m\0A\09\09By default, %s runs with no gamma variation.\1B[00;00m\0A\09\09If running %s with gamma distributed rates across sites, the \1B[00;04m[alpha]\1B[00;00m default value is 1.0.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.20 = private unnamed_addr constant [277 x i8] c"\1B[00;01m\0A\09-n\1B[00;04m[NNI]\1B[00;01m, --nni=\1B[00;04m[NNI]\1B[00;00m\0A\09\09Use this option to do \1B[00;04m[NNI]\1B[00;00m tree topology improvement.\1B[00;00m\0A\09\09You may choose the \1B[00;04m[NNI]\1B[00;00m type from:\1B[00;00m\0A\09\09\1B[00;01mNNI_(B)alME\1B[00;00m (default) or \1B[00;01mNNI_(O)LS\1B[00;00m.\0A\00", align 1
@.str.21 = private unnamed_addr constant [100 x i8] c"\1B[00;01m\0A\09-s, --spr\1B[00;00m\0A\09\09Use this option to do \1B[00;04mSPR\1B[00;00m tree topology improvement.\0A\00", align 1
@.str.22 = private unnamed_addr constant [457 x i8] c"\1B[00;01m\0A\09-w \1B[00;04mbranch\1B[00;01m, --branch_length=\1B[00;04mbranch\1B[00;00m\0A\09\09Use this option to indicate the \1B[00;04mbranch\1B[00;00m length to assign to the tree.\1B[00;00m\0A\09\09You may choose the \1B[00;04mbranch\1B[00;00m length from: \1B[00;01m(B)alLS\1B[00;00m (default), \1B[00;01m(O)LS\1B[00;00m\0A\09\09or \1B[00;01m(n)one\1B[00;00m. \1B[00;01m(n)one \1B[00;00mis only available with BIONJ, NJ or UNJ.\1B[00;00m\0A\09\09Only helpful when not improving the tree topology (no NNI nor SPR).\0A\00", align 1
@.str.23 = private unnamed_addr constant [200 x i8] c"\1B[00;01m\0A\09-D \1B[00;04mdatasets\1B[00;01m, --datasets=\1B[00;04mdatasets\1B[00;00m\0A\09\09Use this option to indicate the number of \1B[00;04mdatasets\1B[00;00m in your input\1B[00;00m\0A\09\09data file. Default value is 1.\0A\00", align 1
@.str.24 = private unnamed_addr constant [301 x i8] c"\1B[00;01m\0A\09-b \1B[00;04mreplicates\1B[00;01m, --bootstrap=\1B[00;04mreplicates\1B[00;00m\0A\09\09Use this option to indicate the number of \1B[00;04mreplicates\1B[00;01m %s \1B[00;00mwill\1B[00;00m\0A\09\09do for bootstrapping. Default value is 0.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.25 = private unnamed_addr constant [186 x i8] c"\1B[00;01m\0A\09-z \1B[00;04mseed\1B[00;01m, --seed=\1B[00;04mseed\1B[00;00m\0A\09\09Use this option to initialize randomization with \1B[00;04mseed\1B[00;00m value.\1B[00;00m\0A\09\09Only helpful when bootstrapping.\0A\00", align 1
@.str.26 = private unnamed_addr constant [169 x i8] c"\1B[00;01m\0A\09-c\1B[00;00m\0A\09\09Use this option if you want %s only to compute distance matrix.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.27 = private unnamed_addr constant [160 x i8] c"\1B[00;01m\0A\09-f \1B[00;04mnumber of digits\1B[00;00m\0A\09\09Use this option to set the number of digits after the dot to use on output.\1B[00;00m\0A\09\09Default precision is 12.\0A\00", align 1
@.str.28 = private unnamed_addr constant [172 x i8] c"\1B[00;01m\0A\09-v \1B[00;04mvalue\1B[00;01m, --verbose=\1B[00;04mvalue\1B[00;00m\0A\09\09Sets the verbose level to \1B[00;04mvalue\1B[00;00m [0-3].\1B[00;00m\0A\09\09Default \1B[00;04mvalue\1B[00;00m is 0.\0A\00", align 1
@.str.29 = private unnamed_addr constant [58 x i8] c"\1B[00;01m\0A\09-V, --version\1B[00;00m\0A\09\09Prints the %s version.\0A\00", align 1
@.str.30 = private unnamed_addr constant [53 x i8] c"\1B[00;01m\0A\09-h, --help\1B[00;00m\0A\09\09Display this usage.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.2)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef @.str.2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef @.str.2, ptr noundef @.str.2)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef @.str.2)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef @.str.2)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgq5j37as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [323 x i8] c"\1B[00;00m%s\0A\1B[00;01mNAME\0A\1B[00;00m\09%s - A comprehensive, accurate and fast distance-based phylogeny inference program.\0A\0A\1B[00;00m\09Vincent Lefort, Richard Desper and Olivier Gascuel,\0A\1B[00;00m\09Molecular Biology and Evolution 32(10), 2798-800, 2015.\0A\1B[00;00m\09Please cite this paper if you use this program in your publications.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FastME 2.1.5\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"FastME\00", align 1
@.str.3 = private unnamed_addr constant [1039 x i8] c"\1B[00;01m\0ASYNOPSIS\0A\1B[00;01m\09%s\1B[00;00m [\1B[00;01m-i \1B[00;04minput data file\1B[00;00m]\1B[00;00m [\1B[00;01m-u \1B[00;04minput user tree file\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-o \1B[00;04moutput tree file\1B[00;00m]\1B[00;00m [\1B[00;01m-O \1B[00;04moutput matrix file\1B[00;00m]\1B[00;00m [\1B[00;01m-I \1B[00;04moutput information file\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-B \1B[00;04moutput bootstrap trees file\1B[00;00m]\1B[00;00m [\1B[00;01m-a\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-m \1B[00;04mmethod\1B[00;00m]\1B[00;00m [ \1B[00;01m-D\1B[00;04m[model]\1B[00;00m | \1B[00;01m-P\1B[00;04m[model]\1B[00;00m ]\1B[00;00m [\1B[00;01m-r]\1B[00;00m [\1B[00;01m-e]\1B[00;00m [\1B[00;01m-g\1B[00;04m[alpha]\1B[00;00m]\1B[00;00m [\1B[00;01m-n\1B[00;04m[NNI]\1B[00;00m]\1B[00;00m [\1B[00;01m-s\1B[00;00m]\1B[00;00m [\1B[00;01m-w \1B[00;04mbranch\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-d \1B[00;04mdatasets\1B[00;00m]\1B[00;00m [\1B[00;01m-b \1B[00;04mreplicates\1B[00;00m]\1B[00;00m [\1B[00;01m-z \1B[00;04mseed\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-c\1B[00;00m]\1B[00;00m\0A\09[\1B[00;01m-f\1B[00;00m]\1B[00;00m [\1B[00;01m-v\1B[00;00m]\1B[00;00m [\1B[00;01m-V\1B[00;00m]\1B[00;00m [\1B[00;01m-h\1B[00;00m] \0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fastme\00", align 1
@.str.5 = private unnamed_addr constant [157 x i8] c"\1B[00;00m\0A\09You can use %s with no arguments, in this case change the value of\0A\1B[00;00m\09a parameter by typing its corresponding character as shown on screen.\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\1B[00;01m\0AOPTIONS\0A\00", align 1
@.str.7 = private unnamed_addr constant [198 x i8] c"\1B[00;01m\0A\09-i \1B[00;04minput data file\1B[00;01m, --input_data=\1B[00;04minput data file\1B[00;00m\0A\09\09The \1B[00;04minput data file\1B[00;00m contains sequence alignment(s)\1B[00;00m\0A\09\09or a distance matrix(ces).\0A\00", align 1
@.str.8 = private unnamed_addr constant [247 x i8] c"\1B[00;01m\0A\09-u \1B[00;04minput user tree file\1B[00;01m, --user_tree=\1B[00;04minput user tree file\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mmay use an existing topology available in the \1B[00;04minput user tree file\1B[00;00m\0A\09\09which corresponds to the input dataset.\0A\00", align 1
@.str.9 = private unnamed_addr constant [187 x i8] c"\1B[00;01m\0A\09-o \1B[00;04moutput tree file\1B[00;01m, --output_tree=\1B[00;04moutput tree file\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mwill write the infered tree into the \1B[00;04moutput tree file\1B[00;00m.\0A\00", align 1
@.str.10 = private unnamed_addr constant [267 x i8] c"\1B[00;01m\0A\09-O \1B[00;04moutput matrix file\1B[00;01m, --output_matrix=\1B[00;04moutput matrix file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write the distances\1B[00;00m\0A\09\09matrix computed from the input alignment in the \1B[00;04moutput matrix file\1B[00;00m.\0A\00", align 1
@.str.11 = private unnamed_addr constant [257 x i8] c"\1B[00;01m\0A\09-I \1B[00;04moutput information file\1B[00;01m, --output_info=\1B[00;04moutput information file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write information\1B[00;00m\0A\09\09about its execution in the \1B[00;04moutput information file\1B[00;00m.\0A\00", align 1
@.str.12 = private unnamed_addr constant [246 x i8] c"\1B[00;01m\0A\09-B \1B[00;04moutput bootstrap trees file\1B[00;01m, --output_boot=\1B[00;04moutput bootstrap trees file\1B[00;00m\0A\09\09Use this option if you want \1B[00;01m%s \1B[00;00mto write bootstrap trees\1B[00;00m\0A\09\09in the \1B[00;04mbootstrap trees file\1B[00;00m.\0A\00", align 1
@.str.13 = private unnamed_addr constant [158 x i8] c"\1B[00;01m\0A\09-a, --append\1B[00;00m\0A\09\09Use this option to append results to existing output files (if any).\1B[00;00m\0A\09\09By default output files will be overwritten.\0A\00", align 1
@.str.14 = private unnamed_addr constant [360 x i8] c"\1B[00;01m\0A\09-m \1B[00;04mmethod\1B[00;01m, --method=\1B[00;04mmethod\1B[00;00m\0A\09\09\1B[00;01m%s \1B[00;00mcomputes a tree using a distance algorithm.\1B[00;00m\0A\09\09You may choose this \1B[00;04mmethod\1B[00;00m from:\1B[00;00m\0A\09\09\1B[00;01mTaxAdd_(B)alME\1B[00;00m, \1B[00;01mTaxAdd_(O)LSME\1B[00;00m, \1B[00;01mB(I)ONJ\1B[00;00m (default),\1B[00;00m\0A\09\09\1B[00;01m(N)J\1B[00;00m or \1B[00;01m(U)NJ\1B[00;00m.\0A\00", align 1
@.str.15 = private unnamed_addr constant [494 x i8] c"\1B[00;01m\0A\09-d\1B[00;04m[model]\1B[00;01m, --dna=\1B[00;04m[model]\1B[00;00m\0A\09\09Use this option if your input data file contains DNA sequences alignment(s).\1B[00;00m\0A\09\09You may also indicate the evolutionary \1B[00;04m[model]\1B[00;00m which can be choosen from:\1B[00;00m\0A\09\09\1B[00;01m(p)-distance\1B[00;00m, \1B[00;01mR(Y) symmetric\1B[00;00m, \1B[00;01m(R)Y\1B[00;00m, \1B[00;01m(J)C69\1B[00;00m, \1B[00;01m(K)2P\1B[00;00m, \1B[00;01mF8(1)\1B[00;00m, \1B[00;01mF8(4)\1B[00;00m (default), \1B[00;01m(T)N93\1B[00;00m, \1B[00;01m(L)ogDet\1B[00;00m.\0A\00", align 1
@.str.16 = private unnamed_addr constant [612 x i8] c"\1B[00;01m\0A\09-p\1B[00;04m[model]\1B[00;01m, --protein=\1B[00;04m[model]\1B[00;00m\0A\09\09Use this option if your input data file contains protein sequences alignment(s).\1B[00;00m\0A\09\09You may also indicate the evolutionary \1B[00;04m[model]\1B[00;00m which can be choosen from:\1B[00;00m\0A\09\09\1B[00;01m(p)-distance\1B[00;00m, \1B[00;01m(F)81 like\1B[00;00m, \1B[00;01m(L)G\1B[00;00m (default), \1B[00;01m(W)AG\1B[00;00m, \1B[00;01m(J)TT\1B[00;00m, \1B[00;01mDay(h)off\1B[00;00m, \1B[00;00m\0A\09\09\1B[00;01m(D)CMut\1B[00;00m, \1B[00;01m(C)pRev\1B[00;00m, \1B[00;01m(M)tREV\1B[00;00m, \1B[00;01m(R)tREV\1B[00;00m, \1B[00;01mHIV(b)\1B[00;00m, \1B[00;01mH(I)Vw\1B[00;00m or \1B[00;01mFL(U)\1B[00;00m.\0A\00", align 1
@.str.17 = private unnamed_addr constant [194 x i8] c"\1B[00;01m\0A\09-r, --remove_gap\1B[00;00m\0A\09\09Use this option to completely remove any site which has a gap in\1B[00;00m\0A\09\09any sequence. By default, \1B[00;01m%s \1B[00;00mis doing pairwise deletion of gaps.\0A\00", align 1
@.str.18 = private unnamed_addr constant [460 x i8] c"\1B[00;01m\0A\09-e, --equilibrium\1B[00;00m\0A\09\09The equilibrium frequencies for DNA are always estimated by counting\1B[00;00m\0A\09\09the occurence of the nucleotides in the input alignment.\1B[00;00m\0A\09\09For amino-acid sequences, the equilibrium frequencies are estimated\1B[00;00m\0A\09\09using the frequencies defined by the substitution model.\1B[00;00m\0A\09\09Use this option if you whish to estimate the amino-acid frequencies\1B[00;00m\0A\09\09by counting their occurence in the input alignment.\0A\00", align 1
@.str.19 = private unnamed_addr constant [399 x i8] c"\1B[00;01m\0A\09-g\1B[00;04m[alpha]\1B[00;01m, --gamma=\1B[00;04m[alpha]\1B[00;00m\0A\09\09Use this option if you wish to have gamma distributed rates across sites.\1B[00;00m\0A\09\09By default, %s runs with no gamma variation.\1B[00;00m\0A\09\09If running %s with gamma distributed rates across sites, the \1B[00;04m[alpha]\1B[00;00m default value is 1.0.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.20 = private unnamed_addr constant [277 x i8] c"\1B[00;01m\0A\09-n\1B[00;04m[NNI]\1B[00;01m, --nni=\1B[00;04m[NNI]\1B[00;00m\0A\09\09Use this option to do \1B[00;04m[NNI]\1B[00;00m tree topology improvement.\1B[00;00m\0A\09\09You may choose the \1B[00;04m[NNI]\1B[00;00m type from:\1B[00;00m\0A\09\09\1B[00;01mNNI_(B)alME\1B[00;00m (default) or \1B[00;01mNNI_(O)LS\1B[00;00m.\0A\00", align 1
@.str.21 = private unnamed_addr constant [100 x i8] c"\1B[00;01m\0A\09-s, --spr\1B[00;00m\0A\09\09Use this option to do \1B[00;04mSPR\1B[00;00m tree topology improvement.\0A\00", align 1
@.str.22 = private unnamed_addr constant [457 x i8] c"\1B[00;01m\0A\09-w \1B[00;04mbranch\1B[00;01m, --branch_length=\1B[00;04mbranch\1B[00;00m\0A\09\09Use this option to indicate the \1B[00;04mbranch\1B[00;00m length to assign to the tree.\1B[00;00m\0A\09\09You may choose the \1B[00;04mbranch\1B[00;00m length from: \1B[00;01m(B)alLS\1B[00;00m (default), \1B[00;01m(O)LS\1B[00;00m\0A\09\09or \1B[00;01m(n)one\1B[00;00m. \1B[00;01m(n)one \1B[00;00mis only available with BIONJ, NJ or UNJ.\1B[00;00m\0A\09\09Only helpful when not improving the tree topology (no NNI nor SPR).\0A\00", align 1
@.str.23 = private unnamed_addr constant [200 x i8] c"\1B[00;01m\0A\09-D \1B[00;04mdatasets\1B[00;01m, --datasets=\1B[00;04mdatasets\1B[00;00m\0A\09\09Use this option to indicate the number of \1B[00;04mdatasets\1B[00;00m in your input\1B[00;00m\0A\09\09data file. Default value is 1.\0A\00", align 1
@.str.24 = private unnamed_addr constant [301 x i8] c"\1B[00;01m\0A\09-b \1B[00;04mreplicates\1B[00;01m, --bootstrap=\1B[00;04mreplicates\1B[00;00m\0A\09\09Use this option to indicate the number of \1B[00;04mreplicates\1B[00;01m %s \1B[00;00mwill\1B[00;00m\0A\09\09do for bootstrapping. Default value is 0.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.25 = private unnamed_addr constant [186 x i8] c"\1B[00;01m\0A\09-z \1B[00;04mseed\1B[00;01m, --seed=\1B[00;04mseed\1B[00;00m\0A\09\09Use this option to initialize randomization with \1B[00;04mseed\1B[00;00m value.\1B[00;00m\0A\09\09Only helpful when bootstrapping.\0A\00", align 1
@.str.26 = private unnamed_addr constant [169 x i8] c"\1B[00;01m\0A\09-c\1B[00;00m\0A\09\09Use this option if you want %s only to compute distance matrix.\1B[00;00m\0A\09\09Only helpful when the input data file contains sequences alignment(s).\0A\00", align 1
@.str.27 = private unnamed_addr constant [160 x i8] c"\1B[00;01m\0A\09-f \1B[00;04mnumber of digits\1B[00;00m\0A\09\09Use this option to set the number of digits after the dot to use on output.\1B[00;00m\0A\09\09Default precision is 12.\0A\00", align 1
@.str.28 = private unnamed_addr constant [172 x i8] c"\1B[00;01m\0A\09-v \1B[00;04mvalue\1B[00;01m, --verbose=\1B[00;04mvalue\1B[00;00m\0A\09\09Sets the verbose level to \1B[00;04mvalue\1B[00;00m [0-3].\1B[00;00m\0A\09\09Default \1B[00;04mvalue\1B[00;00m is 0.\0A\00", align 1
@.str.29 = private unnamed_addr constant [58 x i8] c"\1B[00;01m\0A\09-V, --version\1B[00;00m\0A\09\09Prints the %s version.\0A\00", align 1
@.str.30 = private unnamed_addr constant [53 x i8] c"\1B[00;01m\0A\09-h, --help\1B[00;00m\0A\09\09Display this usage.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.2)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef @.str.2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef @.str.2, ptr noundef @.str.2)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef @.str.2)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef @.str.2)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsn8s144d.c'
source_filename = "/tmp/tmpsn8s144d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"open() error\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @open(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %3
%19 = load i32, ptr %7, align 4
ret i32 %19
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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/tmpsn8s144d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"open() error\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @open(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %3
%19 = load i32, ptr %7, align 4
ret i32 %19
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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/tmpnbovw9xh.c'
source_filename = "/tmp/tmpnbovw9xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_tail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = call i64 @buf_byte_fill(ptr noundef %4, i32 noundef 0)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %3
br label %3, !llvm.loop !6
8: ; preds = %3
ret void
}
declare i64 @buf_byte_fill(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbovw9xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_tail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %3, %1
%4 = load ptr, ptr %2, align 8
%5 = call i64 @buf_byte_fill(ptr noundef %4, i32 noundef 0)
%6 = icmp ne i64 %5, 0
br i1 %6, label %3, label %7, !llvm.loop !6
7: ; preds = %3
ret void
}
declare i64 @buf_byte_fill(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptd4y_60z.c'
source_filename = "/tmp/tmptd4y_60z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\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 = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmptd4y_60z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\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 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmpzu6a7p2i.c'
source_filename = "/tmp/tmpzu6a7p2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = call ptr @w_malloc(i64 noundef %9)
store ptr %10, ptr %3, align 8
br label %15
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = call ptr @realloc(ptr noundef %12, i64 noundef %13) #3
store ptr %14, ptr %3, align 8
br label %15
15: ; preds = %11, %8
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare ptr @w_malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzu6a7p2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = call ptr @w_malloc(i64 noundef %9)
store ptr %10, ptr %3, align 8
br label %15
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = call ptr @realloc(ptr noundef %12, i64 noundef %13) #3
store ptr %14, ptr %3, align 8
br label %15
15: ; preds = %11, %8
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare ptr @w_malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp79ibhiob.c'
source_filename = "/tmp/tmp79ibhiob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 1
br i1 %9, label %10, label %43
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 100
br i1 %12, label %13, label %43
13: ; preds = %10
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %39, %13
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %42
18: ; preds = %14
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%20 = load i32, ptr %3, align 4
%21 = call i32 @validador(i32 noundef %20)
%22 = icmp ne i32 %21, 1
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %1, align 4
br label %46
24: ; preds = %18
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%26 = load i32, ptr %4, align 4
%27 = call i32 @validador(i32 noundef %26)
%28 = icmp ne i32 %27, 1
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 0, ptr %1, align 4
br label %46
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %35, %36
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %34, %30
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %14, !llvm.loop !6
42: ; preds = %14
br label %43
43: ; preds = %42, %10, %0
%44 = load i32, ptr %6, align 4
%45 = call i32 @printf(ptr noundef @.str, i32 noundef %44)
br label %46
46: ; preds = %43, %29, %23
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @validador(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79ibhiob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 1
br i1 %9, label %10, label %45
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 100
br i1 %12, label %13, label %45
13: ; preds = %10
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %44
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %38
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%19 = load i32, ptr %3, align 4
%20 = call i32 @validador(i32 noundef %19)
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %1, align 4
br label %48
23: ; preds = %17
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%25 = load i32, ptr %4, align 4
%26 = call i32 @validador(i32 noundef %25)
%27 = icmp ne i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 0, ptr %1, align 4
br label %48
29: ; preds = %23
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %37
33: ; preds = %29
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %34, %35
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %33, %29
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %13
br label %45
45: ; preds = %44, %10, %0
%46 = load i32, ptr %6, align 4
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
br label %48
48: ; preds = %45, %28, %22
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @validador(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuf013ds_.c'
source_filename = "/tmp/tmpuf013ds_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_file_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @SEEK_END, align 4
%6 = call i32 @fseek(ptr noundef %4, i32 noundef 0, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @ftell(ptr noundef %7)
store i64 %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i32 @fseek(ptr noundef %9, i32 noundef 0, i32 noundef %10)
%12 = load i64, ptr %3, align 8
ret i64 %12
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuf013ds_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_file_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @SEEK_END, align 4
%6 = call i32 @fseek(ptr noundef %4, i32 noundef 0, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @ftell(ptr noundef %7)
store i64 %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i32 @fseek(ptr noundef %9, i32 noundef 0, i32 noundef %10)
%12 = load i64, ptr %3, align 8
ret i64 %12
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpewnxb65_.c'
source_filename = "/tmp/tmpewnxb65_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmpewnxb65_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmpooello8i.c'
source_filename = "/tmp/tmpooello8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Begining of f1\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Ending of f1\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 (...) @print_variable_2()
store i32 100, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @print_variable(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @print_variable(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
ret i32 %12
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_variable_2(...) #1
declare i32 @print_variable(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/tmpooello8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Begining of f1\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Ending of f1\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 (...) @print_variable_2()
store i32 100, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @print_variable(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @print_variable(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
ret i32 %12
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_variable_2(...) #1
declare i32 @print_variable(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/tmpz97v_m5n.c'
source_filename = "/tmp/tmpz97v_m5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uwsgi_long2str2n(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = load i64, ptr %5, align 8
%12 = call i32 @snprintf(ptr noundef %9, i32 noundef %10, ptr noundef @.str, i64 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15, %3
store i32 0, ptr %4, align 4
br label %22
20: ; preds = %15
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %20, %19
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @snprintf(ptr noundef, 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/tmpz97v_m5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uwsgi_long2str2n(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = load i64, ptr %5, align 8
%12 = call i32 @snprintf(ptr noundef %9, i32 noundef %10, ptr noundef @.str, i64 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15, %3
store i32 0, ptr %4, align 4
br label %22
20: ; preds = %15
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %20, %19
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @snprintf(ptr noundef, 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/tmpdbl42gnf.c'
source_filename = "/tmp/tmpdbl42gnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\0A %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %10
10: ; preds = %13, %0
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %5, align 4
br label %10, !llvm.loop !6
17: ; preds = %10
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19, i32 noundef %20)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbl42gnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\0A %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
%13 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
|
; ModuleID = '/tmp/tmp4dy2gsvl.c'
source_filename = "/tmp/tmp4dy2gsvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @getenv_token(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i64 @getenv(ptr noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %8, align 8
store i8 0, ptr %17, align 1
%18 = load ptr, ptr %10, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %4
store i32 1, ptr %5, align 4
br label %93
21: ; preds = %4
%22 = load ptr, ptr %10, align 8
%23 = call ptr @strtok_r(ptr noundef %22, ptr noundef @.str, ptr noundef %11)
store ptr %23, ptr %12, align 8
br label %24
24: ; preds = %90, %21
%25 = load ptr, ptr %12, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %92
27: ; preds = %24
%28 = load ptr, ptr %12, align 8
%29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 61)
store ptr %29, ptr %13, align 8
%30 = load ptr, ptr %13, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %66
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %65
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %12, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i32 @strlen(ptr noundef %38)
%40 = call i32 @strncasecmp(ptr noundef %36, ptr noundef %37, i32 noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %65, label %42
42: ; preds = %35
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %13, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
%46 = load ptr, ptr %13, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 1
%48 = call i32 @strlen(ptr noundef %47)
%49 = add nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = load i64, ptr %9, align 8
%52 = icmp ult i64 %50, %51
br i1 %52, label %53, label %59
53: ; preds = %42
%54 = load ptr, ptr %13, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 1
%56 = call i32 @strlen(ptr noundef %55)
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
br label %61
59: ; preds = %42
%60 = load i64, ptr %9, align 8
br label %61
61: ; preds = %59, %53
%62 = phi i64 [ %58, %53 ], [ %60, %59 ]
%63 = trunc i64 %62 to i32
%64 = call i32 @strncpy(ptr noundef %43, ptr noundef %45, i32 noundef %63)
store i32 0, ptr %5, align 4
br label %93
65: ; preds = %35, %32
br label %90
66: ; preds = %27
%67 = load ptr, ptr %7, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %89, label %69
69: ; preds = %66
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %12, align 8
%72 = load ptr, ptr %12, align 8
%73 = call i32 @strlen(ptr noundef %72)
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = load i64, ptr %9, align 8
%77 = icmp ult i64 %75, %76
br i1 %77, label %78, label %83
78: ; preds = %69
%79 = load ptr, ptr %12, align 8
%80 = call i32 @strlen(ptr noundef %79)
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
br label %85
83: ; preds = %69
%84 = load i64, ptr %9, align 8
br label %85
85: ; preds = %83, %78
%86 = phi i64 [ %82, %78 ], [ %84, %83 ]
%87 = trunc i64 %86 to i32
%88 = call i32 @strncpy(ptr noundef %70, ptr noundef %71, i32 noundef %87)
store i32 0, ptr %5, align 4
br label %93
89: ; preds = %66
br label %90
90: ; preds = %89, %65
%91 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str, ptr noundef %11)
store ptr %91, ptr %12, align 8
br label %24, !llvm.loop !6
92: ; preds = %24
store i32 2, ptr %5, align 4
br label %93
93: ; preds = %92, %85, %61, %20
%94 = load i32, ptr %5, align 4
ret i32 %94
}
declare i64 @getenv(ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4dy2gsvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @getenv_token(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i64 @getenv(ptr noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %8, align 8
store i8 0, ptr %17, align 1
%18 = load ptr, ptr %10, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %4
store i32 1, ptr %5, align 4
br label %94
21: ; preds = %4
%22 = load ptr, ptr %10, align 8
%23 = call ptr @strtok_r(ptr noundef %22, ptr noundef @.str, ptr noundef %11)
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %12, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %.lr.ph, label %93
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %89
%27 = load ptr, ptr %12, align 8
%28 = call ptr @strchr(ptr noundef %27, i8 noundef signext 61)
store ptr %28, ptr %13, align 8
%29 = load ptr, ptr %13, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %65
31: ; preds = %26
%32 = load ptr, ptr %7, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %64
34: ; preds = %31
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = call i32 @strncasecmp(ptr noundef %35, ptr noundef %36, i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %64, label %41
41: ; preds = %34
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr %13, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load ptr, ptr %13, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = call i32 @strlen(ptr noundef %46)
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = load i64, ptr %9, align 8
%51 = icmp ult i64 %49, %50
br i1 %51, label %52, label %58
52: ; preds = %41
%53 = load ptr, ptr %13, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = call i32 @strlen(ptr noundef %54)
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
br label %60
58: ; preds = %41
%59 = load i64, ptr %9, align 8
br label %60
60: ; preds = %58, %52
%61 = phi i64 [ %57, %52 ], [ %59, %58 ]
%62 = trunc i64 %61 to i32
%63 = call i32 @strncpy(ptr noundef %42, ptr noundef %44, i32 noundef %62)
store i32 0, ptr %5, align 4
br label %94
64: ; preds = %34, %31
br label %89
65: ; preds = %26
%66 = load ptr, ptr %7, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %88, label %68
68: ; preds = %65
%69 = load ptr, ptr %8, align 8
%70 = load ptr, ptr %12, align 8
%71 = load ptr, ptr %12, align 8
%72 = call i32 @strlen(ptr noundef %71)
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = load i64, ptr %9, align 8
%76 = icmp ult i64 %74, %75
br i1 %76, label %77, label %82
77: ; preds = %68
%78 = load ptr, ptr %12, align 8
%79 = call i32 @strlen(ptr noundef %78)
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
br label %84
82: ; preds = %68
%83 = load i64, ptr %9, align 8
br label %84
84: ; preds = %82, %77
%85 = phi i64 [ %81, %77 ], [ %83, %82 ]
%86 = trunc i64 %85 to i32
%87 = call i32 @strncpy(ptr noundef %69, ptr noundef %70, i32 noundef %86)
store i32 0, ptr %5, align 4
br label %94
88: ; preds = %65
br label %89
89: ; preds = %88, %64
%90 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str, ptr noundef %11)
store ptr %90, ptr %12, align 8
%91 = load ptr, ptr %12, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %93
93: ; preds = %._crit_edge, %21
store i32 2, ptr %5, align 4
br label %94
94: ; preds = %93, %84, %60, %20
%95 = load i32, ptr %5, align 4
ret i32 %95
}
declare i64 @getenv(ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp474cfnhj.c'
source_filename = "/tmp/tmp474cfnhj.c"
target datalayout = "e-m:e-p270: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/tmp474cfnhj.c"
target datalayout = "e-m:e-p270: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/tmpo63npt4b.c'
source_filename = "/tmp/tmpo63npt4b.c"
target datalayout = "e-m:e-p270: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/tmpo63npt4b.c"
target datalayout = "e-m:e-p270: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/tmpr9bk08yq.c'
source_filename = "/tmp/tmpr9bk08yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_pointer_from_line(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 @get_key_from_line(ptr noundef %3)
%5 = call i32 @get_jump_pointer(i32 noundef %4)
ret i32 %5
}
declare i32 @get_jump_pointer(i32 noundef) #1
declare i32 @get_key_from_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr9bk08yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_pointer_from_line(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 @get_key_from_line(ptr noundef %3)
%5 = call i32 @get_jump_pointer(i32 noundef %4)
ret i32 %5
}
declare i32 @get_jump_pointer(i32 noundef) #1
declare i32 @get_key_from_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ugi12zz.c'
source_filename = "/tmp/tmp5ugi12zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"demos\\tui.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subfunc1() #0 {
%1 = call i32 @showfile(ptr noundef @.str)
ret void
}
declare i32 @showfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ugi12zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"demos\\tui.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subfunc1() #0 {
%1 = call i32 @showfile(ptr noundef @.str)
ret void
}
declare i32 @showfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfnjpo9s7.c'
source_filename = "/tmp/tmpfnjpo9s7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__libc_init() #0 {
%1 = call i32 (...) @__posix_init()
ret void
}
declare i32 @__posix_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfnjpo9s7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__libc_init() #0 {
%1 = call i32 (...) @__posix_init()
ret void
}
declare i32 @__posix_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyynvb_2v.c'
source_filename = "/tmp/tmpyynvb_2v.c"
target datalayout = "e-m:e-p270: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/tmpyynvb_2v.c"
target datalayout = "e-m:e-p270: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/tmpux5qdijp.c'
source_filename = "/tmp/tmpux5qdijp.c"
target datalayout = "e-m:e-p270: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/tmpux5qdijp.c"
target datalayout = "e-m:e-p270: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/tmp3udyjiz9.c'
source_filename = "/tmp/tmp3udyjiz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @factorials(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = call i32 @inefficient_factorial(i32 noundef %4, ptr noundef %3, i32 noundef 1)
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare i32 @inefficient_factorial(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3udyjiz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @factorials(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = call i32 @inefficient_factorial(i32 noundef %4, ptr noundef %3, i32 noundef 1)
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare i32 @inefficient_factorial(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lbfgtua.c'
source_filename = "/tmp/tmp0lbfgtua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffs_bug_correct(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @ffs_bug(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i64 @ffs_ref(i32 noundef %5)
%7 = icmp eq i64 %4, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @ffs_bug(i32 noundef) #1
declare i64 @ffs_ref(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/tmp0lbfgtua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffs_bug_correct(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @ffs_bug(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i64 @ffs_ref(i32 noundef %5)
%7 = icmp eq i64 %4, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @ffs_bug(i32 noundef) #1
declare i64 @ffs_ref(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/tmpkbysfs3m.c'
source_filename = "/tmp/tmpkbysfs3m.c"
target datalayout = "e-m:e-p270: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/tmpkbysfs3m.c"
target datalayout = "e-m:e-p270: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/tmp9gyk3q8r.c'
source_filename = "/tmp/tmp9gyk3q8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msb_position(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i64, ptr %3, align 8
%9 = add i64 %8, 1
store i64 %9, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = ashr i32 %10, 1
store i32 %11, ptr %2, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i64, ptr %3, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9gyk3q8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msb_position(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i64 0, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i64, ptr %3, align 8
%8 = add i64 %7, 1
store i64 %8, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = ashr i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %1
%14 = load i64, ptr %3, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpav6xak2q.c'
source_filename = "/tmp/tmpav6xak2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_list_get_null_params() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @list_get(ptr noundef null, i32 noundef 0, ptr noundef null)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 1, ptr %1, align 4
br label %7
7: ; preds = %6, %0
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @list_get(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/tmpav6xak2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_list_get_null_params() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @list_get(ptr noundef null, i32 noundef 0, ptr noundef null)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 1, ptr %1, align 4
br label %7
7: ; preds = %6, %0
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @list_get(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/tmpr96v0i6h.c'
source_filename = "/tmp/tmpr96v0i6h.c"
target datalayout = "e-m:e-p270: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/tmpr96v0i6h.c"
target datalayout = "e-m:e-p270: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/tmpkr1iaekn.c'
source_filename = "/tmp/tmpkr1iaekn.c"
target datalayout = "e-m:e-p270: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/tmpkr1iaekn.c"
target datalayout = "e-m:e-p270: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/tmpp6o7u7sp.c'
source_filename = "/tmp/tmpp6o7u7sp.c"
target datalayout = "e-m:e-p270: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/tmpp6o7u7sp.c"
target datalayout = "e-m:e-p270: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/tmph4aa7ad3.c'
source_filename = "/tmp/tmph4aa7ad3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"The mean of 4 numbers is: %g\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %17, %2
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %8, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double %22, 4.000000e+00
%24 = fptosi double %23 to i32
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph4aa7ad3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"The mean of 4 numbers is: %g\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 4
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %16
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %8, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 4
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %8, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %23, 4.000000e+00
%25 = fptosi double %24 to i32
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyes6lve_.c'
source_filename = "/tmp/tmpyes6lve_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @rand()
%8 = add nsw i32 %7, 255
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = lshr i32 %9, 3
ret i32 %10
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyes6lve_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @rand()
%8 = add nsw i32 %7, 255
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = lshr i32 %9, 3
ret i32 %10
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuipeq3u_.c'
source_filename = "/tmp/tmpuipeq3u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @test2() #0 {
%1 = alloca i32, align 4
store i32 5, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuipeq3u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @test2() #0 {
%1 = alloca i32, align 4
store i32 5, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpve3l2b6p.c'
source_filename = "/tmp/tmpve3l2b6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randLIB_get_32bit() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpve3l2b6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randLIB_get_32bit() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp70vh7r28.c'
source_filename = "/tmp/tmp70vh7r28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Main() #0 {
%1 = alloca i32, align 4
store i32 655360, ptr %1, align 4
br label %2
2: ; preds = %8, %0
%3 = load i32, ptr %1, align 4
%4 = icmp sle i32 %3, 720895
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = call i32 @write_mem8(i32 noundef %6, i32 noundef 15)
br label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
br label %2, !llvm.loop !6
11: ; preds = %2
br label %12
12: ; preds = %11, %12
%13 = call i32 (...) @io_hlt()
br label %12
}
declare i32 @write_mem8(i32 noundef, i32 noundef) #1
declare i32 @io_hlt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp70vh7r28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Main() #0 {
%1 = alloca i32, align 4
store i32 655360, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sle i32 %2, 720895
br i1 %3, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %7
%5 = load i32, ptr %1, align 4
%6 = call i32 @write_mem8(i32 noundef %5, i32 noundef 15)
br label %7
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %10, 720895
br i1 %11, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
br label %13
13: ; preds = %13, %12
%14 = call i32 (...) @io_hlt()
br label %13
}
declare i32 @write_mem8(i32 noundef, i32 noundef) #1
declare i32 @io_hlt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7wb8uoyi.c'
source_filename = "/tmp/tmp7wb8uoyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcgContentFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %38, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %15, label %41
15: ; preds = %8
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call signext i8 @toupper(i8 noundef zeroext %22)
store i8 %23, ptr %7, align 1
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 67
br i1 %26, label %27, label %30
27: ; preds = %15
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %27, %15
%31 = load i8, ptr %7, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 71
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %34, %30
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %8, !llvm.loop !6
41: ; preds = %8
%42 = load i32, ptr %3, align 4
%43 = sitofp i32 %42 to double
%44 = load i32, ptr %4, align 4
%45 = sitofp i32 %44 to double
%46 = fdiv double %43, %45
store double %46, ptr %6, align 8
%47 = load double, ptr %6, align 8
ret double %47
}
declare signext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7wb8uoyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcgContentFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %37
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call signext i8 @toupper(i8 noundef zeroext %21)
store i8 %22, ptr %7, align 1
%23 = load i8, ptr %7, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 67
br i1 %25, label %26, label %29
26: ; preds = %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %26, %14
%30 = load i8, ptr %7, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 71
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %33, %29
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = icmp ne i8 %44, 0
br i1 %45, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %46
46: ; preds = %._crit_edge, %1
%47 = load i32, ptr %3, align 4
%48 = sitofp i32 %47 to double
%49 = load i32, ptr %4, align 4
%50 = sitofp i32 %49 to double
%51 = fdiv double %48, %50
store double %51, ptr %6, align 8
%52 = load double, ptr %6, align 8
ret double %52
}
declare signext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkag6v0dy.c'
source_filename = "/tmp/tmpkag6v0dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wx11tr() #0 {
%1 = call i32 (...) @wx11it()
ret void
}
declare i32 @wx11it(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkag6v0dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wx11tr() #0 {
%1 = call i32 (...) @wx11it()
ret void
}
declare i32 @wx11it(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsl23cej8.c'
source_filename = "/tmp/tmpsl23cej8.c"
target datalayout = "e-m:e-p270: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/tmpsl23cej8.c"
target datalayout = "e-m:e-p270: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/tmpqvl5pbdg.c'
source_filename = "/tmp/tmpqvl5pbdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_tab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
store ptr %9, ptr %11, align 8
br label %12
12: ; preds = %32, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br label %19
19: ; preds = %16, %12
%20 = phi i1 [ false, %12 ], [ %18, %16 ]
br i1 %20, label %21, label %45
21: ; preds = %19
br label %22
22: ; preds = %29, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %22, !llvm.loop !6
32: ; preds = %22
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
store ptr %40, ptr %44, align 8
br label %12, !llvm.loop !8
45: ; preds = %19
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
store ptr null, ptr %49, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqvl5pbdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_tab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
store ptr %9, ptr %11, align 8
br label %12
12: ; preds = %37, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br label %19
19: ; preds = %16, %12
%20 = phi i1 [ false, %12 ], [ %18, %16 ]
br i1 %20, label %21, label %50
21: ; preds = %19
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %.lr.ph, label %37
.lr.ph: ; preds = %21
br label %28
28: ; preds = %.lr.ph, %28
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %37
37: ; preds = %._crit_edge, %21
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
store ptr %45, ptr %49, align 8
br label %12, !llvm.loop !8
50: ; preds = %19
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
store ptr null, ptr %54, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi950hmqy.c'
source_filename = "/tmp/tmpi950hmqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i64 @base64_decoded_size(i32 noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = add i64 %10, 1
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
18: ; preds = %1
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i32 @base64_decode_binary(ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
store ptr null, ptr %2, align 8
br label %32
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %26, %23, %17
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare i64 @base64_decoded_size(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @base64_decode_binary(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi950hmqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i64 @base64_decoded_size(i32 noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = add i64 %10, 1
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
18: ; preds = %1
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i32 @base64_decode_binary(ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
store ptr null, ptr %2, align 8
br label %32
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %26, %23, %17
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare i64 @base64_decoded_size(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @base64_decode_binary(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5bnx1jpb.c'
source_filename = "/tmp/tmp5bnx1jpb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnbinom_precalc(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%13 = load double, ptr %8, align 8
store double %13, ptr %9, align 8
%14 = load double, ptr %7, align 8
%15 = fptosi double %14 to i32
%16 = call double @log(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = uitofp i32 %17 to double
%19 = fmul double %16, %18
store double %19, ptr %10, align 8
%20 = load double, ptr %7, align 8
%21 = fsub double 1.000000e+00, %20
%22 = fptosi double %21 to i32
%23 = call double @log(i32 noundef %22)
%24 = load double, ptr %6, align 8
%25 = fmul double %23, %24
store double %25, ptr %11, align 8
%26 = load double, ptr %9, align 8
%27 = load double, ptr %10, align 8
%28 = fadd double %26, %27
%29 = load double, ptr %11, align 8
%30 = fadd double %28, %29
%31 = call double @exp(double noundef %30) #3
store double %31, ptr %12, align 8
%32 = load double, ptr %12, align 8
%33 = call i32 @isnan(double noundef %32)
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
%38 = load double, ptr %12, align 8
ret double %38
}
declare double @log(i32 noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare i32 @assert(i32 noundef) #1
declare i32 @isnan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5bnx1jpb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnbinom_precalc(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%13 = load double, ptr %8, align 8
store double %13, ptr %9, align 8
%14 = load double, ptr %7, align 8
%15 = fptosi double %14 to i32
%16 = call double @log(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = uitofp i32 %17 to double
%19 = fmul double %16, %18
store double %19, ptr %10, align 8
%20 = load double, ptr %7, align 8
%21 = fsub double 1.000000e+00, %20
%22 = fptosi double %21 to i32
%23 = call double @log(i32 noundef %22)
%24 = load double, ptr %6, align 8
%25 = fmul double %23, %24
store double %25, ptr %11, align 8
%26 = load double, ptr %9, align 8
%27 = load double, ptr %10, align 8
%28 = fadd double %26, %27
%29 = load double, ptr %11, align 8
%30 = fadd double %28, %29
%31 = call double @exp(double noundef %30) #3
store double %31, ptr %12, align 8
%32 = load double, ptr %12, align 8
%33 = call i32 @isnan(double noundef %32)
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
%38 = load double, ptr %12, align 8
ret double %38
}
declare double @log(i32 noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare i32 @assert(i32 noundef) #1
declare i32 @isnan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5i5bem5.c'
source_filename = "/tmp/tmpt5i5bem5.c"
target datalayout = "e-m:e-p270: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/tmpt5i5bem5.c"
target datalayout = "e-m:e-p270: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/tmpm6gz8fiy.c'
source_filename = "/tmp/tmpm6gz8fiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@R_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @can_read_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @R_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @access(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm6gz8fiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@R_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @can_read_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @R_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i64 @access(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdqq2ae0q.c'
source_filename = "/tmp/tmpdqq2ae0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @action_test() #0 {
%1 = call i32 (...) @action_from_string_test()
ret void
}
declare i32 @action_from_string_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdqq2ae0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @action_test() #0 {
%1 = call i32 (...) @action_from_string_test()
ret void
}
declare i32 @action_from_string_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7iiz3k8c.c'
source_filename = "/tmp/tmp7iiz3k8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RBR_ipowdist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store float 0.000000e+00, ptr %13, align 4
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %49, %4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 3
br i1 %16, label %17, label %52
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = sub nsw i32 %22, %27
%29 = sitofp i32 %28 to float
%30 = call float @fabs(float noundef %29)
%31 = load i32, ptr %7, align 4
%32 = sitofp i32 %31 to float
%33 = fdiv float %30, %32
store float %33, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store i32 0, ptr %10, align 4
br label %34
34: ; preds = %42, %17
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %45
38: ; preds = %34
%39 = load float, ptr %11, align 4
%40 = load float, ptr %12, align 4
%41 = fmul float %40, %39
store float %41, ptr %12, align 4
br label %42
42: ; preds = %38
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
br label %34, !llvm.loop !6
45: ; preds = %34
%46 = load float, ptr %12, align 4
%47 = load float, ptr %13, align 4
%48 = fadd float %47, %46
store float %48, ptr %13, align 4
br label %49
49: ; preds = %45
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
br label %14, !llvm.loop !8
52: ; preds = %14
%53 = load float, ptr %13, align 4
ret float %53
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7iiz3k8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RBR_ipowdist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store float 0.000000e+00, ptr %13, align 4
store i32 0, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %14, 3
br i1 %15, label %.lr.ph2, label %55
.lr.ph2: ; preds = %4
br label %16
16: ; preds = %.lr.ph2, %50
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = sub nsw i32 %21, %26
%28 = sitofp i32 %27 to float
%29 = call float @fabs(float noundef %28)
%30 = load i32, ptr %7, align 4
%31 = sitofp i32 %30 to float
%32 = fdiv float %29, %31
store float %32, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store i32 0, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %46
.lr.ph: ; preds = %16
br label %36
36: ; preds = %.lr.ph, %40
%37 = load float, ptr %11, align 4
%38 = load float, ptr %12, align 4
%39 = fmul float %38, %37
store float %39, ptr %12, align 4
br label %40
40: ; preds = %36
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %16
%47 = load float, ptr %12, align 4
%48 = load float, ptr %13, align 4
%49 = fadd float %48, %47
store float %49, ptr %13, align 4
br label %50
50: ; preds = %46
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %53, 3
br i1 %54, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %55
55: ; preds = %._crit_edge3, %4
%56 = load float, ptr %13, align 4
ret float %56
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmg13s_5_.c'
source_filename = "/tmp/tmpmg13s_5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%20s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = call i32 @suma(ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @suma(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmg13s_5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%20s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = call i32 @suma(ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @suma(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7xin1_w.c'
source_filename = "/tmp/tmpu7xin1_w.c"
target datalayout = "e-m:e-p270: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 [1309 x i8] c"sparsetest v0.01\0A\0AUsage:\0A sparsetest [OPTIONS] FILE\0A\0AOptions:\0A -b, --blocksize SIZE Use SIZE blocksize in bytes (default 512)\0A -s, --size SIZE Use logical size SIZE\0A -w, --writeevery SIZE Write something every SIZE\0A -d, --descending Write in descending order\0A -r, --random Write in random order\0A -i, --initialtruncate Trunate at the start not the end\0A -h, --help Display usage\0A\0ASparsetest tests a file system's handling of sparse files. The destination path is\0Aoverwritten with a sparse file of length specified with the -s parameter. Then,\0Awrites are made to the file at offsets specified by the -w parameter. Finally,\0Athe logical length of the file, and the usage on disk are both printed.\0A\0ASIZE can be specified in blocks (default), or use the following suffixes:\0A B Bytes (2^0 bytes)\0A K Kilobytes (2^10 bytes)\0A M Megabytes (2^20 bytes)\0A G Gigabtytes (2^30 bytes)\0A T Terabytes (2^40 bytes)\0A P Perabytes (2^50 bytes)\0A E Exabytes (2^60 bytes)\0A\0ANote that blocksize=1024 will set blocksize to 1024 512byte blocks (use 1024B if this is not\0Awhat you mean). Also note that disk capacity is often measured using decimal megabytes etc.;\0Awe do not adopt this convention for compatibility with dd.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmpu7xin1_w.c"
target datalayout = "e-m:e-p270: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 [1309 x i8] c"sparsetest v0.01\0A\0AUsage:\0A sparsetest [OPTIONS] FILE\0A\0AOptions:\0A -b, --blocksize SIZE Use SIZE blocksize in bytes (default 512)\0A -s, --size SIZE Use logical size SIZE\0A -w, --writeevery SIZE Write something every SIZE\0A -d, --descending Write in descending order\0A -r, --random Write in random order\0A -i, --initialtruncate Trunate at the start not the end\0A -h, --help Display usage\0A\0ASparsetest tests a file system's handling of sparse files. The destination path is\0Aoverwritten with a sparse file of length specified with the -s parameter. Then,\0Awrites are made to the file at offsets specified by the -w parameter. Finally,\0Athe logical length of the file, and the usage on disk are both printed.\0A\0ASIZE can be specified in blocks (default), or use the following suffixes:\0A B Bytes (2^0 bytes)\0A K Kilobytes (2^10 bytes)\0A M Megabytes (2^20 bytes)\0A G Gigabtytes (2^30 bytes)\0A T Terabytes (2^40 bytes)\0A P Perabytes (2^50 bytes)\0A E Exabytes (2^60 bytes)\0A\0ANote that blocksize=1024 will set blocksize to 1024 512byte blocks (use 1024B if this is not\0Awhat you mean). Also note that disk capacity is often measured using decimal megabytes etc.;\0Awe do not adopt this convention for compatibility with dd.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmp8yl2yx0m.c'
source_filename = "/tmp/tmp8yl2yx0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lex_look_ahead_n(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %11, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
store i8 0, ptr %15, align 1
store i32 0, ptr %13, align 4
br label %16
16: ; preds = %35, %6
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %10, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr %12, align 4
%23 = call i64 @str_nlen(ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %24, align 4
%26 = zext i32 %25 to i64
%27 = add nsw i64 %26, %23
%28 = trunc i64 %27 to i32
store i32 %28, ptr %24, align 4
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %11, align 8
%33 = load i32, ptr %12, align 4
%34 = call i32 @lex_look_ahead(ptr noundef %29, i32 noundef %30, ptr noundef %31, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %20
%36 = load i32, ptr %13, align 4
%37 = add i32 %36, 1
store i32 %37, ptr %13, align 4
br label %16, !llvm.loop !6
38: ; preds = %16
ret void
}
declare i64 @str_nlen(ptr noundef, i32 noundef) #1
declare i32 @lex_look_ahead(ptr noundef, i32 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yl2yx0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lex_look_ahead_n(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %11, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
store i8 0, ptr %15, align 1
store i32 0, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %.lr.ph, label %40
.lr.ph: ; preds = %6
br label %19
19: ; preds = %.lr.ph, %34
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr %12, align 4
%22 = call i64 @str_nlen(ptr noundef %20, i32 noundef %21)
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %23, align 4
%25 = zext i32 %24 to i64
%26 = add nsw i64 %25, %22
%27 = trunc i64 %26 to i32
store i32 %27, ptr %23, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %12, align 4
%33 = call i32 @lex_look_ahead(ptr noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %19
%35 = load i32, ptr %13, align 4
%36 = add i32 %35, 1
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %6
ret void
}
declare i64 @str_nlen(ptr noundef, i32 noundef) #1
declare i32 @lex_look_ahead(ptr noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmpiap7sgdv.c'
source_filename = "/tmp/tmpiap7sgdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"P1\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WritePBM1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %10, align 8
%14 = load ptr, ptr %10, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %60
17: ; preds = %4
%18 = load ptr, ptr %10, align 8
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.1)
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.2, i32 noundef %21, i32 noundef %22)
store i32 0, ptr %11, align 4
br label %24
24: ; preds = %54, %17
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = mul nsw i32 %26, %27
%29 = icmp slt i32 %25, %28
br i1 %29, label %30, label %57
30: ; preds = %24
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp ne i32 %36, 0
%38 = zext i1 %37 to i64
%39 = select i1 %37, i32 48, i32 49
%40 = trunc i32 %39 to i8
%41 = load ptr, ptr %10, align 8
%42 = call i32 @putc(i8 noundef signext %40, ptr noundef %41)
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %8, align 4
%45 = srem i32 %43, %44
%46 = load i32, ptr %8, align 4
%47 = sub nsw i32 %46, 1
%48 = icmp eq i32 %45, %47
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 10, i32 32
%51 = trunc i32 %50 to i8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @putc(i8 noundef signext %51, ptr noundef %52)
br label %54
54: ; preds = %30
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
br label %24, !llvm.loop !6
57: ; preds = %24
%58 = load ptr, ptr %10, align 8
%59 = call i32 @fclose(ptr noundef %58)
store i32 0, ptr %5, align 4
br label %60
60: ; preds = %57, %16
%61 = load i32, ptr %5, align 4
ret i32 %61
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @putc(i8 noundef signext, 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/tmpiap7sgdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"P1\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WritePBM1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %10, align 8
%14 = load ptr, ptr %10, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %64
17: ; preds = %4
%18 = load ptr, ptr %10, align 8
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.1)
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.2, i32 noundef %21, i32 noundef %22)
store i32 0, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %9, align 4
%27 = mul nsw i32 %25, %26
%28 = icmp slt i32 %24, %27
br i1 %28, label %.lr.ph, label %61
.lr.ph: ; preds = %17
br label %29
29: ; preds = %.lr.ph, %53
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = icmp ne i32 %35, 0
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 48, i32 49
%39 = trunc i32 %38 to i8
%40 = load ptr, ptr %10, align 8
%41 = call i32 @putc(i8 noundef signext %39, ptr noundef %40)
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %8, align 4
%44 = srem i32 %42, %43
%45 = load i32, ptr %8, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp eq i32 %44, %46
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 10, i32 32
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %10, align 8
%52 = call i32 @putc(i8 noundef signext %50, ptr noundef %51)
br label %53
53: ; preds = %29
%54 = load i32, ptr %11, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %11, align 4
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %9, align 4
%59 = mul nsw i32 %57, %58
%60 = icmp slt i32 %56, %59
br i1 %60, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %61
61: ; preds = %._crit_edge, %17
%62 = load ptr, ptr %10, align 8
%63 = call i32 @fclose(ptr noundef %62)
store i32 0, ptr %5, align 4
br label %64
64: ; preds = %61, %16
%65 = load i32, ptr %5, align 4
ret i32 %65
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @putc(i8 noundef signext, 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 = '/tmp/tmpghynybud.c'
source_filename = "/tmp/tmpghynybud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @as_last(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load i64, ptr %8, align 8
%15 = add i64 %14, 1
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %10, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %11, align 8
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %8, align 8
%20 = sub i64 %18, %19
%21 = alloca i8, i64 %20, align 16
store i64 %20, ptr %12, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %8, align 8
%24 = call i32 @strncpy(ptr noundef %17, ptr noundef %22, i64 noundef %23)
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %17, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = call i32 @strcpy(ptr noundef %21, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %94 [
i32 94, label %37
i32 124, label %56
i32 38, label %75
]
37: ; preds = %4
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %48
40: ; preds = %37
%41 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%42 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%43 = mul nsw i32 %41, %42
%44 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%45 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%46 = mul nsw i32 %44, %45
%47 = add nsw i32 %43, %46
store i32 %47, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
48: ; preds = %37
%49 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%50 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%51 = mul nsw i32 %49, %50
%52 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%53 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%54 = mul nsw i32 %52, %53
%55 = add nsw i32 %51, %54
store i32 %55, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
56: ; preds = %4
%57 = load i32, ptr %9, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %71
59: ; preds = %56
%60 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%61 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%62 = mul nsw i32 %60, %61
%63 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%64 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %62, %65
%67 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%68 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%69 = mul nsw i32 %67, %68
%70 = add nsw i32 %66, %69
store i32 %70, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
71: ; preds = %56
%72 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%73 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%74 = mul nsw i32 %72, %73
store i32 %74, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
75: ; preds = %4
%76 = load i32, ptr %9, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %82
78: ; preds = %75
%79 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%80 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%81 = mul nsw i32 %79, %80
store i32 %81, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
82: ; preds = %75
%83 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%84 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%85 = mul nsw i32 %83, %84
%86 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%87 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%88 = mul nsw i32 %86, %87
%89 = add nsw i32 %85, %88
%90 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%91 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%92 = mul nsw i32 %90, %91
%93 = add nsw i32 %89, %92
store i32 %93, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
94: ; preds = %4
%95 = call i32 @assert(i32 noundef 0)
br label %96
96: ; preds = %94
store i32 0, ptr %13, align 4
br label %97
97: ; preds = %96, %82, %78, %71, %59, %48, %40
%98 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %98)
%99 = load i32, ptr %13, align 4
switch i32 %99, label %102 [
i32 0, label %100
i32 1, label %100
]
100: ; preds = %97, %97
%101 = load i32, ptr %5, align 4
ret i32 %101
102: ; preds = %97
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @valid_evals(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpghynybud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @as_last(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load i64, ptr %8, align 8
%15 = add i64 %14, 1
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %10, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %11, align 8
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %8, align 8
%20 = sub i64 %18, %19
%21 = alloca i8, i64 %20, align 16
store i64 %20, ptr %12, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %8, align 8
%24 = call i32 @strncpy(ptr noundef %17, ptr noundef %22, i64 noundef %23)
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %17, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = call i32 @strcpy(ptr noundef %21, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %94 [
i32 94, label %37
i32 124, label %56
i32 38, label %75
]
37: ; preds = %4
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %48
40: ; preds = %37
%41 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%42 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%43 = mul nsw i32 %41, %42
%44 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%45 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%46 = mul nsw i32 %44, %45
%47 = add nsw i32 %43, %46
store i32 %47, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
48: ; preds = %37
%49 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%50 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%51 = mul nsw i32 %49, %50
%52 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%53 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%54 = mul nsw i32 %52, %53
%55 = add nsw i32 %51, %54
store i32 %55, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
56: ; preds = %4
%57 = load i32, ptr %9, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %71
59: ; preds = %56
%60 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%61 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%62 = mul nsw i32 %60, %61
%63 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%64 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %62, %65
%67 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%68 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%69 = mul nsw i32 %67, %68
%70 = add nsw i32 %66, %69
store i32 %70, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
71: ; preds = %56
%72 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%73 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%74 = mul nsw i32 %72, %73
store i32 %74, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
75: ; preds = %4
%76 = load i32, ptr %9, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %82
78: ; preds = %75
%79 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%80 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%81 = mul nsw i32 %79, %80
store i32 %81, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
82: ; preds = %75
%83 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%84 = call i32 @valid_evals(ptr noundef %21, i32 noundef 1)
%85 = mul nsw i32 %83, %84
%86 = call i32 @valid_evals(ptr noundef %17, i32 noundef 1)
%87 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%88 = mul nsw i32 %86, %87
%89 = add nsw i32 %85, %88
%90 = call i32 @valid_evals(ptr noundef %17, i32 noundef 0)
%91 = call i32 @valid_evals(ptr noundef %21, i32 noundef 0)
%92 = mul nsw i32 %90, %91
%93 = add nsw i32 %89, %92
store i32 %93, ptr %5, align 4
store i32 1, ptr %13, align 4
br label %97
94: ; preds = %4
%95 = call i32 @assert(i32 noundef 0)
br label %96
96: ; preds = %94
store i32 0, ptr %13, align 4
br label %97
97: ; preds = %96, %82, %78, %71, %59, %48, %40
%98 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %98)
%99 = load i32, ptr %13, align 4
switch i32 %99, label %102 [
i32 0, label %100
i32 1, label %100
]
100: ; preds = %97, %97
%101 = load i32, ptr %5, align 4
ret i32 %101
102: ; preds = %97
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @valid_evals(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmper00g9e_.c'
source_filename = "/tmp/tmper00g9e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2l(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @sin(float noundef %3)
%5 = fsub float 4.000000e+00, %4
ret float %5
}
declare float @sin(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/tmper00g9e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2l(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @sin(float noundef %3)
%5 = fsub float 4.000000e+00, %4
ret float %5
}
declare float @sin(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/tmphofqn9hl.c'
source_filename = "/tmp/tmphofqn9hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2qtxtxzf_(ptr noundef %0, ptr noundef %1, 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, i64 noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i64, align 8
%25 = alloca ptr, align 8
store ptr %0, ptr %13, align 8
store ptr %1, ptr %14, align 8
store ptr %2, ptr %15, align 8
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store ptr %10, ptr %23, align 8
store i64 %11, ptr %24, align 8
%26 = load ptr, ptr %22, align 8
%27 = load i64, ptr %24, align 8
%28 = call ptr @_s2_f2cstr(ptr noundef %26, i64 noundef %27)
store ptr %28, ptr %25, align 8
%29 = load ptr, ptr %13, align 8
%30 = load ptr, ptr %14, align 8
%31 = load ptr, ptr %15, align 8
%32 = load ptr, ptr %16, align 8
%33 = load ptr, ptr %17, align 8
%34 = load float, ptr %33, align 4
%35 = load ptr, ptr %18, align 8
%36 = load float, ptr %35, align 4
%37 = load ptr, ptr %19, align 8
%38 = load float, ptr %37, align 4
%39 = load ptr, ptr %20, align 8
%40 = load float, ptr %39, align 4
%41 = load ptr, ptr %21, align 8
%42 = load float, ptr %41, align 4
%43 = load ptr, ptr %25, align 8
%44 = load ptr, ptr %23, align 8
%45 = load float, ptr %44, align 4
%46 = call i32 @s2qtxtxzf(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, float noundef %34, float noundef %36, float noundef %38, float noundef %40, float noundef %42, ptr noundef %43, float noundef %45)
%47 = load ptr, ptr %25, align 8
%48 = call i32 @free(ptr noundef %47)
ret void
}
declare ptr @_s2_f2cstr(ptr noundef, i64 noundef) #1
declare i32 @s2qtxtxzf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphofqn9hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2qtxtxzf_(ptr noundef %0, ptr noundef %1, 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, i64 noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i64, align 8
%25 = alloca ptr, align 8
store ptr %0, ptr %13, align 8
store ptr %1, ptr %14, align 8
store ptr %2, ptr %15, align 8
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store ptr %10, ptr %23, align 8
store i64 %11, ptr %24, align 8
%26 = load ptr, ptr %22, align 8
%27 = load i64, ptr %24, align 8
%28 = call ptr @_s2_f2cstr(ptr noundef %26, i64 noundef %27)
store ptr %28, ptr %25, align 8
%29 = load ptr, ptr %13, align 8
%30 = load ptr, ptr %14, align 8
%31 = load ptr, ptr %15, align 8
%32 = load ptr, ptr %16, align 8
%33 = load ptr, ptr %17, align 8
%34 = load float, ptr %33, align 4
%35 = load ptr, ptr %18, align 8
%36 = load float, ptr %35, align 4
%37 = load ptr, ptr %19, align 8
%38 = load float, ptr %37, align 4
%39 = load ptr, ptr %20, align 8
%40 = load float, ptr %39, align 4
%41 = load ptr, ptr %21, align 8
%42 = load float, ptr %41, align 4
%43 = load ptr, ptr %25, align 8
%44 = load ptr, ptr %23, align 8
%45 = load float, ptr %44, align 4
%46 = call i32 @s2qtxtxzf(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, float noundef %34, float noundef %36, float noundef %38, float noundef %40, float noundef %42, ptr noundef %43, float noundef %45)
%47 = load ptr, ptr %25, align 8
%48 = call i32 @free(ptr noundef %47)
ret void
}
declare ptr @_s2_f2cstr(ptr noundef, i64 noundef) #1
declare i32 @s2qtxtxzf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbil64k07.c'
source_filename = "/tmp/tmpbil64k07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @text2bool(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @g_atoi(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %19, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @g_strcasecmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 0, %9
br i1 %10, label %19, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i64 @g_strcasecmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 0, %13
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i64 @g_strcasecmp(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp eq i64 0, %17
br i1 %18, label %19, label %20
19: ; preds = %15, %11, %7, %1
store i32 1, ptr %2, align 4
br label %21
20: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i64 @g_atoi(ptr noundef) #1
declare i64 @g_strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbil64k07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @text2bool(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @g_atoi(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %19, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @g_strcasecmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 0, %9
br i1 %10, label %19, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i64 @g_strcasecmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 0, %13
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i64 @g_strcasecmp(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp eq i64 0, %17
br i1 %18, label %19, label %20
19: ; preds = %15, %11, %7, %1
store i32 1, ptr %2, align 4
br label %21
20: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i64 @g_atoi(ptr noundef) #1
declare i64 @g_strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvs_ijm5i.c'
source_filename = "/tmp/tmpvs_ijm5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 40)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 40)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 4
store i32 1, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 3
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 2
store i32 1, ptr %12, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
store i32 1, ptr %15, align 4
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %26, %0
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %19, label %29
19: ; preds = %16
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %16, !llvm.loop !6
29: ; preds = %16
%30 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %30
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvs_ijm5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 40)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 40)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 4
store i32 1, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 3
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 2
store i32 1, ptr %12, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
store i32 1, ptr %15, align 4
store i32 0, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %25
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %31
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgtildcnw.c'
source_filename = "/tmp/tmpgtildcnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @syscall_cp(i32 noundef 114, i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @syscall_cp(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgtildcnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @syscall_cp(i32 noundef 114, i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @syscall_cp(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfqv6d5qs.c'
source_filename = "/tmp/tmpfqv6d5qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FIFI !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fifi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqv6d5qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FIFI !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fifi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzxtiiz6b.c'
source_filename = "/tmp/tmpzxtiiz6b.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32 }
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Resolving %s %sfailed: %s\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"(IPv6) \00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resolve_host(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i8], align 1
%11 = alloca %struct.addrinfo, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
store i32 %3, ptr %8, align 4
store i32 -1, ptr %9, align 4
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 12)
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 2
store i32 %13, ptr %14, align 4
%15 = load i32, ptr @IPPROTO_TCP, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 1
store i32 %15, ptr %16, align 4
%17 = load i8, ptr %7, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr @AF_INET6, align 4
br label %24
22: ; preds = %4
%23 = load i32, ptr @AF_INET, align 4
br label %24
24: ; preds = %22, %20
%25 = phi i32 [ %21, %20 ], [ %23, %22 ]
%26 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%28 = load i32, ptr %8, align 4
%29 = call i32 @snprintf(ptr noundef %27, i32 noundef 10, ptr noundef @.str, i32 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%32 = load ptr, ptr %6, align 8
%33 = call i32 @getaddrinfo(ptr noundef %30, ptr noundef %31, ptr noundef %11, ptr noundef %32)
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %50
36: ; preds = %24
%37 = call ptr @gettext(ptr noundef @.str.1)
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %7, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %36
%43 = call ptr @gettext(ptr noundef @.str.2)
br label %45
44: ; preds = %36
br label %45
45: ; preds = %44, %42
%46 = phi ptr [ %43, %42 ], [ @.str.3, %44 ]
%47 = load i32, ptr %9, align 4
%48 = call i32 @gai_strerror(i32 noundef %47)
%49 = call i32 @set_error(ptr noundef %37, ptr noundef %38, ptr noundef %46, i32 noundef %48)
br label %50
50: ; preds = %45, %24
%51 = load i32, ptr %9, align 4
ret i32 %51
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @set_error(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @gettext(ptr noundef) #1
declare i32 @gai_strerror(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/tmpzxtiiz6b.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32 }
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Resolving %s %sfailed: %s\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"(IPv6) \00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resolve_host(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i8], align 1
%11 = alloca %struct.addrinfo, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
store i32 %3, ptr %8, align 4
store i32 -1, ptr %9, align 4
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 12)
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 2
store i32 %13, ptr %14, align 4
%15 = load i32, ptr @IPPROTO_TCP, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 1
store i32 %15, ptr %16, align 4
%17 = load i8, ptr %7, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr @AF_INET6, align 4
br label %24
22: ; preds = %4
%23 = load i32, ptr @AF_INET, align 4
br label %24
24: ; preds = %22, %20
%25 = phi i32 [ %21, %20 ], [ %23, %22 ]
%26 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%28 = load i32, ptr %8, align 4
%29 = call i32 @snprintf(ptr noundef %27, i32 noundef 10, ptr noundef @.str, i32 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds [10 x i8], ptr %10, i64 0, i64 0
%32 = load ptr, ptr %6, align 8
%33 = call i32 @getaddrinfo(ptr noundef %30, ptr noundef %31, ptr noundef %11, ptr noundef %32)
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %50
36: ; preds = %24
%37 = call ptr @gettext(ptr noundef @.str.1)
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %7, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %36
%43 = call ptr @gettext(ptr noundef @.str.2)
br label %45
44: ; preds = %36
br label %45
45: ; preds = %44, %42
%46 = phi ptr [ %43, %42 ], [ @.str.3, %44 ]
%47 = load i32, ptr %9, align 4
%48 = call i32 @gai_strerror(i32 noundef %47)
%49 = call i32 @set_error(ptr noundef %37, ptr noundef %38, ptr noundef %46, i32 noundef %48)
br label %50
50: ; preds = %45, %24
%51 = load i32, ptr %9, align 4
ret i32 %51
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @set_error(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @gettext(ptr noundef) #1
declare i32 @gai_strerror(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/tmppyjghqzz.c'
source_filename = "/tmp/tmppyjghqzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_bus_pullups(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 @read_word_data(i32 noundef %3, i32 noundef 12)
ret i32 %4
}
declare i32 @read_word_data(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/tmppyjghqzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_bus_pullups(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 @read_word_data(i32 noundef %3, i32 noundef 12)
ret i32 %4
}
declare i32 @read_word_data(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/tmpoud3ofe5.c'
source_filename = "/tmp/tmpoud3ofe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%c%s%s%c%s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"[1;32m\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pstring_green(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 @printf(ptr noundef @.str, i32 noundef 27, ptr noundef @.str.1, ptr noundef %3, i32 noundef 27, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, 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/tmpoud3ofe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%c%s%s%c%s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"[1;32m\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pstring_green(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 @printf(ptr noundef @.str, i32 noundef 27, ptr noundef @.str.1, ptr noundef %3, i32 noundef 27, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, 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/tmp3ergg5t8.c'
source_filename = "/tmp/tmp3ergg5t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadInt32Le(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 @ReadUint32Le(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @ReadUint32Le(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/tmp3ergg5t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadInt32Le(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 @ReadUint32Le(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @ReadUint32Le(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/tmp3d2oikys.c'
source_filename = "/tmp/tmp3d2oikys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/backlight/rpi_backlight/bl_power\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"ERROR: '%s' does not exist/insufficient permissions.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [46 x i8] c"/sys/class/backlight/rpi_backlight/brightness\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"up\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"down\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @usage(ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %91
15: ; preds = %2
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str)
%21 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %21, ptr %3, align 4
br label %91
22: ; preds = %15
%23 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3)
%28 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %28, ptr %3, align 4
br label %91
29: ; preds = %22
%30 = call i32 (...) @get_brightness()
store i32 %30, ptr %8, align 4
%31 = call i32 (...) @get_power()
store i32 %31, ptr %9, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.4)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %29
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 15
store i32 %39, ptr %8, align 4
br label %85
40: ; preds = %29
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 1
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.5)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr %8, align 4
%48 = sub nsw i32 %47, 15
store i32 %48, ptr %8, align 4
br label %84
49: ; preds = %40
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.6)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %49
store i32 180, ptr %8, align 4
br label %83
56: ; preds = %49
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = load ptr, ptr %58, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.7)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %56
store i32 30, ptr %8, align 4
br label %82
63: ; preds = %56
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 1
%66 = load ptr, ptr %65, align 8
%67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.8)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %63
store i32 0, ptr %9, align 4
br label %81
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 1
%73 = load ptr, ptr %72, align 8
%74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.9)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 1, ptr %9, align 4
br label %80
77: ; preds = %70
%78 = load ptr, ptr %5, align 8
%79 = call i32 @usage(ptr noundef %78)
store i32 %79, ptr %3, align 4
br label %91
80: ; preds = %76
br label %81
81: ; preds = %80, %69
br label %82
82: ; preds = %81, %62
br label %83
83: ; preds = %82, %55
br label %84
84: ; preds = %83, %46
br label %85
85: ; preds = %84, %37
%86 = load i32, ptr %8, align 4
%87 = call i32 @set_brightness(i32 noundef %86)
%88 = load i32, ptr %9, align 4
%89 = call i32 @set_power(i32 noundef %88)
%90 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %90, ptr %3, align 4
br label %91
91: ; preds = %85, %77, %26, %19, %12
%92 = load i32, ptr %3, align 4
ret i32 %92
}
declare i32 @usage(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @get_brightness(...) #1
declare i32 @get_power(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_brightness(i32 noundef) #1
declare i32 @set_power(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/tmp3d2oikys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/backlight/rpi_backlight/bl_power\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"ERROR: '%s' does not exist/insufficient permissions.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [46 x i8] c"/sys/class/backlight/rpi_backlight/brightness\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"up\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"down\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @usage(ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %91
15: ; preds = %2
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str)
%21 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %21, ptr %3, align 4
br label %91
22: ; preds = %15
%23 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3)
%28 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %28, ptr %3, align 4
br label %91
29: ; preds = %22
%30 = call i32 (...) @get_brightness()
store i32 %30, ptr %8, align 4
%31 = call i32 (...) @get_power()
store i32 %31, ptr %9, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.4)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %29
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 15
store i32 %39, ptr %8, align 4
br label %85
40: ; preds = %29
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 1
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.5)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr %8, align 4
%48 = sub nsw i32 %47, 15
store i32 %48, ptr %8, align 4
br label %84
49: ; preds = %40
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.6)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %49
store i32 180, ptr %8, align 4
br label %83
56: ; preds = %49
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = load ptr, ptr %58, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.7)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %56
store i32 30, ptr %8, align 4
br label %82
63: ; preds = %56
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 1
%66 = load ptr, ptr %65, align 8
%67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.8)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %63
store i32 0, ptr %9, align 4
br label %81
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 1
%73 = load ptr, ptr %72, align 8
%74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.9)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 1, ptr %9, align 4
br label %80
77: ; preds = %70
%78 = load ptr, ptr %5, align 8
%79 = call i32 @usage(ptr noundef %78)
store i32 %79, ptr %3, align 4
br label %91
80: ; preds = %76
br label %81
81: ; preds = %80, %69
br label %82
82: ; preds = %81, %62
br label %83
83: ; preds = %82, %55
br label %84
84: ; preds = %83, %46
br label %85
85: ; preds = %84, %37
%86 = load i32, ptr %8, align 4
%87 = call i32 @set_brightness(i32 noundef %86)
%88 = load i32, ptr %9, align 4
%89 = call i32 @set_power(i32 noundef %88)
%90 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %90, ptr %3, align 4
br label %91
91: ; preds = %85, %77, %26, %19, %12
%92 = load i32, ptr %3, align 4
ret i32 %92
}
declare i32 @usage(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @get_brightness(...) #1
declare i32 @get_power(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_brightness(i32 noundef) #1
declare i32 @set_power(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/tmpa2u5whqa.c'
source_filename = "/tmp/tmpa2u5whqa.c"
target datalayout = "e-m:e-p270: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/tmpa2u5whqa.c"
target datalayout = "e-m:e-p270: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/tmpx4gsdoyz.c'
source_filename = "/tmp/tmpx4gsdoyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genf.genf = internal global double 0.000000e+00, align 8
@genf.xden = internal global double 0.000000e+00, align 8
@genf.xnum = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [50 x i8] c" Degrees of freedom nonpositive in GENF - abort!\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c" DFN value: %16.6E DFD value: %16.6E\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c" GENF - generated numbers would cause overflow\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c" Numerator %16.6E Denominator %16.6E\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" GENF returning 1.0E37\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @genf(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ole double %5, 0.000000e+00
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load double, ptr %4, align 8
%9 = fcmp ole double %8, 0.000000e+00
br i1 %9, label %11, label %10
10: ; preds = %7
br label %19
11: ; preds = %7, %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = load double, ptr %3, align 8
%16 = load double, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.1, double noundef %15, double noundef %16)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %10
%20 = load double, ptr %3, align 8
%21 = fdiv double %20, 2.000000e+00
%22 = call double @sgamma(double noundef %21)
%23 = fmul double 2.000000e+00, %22
%24 = load double, ptr %3, align 8
%25 = fdiv double %23, %24
store double %25, ptr @genf.xnum, align 8
%26 = load double, ptr %4, align 8
%27 = fdiv double %26, 2.000000e+00
%28 = call double @sgamma(double noundef %27)
%29 = fmul double 2.000000e+00, %28
%30 = load double, ptr %4, align 8
%31 = fdiv double %29, %30
store double %31, ptr @genf.xden, align 8
%32 = load double, ptr @genf.xden, align 8
%33 = load double, ptr @genf.xnum, align 8
%34 = fmul double 1.000000e-37, %33
%35 = fcmp ole double %32, %34
br i1 %35, label %37, label %36
36: ; preds = %19
br label %46
37: ; preds = %19
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %38)
%40 = load i32, ptr @stderr, align 4
%41 = load double, ptr @genf.xnum, align 8
%42 = load double, ptr @genf.xden, align 8
%43 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.3, double noundef %41, double noundef %42)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %44)
store double 0x479E17B84357691B, ptr @genf.genf, align 8
br label %50
46: ; preds = %36
%47 = load double, ptr @genf.xnum, align 8
%48 = load double, ptr @genf.xden, align 8
%49 = fdiv double %47, %48
store double %49, ptr @genf.genf, align 8
br label %50
50: ; preds = %46, %37
%51 = load double, ptr @genf.genf, align 8
ret double %51
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @sgamma(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx4gsdoyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genf.genf = internal global double 0.000000e+00, align 8
@genf.xden = internal global double 0.000000e+00, align 8
@genf.xnum = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [50 x i8] c" Degrees of freedom nonpositive in GENF - abort!\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c" DFN value: %16.6E DFD value: %16.6E\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c" GENF - generated numbers would cause overflow\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c" Numerator %16.6E Denominator %16.6E\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" GENF returning 1.0E37\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @genf(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ole double %5, 0.000000e+00
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load double, ptr %4, align 8
%9 = fcmp ole double %8, 0.000000e+00
br i1 %9, label %11, label %10
10: ; preds = %7
br label %19
11: ; preds = %7, %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = load double, ptr %3, align 8
%16 = load double, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.1, double noundef %15, double noundef %16)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %10
%20 = load double, ptr %3, align 8
%21 = fdiv double %20, 2.000000e+00
%22 = call double @sgamma(double noundef %21)
%23 = fmul double 2.000000e+00, %22
%24 = load double, ptr %3, align 8
%25 = fdiv double %23, %24
store double %25, ptr @genf.xnum, align 8
%26 = load double, ptr %4, align 8
%27 = fdiv double %26, 2.000000e+00
%28 = call double @sgamma(double noundef %27)
%29 = fmul double 2.000000e+00, %28
%30 = load double, ptr %4, align 8
%31 = fdiv double %29, %30
store double %31, ptr @genf.xden, align 8
%32 = load double, ptr @genf.xden, align 8
%33 = load double, ptr @genf.xnum, align 8
%34 = fmul double 1.000000e-37, %33
%35 = fcmp ole double %32, %34
br i1 %35, label %37, label %36
36: ; preds = %19
br label %46
37: ; preds = %19
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %38)
%40 = load i32, ptr @stderr, align 4
%41 = load double, ptr @genf.xnum, align 8
%42 = load double, ptr @genf.xden, align 8
%43 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.3, double noundef %41, double noundef %42)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %44)
store double 0x479E17B84357691B, ptr @genf.genf, align 8
br label %50
46: ; preds = %36
%47 = load double, ptr @genf.xnum, align 8
%48 = load double, ptr @genf.xden, align 8
%49 = fdiv double %47, %48
store double %49, ptr @genf.genf, align 8
br label %50
50: ; preds = %46, %37
%51 = load double, ptr @genf.genf, align 8
ret double %51
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @sgamma(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn5xwxvjj.c'
source_filename = "/tmp/tmpn5xwxvjj.c"
target datalayout = "e-m:e-p270: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/tmpn5xwxvjj.c"
target datalayout = "e-m:e-p270: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/tmpqir5i7rb.c'
source_filename = "/tmp/tmpqir5i7rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBIntStatusControl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 10
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i32, ptr %7, align 4
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1036
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i32, ptr %12, align 4
%14 = and i32 %13, 1
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %1
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, 256
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1036
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i32, ptr %22, align 4
%24 = or i32 %23, 1
store volatile i32 %24, ptr %22, align 4
br label %25
25: ; preds = %16, %1
%26 = load volatile i32, ptr inttoptr (i64 1074070604 to ptr), align 4
%27 = and i32 %26, 1
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = or i32 %30, 512
store i32 %31, ptr %3, align 4
%32 = load volatile i32, ptr inttoptr (i64 1074070604 to ptr), align 4
%33 = or i32 %32, 1
store volatile i32 %33, ptr inttoptr (i64 1074070604 to ptr), align 4
br label %34
34: ; preds = %29, %25
%35 = load i32, ptr %3, align 4
ret i32 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqir5i7rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBIntStatusControl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 10
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i32, ptr %7, align 4
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1036
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i32, ptr %12, align 4
%14 = and i32 %13, 1
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %1
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, 256
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1036
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i32, ptr %22, align 4
%24 = or i32 %23, 1
store volatile i32 %24, ptr %22, align 4
br label %25
25: ; preds = %16, %1
%26 = load volatile i32, ptr inttoptr (i64 1074070604 to ptr), align 4
%27 = and i32 %26, 1
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = or i32 %30, 512
store i32 %31, ptr %3, align 4
%32 = load volatile i32, ptr inttoptr (i64 1074070604 to ptr), align 4
%33 = or i32 %32, 1
store volatile i32 %33, ptr inttoptr (i64 1074070604 to ptr), align 4
br label %34
34: ; preds = %29, %25
%35 = load i32, ptr %3, align 4
ret i32 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7mzbfe2m.c'
source_filename = "/tmp/tmp7mzbfe2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyboardState_bell_pitch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmp7mzbfe2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyboardState_bell_pitch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmps6kpd3m3.c'
source_filename = "/tmp/tmps6kpd3m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_range(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %38
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = mul i64 4, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store i32 -1, ptr %7, align 4
br label %21
21: ; preds = %28, %12
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %24, %25
%27 = icmp slt i32 %23, %26
br i1 %27, label %28, label %36
28: ; preds = %21
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %29, %30
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %21, !llvm.loop !6
36: ; preds = %21
%37 = load ptr, ptr %6, align 8
store ptr %37, ptr %3, align 8
br label %38
38: ; preds = %36, %11
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps6kpd3m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_range(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %43
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = mul i64 4, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store i32 -1, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %23, %24
%26 = icmp slt i32 %22, %25
br i1 %26, label %.lr.ph, label %41
.lr.ph: ; preds = %12
br label %27
27: ; preds = %.lr.ph, %27
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %28, %29
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = sub nsw i32 %37, %38
%40 = icmp slt i32 %36, %39
br i1 %40, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %41
41: ; preds = %._crit_edge, %12
%42 = load ptr, ptr %6, align 8
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %41, %11
%44 = load ptr, ptr %3, align 8
ret ptr %44
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprz8pmw1h.c'
source_filename = "/tmp/tmprz8pmw1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bus.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Error! File was not written.\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"File was written successfully!\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Thanks for using this program\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"EAP / exercise 2 / theme 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveLayout(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fputs(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14, %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fclose(ptr noundef %17)
%19 = call i32 @printf(ptr noundef @.str.4)
%20 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprz8pmw1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bus.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Error! File was not written.\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"File was written successfully!\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Thanks for using this program\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"EAP / exercise 2 / theme 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveLayout(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fputs(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14, %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fclose(ptr noundef %17)
%19 = call i32 @printf(ptr noundef @.str.4)
%20 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxmc4bttw.c'
source_filename = "/tmp/tmpxmc4bttw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [137 x i8] c" | | \0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanLine() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxmc4bttw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [137 x i8] c" | | \0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanLine() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjlsmmayv.c'
source_filename = "/tmp/tmpjlsmmayv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sum is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2, ptr %3, align 4
br label %4
4: ; preds = %11, %0
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 100
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, %8
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 2
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %2, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjlsmmayv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sum is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 100
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %10
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 2
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %13, 100
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpppktfksk.c'
source_filename = "/tmp/tmpppktfksk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"apl:b:\00", align 1
@optarg = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"Area: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Perimeter: %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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 -1, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 -1, ptr %10, align 4
br label %11
11: ; preds = %30, %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str)
store i32 %14, ptr %6, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %31
16: ; preds = %11
%17 = load i32, ptr %6, align 4
switch i32 %17, label %26 [
i32 97, label %18
i32 112, label %19
i32 108, label %20
i32 98, label %23
]
18: ; preds = %16
store i32 0, ptr %7, align 4
br label %30
19: ; preds = %16
store i32 0, ptr %8, align 4
br label %30
20: ; preds = %16
%21 = load i32, ptr @optarg, align 4
%22 = call i32 @atoi(i32 noundef %21)
store i32 %22, ptr %10, align 4
br label %30
23: ; preds = %16
%24 = load i32, ptr @optarg, align 4
%25 = call i32 @atoi(i32 noundef %24)
store i32 %25, ptr %9, align 4
br label %30
26: ; preds = %16
%27 = call i32 (...) @print_usage()
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %23, %20, %19, %18
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load i32, ptr %10, align 4
%33 = icmp eq i32 %32, -1
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %9, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %41
37: ; preds = %34, %31
%38 = call i32 (...) @print_usage()
%39 = load i32, ptr @EXIT_FAILURE, align 4
%40 = call i32 @exit(i32 noundef %39) #3
unreachable
41: ; preds = %34
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %41
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %9, align 4
%47 = mul nsw i32 %45, %46
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48)
br label %50
50: ; preds = %44, %41
%51 = load i32, ptr %8, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %50
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %54, %55
%57 = mul nsw i32 2, %56
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = call i32 @printf(ptr noundef @.str.2, i32 noundef %58)
br label %60
60: ; preds = %53, %50
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @print_usage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppktfksk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"apl:b:\00", align 1
@optarg = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"Area: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Perimeter: %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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 -1, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 -1, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %29
%16 = load i32, ptr %6, align 4
switch i32 %16, label %25 [
i32 97, label %17
i32 112, label %18
i32 108, label %19
i32 98, label %22
]
17: ; preds = %15
store i32 0, ptr %7, align 4
br label %29
18: ; preds = %15
store i32 0, ptr %8, align 4
br label %29
19: ; preds = %15
%20 = load i32, ptr @optarg, align 4
%21 = call i32 @atoi(i32 noundef %20)
store i32 %21, ptr %10, align 4
br label %29
22: ; preds = %15
%23 = load i32, ptr @optarg, align 4
%24 = call i32 @atoi(i32 noundef %23)
store i32 %24, ptr %9, align 4
br label %29
25: ; preds = %15
%26 = call i32 (...) @print_usage()
%27 = load i32, ptr @EXIT_FAILURE, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
29: ; preds = %22, %19, %18, %17
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @getopt(i32 noundef %30, ptr noundef %31, ptr noundef @.str)
store i32 %32, ptr %6, align 4
%33 = icmp ne i32 %32, -1
br i1 %33, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %2
%35 = load i32, ptr %10, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = load i32, ptr %9, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %44
40: ; preds = %37, %34
%41 = call i32 (...) @print_usage()
%42 = load i32, ptr @EXIT_FAILURE, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; preds = %37
%45 = load i32, ptr %7, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %53
47: ; preds = %44
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %9, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51)
br label %53
53: ; preds = %47, %44
%54 = load i32, ptr %8, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %53
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %57, %58
%60 = mul nsw i32 2, %59
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = call i32 @printf(ptr noundef @.str.2, i32 noundef %61)
br label %63
63: ; preds = %56, %53
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @print_usage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeeyngp99.c'
source_filename = "/tmp/tmpeeyngp99.c"
target datalayout = "e-m:e-p270: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/tmpeeyngp99.c"
target datalayout = "e-m:e-p270: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/tmp2yf7o6dj.c'
source_filename = "/tmp/tmp2yf7o6dj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_timestamp_ms() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca i32, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 1000
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = sdiv i32 %9, 1000
%11 = add nsw i32 %7, %10
ret i32 %11
}
declare i32 @gettimeofday(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/tmp2yf7o6dj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_timestamp_ms() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca i32, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 1000
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = sdiv i32 %9, 1000
%11 = add nsw i32 %7, %10
ret i32 %11
}
declare i32 @gettimeofday(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/tmpinddkmi_.c'
source_filename = "/tmp/tmpinddkmi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Find pattern in txt at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kmp_search(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %7, align 8
%22 = call i32 @pre_kmp(ptr noundef %19, i32 noundef %20, ptr noundef %21)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %23
23: ; preds = %90, %2
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %91
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %33, %39
br i1 %40, label %41, label %46
41: ; preds = %27
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
br label %46
46: ; preds = %41, %27
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %61
50: ; preds = %46
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %5, align 4
%53 = sub nsw i32 %51, %52
%54 = call i32 @printf(ptr noundef @.str, i32 noundef %53)
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %9, align 4
br label %90
61: ; preds = %46
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %8, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %67, %73
br i1 %74, label %75, label %89
75: ; preds = %61
%76 = load i32, ptr %9, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %85
78: ; preds = %75
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %9, align 4
%81 = sub nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %9, align 4
br label %88
85: ; preds = %75
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
br label %88
88: ; preds = %85, %78
br label %89
89: ; preds = %88, %61
br label %90
90: ; preds = %89, %50
br label %23, !llvm.loop !6
91: ; preds = %23
%92 = load ptr, ptr %7, align 8
%93 = call i32 @free(ptr noundef %92)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @pre_kmp(ptr noundef, i32 noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpinddkmi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Find pattern in txt at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kmp_search(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %7, align 8
%22 = call i32 @pre_kmp(ptr noundef %19, i32 noundef %20, ptr noundef %21)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %93
.lr.ph: ; preds = %2
br label %26
26: ; preds = %.lr.ph, %89
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %32, %38
br i1 %39, label %40, label %45
40: ; preds = %26
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %40, %26
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %60
49: ; preds = %45
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %5, align 4
%52 = sub nsw i32 %50, %51
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %9, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %9, align 4
br label %89
60: ; preds = %45
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %66, %72
br i1 %73, label %74, label %88
74: ; preds = %60
%75 = load i32, ptr %9, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %84
77: ; preds = %74
%78 = load ptr, ptr %7, align 8
%79 = load i32, ptr %9, align 4
%80 = sub nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %78, i64 %81
%83 = load i32, ptr %82, align 4
store i32 %83, ptr %9, align 4
br label %87
84: ; preds = %74
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
br label %87
87: ; preds = %84, %77
br label %88
88: ; preds = %87, %60
br label %89
89: ; preds = %88, %49
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %93
93: ; preds = %._crit_edge, %2
%94 = load ptr, ptr %7, align 8
%95 = call i32 @free(ptr noundef %94)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @pre_kmp(ptr noundef, i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpnmijvzik.c'
source_filename = "/tmp/tmpnmijvzik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_ctz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %19, %1
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = load i32, ptr @CHAR_BIT, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = icmp ult i64 %6, %9
br i1 %10, label %11, label %22
11: ; preds = %4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = shl i32 1, %13
%15 = and i32 %12, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
br label %22
18: ; preds = %11
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %4, !llvm.loop !6
22: ; preds = %17, %4
%23 = load i32, ptr %3, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmijvzik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_ctz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sext i32 %4 to i64
%6 = load i32, ptr @CHAR_BIT, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 4
%9 = icmp ult i64 %5, %8
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = shl i32 1, %12
%14 = and i32 %11, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
br label %27
17: ; preds = %10
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = load i32, ptr @CHAR_BIT, align 4
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = icmp ult i64 %22, %25
br i1 %26, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %18
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %27
27: ; preds = %.loopexit, %16
%28 = load i32, ptr %3, align 4
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxgn12lew.c'
source_filename = "/tmp/tmpxgn12lew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @gsw_xinterp1(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = load double, ptr %8, align 8
%14 = call i32 @gsw_indx(ptr noundef %11, i32 noundef %12, double noundef %13)
store i32 %14, ptr %9, align 4
%15 = load double, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fsub double %15, %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %22, i64 %25
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = fsub double %27, %32
%34 = fdiv double %21, %33
store double %34, ptr %10, align 8
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load double, ptr %10, align 8
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %41, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = fsub double %46, %51
%53 = call double @llvm.fmuladd.f64(double %40, double %52, double %39)
ret double %53
}
declare i32 @gsw_indx(ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpxgn12lew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @gsw_xinterp1(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = load double, ptr %8, align 8
%14 = call i32 @gsw_indx(ptr noundef %11, i32 noundef %12, double noundef %13)
store i32 %14, ptr %9, align 4
%15 = load double, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fsub double %15, %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %22, i64 %25
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = fsub double %27, %32
%34 = fdiv double %21, %33
store double %34, ptr %10, align 8
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load double, ptr %10, align 8
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %41, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = fsub double %46, %51
%53 = call double @llvm.fmuladd.f64(double %40, double %52, double %39)
ret double %53
}
declare i32 @gsw_indx(ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpo5rtum7m.c'
source_filename = "/tmp/tmpo5rtum7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 @insertHead(i32 noundef 1)
%4 = call i32 @insertHead(i32 noundef 2)
%5 = call i32 @insertHead(i32 noundef 3)
%6 = call i32 @insertHead(i32 noundef 4)
%7 = call i32 @insertHead(i32 noundef 5)
%8 = call i32 @insertTail(i32 noundef 1)
%9 = call i32 @insertTail(i32 noundef 2)
%10 = call i32 @insertTail(i32 noundef 3)
%11 = call i32 @insertTail(i32 noundef 4)
%12 = call i32 @insertTail(i32 noundef 5)
%13 = call i32 (...) @dump()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @insertHead(i32 noundef) #1
declare i32 @insertTail(i32 noundef) #1
declare i32 @dump(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5rtum7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 @insertHead(i32 noundef 1)
%4 = call i32 @insertHead(i32 noundef 2)
%5 = call i32 @insertHead(i32 noundef 3)
%6 = call i32 @insertHead(i32 noundef 4)
%7 = call i32 @insertHead(i32 noundef 5)
%8 = call i32 @insertTail(i32 noundef 1)
%9 = call i32 @insertTail(i32 noundef 2)
%10 = call i32 @insertTail(i32 noundef 3)
%11 = call i32 @insertTail(i32 noundef 4)
%12 = call i32 @insertTail(i32 noundef 5)
%13 = call i32 (...) @dump()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @insertHead(i32 noundef) #1
declare i32 @insertTail(i32 noundef) #1
declare i32 @dump(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpanc1e78z.c'
source_filename = "/tmp/tmpanc1e78z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %22, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %12, i64 %19
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %57, %25
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %60
30: ; preds = %26
store i32 0, ptr %4, align 4
br label %31
31: ; preds = %53, %30
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %12, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %12, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %39, %43
br i1 %44, label %45, label %52
45: ; preds = %35
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %49, %45, %35
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %31, !llvm.loop !8
56: ; preds = %31
br label %57
57: ; preds = %56
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
br label %26, !llvm.loop !9
60: ; preds = %26
%61 = load i32, ptr %5, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %5, align 4
%64 = icmp sgt i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %60
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %69
67: ; preds = %60
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %69
69: ; preds = %67, %65
store i32 0, ptr %1, align 4
%70 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %70)
%71 = load i32, ptr %1, align 4
ret i32 %71
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpanc1e78z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %12, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%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 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph5, label %66
.lr.ph5: ; preds = %27
br label %31
31: ; preds = %.lr.ph5, %60
store i32 0, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %59
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %53
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %12, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %12, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %39, %43
br i1 %44, label %45, label %52
45: ; preds = %35
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %49, %45, %35
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %31
br label %60
60: ; preds = %59
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %2, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %31, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %60
br label %66
66: ; preds = %._crit_edge6, %27
%67 = load i32, ptr %5, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %67)
%69 = load i32, ptr %5, align 4
%70 = icmp sgt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %75
73: ; preds = %66
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %75
75: ; preds = %73, %71
store i32 0, ptr %1, align 4
%76 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %76)
%77 = load i32, ptr %1, align 4
ret i32 %77
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpk6yeyy09.c'
source_filename = "/tmp/tmpk6yeyy09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mac_verify(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %39
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp ne i32 %10, 17
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %39
13: ; preds = %8
store i32 2, ptr %4, align 4
br label %14
14: ; preds = %35, %13
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 17
br i1 %16, label %17, label %38
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 58
br i1 %24, label %25, label %34
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %34
33: ; preds = %25
store i32 1, ptr %2, align 4
br label %39
34: ; preds = %25, %17
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 3
store i32 %37, ptr %4, align 4
br label %14, !llvm.loop !6
38: ; preds = %14
store i32 0, ptr %2, align 4
br label %39
39: ; preds = %38, %33, %12, %7
%40 = load i32, ptr %2, align 4
ret i32 %40
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk6yeyy09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mac_verify(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %40
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp ne i32 %10, 17
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %40
13: ; preds = %8
store i32 2, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 17
br i1 %15, label %.lr.ph, label %39
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %34
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 58
br i1 %23, label %24, label %33
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 45
br i1 %31, label %32, label %33
32: ; preds = %24
store i32 1, ptr %2, align 4
br label %40
33: ; preds = %24, %16
br label %34
34: ; preds = %33
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 3
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 17
br i1 %38, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %13
store i32 0, ptr %2, align 4
br label %40
40: ; preds = %39, %32, %12, %7
%41 = load i32, ptr %2, align 4
ret i32 %41
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8domn41i.c'
source_filename = "/tmp/tmp8domn41i.c"
target datalayout = "e-m:e-p270: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/tmp8domn41i.c"
target datalayout = "e-m:e-p270: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/tmp55hmmhpz.c'
source_filename = "/tmp/tmp55hmmhpz.c"
target datalayout = "e-m:e-p270: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.align_to_test = private unnamed_addr constant [10 x i64] [i64 4, i64 8, i64 16, i64 32, i64 64, i64 128, i64 256, i64 512, i64 1024, i64 0], align 16
@__const.main.sizes_to_test = private unnamed_addr constant [13 x i64] [i64 1, i64 2, i64 4, i64 8, i64 10, i64 16, i64 32, i64 64, i64 128, i64 256, i64 512, i64 1024, i64 0], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"posix_memalign failed with err %d (EINVAL=%d,ENOMEM=%d)\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Input params were align=%d, size=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"posix_memalign failed to align to %zu: ptr=%p\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"posix_memaligned failed to return EINVAL for non-pow2!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [10 x i64], align 16
%8 = alloca [13 x i64], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.align_to_test, i64 80, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.sizes_to_test, i64 104, i1 false)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %12
12: ; preds = %78, %2
%13 = load i32, ptr %9, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %14
%16 = load i64, ptr %15, align 8
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %81
18: ; preds = %12
store i32 0, ptr %10, align 4
br label %19
19: ; preds = %73, %18
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %21
%23 = load i64, ptr %22, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %78
25: ; preds = %19
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %27
%29 = load i64, ptr %28, align 8
%30 = trunc i64 %29 to i32
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %32
%34 = load i64, ptr %33, align 8
%35 = mul i64 %34, 1
%36 = trunc i64 %35 to i32
%37 = call i32 @posix_memalign(ptr noundef %6, i32 noundef %30, i32 noundef %36)
store i32 %37, ptr %11, align 4
%38 = load i32, ptr %11, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %56
40: ; preds = %25
%41 = load i32, ptr @stderr, align 4
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr @EINVAL, align 4
%44 = load i32, ptr @ENOMEM, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str, i32 noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr @stderr, align 4
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %48
%50 = load i64, ptr %49, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.1, i64 noundef %50, i64 noundef %54)
store i32 1, ptr %3, align 4
br label %96
56: ; preds = %25
%57 = load ptr, ptr %6, align 8
%58 = ptrtoint ptr %57 to i64
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %60
%62 = load i64, ptr %61, align 8
%63 = urem i64 %58, %62
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %73
65: ; preds = %56
%66 = load i32, ptr @stderr, align 4
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %68
%70 = load i64, ptr %69, align 8
%71 = load ptr, ptr %6, align 8
%72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.2, i64 noundef %70, ptr noundef %71)
store i32 1, ptr %3, align 4
br label %96
73: ; preds = %56
%74 = load ptr, ptr %6, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
br label %19, !llvm.loop !6
78: ; preds = %19
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
br label %12, !llvm.loop !8
81: ; preds = %12
%82 = call i32 @posix_memalign(ptr noundef %6, i32 noundef 7, i32 noundef 20)
%83 = load i32, ptr @EINVAL, align 4
%84 = icmp ne i32 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %81
%86 = load i32, ptr @stderr, align 4
%87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %96
88: ; preds = %81
%89 = call i32 @posix_memalign(ptr noundef %6, i32 noundef 7, i32 noundef 20)
%90 = load i32, ptr @EINVAL, align 4
%91 = icmp ne i32 %89, %90
br i1 %91, label %92, label %95
92: ; preds = %88
%93 = load i32, ptr @stderr, align 4
%94 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %93, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %96
95: ; preds = %88
store i32 0, ptr %3, align 4
br label %96
96: ; preds = %95, %92, %85, %65, %40
%97 = load i32, ptr %3, align 4
ret i32 %97
}
; 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 @posix_memalign(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp55hmmhpz.c"
target datalayout = "e-m:e-p270: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.align_to_test = private unnamed_addr constant [10 x i64] [i64 4, i64 8, i64 16, i64 32, i64 64, i64 128, i64 256, i64 512, i64 1024, i64 0], align 16
@__const.main.sizes_to_test = private unnamed_addr constant [13 x i64] [i64 1, i64 2, i64 4, i64 8, i64 10, i64 16, i64 32, i64 64, i64 128, i64 256, i64 512, i64 1024, i64 0], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"posix_memalign failed with err %d (EINVAL=%d,ENOMEM=%d)\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Input params were align=%d, size=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"posix_memalign failed to align to %zu: ptr=%p\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"posix_memaligned failed to return EINVAL for non-pow2!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [10 x i64], align 16
%8 = alloca [13 x i64], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.align_to_test, i64 80, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.sizes_to_test, i64 104, i1 false)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %13
%15 = load i64, ptr %14, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph2, label %89
.lr.ph2: ; preds = %2
br label %17
17: ; preds = %.lr.ph2, %81
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %19
%21 = load i64, ptr %20, align 8
%22 = icmp ne i64 %21, 0
br i1 %22, label %.lr.ph, label %81
.lr.ph: ; preds = %17
br label %23
23: ; preds = %.lr.ph, %71
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %25
%27 = load i64, ptr %26, align 8
%28 = trunc i64 %27 to i32
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %30
%32 = load i64, ptr %31, align 8
%33 = mul i64 %32, 1
%34 = trunc i64 %33 to i32
%35 = call i32 @posix_memalign(ptr noundef %6, i32 noundef %28, i32 noundef %34)
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %54
38: ; preds = %23
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr @EINVAL, align 4
%42 = load i32, ptr @ENOMEM, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str, i32 noundef %40, i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr @stderr, align 4
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %46
%48 = load i64, ptr %47, align 8
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %50
%52 = load i64, ptr %51, align 8
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1, i64 noundef %48, i64 noundef %52)
store i32 1, ptr %3, align 4
br label %104
54: ; preds = %23
%55 = load ptr, ptr %6, align 8
%56 = ptrtoint ptr %55 to i64
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %58
%60 = load i64, ptr %59, align 8
%61 = urem i64 %56, %60
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %71
63: ; preds = %54
%64 = load i32, ptr @stderr, align 4
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %66
%68 = load i64, ptr %67, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.2, i64 noundef %68, ptr noundef %69)
store i32 1, ptr %3, align 4
br label %104
71: ; preds = %54
%72 = load ptr, ptr %6, align 8
%73 = call i32 @free(ptr noundef %72)
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [13 x i64], ptr %8, i64 0, i64 %77
%79 = load i64, ptr %78, align 8
%80 = icmp ne i64 %79, 0
br i1 %80, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %81
81: ; preds = %._crit_edge, %17
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %9, align 4
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [10 x i64], ptr %7, i64 0, i64 %85
%87 = load i64, ptr %86, align 8
%88 = icmp ne i64 %87, 0
br i1 %88, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %81
br label %89
89: ; preds = %._crit_edge3, %2
%90 = call i32 @posix_memalign(ptr noundef %6, i32 noundef 7, i32 noundef 20)
%91 = load i32, ptr @EINVAL, align 4
%92 = icmp ne i32 %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = load i32, ptr @stderr, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %104
96: ; preds = %89
%97 = call i32 @posix_memalign(ptr noundef %6, i32 noundef 7, i32 noundef 20)
%98 = load i32, ptr @EINVAL, align 4
%99 = icmp ne i32 %97, %98
br i1 %99, label %100, label %103
100: ; preds = %96
%101 = load i32, ptr @stderr, align 4
%102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %104
103: ; preds = %96
store i32 0, ptr %3, align 4
br label %104
104: ; preds = %103, %100, %93, %63, %38
%105 = load i32, ptr %3, align 4
ret i32 %105
}
; 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 @posix_memalign(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvfx0bxiu.c'
source_filename = "/tmp/tmpvfx0bxiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"All tests was successfully passed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @testOperations()
%2 = call i32 (...) @testQSort()
%3 = call i32 (...) @testEmptyLinkedList()
%4 = call i32 (...) @testUniq()
%5 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @testOperations(...) #1
declare i32 @testQSort(...) #1
declare i32 @testEmptyLinkedList(...) #1
declare i32 @testUniq(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvfx0bxiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"All tests was successfully passed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @testOperations()
%2 = call i32 (...) @testQSort()
%3 = call i32 (...) @testEmptyLinkedList()
%4 = call i32 (...) @testUniq()
%5 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @testOperations(...) #1
declare i32 @testQSort(...) #1
declare i32 @testEmptyLinkedList(...) #1
declare i32 @testUniq(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbjt4lz35.c'
source_filename = "/tmp/tmpbjt4lz35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dev_read_block(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 4096
%8 = call i32 @dev_read(ptr noundef %5, i32 noundef %7, i32 noundef 4096)
ret i32 %8
}
declare i32 @dev_read(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/tmpbjt4lz35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dev_read_block(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 4096
%8 = call i32 @dev_read(ptr noundef %5, i32 noundef %7, i32 noundef 4096)
ret i32 %8
}
declare i32 @dev_read(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/tmp8yqpvegm.c'
source_filename = "/tmp/tmp8yqpvegm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(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 @printf(ptr noundef @.str)
%5 = call i32 (...) @bar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yqpvegm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(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 @printf(ptr noundef @.str)
%5 = call i32 (...) @bar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrsnvgds.c'
source_filename = "/tmp/tmpqrsnvgds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm4d(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr %5, align 8
%10 = load double, ptr %6, align 8
%11 = load double, ptr %7, align 8
%12 = load double, ptr %8, align 8
%13 = call double @__ocml_len4_f64(double noundef %9, double noundef %10, double noundef %11, double noundef %12)
ret double %13
}
declare double @__ocml_len4_f64(double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqrsnvgds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm4d(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr %5, align 8
%10 = load double, ptr %6, align 8
%11 = load double, ptr %7, align 8
%12 = load double, ptr %8, align 8
%13 = call double @__ocml_len4_f64(double noundef %9, double noundef %10, double noundef %11, double noundef %12)
ret double %13
}
declare double @__ocml_len4_f64(double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphq_otpim.c'
source_filename = "/tmp/tmphq_otpim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PING\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lw_protocol_do_ping(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i64 @lw_sock_send_str(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = call i64 @recv_ok(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 1, ptr %3, align 4
br label %16
16: ; preds = %15, %11
br label %17
17: ; preds = %16, %7, %1
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @lw_sock_send_str(ptr noundef, ptr noundef) #1
declare i64 @recv_ok(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphq_otpim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PING\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lw_protocol_do_ping(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i64 @lw_sock_send_str(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = call i64 @recv_ok(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 1, ptr %3, align 4
br label %16
16: ; preds = %15, %11
br label %17
17: ; preds = %16, %7, %1
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @lw_sock_send_str(ptr noundef, ptr noundef) #1
declare i64 @recv_ok(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbppo80uo.c'
source_filename = "/tmp/tmpbppo80uo.c"
target datalayout = "e-m:e-p270: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.copy_string.string = private unnamed_addr constant [35 x i8] c"This is a string that I will copy.\00", align 16
@.str = private unnamed_addr constant [19 x i8] c"Copied string: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_string() #0 {
%1 = alloca [35 x i8], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.copy_string.string, i64 35, i1 false)
%4 = call i32 (...) @private_copy_init()
%5 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %23, %0
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %26
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %14
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
%27 = load ptr, ptr %2, align 8
%28 = call i32 @printf(ptr noundef @.str, ptr noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @private_copy_check(ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @private_copy_init(...) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @private_copy_check(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbppo80uo.c"
target datalayout = "e-m:e-p270: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.copy_string.string = private unnamed_addr constant [35 x i8] c"This is a string that I will copy.\00", align 16
@.str = private unnamed_addr constant [19 x i8] c"Copied string: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_string() #0 {
%1 = alloca [35 x i8], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.copy_string.string, i64 35, i1 false)
%4 = call i32 (...) @private_copy_init()
%5 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %2, align 8
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [35 x i8], ptr %1, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %13
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = call i32 @strlen(ptr noundef %10)
%27 = icmp slt i32 %25, %26
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = load ptr, ptr %2, align 8
%30 = call i32 @printf(ptr noundef @.str, ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @private_copy_check(ptr noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = call i32 @free(ptr noundef %33)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @private_copy_init(...) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @private_copy_check(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxg6qejdt.c'
source_filename = "/tmp/tmpxg6qejdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
store double %6, ptr %3, align 8
store i32 3, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %35, %1
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %38
10: ; preds = %7
%11 = load i32, ptr %5, align 4
%12 = srem i32 %11, 2
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %23
14: ; preds = %10
%15 = load double, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = call double @pow(double noundef %15, i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = call double @__factd(i32 noundef %18)
%20 = fdiv double %17, %19
%21 = load double, ptr %3, align 8
%22 = fsub double %21, %20
store double %22, ptr %3, align 8
br label %32
23: ; preds = %10
%24 = load double, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = call double @pow(double noundef %24, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = call double @__factd(i32 noundef %27)
%29 = fdiv double %26, %28
%30 = load double, ptr %3, align 8
%31 = fadd double %30, %29
store double %31, ptr %3, align 8
br label %32
32: ; preds = %23, %14
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, 2
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %32
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %7, !llvm.loop !6
38: ; preds = %7
%39 = load double, ptr %3, align 8
ret double %39
}
declare double @pow(double noundef, i32 noundef) #1
declare double @__factd(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/tmpxg6qejdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
store double %6, ptr %3, align 8
store i32 3, ptr %4, align 4
store i32 1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %39
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %34
%10 = load i32, ptr %5, align 4
%11 = srem i32 %10, 2
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %22
13: ; preds = %9
%14 = load double, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = call double @pow(double noundef %14, i32 noundef %15)
%17 = load i32, ptr %4, align 4
%18 = call double @__factd(i32 noundef %17)
%19 = fdiv double %16, %18
%20 = load double, ptr %3, align 8
%21 = fsub double %20, %19
store double %21, ptr %3, align 8
br label %31
22: ; preds = %9
%23 = load double, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = call double @pow(double noundef %23, i32 noundef %24)
%26 = load i32, ptr %4, align 4
%27 = call double @__factd(i32 noundef %26)
%28 = fdiv double %25, %27
%29 = load double, ptr %3, align 8
%30 = fadd double %29, %28
store double %30, ptr %3, align 8
br label %31
31: ; preds = %22, %13
%32 = load i32, ptr %4, align 4
%33 = add i32 %32, 2
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %37, 10
br i1 %38, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %1
%40 = load double, ptr %3, align 8
ret double %40
}
declare double @pow(double noundef, i32 noundef) #1
declare double @__factd(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.