llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmp4rxn_mq6.c'
source_filename = "/tmp/tmp4rxn_mq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @recieveCommand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 0, ptr %4, align 1
%6 = call i32 (...) @waitOneAndHalfBitTime()
store i8 0, ptr %3, align 1
br label %7
7: ; preds = %28, %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %31
11: ; preds = %7
%12 = call i32 (...) @signalVoltage()
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = shl i32 1, %18
br label %21
20: ; preds = %11
br label %21
21: ; preds = %20, %16
%22 = phi i32 [ %19, %16 ], [ 0, %20 ]
%23 = load i8, ptr %4, align 1
%24 = zext i8 %23 to i32
%25 = or i32 %24, %22
%26 = trunc i32 %25 to i8
store i8 %26, ptr %4, align 1
%27 = call i32 (...) @waitBitTime()
br label %28
28: ; preds = %21
%29 = load i8, ptr %3, align 1
%30 = add i8 %29, 1
store i8 %30, ptr %3, align 1
br label %7, !llvm.loop !6
31: ; preds = %7
%32 = call i32 (...) @waitOneAndHalfBitTime()
%33 = load i8, ptr %4, align 1
ret i8 %33
}
declare i32 @waitOneAndHalfBitTime(...) #1
declare i32 @signalVoltage(...) #1
declare i32 @waitBitTime(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4rxn_mq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @recieveCommand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 0, ptr %4, align 1
%6 = call i32 (...) @waitOneAndHalfBitTime()
store i8 0, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = zext i8 %7 to i32
%9 = icmp slt i32 %8, 3
br i1 %9, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %27
%11 = call i32 (...) @signalVoltage()
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = shl i32 1, %17
br label %20
19: ; preds = %10
br label %20
20: ; preds = %19, %15
%21 = phi i32 [ %18, %15 ], [ 0, %19 ]
%22 = load i8, ptr %4, align 1
%23 = zext i8 %22 to i32
%24 = or i32 %23, %21
%25 = trunc i32 %24 to i8
store i8 %25, ptr %4, align 1
%26 = call i32 (...) @waitBitTime()
br label %27
27: ; preds = %20
%28 = load i8, ptr %3, align 1
%29 = add i8 %28, 1
store i8 %29, ptr %3, align 1
%30 = load i8, ptr %3, align 1
%31 = zext i8 %30 to i32
%32 = icmp slt i32 %31, 3
br i1 %32, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %1
%34 = call i32 (...) @waitOneAndHalfBitTime()
%35 = load i8, ptr %4, align 1
ret i8 %35
}
declare i32 @waitOneAndHalfBitTime(...) #1
declare i32 @signalVoltage(...) #1
declare i32 @waitBitTime(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgx5auw3l.c'
source_filename = "/tmp/tmpgx5auw3l.c"
target datalayout = "e-m:e-p270: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/tmpgx5auw3l.c"
target datalayout = "e-m:e-p270: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/tmpib2bcuz4.c'
source_filename = "/tmp/tmpib2bcuz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
%2 = call i32 @vocal(i32 noundef 97)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @vocal(i32 noundef 65)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @vocal(i32 noundef 1)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @vocal(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/tmpib2bcuz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
%2 = call i32 @vocal(i32 noundef 97)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @vocal(i32 noundef 65)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @vocal(i32 noundef 1)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @vocal(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_wmoxose.c'
source_filename = "/tmp/tmp_wmoxose.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\0ADoste arithmo thesis: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"H thesi kratithike\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"H thesi einai HDH kratimeni, epilexte allh!\0A\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"Prepei na dosete enan egkyro arithmo thesis (Max = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reserveSpecific(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
br label %12
12: ; preds = %9, %3
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %34
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %16
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
store i32 1, ptr %29, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %33
31: ; preds = %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %24
br label %37
34: ; preds = %12
%35 = load i32, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
br label %37
37: ; preds = %34, %33
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_wmoxose.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\0ADoste arithmo thesis: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"H thesi kratithike\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"H thesi einai HDH kratimeni, epilexte allh!\0A\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"Prepei na dosete enan egkyro arithmo thesis (Max = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reserveSpecific(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
br label %12
12: ; preds = %9, %3
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %34
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %16
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
store i32 1, ptr %29, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %33
31: ; preds = %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %24
br label %37
34: ; preds = %12
%35 = load i32, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
br label %37
37: ; preds = %34, %33
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn0nzinmq.c'
source_filename = "/tmp/tmpn0nzinmq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_strnr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11, %3
%15 = call i32 (...) @ordering_err_2()
store i32 %15, ptr %4, align 4
br label %78
16: ; preds = %11
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %26, label %24
24: ; preds = %20, %16
%25 = call i32 (...) @ordering_err_2()
store i32 %25, ptr %4, align 4
br label %78
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
%28 = call i64 @objp_to_size(ptr noundef %27)
store i64 %28, ptr %8, align 8
%29 = load i64, ptr %8, align 8
%30 = icmp ule i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 0, ptr %4, align 4
br label %78
32: ; preds = %26
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %35, align 8
%37 = load i64, ptr %8, align 8
%38 = call i32 @strncmp(ptr noundef %34, ptr noundef %36, i64 noundef %37)
%39 = icmp ne i32 %38, -938278912
br i1 %39, label %40, label %55
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %43, align 8
%45 = load i64, ptr %8, align 8
%46 = call i32 @strncmp(ptr noundef %42, ptr noundef %44, i64 noundef %45)
%47 = icmp ne i32 %46, -938344448
br i1 %47, label %48, label %55
48: ; preds = %40
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %49, align 8
%51 = load ptr, ptr %7, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i64, ptr %8, align 8
%54 = call i32 @strncmp(ptr noundef %50, ptr noundef %52, i64 noundef %53)
br label %76
55: ; preds = %40, %32
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %56, align 8
%58 = load ptr, ptr %7, align 8
%59 = load ptr, ptr %58, align 8
%60 = load i64, ptr %8, align 8
%61 = call i32 @strncmp(ptr noundef %57, ptr noundef %59, i64 noundef %60)
%62 = icmp sle i32 %61, 0
br i1 %62, label %63, label %73
63: ; preds = %55
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %64, align 8
%66 = load ptr, ptr %7, align 8
%67 = load ptr, ptr %66, align 8
%68 = load i64, ptr %8, align 8
%69 = call i32 @strncmp(ptr noundef %65, ptr noundef %67, i64 noundef %68)
%70 = icmp slt i32 %69, 0
%71 = zext i1 %70 to i64
%72 = select i1 %70, i32 -938409984, i32 0
br label %74
73: ; preds = %55
br label %74
74: ; preds = %73, %63
%75 = phi i32 [ %72, %63 ], [ 938409984, %73 ]
br label %76
76: ; preds = %74, %48
%77 = phi i32 [ %54, %48 ], [ %75, %74 ]
store i32 %77, ptr %4, align 4
br label %78
78: ; preds = %76, %31, %24, %14
%79 = load i32, ptr %4, align 4
ret i32 %79
}
declare i32 @ordering_err_2(...) #1
declare i64 @objp_to_size(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0nzinmq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_strnr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11, %3
%15 = call i32 (...) @ordering_err_2()
store i32 %15, ptr %4, align 4
br label %78
16: ; preds = %11
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %26, label %24
24: ; preds = %20, %16
%25 = call i32 (...) @ordering_err_2()
store i32 %25, ptr %4, align 4
br label %78
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
%28 = call i64 @objp_to_size(ptr noundef %27)
store i64 %28, ptr %8, align 8
%29 = load i64, ptr %8, align 8
%30 = icmp ule i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 0, ptr %4, align 4
br label %78
32: ; preds = %26
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %35, align 8
%37 = load i64, ptr %8, align 8
%38 = call i32 @strncmp(ptr noundef %34, ptr noundef %36, i64 noundef %37)
%39 = icmp ne i32 %38, -938278912
br i1 %39, label %40, label %55
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %43, align 8
%45 = load i64, ptr %8, align 8
%46 = call i32 @strncmp(ptr noundef %42, ptr noundef %44, i64 noundef %45)
%47 = icmp ne i32 %46, -938344448
br i1 %47, label %48, label %55
48: ; preds = %40
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %49, align 8
%51 = load ptr, ptr %7, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i64, ptr %8, align 8
%54 = call i32 @strncmp(ptr noundef %50, ptr noundef %52, i64 noundef %53)
br label %76
55: ; preds = %40, %32
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %56, align 8
%58 = load ptr, ptr %7, align 8
%59 = load ptr, ptr %58, align 8
%60 = load i64, ptr %8, align 8
%61 = call i32 @strncmp(ptr noundef %57, ptr noundef %59, i64 noundef %60)
%62 = icmp sle i32 %61, 0
br i1 %62, label %63, label %73
63: ; preds = %55
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %64, align 8
%66 = load ptr, ptr %7, align 8
%67 = load ptr, ptr %66, align 8
%68 = load i64, ptr %8, align 8
%69 = call i32 @strncmp(ptr noundef %65, ptr noundef %67, i64 noundef %68)
%70 = icmp slt i32 %69, 0
%71 = zext i1 %70 to i64
%72 = select i1 %70, i32 -938409984, i32 0
br label %74
73: ; preds = %55
br label %74
74: ; preds = %73, %63
%75 = phi i32 [ %72, %63 ], [ 938409984, %73 ]
br label %76
76: ; preds = %74, %48
%77 = phi i32 [ %54, %48 ], [ %75, %74 ]
store i32 %77, ptr %4, align 4
br label %78
78: ; preds = %76, %31, %24, %14
%79 = load i32, ptr %4, align 4
ret i32 %79
}
declare i32 @ordering_err_2(...) #1
declare i64 @objp_to_size(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpomten6dv.c'
source_filename = "/tmp/tmpomten6dv.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [8 x i32] [i32 4, i32 2, i32 3, i32 5, i32 1, i32 6, i32 2, i32 4], align 16
@.str = private unnamed_addr constant [10 x i8] c"sum = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 32, i1 false)
%4 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @minsum(ptr noundef %4, i32 noundef 8)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @minsum(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpomten6dv.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [8 x i32] [i32 4, i32 2, i32 3, i32 5, i32 1, i32 6, i32 2, i32 4], align 16
@.str = private unnamed_addr constant [10 x i8] c"sum = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 32, i1 false)
%4 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @minsum(ptr noundef %4, i32 noundef 8)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @minsum(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy8gv2emu.c'
source_filename = "/tmp/tmpy8gv2emu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Problem 45 - Answer: %d -> %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 143, ptr %2, align 4
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %0, %20
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = mul nsw i32 2, %8
%10 = sub nsw i32 %9, 1
%11 = mul nsw i32 %7, %10
%12 = sext i32 %11 to i64
store i64 %12, ptr %3, align 8
%13 = load i64, ptr %3, align 8
%14 = call i64 @ispent(i64 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %4
%17 = load i32, ptr %2, align 4
%18 = load i64, ptr %3, align 8
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i64 noundef %18)
br label %21
20: ; preds = %4
br label %4
21: ; preds = %16
ret i32 0
}
declare i64 @ispent(i64 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8gv2emu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Problem 45 - Answer: %d -> %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 143, ptr %2, align 4
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %4, %0
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = mul nsw i32 2, %8
%10 = sub nsw i32 %9, 1
%11 = mul nsw i32 %7, %10
%12 = sext i32 %11 to i64
store i64 %12, ptr %3, align 8
%13 = load i64, ptr %3, align 8
%14 = call i64 @ispent(i64 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %4
16: ; preds = %4
%17 = load i32, ptr %2, align 4
%18 = load i64, ptr %3, align 8
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i64 noundef %18)
br label %20
20: ; preds = %16
ret i32 0
}
declare i64 @ispent(i64 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphg4na0rq.c'
source_filename = "/tmp/tmphg4na0rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Integer square root of 8 should be 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_8() #0 {
%1 = call i32 @isqrt(i32 noundef 8)
%2 = icmp eq i32 %1, 2
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 45, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmphg4na0rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Integer square root of 8 should be 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_8() #0 {
%1 = call i32 @isqrt(i32 noundef 8)
%2 = icmp eq i32 %1, 2
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 45, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmp2i6vcd4p.c'
source_filename = "/tmp/tmp2i6vcd4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"[0-9]{2} \\.[ ]?$\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_root(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @match(ptr noundef %4, ptr noundef %5)
ret i32 %6
}
declare i32 @match(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/tmp2i6vcd4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"[0-9]{2} \\.[ ]?$\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_root(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @match(ptr noundef %4, ptr noundef %5)
ret i32 %6
}
declare i32 @match(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/tmpyc5lrtr6.c'
source_filename = "/tmp/tmpyc5lrtr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @locate_elem(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 ptr @xlocate_elem(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0)
ret ptr %7
}
declare ptr @xlocate_elem(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyc5lrtr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @locate_elem(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 ptr @xlocate_elem(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0)
ret ptr %7
}
declare ptr @xlocate_elem(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpykksz8iy.c'
source_filename = "/tmp/tmpykksz8iy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Could not open %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bbobOpenFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @ERROR(ptr noundef @.str.1, ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @ERROR(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/tmpykksz8iy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Could not open %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bbobOpenFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @ERROR(ptr noundef @.str.1, ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @ERROR(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/tmpbt0ehvbc.c'
source_filename = "/tmp/tmpbt0ehvbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%m%d%H%M%Y.%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 80, ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbt0ehvbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%m%d%H%M%Y.%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 80, ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl72pfnrf.c'
source_filename = "/tmp/tmpl72pfnrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"** E ** cannot read coor file\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%li\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Number of atoms does not match prmtop\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%lf%lf%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_amber_coor(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca [200 x i8], align 16
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %14, align 8
%17 = load ptr, ptr %14, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = call i32 @printf(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %5
%23 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
%24 = load ptr, ptr %14, align 8
%25 = call i32 @fgets(ptr noundef %23, i32 noundef 82, ptr noundef %24)
%26 = load ptr, ptr %14, align 8
%27 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %12)
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %12, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %22
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = call i32 @exit(i32 noundef 0) #3
unreachable
34: ; preds = %22
store i64 0, ptr %11, align 8
br label %35
35: ; preds = %51, %34
%36 = load i64, ptr %11, align 8
%37 = load i64, ptr %7, align 8
%38 = icmp slt i64 %36, %37
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load ptr, ptr %14, align 8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %11, align 8
%43 = getelementptr inbounds double, ptr %41, i64 %42
%44 = load ptr, ptr %9, align 8
%45 = load i64, ptr %11, align 8
%46 = getelementptr inbounds double, ptr %44, i64 %45
%47 = load ptr, ptr %10, align 8
%48 = load i64, ptr %11, align 8
%49 = getelementptr inbounds double, ptr %47, i64 %48
%50 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %40, ptr noundef @.str.4, ptr noundef %43, ptr noundef %46, ptr noundef %49)
br label %51
51: ; preds = %39
%52 = load i64, ptr %11, align 8
%53 = add nsw i64 %52, 1
store i64 %53, ptr %11, align 8
br label %35, !llvm.loop !6
54: ; preds = %35
%55 = load ptr, ptr %14, align 8
%56 = call i32 @fclose(ptr noundef %55)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl72pfnrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"** E ** cannot read coor file\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%li\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Number of atoms does not match prmtop\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%lf%lf%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_amber_coor(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca [200 x i8], align 16
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %14, align 8
%17 = load ptr, ptr %14, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = call i32 @printf(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %5
%23 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
%24 = load ptr, ptr %14, align 8
%25 = call i32 @fgets(ptr noundef %23, i32 noundef 82, ptr noundef %24)
%26 = load ptr, ptr %14, align 8
%27 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %12)
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %12, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %22
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = call i32 @exit(i32 noundef 0) #3
unreachable
34: ; preds = %22
store i64 0, ptr %11, align 8
%35 = load i64, ptr %11, align 8
%36 = load i64, ptr %7, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %.lr.ph, label %56
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %50
%39 = load ptr, ptr %14, align 8
%40 = load ptr, ptr %8, align 8
%41 = load i64, ptr %11, align 8
%42 = getelementptr inbounds double, ptr %40, i64 %41
%43 = load ptr, ptr %9, align 8
%44 = load i64, ptr %11, align 8
%45 = getelementptr inbounds double, ptr %43, i64 %44
%46 = load ptr, ptr %10, align 8
%47 = load i64, ptr %11, align 8
%48 = getelementptr inbounds double, ptr %46, i64 %47
%49 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %42, ptr noundef %45, ptr noundef %48)
br label %50
50: ; preds = %38
%51 = load i64, ptr %11, align 8
%52 = add nsw i64 %51, 1
store i64 %52, ptr %11, align 8
%53 = load i64, ptr %11, align 8
%54 = load i64, ptr %7, align 8
%55 = icmp slt i64 %53, %54
br i1 %55, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %34
%57 = load ptr, ptr %14, align 8
%58 = call i32 @fclose(ptr noundef %57)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqk4tt97p.c'
source_filename = "/tmp/tmpqk4tt97p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printhex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 7, ptr %3, align 4
br label %5
5: ; preds = %35, %1
%6 = load i32, ptr %3, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %38
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %10, 4
%12 = ashr i32 %9, %11
%13 = trunc i32 %12 to i8
store i8 %13, ptr %4, align 1
%14 = load i8, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = and i32 %15, 15
%17 = trunc i32 %16 to i8
store i8 %17, ptr %4, align 1
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp sgt i32 %19, 9
br i1 %20, label %21, label %28
21: ; preds = %8
%22 = load i8, ptr %4, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 10
%25 = add nsw i32 %24, 65
%26 = trunc i32 %25 to i8
%27 = call i32 @putc(i8 noundef signext %26)
br label %34
28: ; preds = %8
%29 = load i8, ptr %4, align 1
%30 = sext i8 %29 to i32
%31 = add nsw i32 %30, 48
%32 = trunc i32 %31 to i8
%33 = call i32 @putc(i8 noundef signext %32)
br label %34
34: ; preds = %28, %21
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %3, align 4
br label %5, !llvm.loop !6
38: ; preds = %5
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqk4tt97p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printhex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 7, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %.lr.ph, label %39
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %34
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %9, 4
%11 = ashr i32 %8, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %4, align 1
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = and i32 %14, 15
%16 = trunc i32 %15 to i8
store i8 %16, ptr %4, align 1
%17 = load i8, ptr %4, align 1
%18 = sext i8 %17 to i32
%19 = icmp sgt i32 %18, 9
br i1 %19, label %20, label %27
20: ; preds = %7
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = sub nsw i32 %22, 10
%24 = add nsw i32 %23, 65
%25 = trunc i32 %24 to i8
%26 = call i32 @putc(i8 noundef signext %25)
br label %33
27: ; preds = %7
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = add nsw i32 %29, 48
%31 = trunc i32 %30 to i8
%32 = call i32 @putc(i8 noundef signext %31)
br label %33
33: ; preds = %27, %20
br label %34
34: ; preds = %33
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp sge i32 %37, 0
br i1 %38, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %1
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeif91pk4.c'
source_filename = "/tmp/tmpeif91pk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @align_pointer(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = ptrtoint ptr %14 to i32
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %7, align 4
%18 = sub nsw i32 %17, 1
%19 = add nsw i32 %16, %18
%20 = load i32, ptr %7, align 4
%21 = sub nsw i32 %20, 1
%22 = xor i32 %21, -1
%23 = and i32 %19, %22
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %5
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = sdiv i32 %27, %28
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %10, align 4
%32 = mul nsw i32 %30, %31
%33 = load i32, ptr %9, align 4
%34 = sdiv i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = mul nsw i32 %34, %35
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %13, align 4
%39 = add nsw i32 %37, %38
store i32 %39, ptr %11, align 4
br label %43
40: ; preds = %5
%41 = load ptr, ptr %6, align 8
%42 = ptrtoint ptr %41 to i32
store i32 %42, ptr %11, align 4
br label %43
43: ; preds = %40, %26
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = inttoptr i64 %45 to ptr
ret ptr %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeif91pk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @align_pointer(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = ptrtoint ptr %14 to i32
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %7, align 4
%18 = sub nsw i32 %17, 1
%19 = add nsw i32 %16, %18
%20 = load i32, ptr %7, align 4
%21 = sub nsw i32 %20, 1
%22 = xor i32 %21, -1
%23 = and i32 %19, %22
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %5
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = sdiv i32 %27, %28
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %10, align 4
%32 = mul nsw i32 %30, %31
%33 = load i32, ptr %9, align 4
%34 = sdiv i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = mul nsw i32 %34, %35
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %13, align 4
%39 = add nsw i32 %37, %38
store i32 %39, ptr %11, align 4
br label %43
40: ; preds = %5
%41 = load ptr, ptr %6, align 8
%42 = ptrtoint ptr %41 to i32
store i32 %42, ptr %11, align 4
br label %43
43: ; preds = %40, %26
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = inttoptr i64 %45 to ptr
ret ptr %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp45g3oyw9.c'
source_filename = "/tmp/tmp45g3oyw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetIndexTernary(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %11, align 4
%14 = sitofp i32 %13 to double
%15 = call i64 @sqrt(double noundef %14)
%16 = trunc i64 %15 to i32
%17 = load ptr, ptr %7, align 8
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %11, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %21, align 4
%23 = mul nsw i32 %20, %22
%24 = sub nsw i32 %18, %23
%25 = load ptr, ptr %8, align 8
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %26, align 4
%28 = sdiv i32 %27, 2
%29 = mul nsw i32 %28, 3
%30 = add nsw i32 1, %29
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %31, align 4
%33 = srem i32 %32, 2
%34 = add nsw i32 %30, %33
%35 = sitofp i32 %34 to double
%36 = load i32, ptr %12, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double 3.000000e+00, %37
%39 = fdiv double %35, %38
%40 = load ptr, ptr %9, align 8
store double %39, ptr %40, align 8
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %43, align 4
%45 = sub nsw i32 %42, %44
%46 = mul nsw i32 %45, 3
%47 = add nsw i32 1, %46
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = srem i32 %49, 2
%51 = add nsw i32 %47, %50
%52 = sitofp i32 %51 to double
%53 = load i32, ptr %12, align 4
%54 = sitofp i32 %53 to double
%55 = fmul double 3.000000e+00, %54
%56 = fdiv double %52, %55
%57 = load ptr, ptr %10, align 8
store double %56, ptr %57, align 8
ret void
}
declare i64 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45g3oyw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetIndexTernary(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %11, align 4
%14 = sitofp i32 %13 to double
%15 = call i64 @sqrt(double noundef %14)
%16 = trunc i64 %15 to i32
%17 = load ptr, ptr %7, align 8
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %11, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %21, align 4
%23 = mul nsw i32 %20, %22
%24 = sub nsw i32 %18, %23
%25 = load ptr, ptr %8, align 8
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %26, align 4
%28 = sdiv i32 %27, 2
%29 = mul nsw i32 %28, 3
%30 = add nsw i32 1, %29
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %31, align 4
%33 = srem i32 %32, 2
%34 = add nsw i32 %30, %33
%35 = sitofp i32 %34 to double
%36 = load i32, ptr %12, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double 3.000000e+00, %37
%39 = fdiv double %35, %38
%40 = load ptr, ptr %9, align 8
store double %39, ptr %40, align 8
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %43, align 4
%45 = sub nsw i32 %42, %44
%46 = mul nsw i32 %45, 3
%47 = add nsw i32 1, %46
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = srem i32 %49, 2
%51 = add nsw i32 %47, %50
%52 = sitofp i32 %51 to double
%53 = load i32, ptr %12, align 4
%54 = sitofp i32 %53 to double
%55 = fmul double 3.000000e+00, %54
%56 = fdiv double %52, %55
%57 = load ptr, ptr %10, align 8
store double %56, ptr %57, align 8
ret void
}
declare i64 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjc58gt9c.c'
source_filename = "/tmp/tmpjc58gt9c.c"
target datalayout = "e-m:e-p270: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/tmpjc58gt9c.c"
target datalayout = "e-m:e-p270: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/tmpm2yzxdls.c'
source_filename = "/tmp/tmpm2yzxdls.c"
target datalayout = "e-m:e-p270: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/tmpm2yzxdls.c"
target datalayout = "e-m:e-p270: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/tmptuqywata.c'
source_filename = "/tmp/tmptuqywata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c":. -\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_uuid(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %18, %2
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 0, ptr %17, align 4
br label %18
18: ; preds = %13
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
br label %22
22: ; preds = %93, %70, %21
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
store i8 %25, ptr %8, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %96
28: ; preds = %22
%29 = load i8, ptr %8, align 1
%30 = sext i8 %29 to i32
%31 = icmp sge i32 %30, 48
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = icmp sle i32 %34, 57
br i1 %35, label %36, label %40
36: ; preds = %32
%37 = load i8, ptr %8, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 48
store i32 %39, ptr %9, align 4
br label %74
40: ; preds = %32, %28
%41 = load i8, ptr %8, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 97
br i1 %43, label %44, label %53
44: ; preds = %40
%45 = load i8, ptr %8, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 102
br i1 %47, label %48, label %53
48: ; preds = %44
%49 = load i8, ptr %8, align 1
%50 = sext i8 %49 to i32
%51 = add nsw i32 10, %50
%52 = sub nsw i32 %51, 97
store i32 %52, ptr %9, align 4
br label %73
53: ; preds = %44, %40
%54 = load i8, ptr %8, align 1
%55 = sext i8 %54 to i32
%56 = icmp sge i32 %55, 65
br i1 %56, label %57, label %66
57: ; preds = %53
%58 = load i8, ptr %8, align 1
%59 = sext i8 %58 to i32
%60 = icmp sle i32 %59, 70
br i1 %60, label %61, label %66
61: ; preds = %57
%62 = load i8, ptr %8, align 1
%63 = sext i8 %62 to i32
%64 = add nsw i32 10, %63
%65 = sub nsw i32 %64, 65
store i32 %65, ptr %9, align 4
br label %72
66: ; preds = %57, %53
%67 = load i8, ptr %8, align 1
%68 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %66
br label %22, !llvm.loop !8
71: ; preds = %66
store i32 0, ptr %3, align 4
br label %101
72: ; preds = %61
br label %73
73: ; preds = %72, %48
br label %74
74: ; preds = %73, %36
%75 = load i32, ptr %6, align 4
%76 = icmp slt i32 %75, 32
br i1 %76, label %77, label %93
77: ; preds = %74
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr %6, align 4
%80 = sdiv i32 %79, 8
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %78, i64 %81
%83 = load i32, ptr %82, align 4
%84 = shl i32 %83, 4
store i32 %84, ptr %82, align 4
%85 = load i32, ptr %9, align 4
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %6, align 4
%88 = sdiv i32 %87, 8
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %86, i64 %89
%91 = load i32, ptr %90, align 4
%92 = add nsw i32 %91, %85
store i32 %92, ptr %90, align 4
br label %93
93: ; preds = %77, %74
%94 = load i32, ptr %6, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %6, align 4
br label %22, !llvm.loop !8
96: ; preds = %22
%97 = load i32, ptr %6, align 4
%98 = icmp eq i32 %97, 32
br i1 %98, label %99, label %100
99: ; preds = %96
store i32 1, ptr %3, align 4
br label %101
100: ; preds = %96
store i32 0, ptr %3, align 4
br label %101
101: ; preds = %100, %99, %71
%102 = load i32, ptr %3, align 4
ret i32 %102
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuqywata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c":. -\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_uuid(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 4
br i1 %11, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %17
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
store i32 0, ptr %16, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 4
br i1 %21, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
store i8 %25, ptr %8, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %.lr.ph2, label %101
.lr.ph2: ; preds = %22
br label %28
28: ; preds = %.lr.ph2, %.backedge
%29 = load i8, ptr %8, align 1
%30 = sext i8 %29 to i32
%31 = icmp sge i32 %30, 48
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = icmp sle i32 %34, 57
br i1 %35, label %36, label %40
36: ; preds = %32
%37 = load i8, ptr %8, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 48
store i32 %39, ptr %9, align 4
br label %79
40: ; preds = %32, %28
%41 = load i8, ptr %8, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 97
br i1 %43, label %44, label %53
44: ; preds = %40
%45 = load i8, ptr %8, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 102
br i1 %47, label %48, label %53
48: ; preds = %44
%49 = load i8, ptr %8, align 1
%50 = sext i8 %49 to i32
%51 = add nsw i32 10, %50
%52 = sub nsw i32 %51, 97
store i32 %52, ptr %9, align 4
br label %78
53: ; preds = %44, %40
%54 = load i8, ptr %8, align 1
%55 = sext i8 %54 to i32
%56 = icmp sge i32 %55, 65
br i1 %56, label %57, label %66
57: ; preds = %53
%58 = load i8, ptr %8, align 1
%59 = sext i8 %58 to i32
%60 = icmp sle i32 %59, 70
br i1 %60, label %61, label %66
61: ; preds = %57
%62 = load i8, ptr %8, align 1
%63 = sext i8 %62 to i32
%64 = add nsw i32 10, %63
%65 = sub nsw i32 %64, 65
store i32 %65, ptr %9, align 4
br label %77
66: ; preds = %57, %53
%67 = load i8, ptr %8, align 1
%68 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %66
br label %.backedge
.backedge: ; preds = %70, %98
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %4, align 8
%73 = load i8, ptr %71, align 1
store i8 %73, ptr %8, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br i1 %75, label %28, label %._crit_edge3, !llvm.loop !8
76: ; preds = %66
store i32 0, ptr %3, align 4
br label %106
77: ; preds = %61
br label %78
78: ; preds = %77, %48
br label %79
79: ; preds = %78, %36
%80 = load i32, ptr %6, align 4
%81 = icmp slt i32 %80, 32
br i1 %81, label %82, label %98
82: ; preds = %79
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %6, align 4
%85 = sdiv i32 %84, 8
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %83, i64 %86
%88 = load i32, ptr %87, align 4
%89 = shl i32 %88, 4
store i32 %89, ptr %87, align 4
%90 = load i32, ptr %9, align 4
%91 = load ptr, ptr %5, align 8
%92 = load i32, ptr %6, align 4
%93 = sdiv i32 %92, 8
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %95, align 4
%97 = add nsw i32 %96, %90
store i32 %97, ptr %95, align 4
br label %98
98: ; preds = %82, %79
%99 = load i32, ptr %6, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %6, align 4
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %101
101: ; preds = %._crit_edge3, %22
%102 = load i32, ptr %6, align 4
%103 = icmp eq i32 %102, 32
br i1 %103, label %104, label %105
104: ; preds = %101
store i32 1, ptr %3, align 4
br label %106
105: ; preds = %101
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %105, %104, %76
%107 = load i32, ptr %3, align 4
ret i32 %107
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmps3p0chj6.c'
source_filename = "/tmp/tmps3p0chj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Give k : \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 void @test_solution_retrieval(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 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @retrieve_and_write(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @retrieve_and_write(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/tmps3p0chj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Give k : \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 void @test_solution_retrieval(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 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @retrieve_and_write(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @retrieve_and_write(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/tmpqbc1jcg8.c'
source_filename = "/tmp/tmpqbc1jcg8.c"
target datalayout = "e-m:e-p270: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/tmpqbc1jcg8.c"
target datalayout = "e-m:e-p270: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/tmpqpd51gb_.c'
source_filename = "/tmp/tmpqpd51gb_.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"[%s:%d] tc_realloc(): can't allocate %lu bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_tc_realloc(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #3
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %4
%15 = load i64, ptr %8, align 8
%16 = icmp ugt i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = load i64, ptr %8, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i32 noundef %20, i64 noundef %21)
br label %23
23: ; preds = %17, %14, %4
%24 = load ptr, ptr %7, align 8
ret ptr %24
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 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 = { 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/tmpqpd51gb_.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"[%s:%d] tc_realloc(): can't allocate %lu bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_tc_realloc(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #3
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %4
%15 = load i64, ptr %8, align 8
%16 = icmp ugt i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = load i64, ptr %8, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i32 noundef %20, i64 noundef %21)
br label %23
23: ; preds = %17, %14, %4
%24 = load ptr, ptr %7, align 8
ret ptr %24
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 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 = { 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/tmp9f9nke4f.c'
source_filename = "/tmp/tmp9f9nke4f.c"
target datalayout = "e-m:e-p270: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/tmp9f9nke4f.c"
target datalayout = "e-m:e-p270: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/tmpfp18xxcy.c'
source_filename = "/tmp/tmpfp18xxcy.c"
target datalayout = "e-m:e-p270: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_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"seeking: %s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sisSeek(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr @SEEK_SET, align 4
%13 = call i32 @fseek(ptr noundef %10, i32 noundef %11, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %21
15: ; preds = %4
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr @errno, align 4
%19 = call ptr @strerror(i32 noundef %18)
%20 = call i32 @snprintf(ptr noundef %16, i32 noundef %17, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %5, align 4
br label %22
21: ; preds = %4
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %21, %15
%23 = load i32, ptr %5, align 4
ret i32 %23
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @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/tmpfp18xxcy.c"
target datalayout = "e-m:e-p270: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_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"seeking: %s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sisSeek(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr @SEEK_SET, align 4
%13 = call i32 @fseek(ptr noundef %10, i32 noundef %11, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %21
15: ; preds = %4
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr @errno, align 4
%19 = call ptr @strerror(i32 noundef %18)
%20 = call i32 @snprintf(ptr noundef %16, i32 noundef %17, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %5, align 4
br label %22
21: ; preds = %4
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %21, %15
%23 = load i32, ptr %5, align 4
ret i32 %23
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @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/tmph4tkvvzu.c'
source_filename = "/tmp/tmph4tkvvzu.c"
target datalayout = "e-m:e-p270: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/tmph4tkvvzu.c"
target datalayout = "e-m:e-p270: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/tmp8ee3636i.c'
source_filename = "/tmp/tmp8ee3636i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"coq\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c" (*comment*)\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"(*comment*)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_coq_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmp8ee3636i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"coq\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c" (*comment*)\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"(*comment*)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_coq_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmpedl0ztvt.c'
source_filename = "/tmp/tmpedl0ztvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drunkard_step_to_target(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @drunkard_get_dx_to_target(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @drunkard_get_dy_to_target(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 1, ptr %5, align 4
br label %17
17: ; preds = %16, %2
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, -1
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 -1, ptr %5, align 4
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %24, %21
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 -1, ptr %6, align 4
br label %29
29: ; preds = %28, %25
%30 = load ptr, ptr %3, align 8
%31 = call double @drunkard_rng_uniform(ptr noundef %30)
store double %31, ptr %7, align 8
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %34
br label %116
38: ; preds = %34, %29
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %88
44: ; preds = %41, %38
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %44
store ptr %5, ptr %8, align 8
store ptr %6, ptr %9, align 8
br label %49
48: ; preds = %44
store ptr %6, ptr %8, align 8
store ptr %5, ptr %9, align 8
br label %49
49: ; preds = %48, %47
%50 = load double, ptr %7, align 8
%51 = load double, ptr %4, align 8
%52 = fmul double %51, 5.000000e-01
%53 = fcmp oge double %50, %52
br i1 %53, label %54, label %87
54: ; preds = %49
%55 = load double, ptr %4, align 8
%56 = load double, ptr %7, align 8
%57 = fneg double %55
%58 = call double @llvm.fmuladd.f64(double %57, double 5.000000e-01, double %56)
store double %58, ptr %7, align 8
%59 = load double, ptr %7, align 8
%60 = load double, ptr %4, align 8
%61 = load double, ptr %4, align 8
%62 = fsub double 1.000000e+00, %61
%63 = fmul double %62, 0x3FD5555555555555
%64 = call double @llvm.fmuladd.f64(double %60, double 0x3FC5555555555555, double %63)
%65 = fcmp olt double %59, %64
br i1 %65, label %66, label %69
66: ; preds = %54
%67 = load ptr, ptr %8, align 8
store i32 -1, ptr %67, align 4
%68 = load ptr, ptr %9, align 8
store i32 0, ptr %68, align 4
br label %86
69: ; preds = %54
%70 = load double, ptr %7, align 8
%71 = load double, ptr %4, align 8
%72 = load double, ptr %4, align 8
%73 = fsub double 1.000000e+00, %72
%74 = fmul double %73, 0x3FE5555555555555
%75 = call double @llvm.fmuladd.f64(double %71, double 0x3FD5555555555555, double %74)
%76 = fcmp olt double %70, %75
br i1 %76, label %77, label %80
77: ; preds = %69
%78 = load ptr, ptr %8, align 8
store i32 1, ptr %78, align 4
%79 = load ptr, ptr %9, align 8
store i32 0, ptr %79, align 4
br label %85
80: ; preds = %69
%81 = load ptr, ptr %8, align 8
store i32 0, ptr %81, align 4
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %82, align 4
%84 = mul nsw i32 %83, -1
store i32 %84, ptr %82, align 4
br label %85
85: ; preds = %80, %77
br label %86
86: ; preds = %85, %66
br label %87
87: ; preds = %86, %49
br label %115
88: ; preds = %41
%89 = load double, ptr %7, align 8
%90 = load double, ptr %4, align 8
%91 = fmul double %90, 5.000000e-01
%92 = fcmp olt double %89, %91
br i1 %92, label %93, label %94
93: ; preds = %88
store i32 0, ptr %6, align 4
br label %114
94: ; preds = %88
%95 = load double, ptr %7, align 8
%96 = load double, ptr %4, align 8
%97 = fcmp olt double %95, %96
br i1 %97, label %98, label %99
98: ; preds = %94
store i32 0, ptr %5, align 4
br label %113
99: ; preds = %94
%100 = load double, ptr %7, align 8
%101 = load double, ptr %4, align 8
%102 = load double, ptr %4, align 8
%103 = fsub double 1.000000e+00, %102
%104 = call double @llvm.fmuladd.f64(double %103, double 5.000000e-01, double %101)
%105 = fcmp olt double %100, %104
br i1 %105, label %106, label %109
106: ; preds = %99
%107 = load i32, ptr %5, align 4
%108 = mul nsw i32 %107, -1
store i32 %108, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %112
109: ; preds = %99
store i32 0, ptr %5, align 4
%110 = load i32, ptr %6, align 4
%111 = mul nsw i32 %110, -1
store i32 %111, ptr %6, align 4
br label %112
112: ; preds = %109, %106
br label %113
113: ; preds = %112, %98
br label %114
114: ; preds = %113, %93
br label %115
115: ; preds = %114, %87
br label %116
116: ; preds = %115, %37
%117 = load ptr, ptr %3, align 8
%118 = load i32, ptr %5, align 4
%119 = load i32, ptr %6, align 4
%120 = call i32 @drunkard_step_by(ptr noundef %117, i32 noundef %118, i32 noundef %119)
ret void
}
declare i32 @drunkard_get_dx_to_target(ptr noundef) #1
declare i32 @drunkard_get_dy_to_target(ptr noundef) #1
declare double @drunkard_rng_uniform(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @drunkard_step_by(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" }
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/tmpedl0ztvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drunkard_step_to_target(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @drunkard_get_dx_to_target(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @drunkard_get_dy_to_target(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 1, ptr %5, align 4
br label %17
17: ; preds = %16, %2
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, -1
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 -1, ptr %5, align 4
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %24, %21
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 -1, ptr %6, align 4
br label %29
29: ; preds = %28, %25
%30 = load ptr, ptr %3, align 8
%31 = call double @drunkard_rng_uniform(ptr noundef %30)
store double %31, ptr %7, align 8
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %34
br label %116
38: ; preds = %34, %29
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %88
44: ; preds = %41, %38
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %44
store ptr %5, ptr %8, align 8
store ptr %6, ptr %9, align 8
br label %49
48: ; preds = %44
store ptr %6, ptr %8, align 8
store ptr %5, ptr %9, align 8
br label %49
49: ; preds = %48, %47
%50 = load double, ptr %7, align 8
%51 = load double, ptr %4, align 8
%52 = fmul double %51, 5.000000e-01
%53 = fcmp oge double %50, %52
br i1 %53, label %54, label %87
54: ; preds = %49
%55 = load double, ptr %4, align 8
%56 = load double, ptr %7, align 8
%57 = fneg double %55
%58 = call double @llvm.fmuladd.f64(double %57, double 5.000000e-01, double %56)
store double %58, ptr %7, align 8
%59 = load double, ptr %7, align 8
%60 = load double, ptr %4, align 8
%61 = load double, ptr %4, align 8
%62 = fsub double 1.000000e+00, %61
%63 = fmul double %62, 0x3FD5555555555555
%64 = call double @llvm.fmuladd.f64(double %60, double 0x3FC5555555555555, double %63)
%65 = fcmp olt double %59, %64
br i1 %65, label %66, label %69
66: ; preds = %54
%67 = load ptr, ptr %8, align 8
store i32 -1, ptr %67, align 4
%68 = load ptr, ptr %9, align 8
store i32 0, ptr %68, align 4
br label %86
69: ; preds = %54
%70 = load double, ptr %7, align 8
%71 = load double, ptr %4, align 8
%72 = load double, ptr %4, align 8
%73 = fsub double 1.000000e+00, %72
%74 = fmul double %73, 0x3FE5555555555555
%75 = call double @llvm.fmuladd.f64(double %71, double 0x3FD5555555555555, double %74)
%76 = fcmp olt double %70, %75
br i1 %76, label %77, label %80
77: ; preds = %69
%78 = load ptr, ptr %8, align 8
store i32 1, ptr %78, align 4
%79 = load ptr, ptr %9, align 8
store i32 0, ptr %79, align 4
br label %85
80: ; preds = %69
%81 = load ptr, ptr %8, align 8
store i32 0, ptr %81, align 4
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %82, align 4
%84 = mul nsw i32 %83, -1
store i32 %84, ptr %82, align 4
br label %85
85: ; preds = %80, %77
br label %86
86: ; preds = %85, %66
br label %87
87: ; preds = %86, %49
br label %115
88: ; preds = %41
%89 = load double, ptr %7, align 8
%90 = load double, ptr %4, align 8
%91 = fmul double %90, 5.000000e-01
%92 = fcmp olt double %89, %91
br i1 %92, label %93, label %94
93: ; preds = %88
store i32 0, ptr %6, align 4
br label %114
94: ; preds = %88
%95 = load double, ptr %7, align 8
%96 = load double, ptr %4, align 8
%97 = fcmp olt double %95, %96
br i1 %97, label %98, label %99
98: ; preds = %94
store i32 0, ptr %5, align 4
br label %113
99: ; preds = %94
%100 = load double, ptr %7, align 8
%101 = load double, ptr %4, align 8
%102 = load double, ptr %4, align 8
%103 = fsub double 1.000000e+00, %102
%104 = call double @llvm.fmuladd.f64(double %103, double 5.000000e-01, double %101)
%105 = fcmp olt double %100, %104
br i1 %105, label %106, label %109
106: ; preds = %99
%107 = load i32, ptr %5, align 4
%108 = mul nsw i32 %107, -1
store i32 %108, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %112
109: ; preds = %99
store i32 0, ptr %5, align 4
%110 = load i32, ptr %6, align 4
%111 = mul nsw i32 %110, -1
store i32 %111, ptr %6, align 4
br label %112
112: ; preds = %109, %106
br label %113
113: ; preds = %112, %98
br label %114
114: ; preds = %113, %93
br label %115
115: ; preds = %114, %87
br label %116
116: ; preds = %115, %37
%117 = load ptr, ptr %3, align 8
%118 = load i32, ptr %5, align 4
%119 = load i32, ptr %6, align 4
%120 = call i32 @drunkard_step_by(ptr noundef %117, i32 noundef %118, i32 noundef %119)
ret void
}
declare i32 @drunkard_get_dx_to_target(ptr noundef) #1
declare i32 @drunkard_get_dy_to_target(ptr noundef) #1
declare double @drunkard_rng_uniform(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @drunkard_step_by(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" }
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/tmpfucc5ayw.c'
source_filename = "/tmp/tmpfucc5ayw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoCmp() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @Pop()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @Pop()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @Push(i32 noundef 1)
br label %19
10: ; preds = %0
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @Push(i32 noundef -1)
br label %18
16: ; preds = %10
%17 = call i32 @Push(i32 noundef 0)
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18, %8
ret void
}
declare i32 @Pop(...) #1
declare i32 @Push(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/tmpfucc5ayw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoCmp() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @Pop()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @Pop()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @Push(i32 noundef 1)
br label %19
10: ; preds = %0
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @Push(i32 noundef -1)
br label %18
16: ; preds = %10
%17 = call i32 @Push(i32 noundef 0)
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18, %8
ret void
}
declare i32 @Pop(...) #1
declare i32 @Push(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/tmp5tk_geoe.c'
source_filename = "/tmp/tmp5tk_geoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [26 x i8] c"Podaj adres IP odbiorcy: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Podaj numer portu odbiorcy: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Please enter correct number: \00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca ptr, align 8
%12 = alloca [256 x i8], align 16
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8)
%19 = load i32, ptr @AF_INET, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %2
%25 = call i32 @perror(ptr noundef @.str.4)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %2
%28 = load i32, ptr @AF_INET, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %28, ptr %29, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @htons(i32 noundef %30)
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
store i32 %31, ptr %32, align 4
%33 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @inet_addr(ptr noundef %33)
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = load i32, ptr %7, align 4
%38 = call i64 @connect(i32 noundef %37, ptr noundef %10, i32 noundef 12)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %27
%41 = call i32 @perror(ptr noundef @.str.5)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %27
%44 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%45 = call i32 @bzero(ptr noundef %44, i32 noundef 256)
store i32 0, ptr %13, align 4
br label %46
46: ; preds = %58, %43
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%48 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%49 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %48)
%50 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%51 = call i32 @atoi(ptr noundef %50)
store i32 %51, ptr %13, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %13, align 4
%54 = icmp sgt i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %56, 100000
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ false, %52 ], [ %57, %55 ]
%60 = xor i1 %59, true
br i1 %60, label %46, label %61, !llvm.loop !6
61: ; preds = %58
%62 = load i32, ptr %7, align 4
%63 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%64 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @write(i32 noundef %62, ptr noundef %63, i32 noundef %65)
store i32 %66, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = call i32 @perror(ptr noundef @.str.7)
%71 = call i32 @exit(i32 noundef 1) #3
unreachable
72: ; preds = %61
%73 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%74 = call i32 @bzero(ptr noundef %73, i32 noundef 256)
%75 = load i32, ptr %7, align 4
%76 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%77 = call i32 @read(i32 noundef %75, ptr noundef %76, i32 noundef 255)
store i32 %77, ptr %9, align 4
%78 = load i32, ptr %9, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %72
%81 = call i32 @perror(ptr noundef @.str.8)
%82 = call i32 @exit(i32 noundef 1) #3
unreachable
83: ; preds = %72
%84 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %84)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5tk_geoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [26 x i8] c"Podaj adres IP odbiorcy: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Podaj numer portu odbiorcy: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Please enter correct number: \00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca ptr, align 8
%12 = alloca [256 x i8], align 16
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8)
%19 = load i32, ptr @AF_INET, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %2
%25 = call i32 @perror(ptr noundef @.str.4)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %2
%28 = load i32, ptr @AF_INET, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %28, ptr %29, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @htons(i32 noundef %30)
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
store i32 %31, ptr %32, align 4
%33 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @inet_addr(ptr noundef %33)
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %34, ptr %36, align 4
%37 = load i32, ptr %7, align 4
%38 = call i64 @connect(i32 noundef %37, ptr noundef %10, i32 noundef 12)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %27
%41 = call i32 @perror(ptr noundef @.str.5)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %27
%44 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%45 = call i32 @bzero(ptr noundef %44, i32 noundef 256)
store i32 0, ptr %13, align 4
br label %46
46: ; preds = %58, %43
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%48 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%49 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %48)
%50 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%51 = call i32 @atoi(ptr noundef %50)
store i32 %51, ptr %13, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %13, align 4
%54 = icmp sgt i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %56, 100000
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ false, %52 ], [ %57, %55 ]
%60 = xor i1 %59, true
br i1 %60, label %46, label %61, !llvm.loop !6
61: ; preds = %58
%62 = load i32, ptr %7, align 4
%63 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%64 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @write(i32 noundef %62, ptr noundef %63, i32 noundef %65)
store i32 %66, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = call i32 @perror(ptr noundef @.str.7)
%71 = call i32 @exit(i32 noundef 1) #3
unreachable
72: ; preds = %61
%73 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%74 = call i32 @bzero(ptr noundef %73, i32 noundef 256)
%75 = load i32, ptr %7, align 4
%76 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%77 = call i32 @read(i32 noundef %75, ptr noundef %76, i32 noundef 255)
store i32 %77, ptr %9, align 4
%78 = load i32, ptr %9, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %72
%81 = call i32 @perror(ptr noundef @.str.8)
%82 = call i32 @exit(i32 noundef 1) #3
unreachable
83: ; preds = %72
%84 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %84)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2pt5quxw.c'
source_filename = "/tmp/tmp2pt5quxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@.str = private unnamed_addr constant [23 x i8] c"Usage: tfsgid gid path\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"setegid\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"file exists\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"file gid is %s egid and %s gid\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"same as\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"different than\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @diod_log_init(ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = call i32 (ptr, ...) @msg(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strtoul(ptr noundef %22, ptr noundef null, i32 noundef 10)
store i64 %23, ptr %7, align 8
%24 = call i64 (...) @getgid()
store i64 %24, ptr %8, align 8
%25 = load i64, ptr %7, align 8
%26 = call i64 @setegid(i64 noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %19
%29 = call i32 @err_exit(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %19
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr @F_OK, align 4
%35 = call i64 @access(ptr noundef %33, i32 noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %30
%38 = call i32 @msg_exit(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %30
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 2
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr @O_CREAT, align 4
%44 = call i32 @open(ptr noundef %42, i32 noundef %43, i32 noundef 420)
store i32 %44, ptr %6, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %39
%47 = call i32 @err_exit(ptr noundef @.str.3)
br label %48
48: ; preds = %46, %39
%49 = load i32, ptr %6, align 4
%50 = call i32 @close(i32 noundef %49)
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 2
%53 = load ptr, ptr %52, align 8
%54 = call i64 @stat(ptr noundef %53, ptr noundef %9)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %48
%57 = call i32 @err_exit(ptr noundef @.str.4)
br label %58
58: ; preds = %56, %48
%59 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%60 = load i64, ptr %59, align 8
%61 = load i64, ptr %7, align 8
%62 = icmp eq i64 %60, %61
%63 = zext i1 %62 to i64
%64 = select i1 %62, ptr @.str.6, ptr @.str.7
%65 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%66 = load i64, ptr %65, align 8
%67 = load i64, ptr %8, align 8
%68 = icmp eq i64 %66, %67
%69 = zext i1 %68 to i64
%70 = select i1 %68, ptr @.str.6, ptr @.str.7
%71 = call i32 (ptr, ...) @msg(ptr noundef @.str.5, ptr noundef %64, ptr noundef %70)
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 2
%74 = load ptr, ptr %73, align 8
%75 = call i32 @unlink(ptr noundef %74)
%76 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @diod_log_init(ptr noundef) #1
declare i32 @msg(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @getgid(...) #1
declare i64 @setegid(i64 noundef) #1
declare i32 @err_exit(ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @msg_exit(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp2pt5quxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@.str = private unnamed_addr constant [23 x i8] c"Usage: tfsgid gid path\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"setegid\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"file exists\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"file gid is %s egid and %s gid\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"same as\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"different than\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @diod_log_init(ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = call i32 (ptr, ...) @msg(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strtoul(ptr noundef %22, ptr noundef null, i32 noundef 10)
store i64 %23, ptr %7, align 8
%24 = call i64 (...) @getgid()
store i64 %24, ptr %8, align 8
%25 = load i64, ptr %7, align 8
%26 = call i64 @setegid(i64 noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %19
%29 = call i32 @err_exit(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %19
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr @F_OK, align 4
%35 = call i64 @access(ptr noundef %33, i32 noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %30
%38 = call i32 @msg_exit(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %30
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 2
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr @O_CREAT, align 4
%44 = call i32 @open(ptr noundef %42, i32 noundef %43, i32 noundef 420)
store i32 %44, ptr %6, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %39
%47 = call i32 @err_exit(ptr noundef @.str.3)
br label %48
48: ; preds = %46, %39
%49 = load i32, ptr %6, align 4
%50 = call i32 @close(i32 noundef %49)
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 2
%53 = load ptr, ptr %52, align 8
%54 = call i64 @stat(ptr noundef %53, ptr noundef %9)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %48
%57 = call i32 @err_exit(ptr noundef @.str.4)
br label %58
58: ; preds = %56, %48
%59 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%60 = load i64, ptr %59, align 8
%61 = load i64, ptr %7, align 8
%62 = icmp eq i64 %60, %61
%63 = zext i1 %62 to i64
%64 = select i1 %62, ptr @.str.6, ptr @.str.7
%65 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%66 = load i64, ptr %65, align 8
%67 = load i64, ptr %8, align 8
%68 = icmp eq i64 %66, %67
%69 = zext i1 %68 to i64
%70 = select i1 %68, ptr @.str.6, ptr @.str.7
%71 = call i32 (ptr, ...) @msg(ptr noundef @.str.5, ptr noundef %64, ptr noundef %70)
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 2
%74 = load ptr, ptr %73, align 8
%75 = call i32 @unlink(ptr noundef %74)
%76 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @diod_log_init(ptr noundef) #1
declare i32 @msg(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @getgid(...) #1
declare i64 @setegid(i64 noundef) #1
declare i32 @err_exit(ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @msg_exit(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjc_40wyu.c'
source_filename = "/tmp/tmpjc_40wyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %30, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %33
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = srem i32 %21, 50
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %14
%25 = load i32, ptr %7, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %24, %14
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjc_40wyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %35
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %29
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %7, align 4
%21 = srem i32 %20, 50
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %13
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %23, %13
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %3
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp28x0kh5.c'
source_filename = "/tmp/tmpp28x0kh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"toasim: read error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"toasim: EOF reached!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fread_err(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr 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 ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i64 @fread(ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13)
%15 = load i64, ptr %8, align 8
%16 = icmp ne i64 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
%19 = call i64 @ferror(ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %17
%24 = load ptr, ptr %9, align 8
%25 = call i64 @feof(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1)
br label %30
30: ; preds = %27, %23
br label %31
31: ; preds = %30, %4
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp28x0kh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"toasim: read error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"toasim: EOF reached!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fread_err(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr 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 ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i64 @fread(ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13)
%15 = load i64, ptr %8, align 8
%16 = icmp ne i64 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
%19 = call i64 @ferror(ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %17
%24 = load ptr, ptr %9, align 8
%25 = call i64 @feof(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1)
br label %30
30: ; preds = %27, %23
br label %31
31: ; preds = %30, %4
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpklvdamab.c'
source_filename = "/tmp/tmpklvdamab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTERM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"received SIGSTERM\0A\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"\0Areceived SIGINT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGTERM, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %15
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @SIGINT, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %6
%16 = call i32 @set_perm_wrapper(i32 noundef 2)
%17 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_perm_wrapper(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpklvdamab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTERM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"received SIGSTERM\0A\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"\0Areceived SIGINT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGTERM, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %15
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @SIGINT, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %6
%16 = call i32 @set_perm_wrapper(i32 noundef 2)
%17 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_perm_wrapper(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbzaalexx.c'
source_filename = "/tmp/tmpbzaalexx.c"
target datalayout = "e-m:e-p270: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/tmpbzaalexx.c"
target datalayout = "e-m:e-p270: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/tmp711x7ogw.c'
source_filename = "/tmp/tmp711x7ogw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sem Array\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
@__const.main.notas = private unnamed_addr constant [4 x float] [float 9.000000e+00, float 8.000000e+00, float 7.000000e+00, float 6.000000e+00], align 16
@.str.2 = private unnamed_addr constant [11 x i8] c"Com Array\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%1.f\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [4 x float], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 9.000000e+00, ptr %6, align 4
store float 8.000000e+00, ptr %7, align 4
store float 7.000000e+00, ptr %8, align 4
store float 6.000000e+00, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %8, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.notas, i64 16, i1 false)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [4 x float], ptr %10, i64 0, i64 2
%17 = load float, ptr %16, align 8
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %18)
%20 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; 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) #2
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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp711x7ogw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sem Array\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
@__const.main.notas = private unnamed_addr constant [4 x float] [float 9.000000e+00, float 8.000000e+00, float 7.000000e+00, float 6.000000e+00], align 16
@.str.2 = private unnamed_addr constant [11 x i8] c"Com Array\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%1.f\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [4 x float], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 9.000000e+00, ptr %6, align 4
store float 8.000000e+00, ptr %7, align 4
store float 7.000000e+00, ptr %8, align 4
store float 6.000000e+00, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %8, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.notas, i64 16, i1 false)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [4 x float], ptr %10, i64 0, i64 2
%17 = load float, ptr %16, align 8
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %18)
%20 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; 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) #2
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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeccihszi.c'
source_filename = "/tmp/tmpeccihszi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_char(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
store i64 80, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %8, align 8
%10 = call ptr @malloc(i64 noundef %9)
%11 = load ptr, ptr %4, align 8
store ptr %10, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %6, align 8
store i64 0, ptr %15, align 8
ret void
}
declare ptr @malloc(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/tmpeccihszi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_char(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
store i64 80, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %8, align 8
%10 = call ptr @malloc(i64 noundef %9)
%11 = load ptr, ptr %4, align 8
store ptr %10, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %6, align 8
store i64 0, ptr %15, align 8
ret void
}
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_t_mg9co.c'
source_filename = "/tmp/tmp_t_mg9co.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup(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 %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fclose(ptr noundef %7)
ret void
}
declare i32 @free(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/tmp_t_mg9co.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup(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 %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fclose(ptr noundef %7)
ret void
}
declare i32 @free(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/tmpdnz53l72.c'
source_filename = "/tmp/tmpdnz53l72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SplitString.LocalBuffer = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SplitString(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
%15 = sub nsw i32 %14, 1
store i32 %15, ptr %11, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef @SplitString.LocalBuffer, ptr noundef %16)
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %102, %3
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %105
22: ; preds = %18
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i64 @isspace(i8 noundef signext %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %22
%30 = load i32, ptr %10, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %11, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp ne i32 %33, %35
br i1 %36, label %37, label %38
37: ; preds = %32
br label %102
38: ; preds = %32, %29, %22
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = call i64 @isspace(i8 noundef signext %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %59, label %45
45: ; preds = %38
%46 = load i32, ptr %10, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %48, label %59
48: ; preds = %45
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %11, align 4
%51 = sub nsw i32 %50, 1
%52 = icmp eq i32 %49, %51
br i1 %52, label %53, label %59
53: ; preds = %48
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %8, align 4
store i32 %58, ptr %4, align 4
br label %107
59: ; preds = %48, %45, %38
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = call i64 @isspace(i8 noundef signext %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %79
66: ; preds = %59
%67 = load i32, ptr %10, align 4
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %79
69: ; preds = %66
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %71
store i8 0, ptr %72, align 1
store i32 0, ptr %10, align 4
%73 = load i32, ptr %8, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp eq i32 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %69
%77 = load i32, ptr %8, align 4
store i32 %77, ptr %4, align 4
br label %107
78: ; preds = %69
br label %100
79: ; preds = %66, %59
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %81
%83 = load i8, ptr %82, align 1
%84 = call i64 @isspace(i8 noundef signext %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %99, label %86
86: ; preds = %79
%87 = load i32, ptr %10, align 4
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %99
89: ; preds = %86
store i32 1, ptr %10, align 4
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr @SplitString.LocalBuffer, i64 %91
%93 = load ptr, ptr %6, align 8
%94 = load i32, ptr %8, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds ptr, ptr %93, i64 %95
store ptr %92, ptr %96, align 8
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %8, align 4
br label %99
99: ; preds = %89, %86, %79
br label %100
100: ; preds = %99, %78
br label %101
101: ; preds = %100
br label %102
102: ; preds = %101, %37
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
br label %18, !llvm.loop !6
105: ; preds = %18
%106 = load i32, ptr %8, align 4
store i32 %106, ptr %4, align 4
br label %107
107: ; preds = %105, %76, %53
%108 = load i32, ptr %4, align 4
ret i32 %108
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdnz53l72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SplitString.LocalBuffer = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SplitString(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
%15 = sub nsw i32 %14, 1
store i32 %15, ptr %11, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef @SplitString.LocalBuffer, ptr noundef %16)
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %11, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %107
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %101
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %21
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %11, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp ne i32 %32, %34
br i1 %35, label %36, label %37
36: ; preds = %31
br label %101
37: ; preds = %31, %28, %21
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = call i64 @isspace(i8 noundef signext %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %58, label %44
44: ; preds = %37
%45 = load i32, ptr %10, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %58
47: ; preds = %44
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %11, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp eq i32 %48, %50
br i1 %51, label %52, label %58
52: ; preds = %47
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %55
store i8 0, ptr %56, align 1
%57 = load i32, ptr %8, align 4
store i32 %57, ptr %4, align 4
br label %109
58: ; preds = %47, %44, %37
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = call i64 @isspace(i8 noundef signext %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %78
65: ; preds = %58
%66 = load i32, ptr %10, align 4
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %78
68: ; preds = %65
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %70
store i8 0, ptr %71, align 1
store i32 0, ptr %10, align 4
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %68
%76 = load i32, ptr %8, align 4
store i32 %76, ptr %4, align 4
br label %109
77: ; preds = %68
br label %99
78: ; preds = %65, %58
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [1024 x i8], ptr @SplitString.LocalBuffer, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = call i64 @isspace(i8 noundef signext %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %98, label %85
85: ; preds = %78
%86 = load i32, ptr %10, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %98
88: ; preds = %85
store i32 1, ptr %10, align 4
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr @SplitString.LocalBuffer, i64 %90
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %8, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds ptr, ptr %92, i64 %94
store ptr %91, ptr %95, align 8
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
br label %98
98: ; preds = %88, %85, %78
br label %99
99: ; preds = %98, %77
br label %100
100: ; preds = %99
br label %101
101: ; preds = %100, %36
%102 = load i32, ptr %9, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %9, align 4
%104 = load i32, ptr %9, align 4
%105 = load i32, ptr %11, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %107
107: ; preds = %._crit_edge, %3
%108 = load i32, ptr %8, align 4
store i32 %108, ptr %4, align 4
br label %109
109: ; preds = %107, %75, %52
%110 = load i32, ptr %4, align 4
ret i32 %110
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjejiknls.c'
source_filename = "/tmp/tmpjejiknls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_ext(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = getelementptr inbounds i8, ptr %13, i64 -1
store ptr %14, ptr %5, align 8
br label %15
15: ; preds = %26, %2
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 46
br label %24
24: ; preds = %19, %15
%25 = phi i1 [ false, %15 ], [ %23, %19 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %5, align 8
br label %15, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 46
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %34, %29
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjejiknls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_ext(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = getelementptr inbounds i8, ptr %13, i64 -1
store ptr %14, ptr %5, align 8
br label %15
15: ; preds = %26, %2
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 46
br label %24
24: ; preds = %19, %15
%25 = phi i1 [ false, %15 ], [ %23, %19 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %5, align 8
br label %15, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 46
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %34, %29
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1du0tw4g.c'
source_filename = "/tmp/tmp1du0tw4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sht_heapsort(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @assert(ptr noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp ult i64 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %3
br label %59
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = udiv i64 %16, 2
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %5, align 8
%19 = sub i64 %18, 1
store i64 %19, ptr %8, align 8
br label %20
20: ; preds = %23, %15
%21 = load i64, ptr %7, align 8
%22 = icmp ugt i64 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %7, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %8, align 8
%28 = call i32 @sht_sift(ptr noundef %24, i64 noundef %26, i64 noundef %27)
br label %20, !llvm.loop !6
29: ; preds = %20
br label %30
30: ; preds = %29, %48
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i16, ptr %31, i64 0
%33 = load i16, ptr %32, align 2
store i16 %33, ptr %9, align 2
%34 = load ptr, ptr %4, align 8
%35 = load i64, ptr %8, align 8
%36 = getelementptr inbounds i16, ptr %34, i64 %35
%37 = load i16, ptr %36, align 2
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i16, ptr %38, i64 0
store i16 %37, ptr %39, align 2
%40 = load i16, ptr %9, align 2
%41 = load ptr, ptr %4, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds i16, ptr %41, i64 %42
store i16 %40, ptr %43, align 2
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, -1
store i64 %45, ptr %8, align 8
%46 = icmp ule i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %30
br label %52
48: ; preds = %30
%49 = load ptr, ptr %4, align 8
%50 = load i64, ptr %8, align 8
%51 = call i32 @sht_sift(ptr noundef %49, i64 noundef 0, i64 noundef %50)
br label %30
52: ; preds = %47
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %52
%56 = load ptr, ptr %4, align 8
%57 = load i64, ptr %5, align 8
%58 = call i32 @sht_reverse(ptr noundef %56, i64 noundef %57)
br label %59
59: ; preds = %14, %55, %52
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @sht_sift(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @sht_reverse(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1du0tw4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sht_heapsort(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @assert(ptr noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp ult i64 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %3
br label %60
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = udiv i64 %16, 2
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %5, align 8
%19 = sub i64 %18, 1
store i64 %19, ptr %8, align 8
%20 = load i64, ptr %7, align 8
%21 = icmp ugt i64 %20, 0
br i1 %21, label %.lr.ph, label %30
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %7, align 8
%26 = load i64, ptr %8, align 8
%27 = call i32 @sht_sift(ptr noundef %23, i64 noundef %25, i64 noundef %26)
%28 = load i64, ptr %7, align 8
%29 = icmp ugt i64 %28, 0
br i1 %29, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %30
30: ; preds = %._crit_edge, %15
br label %31
31: ; preds = %49, %30
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i16, ptr %32, i64 0
%34 = load i16, ptr %33, align 2
store i16 %34, ptr %9, align 2
%35 = load ptr, ptr %4, align 8
%36 = load i64, ptr %8, align 8
%37 = getelementptr inbounds i16, ptr %35, i64 %36
%38 = load i16, ptr %37, align 2
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i16, ptr %39, i64 0
store i16 %38, ptr %40, align 2
%41 = load i16, ptr %9, align 2
%42 = load ptr, ptr %4, align 8
%43 = load i64, ptr %8, align 8
%44 = getelementptr inbounds i16, ptr %42, i64 %43
store i16 %41, ptr %44, align 2
%45 = load i64, ptr %8, align 8
%46 = add i64 %45, -1
store i64 %46, ptr %8, align 8
%47 = icmp ule i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %31
br label %53
49: ; preds = %31
%50 = load ptr, ptr %4, align 8
%51 = load i64, ptr %8, align 8
%52 = call i32 @sht_sift(ptr noundef %50, i64 noundef 0, i64 noundef %51)
br label %31
53: ; preds = %48
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %53
%57 = load ptr, ptr %4, align 8
%58 = load i64, ptr %5, align 8
%59 = call i32 @sht_reverse(ptr noundef %57, i64 noundef %58)
br label %60
60: ; preds = %56, %53, %14
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @sht_sift(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @sht_reverse(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd7hd52zc.c'
source_filename = "/tmp/tmpd7hd52zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00yes\00on\001\00\00\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"false\00no\00off\000\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assign_boolean(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 %4, align 8
%6 = call i32 @parse_option(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
store i32 1, ptr %9, align 4
br label %19
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @parse_option(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
store i32 0, ptr %15, align 4
br label %18
16: ; preds = %10
%17 = call i32 (...) @parse_error()
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18, %8
ret void
}
declare i32 @parse_option(ptr noundef, ptr noundef) #1
declare i32 @parse_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7hd52zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00yes\00on\001\00\00\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"false\00no\00off\000\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assign_boolean(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 %4, align 8
%6 = call i32 @parse_option(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
store i32 1, ptr %9, align 4
br label %19
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @parse_option(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
store i32 0, ptr %15, align 4
br label %18
16: ; preds = %10
%17 = call i32 (...) @parse_error()
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18, %8
ret void
}
declare i32 @parse_option(ptr noundef, ptr noundef) #1
declare i32 @parse_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zcf_47t.c'
source_filename = "/tmp/tmp_zcf_47t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@EEXIST = 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 @utils_mkdir_safe(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @stat(ptr noundef %8, ptr noundef %7)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @mkdir(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %3, align 4
br label %24
16: ; preds = %2
%17 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = call i32 @S_ISDIR(i32 noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load i32, ptr @EEXIST, align 4
store i32 %22, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %24
23: ; preds = %16
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %23, %21, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zcf_47t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@EEXIST = 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 @utils_mkdir_safe(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @stat(ptr noundef %8, ptr noundef %7)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @mkdir(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %3, align 4
br label %24
16: ; preds = %2
%17 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = call i32 @S_ISDIR(i32 noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load i32, ptr @EEXIST, align 4
store i32 %22, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %24
23: ; preds = %16
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %23, %21, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @S_ISDIR(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/tmper0d4z9i.c'
source_filename = "/tmp/tmper0d4z9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BlastKarlinLtoH(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
%14 = load double, ptr %9, align 8
%15 = fcmp olt double %14, 0.000000e+00
br i1 %15, label %16, label %17
16: ; preds = %4
store double -1.000000e+00, ptr %5, align 8
br label %86
17: ; preds = %4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = call i64 @BlastScoreChk(i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store double -1.000000e+00, ptr %5, align 8
br label %86
23: ; preds = %17
%24 = load double, ptr %9, align 8
%25 = call double @exp(double noundef %24) #4
store double %25, ptr %12, align 8
%26 = load double, ptr %12, align 8
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
%29 = call double @pow(double noundef %26, i32 noundef %28)
store double %29, ptr %13, align 8
%30 = load double, ptr %13, align 8
%31 = fcmp ogt double %30, 0.000000e+00
br i1 %31, label %32, label %56
32: ; preds = %23
store double 0.000000e+00, ptr %11, align 8
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %10, align 4
br label %34
34: ; preds = %52, %32
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %55
38: ; preds = %34
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = load i32, ptr %10, align 4
%45 = sitofp i32 %44 to double
%46 = fmul double %43, %45
%47 = load double, ptr %12, align 8
%48 = load double, ptr %13, align 8
%49 = fmul double %48, %47
store double %49, ptr %13, align 8
%50 = load double, ptr %11, align 8
%51 = call double @llvm.fmuladd.f64(double %46, double %49, double %50)
store double %51, ptr %11, align 8
br label %52
52: ; preds = %38
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
br label %34, !llvm.loop !6
55: ; preds = %34
br label %82
56: ; preds = %23
store double 0.000000e+00, ptr %11, align 8
%57 = load i32, ptr %7, align 4
store i32 %57, ptr %10, align 4
br label %58
58: ; preds = %78, %56
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %8, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %62, label %81
62: ; preds = %58
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load double, ptr %66, align 8
%68 = load i32, ptr %10, align 4
%69 = sitofp i32 %68 to double
%70 = fmul double %67, %69
%71 = load double, ptr %9, align 8
%72 = load i32, ptr %10, align 4
%73 = sitofp i32 %72 to double
%74 = fmul double %71, %73
%75 = call double @exp(double noundef %74) #4
%76 = load double, ptr %11, align 8
%77 = call double @llvm.fmuladd.f64(double %70, double %75, double %76)
store double %77, ptr %11, align 8
br label %78
78: ; preds = %62
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
br label %58, !llvm.loop !8
81: ; preds = %58
br label %82
82: ; preds = %81, %55
%83 = load double, ptr %9, align 8
%84 = load double, ptr %11, align 8
%85 = fmul double %83, %84
store double %85, ptr %5, align 8
br label %86
86: ; preds = %82, %22, %16
%87 = load double, ptr %5, align 8
ret double %87
}
declare i64 @BlastScoreChk(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmper0d4z9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BlastKarlinLtoH(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
%14 = load double, ptr %9, align 8
%15 = fcmp olt double %14, 0.000000e+00
br i1 %15, label %16, label %17
16: ; preds = %4
store double -1.000000e+00, ptr %5, align 8
br label %90
17: ; preds = %4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = call i64 @BlastScoreChk(i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store double -1.000000e+00, ptr %5, align 8
br label %90
23: ; preds = %17
%24 = load double, ptr %9, align 8
%25 = call double @exp(double noundef %24) #4
store double %25, ptr %12, align 8
%26 = load double, ptr %12, align 8
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
%29 = call double @pow(double noundef %26, i32 noundef %28)
store double %29, ptr %13, align 8
%30 = load double, ptr %13, align 8
%31 = fcmp ogt double %30, 0.000000e+00
br i1 %31, label %32, label %58
32: ; preds = %23
store double 0.000000e+00, ptr %11, align 8
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %.lr.ph2, label %57
.lr.ph2: ; preds = %32
br label %37
37: ; preds = %.lr.ph2, %51
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = load i32, ptr %10, align 4
%44 = sitofp i32 %43 to double
%45 = fmul double %42, %44
%46 = load double, ptr %12, align 8
%47 = load double, ptr %13, align 8
%48 = fmul double %47, %46
store double %48, ptr %13, align 8
%49 = load double, ptr %11, align 8
%50 = call double @llvm.fmuladd.f64(double %45, double %48, double %49)
store double %50, ptr %11, align 8
br label %51
51: ; preds = %37
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %37, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %51
br label %57
57: ; preds = %._crit_edge3, %32
br label %86
58: ; preds = %23
store double 0.000000e+00, ptr %11, align 8
%59 = load i32, ptr %7, align 4
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp sle i32 %60, %61
br i1 %62, label %.lr.ph, label %85
.lr.ph: ; preds = %58
br label %63
63: ; preds = %.lr.ph, %79
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = load i32, ptr %10, align 4
%70 = sitofp i32 %69 to double
%71 = fmul double %68, %70
%72 = load double, ptr %9, align 8
%73 = load i32, ptr %10, align 4
%74 = sitofp i32 %73 to double
%75 = fmul double %72, %74
%76 = call double @exp(double noundef %75) #4
%77 = load double, ptr %11, align 8
%78 = call double @llvm.fmuladd.f64(double %71, double %76, double %77)
store double %78, ptr %11, align 8
br label %79
79: ; preds = %63
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %10, align 4
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %8, align 4
%84 = icmp sle i32 %82, %83
br i1 %84, label %63, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %58
br label %86
86: ; preds = %85, %57
%87 = load double, ptr %9, align 8
%88 = load double, ptr %11, align 8
%89 = fmul double %87, %88
store double %89, ptr %5, align 8
br label %90
90: ; preds = %86, %22, %16
%91 = load double, ptr %5, align 8
ret double %91
}
declare i64 @BlastScoreChk(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy6t9bcw6.c'
source_filename = "/tmp/tmpy6t9bcw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_np_1() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1024
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %1, align 4
br label %17
17: ; preds = %27, %16
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %18, 1024
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %20
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
br label %17, !llvm.loop !8
30: ; preds = %17
store i32 0, ptr %1, align 4
br label %31
31: ; preds = %41, %30
%32 = load i32, ptr %1, align 4
%33 = icmp slt i32 %32, 1024
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i32, ptr %1, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %34
%42 = load i32, ptr %1, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %1, align 4
br label %31, !llvm.loop !9
44: ; preds = %31
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp eq i32 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %1, align 4
br label %50
50: ; preds = %60, %44
%51 = load i32, ptr %1, align 4
%52 = icmp slt i32 %51, 12
br i1 %52, label %53, label %63
53: ; preds = %50
%54 = load i32, ptr %1, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %3, align 4
%59 = mul nsw i32 %58, %57
store i32 %59, ptr %3, align 4
br label %60
60: ; preds = %53
%61 = load i32, ptr %1, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %1, align 4
br label %50, !llvm.loop !10
63: ; preds = %50
store i32 0, ptr %1, align 4
br label %64
64: ; preds = %74, %63
%65 = load i32, ptr %1, align 4
%66 = icmp slt i32 %65, 12
br i1 %66, label %67, label %77
67: ; preds = %64
%68 = load i32, ptr %1, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %4, align 4
%73 = mul nsw i32 %72, %71
store i32 %73, ptr %4, align 4
br label %74
74: ; preds = %67
%75 = load i32, ptr %1, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %1, align 4
br label %64, !llvm.loop !11
77: ; preds = %64
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp eq i32 %78, %79
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy6t9bcw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_np_1() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 1024
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %18, 1024
br i1 %19, label %.lr.ph2, label %32
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %27
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %20
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = icmp slt i32 %30, 1024
br i1 %31, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %17
store i32 0, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 1024
br i1 %34, label %.lr.ph5, label %47
.lr.ph5: ; preds = %32
br label %35
35: ; preds = %.lr.ph5, %42
%36 = load i32, ptr %1, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %35
%43 = load i32, ptr %1, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %1, align 4
%45 = load i32, ptr %1, align 4
%46 = icmp slt i32 %45, 1024
br i1 %46, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %42
br label %47
47: ; preds = %._crit_edge6, %32
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp eq i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %1, align 4
%53 = load i32, ptr %1, align 4
%54 = icmp slt i32 %53, 12
br i1 %54, label %.lr.ph8, label %67
.lr.ph8: ; preds = %47
br label %55
55: ; preds = %.lr.ph8, %62
%56 = load i32, ptr %1, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %3, align 4
%61 = mul nsw i32 %60, %59
store i32 %61, ptr %3, align 4
br label %62
62: ; preds = %55
%63 = load i32, ptr %1, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %1, align 4
%65 = load i32, ptr %1, align 4
%66 = icmp slt i32 %65, 12
br i1 %66, label %55, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %62
br label %67
67: ; preds = %._crit_edge9, %47
store i32 0, ptr %1, align 4
%68 = load i32, ptr %1, align 4
%69 = icmp slt i32 %68, 12
br i1 %69, label %.lr.ph11, label %82
.lr.ph11: ; preds = %67
br label %70
70: ; preds = %.lr.ph11, %77
%71 = load i32, ptr %1, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %4, align 4
%76 = mul nsw i32 %75, %74
store i32 %76, ptr %4, align 4
br label %77
77: ; preds = %70
%78 = load i32, ptr %1, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %1, align 4
%80 = load i32, ptr %1, align 4
%81 = icmp slt i32 %80, 12
br i1 %81, label %70, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %77
br label %82
82: ; preds = %._crit_edge12, %67
%83 = load i32, ptr %3, align 4
%84 = load i32, ptr %4, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpd93jdxt4.c'
source_filename = "/tmp/tmpd93jdxt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_searchenv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.stat, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %7, align 8
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 47
br i1 %19, label %20, label %25
20: ; preds = %4
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @strncpy(ptr noundef %21, ptr noundef %22, i32 noundef %23)
br label %88
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = call ptr @getenv(ptr noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %25
br label %88
31: ; preds = %25
%32 = load ptr, ptr %9, align 8
%33 = call ptr @strdup(ptr noundef %32)
store ptr %33, ptr %10, align 8
br label %34
34: ; preds = %87, %31
%35 = load ptr, ptr %10, align 8
%36 = call ptr @strtok(ptr noundef %35, ptr noundef @.str)
store ptr %36, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %88
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = call i32 @strlen(ptr noundef %41)
%43 = add nsw i32 %40, %42
%44 = add nsw i32 %43, 2
%45 = call ptr @malloc(i32 noundef %44)
store ptr %45, ptr %13, align 8
%46 = load ptr, ptr %13, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %51
48: ; preds = %38
%49 = load ptr, ptr %10, align 8
%50 = call i32 @free(ptr noundef %49)
br label %88
51: ; preds = %38
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %11, align 8
%54 = call i32 @strcpy(ptr noundef %52, ptr noundef %53)
%55 = load ptr, ptr %13, align 8
%56 = load ptr, ptr %13, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 47
br i1 %63, label %64, label %67
64: ; preds = %51
%65 = load ptr, ptr %13, align 8
%66 = call i32 @strcat(ptr noundef %65, ptr noundef @.str.1)
br label %67
67: ; preds = %64, %51
%68 = load ptr, ptr %13, align 8
%69 = load ptr, ptr %5, align 8
%70 = call i32 @strcat(ptr noundef %68, ptr noundef %69)
%71 = load ptr, ptr %13, align 8
%72 = call i32 @stat(ptr noundef %71, ptr noundef %12)
%73 = icmp ne i32 %72, 0
br i1 %73, label %87, label %74
74: ; preds = %67
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %77, 1
%79 = call i32 @strncpy(ptr noundef %75, ptr noundef %76, i32 noundef %78)
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %8, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
store i8 0, ptr %84, align 1
%85 = load ptr, ptr %10, align 8
%86 = call i32 @free(ptr noundef %85)
br label %88
87: ; preds = %67
br label %34, !llvm.loop !6
88: ; preds = %20, %30, %48, %74, %34
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd93jdxt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_searchenv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.stat, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %7, align 8
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 47
br i1 %19, label %20, label %25
20: ; preds = %4
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @strncpy(ptr noundef %21, ptr noundef %22, i32 noundef %23)
br label %90
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = call ptr @getenv(ptr noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %25
br label %90
31: ; preds = %25
%32 = load ptr, ptr %9, align 8
%33 = call ptr @strdup(ptr noundef %32)
store ptr %33, ptr %10, align 8
%34 = load ptr, ptr %10, align 8
%35 = call ptr @strtok(ptr noundef %34, ptr noundef @.str)
store ptr %35, ptr %11, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %31
br label %41
37: ; preds = %70
%38 = load ptr, ptr %10, align 8
%39 = call ptr @strtok(ptr noundef %38, ptr noundef @.str)
store ptr %39, ptr %11, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %..loopexit_crit_edge, !llvm.loop !6
41: ; preds = %.lr.ph, %37
%42 = load ptr, ptr %11, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = add nsw i32 %43, %45
%47 = add nsw i32 %46, 2
%48 = call ptr @malloc(i32 noundef %47)
store ptr %48, ptr %13, align 8
%49 = load ptr, ptr %13, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %41
%52 = load ptr, ptr %10, align 8
%53 = call i32 @free(ptr noundef %52)
br label %90
54: ; preds = %41
%55 = load ptr, ptr %13, align 8
%56 = load ptr, ptr %11, align 8
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
%58 = load ptr, ptr %13, align 8
%59 = load ptr, ptr %13, align 8
%60 = call i32 @strlen(ptr noundef %59)
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %58, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 47
br i1 %66, label %67, label %70
67: ; preds = %54
%68 = load ptr, ptr %13, align 8
%69 = call i32 @strcat(ptr noundef %68, ptr noundef @.str.1)
br label %70
70: ; preds = %67, %54
%71 = load ptr, ptr %13, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @strcat(ptr noundef %71, ptr noundef %72)
%74 = load ptr, ptr %13, align 8
%75 = call i32 @stat(ptr noundef %74, ptr noundef %12)
%76 = icmp ne i32 %75, 0
br i1 %76, label %37, label %77
77: ; preds = %70
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %13, align 8
%80 = load i32, ptr %8, align 4
%81 = sub nsw i32 %80, 1
%82 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %81)
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %8, align 4
%85 = sub nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %83, i64 %86
store i8 0, ptr %87, align 1
%88 = load ptr, ptr %10, align 8
%89 = call i32 @free(ptr noundef %88)
br label %90
..loopexit_crit_edge: ; preds = %37
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %31
br label %90
90: ; preds = %.loopexit, %77, %51, %30, %20
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfx3ku0o7.c'
source_filename = "/tmp/tmpfx3ku0o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kprint(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 @kprint_at(ptr noundef %3, i32 noundef -1, i32 noundef -1)
ret void
}
declare i32 @kprint_at(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/tmpfx3ku0o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kprint(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 @kprint_at(ptr noundef %3, i32 noundef -1, i32 noundef -1)
ret void
}
declare i32 @kprint_at(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/tmpgn99ajjo.c'
source_filename = "/tmp/tmpgn99ajjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str1 = private unnamed_addr constant [32 x i8] c"iello world\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [17 x i8] c"result=%d %d %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 [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.str1, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 32, i1 false)
%9 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%11 = call i32 @strncmp(ptr noundef %9, ptr noundef %10, i32 noundef 32)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i8 noundef signext 105, i32 noundef 48)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgn99ajjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str1 = private unnamed_addr constant [32 x i8] c"iello world\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [17 x i8] c"result=%d %d %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 [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.str1, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 32, i1 false)
%9 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%11 = call i32 @strncmp(ptr noundef %9, ptr noundef %10, i32 noundef 32)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i8 noundef signext 105, i32 noundef 48)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5uy1gn95.c'
source_filename = "/tmp/tmp5uy1gn95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"This is awkward\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 13)
%9 = icmp ne i32 %8, 13
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @write(i32 noundef 2, ptr noundef @.str.1, i32 noundef 17)
store i32 -1, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5uy1gn95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"This is awkward\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 13)
%9 = icmp ne i32 %8, 13
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @write(i32 noundef 2, ptr noundef @.str.1, i32 noundef 17)
store i32 -1, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptdjl6lw6.c'
source_filename = "/tmp/tmptdjl6lw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Enter a random number : \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 @intakeNumber() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptdjl6lw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Enter a random number : \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 @intakeNumber() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp30v0k95i.c'
source_filename = "/tmp/tmp30v0k95i.c"
target datalayout = "e-m:e-p270: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/tmp30v0k95i.c"
target datalayout = "e-m:e-p270: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/tmpvxzgmv9k.c'
source_filename = "/tmp/tmpvxzgmv9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_divisors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %50
9: ; preds = %1
store i32 1, ptr %4, align 4
store i32 2, ptr %5, align 4
br label %10
10: ; preds = %30, %9
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 %11, %12
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %33
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %5, align 4
%19 = call i64 @is_evenly_divisible_by(i32 noundef %17, i32 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %5, align 4
%25 = sdiv i32 %23, %24
%26 = add nsw i32 %22, %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %21, %16
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %3, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %33
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %5, align 4
%42 = call i64 @is_evenly_divisible_by(i32 noundef %40, i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %44, %39, %33
%49 = load i32, ptr %4, align 4
store i32 %49, ptr %2, align 4
br label %50
50: ; preds = %48, %8
%51 = load i32, ptr %2, align 4
ret i32 %51
}
declare i64 @is_evenly_divisible_by(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/tmpvxzgmv9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_divisors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %54
9: ; preds = %1
store i32 1, ptr %4, align 4
store i32 2, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %37
.lr.ph: ; preds = %9
br label %15
15: ; preds = %.lr.ph, %29
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = call i64 @is_evenly_divisible_by(i32 noundef %16, i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %5, align 4
%24 = sdiv i32 %22, %23
%25 = add nsw i32 %21, %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %20, %15
br label %29
29: ; preds = %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = mul nsw i32 %32, %33
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %37
37: ; preds = %._crit_edge, %9
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %3, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %52
43: ; preds = %37
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %5, align 4
%46 = call i64 @is_evenly_divisible_by(i32 noundef %44, i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %43
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, %49
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %48, %43, %37
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %2, align 4
br label %54
54: ; preds = %52, %8
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i64 @is_evenly_divisible_by(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/tmp9w6dk0yc.c'
source_filename = "/tmp/tmp9w6dk0yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscasestr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i64, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i64, ptr %9, align 8
store i64 %11, ptr %6, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %41
13: ; preds = %2
%14 = load i64, ptr %6, align 8
%15 = call i64 @towlower(i64 noundef %14)
store i64 %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i64 @wcslen(ptr noundef %16)
store i64 %17, ptr %8, align 8
br label %18
18: ; preds = %32, %13
br label %19
19: ; preds = %26, %18
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i64, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load i64, ptr %20, align 8
store i64 %22, ptr %7, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %19
store ptr null, ptr %3, align 8
br label %43
25: ; preds = %19
br label %26
26: ; preds = %25
%27 = load i64, ptr %7, align 8
%28 = call i64 @towlower(i64 noundef %27)
%29 = load i64, ptr %6, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %19, label %31, !llvm.loop !6
31: ; preds = %26
br label %32
32: ; preds = %31
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %8, align 8
%36 = call i64 @wcsncasecmp(ptr noundef %33, ptr noundef %34, i64 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %18, label %38, !llvm.loop !8
38: ; preds = %32
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i64, ptr %39, i32 -1
store ptr %40, ptr %4, align 8
br label %41
41: ; preds = %38, %2
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %41, %24
%44 = load ptr, ptr %3, align 8
ret ptr %44
}
declare i64 @towlower(i64 noundef) #1
declare i64 @wcslen(ptr noundef) #1
declare i64 @wcsncasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w6dk0yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscasestr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i64, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i64, ptr %9, align 8
store i64 %11, ptr %6, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %41
13: ; preds = %2
%14 = load i64, ptr %6, align 8
%15 = call i64 @towlower(i64 noundef %14)
store i64 %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i64 @wcslen(ptr noundef %16)
store i64 %17, ptr %8, align 8
br label %18
18: ; preds = %32, %13
br label %19
19: ; preds = %26, %18
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i64, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load i64, ptr %20, align 8
store i64 %22, ptr %7, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %19
store ptr null, ptr %3, align 8
br label %43
25: ; preds = %19
br label %26
26: ; preds = %25
%27 = load i64, ptr %7, align 8
%28 = call i64 @towlower(i64 noundef %27)
%29 = load i64, ptr %6, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %19, label %31, !llvm.loop !6
31: ; preds = %26
br label %32
32: ; preds = %31
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %8, align 8
%36 = call i64 @wcsncasecmp(ptr noundef %33, ptr noundef %34, i64 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %18, label %38, !llvm.loop !8
38: ; preds = %32
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i64, ptr %39, i32 -1
store ptr %40, ptr %4, align 8
br label %41
41: ; preds = %38, %2
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %41, %24
%44 = load ptr, ptr %3, align 8
ret ptr %44
}
declare i64 @towlower(i64 noundef) #1
declare i64 @wcslen(ptr noundef) #1
declare i64 @wcsncasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_zn0jyqr.c'
source_filename = "/tmp/tmp_zn0jyqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error() #0 {
%1 = call i32 (...) @usage()
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @usage(...) #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/tmp_zn0jyqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error() #0 {
%1 = call i32 (...) @usage()
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @usage(...) #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/tmpq0s75uje.c'
source_filename = "/tmp/tmpq0s75uje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hmac_sha256_vector(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [64 x i8], align 16
%14 = alloca [32 x i8], align 16
%15 = alloca [6 x ptr], align 16
%16 = alloca [6 x i64], align 16
%17 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load i64, ptr %9, align 8
%19 = icmp ugt i64 %18, 5
br i1 %19, label %20, label %21
20: ; preds = %6
br label %106
21: ; preds = %6
%22 = load i64, ptr %8, align 8
%23 = icmp ugt i64 %22, 64
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%26 = call i32 @sha256_vector(i32 noundef 1, ptr noundef %7, ptr noundef %8, ptr noundef %25)
%27 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
store ptr %27, ptr %7, align 8
store i64 32, ptr %8, align 8
br label %28
28: ; preds = %24, %21
%29 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 64)
%31 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%32 = load ptr, ptr %7, align 8
%33 = load i64, ptr %8, align 8
%34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33)
store i64 0, ptr %17, align 8
br label %35
35: ; preds = %45, %28
%36 = load i64, ptr %17, align 8
%37 = icmp ult i64 %36, 64
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i64, ptr %17, align 8
%40 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = xor i32 %42, 54
%44 = trunc i32 %43 to i8
store i8 %44, ptr %40, align 1
br label %45
45: ; preds = %38
%46 = load i64, ptr %17, align 8
%47 = add i64 %46, 1
store i64 %47, ptr %17, align 8
br label %35, !llvm.loop !6
48: ; preds = %35
%49 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%50 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
store ptr %49, ptr %50, align 16
%51 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
store i64 64, ptr %51, align 16
store i64 0, ptr %17, align 8
br label %52
52: ; preds = %71, %48
%53 = load i64, ptr %17, align 8
%54 = load i64, ptr %9, align 8
%55 = icmp ult i64 %53, %54
br i1 %55, label %56, label %74
56: ; preds = %52
%57 = load ptr, ptr %10, align 8
%58 = load i64, ptr %17, align 8
%59 = getelementptr inbounds ptr, ptr %57, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i64, ptr %17, align 8
%62 = add i64 %61, 1
%63 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 %62
store ptr %60, ptr %63, align 8
%64 = load ptr, ptr %11, align 8
%65 = load i64, ptr %17, align 8
%66 = getelementptr inbounds i64, ptr %64, i64 %65
%67 = load i64, ptr %66, align 8
%68 = load i64, ptr %17, align 8
%69 = add i64 %68, 1
%70 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 %69
store i64 %67, ptr %70, align 8
br label %71
71: ; preds = %56
%72 = load i64, ptr %17, align 8
%73 = add i64 %72, 1
store i64 %73, ptr %17, align 8
br label %52, !llvm.loop !8
74: ; preds = %52
%75 = load i64, ptr %9, align 8
%76 = add i64 1, %75
%77 = trunc i64 %76 to i32
%78 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
%79 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
%80 = load ptr, ptr %12, align 8
%81 = call i32 @sha256_vector(i32 noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80)
store i64 0, ptr %17, align 8
br label %82
82: ; preds = %92, %74
%83 = load i64, ptr %17, align 8
%84 = icmp ult i64 %83, 64
br i1 %84, label %85, label %95
85: ; preds = %82
%86 = load i64, ptr %17, align 8
%87 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 %86
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = xor i32 %89, 106
%91 = trunc i32 %90 to i8
store i8 %91, ptr %87, align 1
br label %92
92: ; preds = %85
%93 = load i64, ptr %17, align 8
%94 = add i64 %93, 1
store i64 %94, ptr %17, align 8
br label %82, !llvm.loop !9
95: ; preds = %82
%96 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%97 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
store ptr %96, ptr %97, align 16
%98 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
store i64 64, ptr %98, align 16
%99 = load ptr, ptr %12, align 8
%100 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 1
store ptr %99, ptr %100, align 8
%101 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 1
store i64 32, ptr %101, align 8
%102 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
%103 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
%104 = load ptr, ptr %12, align 8
%105 = call i32 @sha256_vector(i32 noundef 2, ptr noundef %102, ptr noundef %103, ptr noundef %104)
br label %106
106: ; preds = %95, %20
ret void
}
declare i32 @sha256_vector(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq0s75uje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hmac_sha256_vector(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [64 x i8], align 16
%14 = alloca [32 x i8], align 16
%15 = alloca [6 x ptr], align 16
%16 = alloca [6 x i64], align 16
%17 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load i64, ptr %9, align 8
%19 = icmp ugt i64 %18, 5
br i1 %19, label %20, label %21
20: ; preds = %6
br label %110
21: ; preds = %6
%22 = load i64, ptr %8, align 8
%23 = icmp ugt i64 %22, 64
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%26 = call i32 @sha256_vector(i32 noundef 1, ptr noundef %7, ptr noundef %8, ptr noundef %25)
%27 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
store ptr %27, ptr %7, align 8
store i64 32, ptr %8, align 8
br label %28
28: ; preds = %24, %21
%29 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 64)
%31 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%32 = load ptr, ptr %7, align 8
%33 = load i64, ptr %8, align 8
%34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33)
store i64 0, ptr %17, align 8
%35 = load i64, ptr %17, align 8
%36 = icmp ult i64 %35, 64
br i1 %36, label %.lr.ph, label %49
.lr.ph: ; preds = %28
br label %37
37: ; preds = %.lr.ph, %44
%38 = load i64, ptr %17, align 8
%39 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = xor i32 %41, 54
%43 = trunc i32 %42 to i8
store i8 %43, ptr %39, align 1
br label %44
44: ; preds = %37
%45 = load i64, ptr %17, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %17, align 8
%47 = load i64, ptr %17, align 8
%48 = icmp ult i64 %47, 64
br i1 %48, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %28
%50 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%51 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
store ptr %50, ptr %51, align 16
%52 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
store i64 64, ptr %52, align 16
store i64 0, ptr %17, align 8
%53 = load i64, ptr %17, align 8
%54 = load i64, ptr %9, align 8
%55 = icmp ult i64 %53, %54
br i1 %55, label %.lr.ph2, label %77
.lr.ph2: ; preds = %49
br label %56
56: ; preds = %.lr.ph2, %71
%57 = load ptr, ptr %10, align 8
%58 = load i64, ptr %17, align 8
%59 = getelementptr inbounds ptr, ptr %57, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i64, ptr %17, align 8
%62 = add i64 %61, 1
%63 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 %62
store ptr %60, ptr %63, align 8
%64 = load ptr, ptr %11, align 8
%65 = load i64, ptr %17, align 8
%66 = getelementptr inbounds i64, ptr %64, i64 %65
%67 = load i64, ptr %66, align 8
%68 = load i64, ptr %17, align 8
%69 = add i64 %68, 1
%70 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 %69
store i64 %67, ptr %70, align 8
br label %71
71: ; preds = %56
%72 = load i64, ptr %17, align 8
%73 = add i64 %72, 1
store i64 %73, ptr %17, align 8
%74 = load i64, ptr %17, align 8
%75 = load i64, ptr %9, align 8
%76 = icmp ult i64 %74, %75
br i1 %76, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %77
77: ; preds = %._crit_edge3, %49
%78 = load i64, ptr %9, align 8
%79 = add i64 1, %78
%80 = trunc i64 %79 to i32
%81 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
%82 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
%83 = load ptr, ptr %12, align 8
%84 = call i32 @sha256_vector(i32 noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83)
store i64 0, ptr %17, align 8
%85 = load i64, ptr %17, align 8
%86 = icmp ult i64 %85, 64
br i1 %86, label %.lr.ph5, label %99
.lr.ph5: ; preds = %77
br label %87
87: ; preds = %.lr.ph5, %94
%88 = load i64, ptr %17, align 8
%89 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 %88
%90 = load i8, ptr %89, align 1
%91 = zext i8 %90 to i32
%92 = xor i32 %91, 106
%93 = trunc i32 %92 to i8
store i8 %93, ptr %89, align 1
br label %94
94: ; preds = %87
%95 = load i64, ptr %17, align 8
%96 = add i64 %95, 1
store i64 %96, ptr %17, align 8
%97 = load i64, ptr %17, align 8
%98 = icmp ult i64 %97, 64
br i1 %98, label %87, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %94
br label %99
99: ; preds = %._crit_edge6, %77
%100 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%101 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
store ptr %100, ptr %101, align 16
%102 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
store i64 64, ptr %102, align 16
%103 = load ptr, ptr %12, align 8
%104 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 1
store ptr %103, ptr %104, align 8
%105 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 1
store i64 32, ptr %105, align 8
%106 = getelementptr inbounds [6 x ptr], ptr %15, i64 0, i64 0
%107 = getelementptr inbounds [6 x i64], ptr %16, i64 0, i64 0
%108 = load ptr, ptr %12, align 8
%109 = call i32 @sha256_vector(i32 noundef 2, ptr noundef %106, ptr noundef %107, ptr noundef %108)
br label %110
110: ; preds = %99, %20
ret void
}
declare i32 @sha256_vector(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvrxluwtd.c'
source_filename = "/tmp/tmpvrxluwtd.c"
target datalayout = "e-m:e-p270: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/tmpvrxluwtd.c"
target datalayout = "e-m:e-p270: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/tmpqtsotkrw.c'
source_filename = "/tmp/tmpqtsotkrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8towcs(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i8, align 1
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %36, label %19
19: ; preds = %4
%20 = load ptr, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %36, label %22
22: ; preds = %19
%23 = load ptr, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %36, label %25
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp sle i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %25
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
%35 = icmp sle i32 %34, 0
br i1 %35, label %36, label %48
36: ; preds = %32, %29, %25, %22, %19, %4
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = load ptr, ptr %7, align 8
store i32 0, ptr %40, align 4
br label %41
41: ; preds = %39, %36
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load ptr, ptr %9, align 8
store i32 0, ptr %46, align 4
br label %47
47: ; preds = %45, %41
store i32 -1, ptr %5, align 4
br label %164
48: ; preds = %32
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %11, align 4
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %52, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
store ptr %55, ptr %12, align 8
%56 = load ptr, ptr %8, align 8
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %57, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store ptr %60, ptr %13, align 8
%61 = load ptr, ptr %7, align 8
store i32 0, ptr %61, align 4
%62 = load ptr, ptr %9, align 8
store i32 0, ptr %62, align 4
br label %63
63: ; preds = %152, %48
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %12, align 8
%66 = icmp ult ptr %64, %65
br i1 %66, label %67, label %71
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %13, align 8
%70 = icmp ult ptr %68, %69
br label %71
71: ; preds = %67, %63
%72 = phi i1 [ false, %63 ], [ %70, %67 ]
br i1 %72, label %73, label %163
73: ; preds = %71
%74 = load ptr, ptr %6, align 8
%75 = load i8, ptr %74, align 1
%76 = call i32 @uft8towcs_octetcount(i8 noundef signext %75)
store i32 %76, ptr %14, align 4
%77 = load i32, ptr %14, align 4
%78 = icmp sle i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %73
store i32 -1, ptr %5, align 4
br label %164
80: ; preds = %73
%81 = load i32, ptr %14, align 4
%82 = load i32, ptr %11, align 4
%83 = icmp sgt i32 %81, %82
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 1, ptr %5, align 4
br label %164
85: ; preds = %80
%86 = load i32, ptr %14, align 4
%87 = icmp sgt i32 %86, 1
br i1 %87, label %88, label %141
88: ; preds = %85
store i8 127, ptr %15, align 1
%89 = load ptr, ptr %6, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = load i8, ptr %15, align 1
%93 = sext i8 %92 to i32
%94 = load i32, ptr %14, align 4
%95 = ashr i32 %93, %94
%96 = and i32 %91, %95
%97 = load ptr, ptr %8, align 8
store i32 %96, ptr %97, align 4
%98 = load ptr, ptr %6, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %6, align 8
%100 = load ptr, ptr %7, align 8
%101 = load i32, ptr %100, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %100, align 4
store i32 1, ptr %16, align 4
br label %103
103: ; preds = %137, %88
%104 = load i32, ptr %16, align 4
%105 = load i32, ptr %14, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %111
107: ; preds = %103
%108 = load ptr, ptr %6, align 8
%109 = load ptr, ptr %12, align 8
%110 = icmp ne ptr %108, %109
br label %111
111: ; preds = %107, %103
%112 = phi i1 [ false, %103 ], [ %110, %107 ]
br i1 %112, label %113, label %140
113: ; preds = %111
%114 = load ptr, ptr %6, align 8
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = and i32 %116, 192
%118 = icmp ne i32 %117, 128
br i1 %118, label %119, label %121
119: ; preds = %113
%120 = load i32, ptr %10, align 4
store i32 %120, ptr %5, align 4
br label %164
121: ; preds = %113
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %122, align 4
%124 = shl i32 %123, 6
store i32 %124, ptr %122, align 4
%125 = load ptr, ptr %6, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = and i32 %127, 63
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %129, align 4
%131 = or i32 %130, %128
store i32 %131, ptr %129, align 4
%132 = load ptr, ptr %6, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %6, align 8
%134 = load ptr, ptr %7, align 8
%135 = load i32, ptr %134, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %134, align 4
br label %137
137: ; preds = %121
%138 = load i32, ptr %16, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %16, align 4
br label %103, !llvm.loop !6
140: ; preds = %111
br label %152
141: ; preds = %85
%142 = load ptr, ptr %6, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = and i32 %144, 127
%146 = load ptr, ptr %8, align 8
store i32 %145, ptr %146, align 4
%147 = load ptr, ptr %6, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %6, align 8
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %149, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %149, align 4
br label %152
152: ; preds = %141, %140
%153 = load ptr, ptr %8, align 8
%154 = getelementptr inbounds i32, ptr %153, i32 1
store ptr %154, ptr %8, align 8
%155 = load ptr, ptr %9, align 8
%156 = load i32, ptr %155, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %155, align 4
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %10, align 4
%160 = load i32, ptr %14, align 4
%161 = load i32, ptr %11, align 4
%162 = sub nsw i32 %161, %160
store i32 %162, ptr %11, align 4
br label %63, !llvm.loop !8
163: ; preds = %71
store i32 0, ptr %5, align 4
br label %164
164: ; preds = %163, %119, %84, %79, %47
%165 = load i32, ptr %5, align 4
ret i32 %165
}
declare i32 @uft8towcs_octetcount(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtsotkrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8towcs(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i8, align 1
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %36, label %19
19: ; preds = %4
%20 = load ptr, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %36, label %22
22: ; preds = %19
%23 = load ptr, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %36, label %25
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp sle i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %25
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
%35 = icmp sle i32 %34, 0
br i1 %35, label %36, label %48
36: ; preds = %32, %29, %25, %22, %19, %4
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = load ptr, ptr %7, align 8
store i32 0, ptr %40, align 4
br label %41
41: ; preds = %39, %36
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load ptr, ptr %9, align 8
store i32 0, ptr %46, align 4
br label %47
47: ; preds = %45, %41
store i32 -1, ptr %5, align 4
br label %164
48: ; preds = %32
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %11, align 4
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %52, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
store ptr %55, ptr %12, align 8
%56 = load ptr, ptr %8, align 8
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %57, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store ptr %60, ptr %13, align 8
%61 = load ptr, ptr %7, align 8
store i32 0, ptr %61, align 4
%62 = load ptr, ptr %9, align 8
store i32 0, ptr %62, align 4
br label %63
63: ; preds = %152, %48
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %12, align 8
%66 = icmp ult ptr %64, %65
br i1 %66, label %67, label %71
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %13, align 8
%70 = icmp ult ptr %68, %69
br label %71
71: ; preds = %67, %63
%72 = phi i1 [ false, %63 ], [ %70, %67 ]
br i1 %72, label %73, label %163
73: ; preds = %71
%74 = load ptr, ptr %6, align 8
%75 = load i8, ptr %74, align 1
%76 = call i32 @uft8towcs_octetcount(i8 noundef signext %75)
store i32 %76, ptr %14, align 4
%77 = load i32, ptr %14, align 4
%78 = icmp sle i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %73
store i32 -1, ptr %5, align 4
br label %164
80: ; preds = %73
%81 = load i32, ptr %14, align 4
%82 = load i32, ptr %11, align 4
%83 = icmp sgt i32 %81, %82
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 1, ptr %5, align 4
br label %164
85: ; preds = %80
%86 = load i32, ptr %14, align 4
%87 = icmp sgt i32 %86, 1
br i1 %87, label %88, label %141
88: ; preds = %85
store i8 127, ptr %15, align 1
%89 = load ptr, ptr %6, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = load i8, ptr %15, align 1
%93 = sext i8 %92 to i32
%94 = load i32, ptr %14, align 4
%95 = ashr i32 %93, %94
%96 = and i32 %91, %95
%97 = load ptr, ptr %8, align 8
store i32 %96, ptr %97, align 4
%98 = load ptr, ptr %6, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %6, align 8
%100 = load ptr, ptr %7, align 8
%101 = load i32, ptr %100, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %100, align 4
store i32 1, ptr %16, align 4
br label %103
103: ; preds = %137, %88
%104 = load i32, ptr %16, align 4
%105 = load i32, ptr %14, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %111
107: ; preds = %103
%108 = load ptr, ptr %6, align 8
%109 = load ptr, ptr %12, align 8
%110 = icmp ne ptr %108, %109
br label %111
111: ; preds = %107, %103
%112 = phi i1 [ false, %103 ], [ %110, %107 ]
br i1 %112, label %113, label %140
113: ; preds = %111
%114 = load ptr, ptr %6, align 8
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = and i32 %116, 192
%118 = icmp ne i32 %117, 128
br i1 %118, label %119, label %121
119: ; preds = %113
%120 = load i32, ptr %10, align 4
store i32 %120, ptr %5, align 4
br label %164
121: ; preds = %113
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %122, align 4
%124 = shl i32 %123, 6
store i32 %124, ptr %122, align 4
%125 = load ptr, ptr %6, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = and i32 %127, 63
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %129, align 4
%131 = or i32 %130, %128
store i32 %131, ptr %129, align 4
%132 = load ptr, ptr %6, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %6, align 8
%134 = load ptr, ptr %7, align 8
%135 = load i32, ptr %134, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %134, align 4
br label %137
137: ; preds = %121
%138 = load i32, ptr %16, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %16, align 4
br label %103, !llvm.loop !6
140: ; preds = %111
br label %152
141: ; preds = %85
%142 = load ptr, ptr %6, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = and i32 %144, 127
%146 = load ptr, ptr %8, align 8
store i32 %145, ptr %146, align 4
%147 = load ptr, ptr %6, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %6, align 8
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %149, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %149, align 4
br label %152
152: ; preds = %141, %140
%153 = load ptr, ptr %8, align 8
%154 = getelementptr inbounds i32, ptr %153, i32 1
store ptr %154, ptr %8, align 8
%155 = load ptr, ptr %9, align 8
%156 = load i32, ptr %155, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %155, align 4
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %10, align 4
%160 = load i32, ptr %14, align 4
%161 = load i32, ptr %11, align 4
%162 = sub nsw i32 %161, %160
store i32 %162, ptr %11, align 4
br label %63, !llvm.loop !8
163: ; preds = %71
store i32 0, ptr %5, align 4
br label %164
164: ; preds = %163, %119, %84, %79, %47
%165 = load i32, ptr %5, align 4
ret i32 %165
}
declare i32 @uft8towcs_octetcount(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphuqxqxro.c'
source_filename = "/tmp/tmphuqxqxro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @per_trigon(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = call i64 @pow(float noundef %6, i32 noundef 2)
%8 = load float, ptr %4, align 4
%9 = call i64 @pow(float noundef %8, i32 noundef 2)
%10 = add nsw i64 %7, %9
%11 = call float @sqrt(i64 noundef %10)
store float %11, ptr %5, align 4
%12 = load float, ptr %5, align 4
%13 = load float, ptr %3, align 4
%14 = fadd float %12, %13
%15 = load float, ptr %4, align 4
%16 = fadd float %14, %15
ret float %16
}
declare float @sqrt(i64 noundef) #1
declare i64 @pow(float 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/tmphuqxqxro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @per_trigon(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = call i64 @pow(float noundef %6, i32 noundef 2)
%8 = load float, ptr %4, align 4
%9 = call i64 @pow(float noundef %8, i32 noundef 2)
%10 = add nsw i64 %7, %9
%11 = call float @sqrt(i64 noundef %10)
store float %11, ptr %5, align 4
%12 = load float, ptr %5, align 4
%13 = load float, ptr %3, align 4
%14 = fadd float %12, %13
%15 = load float, ptr %4, align 4
%16 = fadd float %14, %15
ret float %16
}
declare float @sqrt(i64 noundef) #1
declare i64 @pow(float 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/tmpuu9w2bu7.c'
source_filename = "/tmp/tmpuu9w2bu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [40 x i8] c"\0AThe Sum of %d fibonacci numbers 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
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %17, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 11
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
%11 = call i32 @fibonacci(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load i32, ptr %4, align 4
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 11, i32 noundef %21)
ret i32 0
}
declare i32 @fibonacci(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/tmpuu9w2bu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [40 x i8] c"\0AThe Sum of %d fibonacci numbers 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
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 11
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 @fibonacci(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %4, align 4
br label %16
16: ; preds = %7
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 11
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 11, i32 noundef %22)
ret i32 0
}
declare i32 @fibonacci(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/tmp952d7wnc.c'
source_filename = "/tmp/tmp952d7wnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[1m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bold(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 @print(i32 noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @print(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/tmp952d7wnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[1m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bold(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 @print(i32 noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @print(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/tmphnltpush.c'
source_filename = "/tmp/tmphnltpush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Test OK!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @srand(i32 noundef 1234)
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %15, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 100000
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i64 @oomtest(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %7
br label %15
15: ; preds = %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %4, !llvm.loop !6
18: ; preds = %4
%19 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @oomtest(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphnltpush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Test OK!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @srand(i32 noundef 1234)
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 100000
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %14
%7 = load i32, ptr %2, align 4
%8 = call i64 @oomtest(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %6
br label %14
14: ; preds = %13
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 100000
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @oomtest(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz2brwoeo.c'
source_filename = "/tmp/tmpz2brwoeo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pMSECS() #0 {
%1 = call i32 (...) @Milliseconds()
%2 = call i32 @Push(i32 noundef %1)
ret void
}
declare i32 @Push(i32 noundef) #1
declare i32 @Milliseconds(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2brwoeo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pMSECS() #0 {
%1 = call i32 (...) @Milliseconds()
%2 = call i32 @Push(i32 noundef %1)
ret void
}
declare i32 @Push(i32 noundef) #1
declare i32 @Milliseconds(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwuu31rtg.c'
source_filename = "/tmp/tmpwuu31rtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"matrixSubtraction error - indeces of first and second matrix are not okay\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @matrixSubtraction(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %13, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %6
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %12, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20, %6
%25 = call i32 @printf(ptr noundef @.str)
%26 = load ptr, ptr %14, align 8
store ptr %26, ptr %7, align 8
br label %90
27: ; preds = %20
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 8
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %14, align 8
store i32 0, ptr %15, align 4
br label %34
34: ; preds = %85, %27
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %88
38: ; preds = %34
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 8
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
%45 = load ptr, ptr %14, align 8
%46 = load i32, ptr %15, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
store ptr %44, ptr %48, align 8
store i32 0, ptr %16, align 4
br label %49
49: ; preds = %81, %38
%50 = load i32, ptr %16, align 4
%51 = load i32, ptr %13, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %84
53: ; preds = %49
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %15, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %16, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %15, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = load i32, ptr %16, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %67, i64 %69
%71 = load double, ptr %70, align 8
%72 = fsub double %62, %71
%73 = load ptr, ptr %14, align 8
%74 = load i32, ptr %15, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %16, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %77, i64 %79
store double %72, ptr %80, align 8
br label %81
81: ; preds = %53
%82 = load i32, ptr %16, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %16, align 4
br label %49, !llvm.loop !6
84: ; preds = %49
br label %85
85: ; preds = %84
%86 = load i32, ptr %15, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %15, align 4
br label %34, !llvm.loop !8
88: ; preds = %34
%89 = load ptr, ptr %14, align 8
store ptr %89, ptr %7, align 8
br label %90
90: ; preds = %88, %24
%91 = load ptr, ptr %7, align 8
ret ptr %91
}
declare i32 @printf(ptr noundef) #1
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwuu31rtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"matrixSubtraction error - indeces of first and second matrix are not okay\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @matrixSubtraction(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %13, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %6
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %12, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20, %6
%25 = call i32 @printf(ptr noundef @.str)
%26 = load ptr, ptr %14, align 8
store ptr %26, ptr %7, align 8
br label %94
27: ; preds = %20
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 8
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %14, align 8
store i32 0, ptr %15, align 4
%34 = load i32, ptr %15, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %92
.lr.ph2: ; preds = %27
br label %37
37: ; preds = %.lr.ph2, %86
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 8
%41 = trunc i64 %40 to i32
%42 = call i64 @malloc(i32 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %14, align 8
%45 = load i32, ptr %15, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
store ptr %43, ptr %47, align 8
store i32 0, ptr %16, align 4
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph, label %85
.lr.ph: ; preds = %37
br label %51
51: ; preds = %.lr.ph, %79
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %15, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %16, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %15, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %16, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %65, i64 %67
%69 = load double, ptr %68, align 8
%70 = fsub double %60, %69
%71 = load ptr, ptr %14, align 8
%72 = load i32, ptr %15, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr %16, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
store double %70, ptr %78, align 8
br label %79
79: ; preds = %51
%80 = load i32, ptr %16, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %16, align 4
%82 = load i32, ptr %16, align 4
%83 = load i32, ptr %13, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %37
br label %86
86: ; preds = %85
%87 = load i32, ptr %15, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %15, align 4
%89 = load i32, ptr %15, align 4
%90 = load i32, ptr %9, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %92
92: ; preds = %._crit_edge3, %27
%93 = load ptr, ptr %14, align 8
store ptr %93, ptr %7, align 8
br label %94
94: ; preds = %92, %24
%95 = load ptr, ptr %7, align 8
ret ptr %95
}
declare i32 @printf(ptr noundef) #1
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvtwbqezm.c'
source_filename = "/tmp/tmpvtwbqezm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [8 x i32] [i32 21, i32 25, i32 49, i32 25, i32 28, i32 27, i32 16, i32 8], align 16
@.str = private unnamed_addr constant [14 x i8] c"before sort:\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"after sort:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 32, i1 false)
store i32 8, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = call i32 @println(ptr noundef %5, i32 noundef %6)
%8 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @QuickSort(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %3, align 4
%14 = call i32 @println(ptr noundef %12, i32 noundef %13)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @println(ptr noundef, i32 noundef) #2
declare i32 @QuickSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvtwbqezm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [8 x i32] [i32 21, i32 25, i32 49, i32 25, i32 28, i32 27, i32 16, i32 8], align 16
@.str = private unnamed_addr constant [14 x i8] c"before sort:\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"after sort:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 32, i1 false)
store i32 8, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = call i32 @println(ptr noundef %5, i32 noundef %6)
%8 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @QuickSort(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %3, align 4
%14 = call i32 @println(ptr noundef %12, i32 noundef %13)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @println(ptr noundef, i32 noundef) #2
declare i32 @QuickSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp35uk8oen.c'
source_filename = "/tmp/tmp35uk8oen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betalog(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = call float @gammaln(float noundef %5)
%7 = load float, ptr %4, align 4
%8 = call float @gammaln(float noundef %7)
%9 = fadd float %6, %8
%10 = load float, ptr %3, align 4
%11 = load float, ptr %4, align 4
%12 = fadd float %10, %11
%13 = call float @gammaln(float noundef %12)
%14 = fsub float %9, %13
ret float %14
}
declare float @gammaln(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/tmp35uk8oen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betalog(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = call float @gammaln(float noundef %5)
%7 = load float, ptr %4, align 4
%8 = call float @gammaln(float noundef %7)
%9 = fadd float %6, %8
%10 = load float, ptr %3, align 4
%11 = load float, ptr %4, align 4
%12 = fadd float %10, %11
%13 = call float @gammaln(float noundef %12)
%14 = fsub float %9, %13
ret float %14
}
declare float @gammaln(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/tmphyn3pwnr.c'
source_filename = "/tmp/tmphyn3pwnr.c"
target datalayout = "e-m:e-p270: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.test_conversions.sigref = private unnamed_addr constant [4 x i32] [i32 1, i32 1, i32 0, i32 0], align 16
@__const.test_conversions.cal = private unnamed_addr constant [4 x i32] [i32 0, i32 1, i32 0, i32 1], align 16
@__const.test_conversions.accumid = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 3, i32 2], align 16
@.str = private unnamed_addr constant [62 x i8] c"sigref_cal_to_accumid error sr=%d cal=%d acc=%d, expected=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"accumid_to_sigref_cal error sr=%d cal=%d acc=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_conversions() #0 {
%1 = alloca [4 x i32], align 16
%2 = alloca [4 x i32], align 16
%3 = alloca [4 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_conversions.sigref, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_conversions.cal, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_conversions.accumid, i64 16, i1 false)
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %64, %0
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 4
br i1 %10, label %11, label %67
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @sigref_cal_to_accumid(i32 noundef %15, i32 noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp ne i32 %21, %25
br i1 %26, label %27, label %42
27: ; preds = %11
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %35, i32 noundef %36, i32 noundef %40)
br label %42
42: ; preds = %27, %11
%43 = load i32, ptr %5, align 4
%44 = call i32 @accumid_to_sigref_cal(i32 noundef %43, ptr noundef %6, ptr noundef %7)
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp ne i32 %45, %49
br i1 %50, label %58, label %51
51: ; preds = %42
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %52, %56
br i1 %57, label %58, label %63
58: ; preds = %51, %42
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %5, align 4
%62 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %59, i32 noundef %60, i32 noundef %61)
br label %63
63: ; preds = %58, %51
br label %64
64: ; preds = %63
%65 = load i32, ptr %4, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %4, align 4
br label %8, !llvm.loop !6
67: ; preds = %8
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 @sigref_cal_to_accumid(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #2
declare i32 @accumid_to_sigref_cal(i32 noundef, ptr noundef, 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/tmphyn3pwnr.c"
target datalayout = "e-m:e-p270: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.test_conversions.sigref = private unnamed_addr constant [4 x i32] [i32 1, i32 1, i32 0, i32 0], align 16
@__const.test_conversions.cal = private unnamed_addr constant [4 x i32] [i32 0, i32 1, i32 0, i32 1], align 16
@__const.test_conversions.accumid = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 3, i32 2], align 16
@.str = private unnamed_addr constant [62 x i8] c"sigref_cal_to_accumid error sr=%d cal=%d acc=%d, expected=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"accumid_to_sigref_cal error sr=%d cal=%d acc=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_conversions() #0 {
%1 = alloca [4 x i32], align 16
%2 = alloca [4 x i32], align 16
%3 = alloca [4 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_conversions.sigref, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_conversions.cal, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_conversions.accumid, i64 16, i1 false)
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %.lr.ph, label %68
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %63
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @sigref_cal_to_accumid(i32 noundef %14, i32 noundef %18)
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %20, %24
br i1 %25, label %26, label %41
26: ; preds = %10
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %34, i32 noundef %35, i32 noundef %39)
br label %41
41: ; preds = %26, %10
%42 = load i32, ptr %5, align 4
%43 = call i32 @accumid_to_sigref_cal(i32 noundef %42, ptr noundef %6, ptr noundef %7)
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp ne i32 %44, %48
br i1 %49, label %57, label %50
50: ; preds = %41
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %51, %55
br i1 %56, label %57, label %62
57: ; preds = %50, %41
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %5, align 4
%61 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59, i32 noundef %60)
br label %62
62: ; preds = %57, %50
br label %63
63: ; preds = %62
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp slt i32 %66, 4
br i1 %67, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %68
68: ; preds = %._crit_edge, %0
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 @sigref_cal_to_accumid(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #2
declare i32 @accumid_to_sigref_cal(i32 noundef, ptr noundef, 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/tmpkbrucitc.c'
source_filename = "/tmp/tmpkbrucitc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.y = internal global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"parent:local value \00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"static value \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"x:%d y:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"child:local value \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i64 (...) @fork()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %15
6: ; preds = %0
%7 = call i32 @sleep(i32 noundef 2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @TestShow(ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 @TestShow(ptr noundef @main.y)
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr @main.y, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13)
br label %23
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 @TestShow(ptr noundef %1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = call i32 @TestShow(ptr noundef @main.y)
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr @main.y, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %15, %6
%24 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @TestShow(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/tmpkbrucitc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.y = internal global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"parent:local value \00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"static value \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"x:%d y:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"child:local value \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i64 (...) @fork()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %15
6: ; preds = %0
%7 = call i32 @sleep(i32 noundef 2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @TestShow(ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 @TestShow(ptr noundef @main.y)
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr @main.y, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13)
br label %23
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 @TestShow(ptr noundef %1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = call i32 @TestShow(ptr noundef @main.y)
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr @main.y, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %15, %6
%24 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @TestShow(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/tmpq6nd85kz.c'
source_filename = "/tmp/tmpq6nd85kz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_167(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 = call double @d_dim(ptr noundef %3, ptr noundef %4)
ret double %5
}
declare double @d_dim(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/tmpq6nd85kz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_167(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 = call double @d_dim(ptr noundef %3, ptr noundef %4)
ret double %5
}
declare double @d_dim(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/tmpeg57u1ly.c'
source_filename = "/tmp/tmpeg57u1ly.c"
target datalayout = "e-m:e-p270: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/tmpeg57u1ly.c"
target datalayout = "e-m:e-p270: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/tmpb_t4_vmo.c'
source_filename = "/tmp/tmpb_t4_vmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"o \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c": %d \09 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printpile(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 = %11, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 20, %6
%8 = icmp slt i32 %5, %7
br i1 %8, label %9, label %14
9: ; preds = %4
%10 = call i32 @putchar(i8 noundef signext 32)
br label %11
11: ; preds = %9
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %21, %14
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %21
21: ; preds = %19
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %15, !llvm.loop !8
24: ; preds = %15
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %32, %24
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 20, %27
%29 = icmp slt i32 %26, %28
br i1 %29, label %30, label %35
30: ; preds = %25
%31 = call i32 @putchar(i8 noundef signext 32)
br label %32
32: ; preds = %30
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %25, !llvm.loop !9
35: ; preds = %25
%36 = load i32, ptr %2, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = call i32 @printbinary(i32 noundef %38)
%40 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printbinary(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb_t4_vmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"o \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c": %d \09 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printpile(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 = load i32, ptr %2, align 4
%6 = sub nsw i32 20, %5
%7 = icmp slt i32 %4, %6
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %10
%9 = call i32 @putchar(i8 noundef signext 32)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 20, %14
%16 = icmp slt i32 %13, %15
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %29
.lr.ph2: ; preds = %17
br label %21
21: ; preds = %.lr.ph2, %23
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %23
23: ; preds = %21
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %23
br label %29
29: ; preds = %._crit_edge3, %17
store i32 0, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = sub nsw i32 20, %31
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph5, label %43
.lr.ph5: ; preds = %29
br label %34
34: ; preds = %.lr.ph5, %36
%35 = call i32 @putchar(i8 noundef signext 32)
br label %36
36: ; preds = %34
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = sub nsw i32 20, %40
%42 = icmp slt i32 %39, %41
br i1 %42, label %34, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %36
br label %43
43: ; preds = %._crit_edge6, %29
%44 = load i32, ptr %2, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44)
%46 = load i32, ptr %2, align 4
%47 = call i32 @printbinary(i32 noundef %46)
%48 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printbinary(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc2wezh11.c'
source_filename = "/tmp/tmpc2wezh11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@BadWindow = dso_local global i32 0, align 4
@X_SetInputFocus = dso_local global i32 0, align 4
@BadMatch = dso_local global i32 0, align 4
@X_ConfigureWindow = dso_local global i32 0, align 4
@X_GrabKey = dso_local global i32 0, align 4
@BadAccess = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"xmonad: X11 error: %s, request code=%d, error code=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x11_extras_xerror(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @XGetErrorText(ptr noundef %7, i32 noundef %10, ptr noundef %11, i32 noundef 1000)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = load i32, ptr @BadWindow, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %54, label %18
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @X_SetInputFocus, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @BadMatch, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %54, label %30
30: ; preds = %24, %18
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 1
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr @X_ConfigureWindow, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr @BadMatch, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %54, label %42
42: ; preds = %36, %30
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr @X_GrabKey, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %55
48: ; preds = %42
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds %struct.TYPE_3__, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr @BadAccess, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %55
54: ; preds = %48, %36, %24, %2
store i32 0, ptr %3, align 4
br label %65
55: ; preds = %48, %42
%56 = load i32, ptr @stderr, align 4
%57 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i32 0, i32 1
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, ptr noundef %57, i32 noundef %60, i32 noundef %63)
store i32 0, ptr %3, align 4
br label %65
65: ; preds = %55, %54
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i32 @XGetErrorText(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc2wezh11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@BadWindow = dso_local global i32 0, align 4
@X_SetInputFocus = dso_local global i32 0, align 4
@BadMatch = dso_local global i32 0, align 4
@X_ConfigureWindow = dso_local global i32 0, align 4
@X_GrabKey = dso_local global i32 0, align 4
@BadAccess = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"xmonad: X11 error: %s, request code=%d, error code=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x11_extras_xerror(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @XGetErrorText(ptr noundef %7, i32 noundef %10, ptr noundef %11, i32 noundef 1000)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = load i32, ptr @BadWindow, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %54, label %18
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @X_SetInputFocus, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @BadMatch, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %54, label %30
30: ; preds = %24, %18
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 1
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr @X_ConfigureWindow, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr @BadMatch, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %54, label %42
42: ; preds = %36, %30
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr @X_GrabKey, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %55
48: ; preds = %42
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds %struct.TYPE_3__, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr @BadAccess, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %55
54: ; preds = %48, %36, %24, %2
store i32 0, ptr %3, align 4
br label %65
55: ; preds = %48, %42
%56 = load i32, ptr @stderr, align 4
%57 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i32 0, i32 1
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, ptr noundef %57, i32 noundef %60, i32 noundef %63)
store i32 0, ptr %3, align 4
br label %65
65: ; preds = %55, %54
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i32 @XGetErrorText(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpurswl_p6.c'
source_filename = "/tmp/tmpurswl_p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_time_slice() #0 {
%1 = alloca i32, align 4
%2 = call i32 @time(ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = sdiv i32 %3, 30
ret i32 %4
}
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpurswl_p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_time_slice() #0 {
%1 = alloca i32, align 4
%2 = call i32 @time(ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = sdiv i32 %3, 30
ret i32 %4
}
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp79ejub5v.c'
source_filename = "/tmp/tmp79ejub5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@FD_SETSIZE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79ejub5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@FD_SETSIZE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptp80esv_.c'
source_filename = "/tmp/tmptp80esv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appendtostring(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %11, %2
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptp80esv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appendtostring(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %11, %2
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprz97jmqn.c'
source_filename = "/tmp/tmprz97jmqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Vertex Distance from Source\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d \09\09 %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArr(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, double noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
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/tmprz97jmqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Vertex Distance from Source\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d \09\09 %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArr(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, double noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx8evoab1.c'
source_filename = "/tmp/tmpx8evoab1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"Entrez un nombre entier (0 pour terminer):\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"factorielle_iteractive(%2d) = %15d\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"factorielle_recursive(%2d) = %15d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %14, %0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @factorielle_iteractive(i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @factorielle_recursive(i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10, i32 noundef %12)
br label %14
14: ; preds = %3
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %3, label %17, !llvm.loop !6
17: ; preds = %14
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @factorielle_iteractive(i32 noundef) #1
declare i32 @factorielle_recursive(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/tmpx8evoab1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"Entrez un nombre entier (0 pour terminer):\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"factorielle_iteractive(%2d) = %15d\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"factorielle_recursive(%2d) = %15d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %14, %0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @factorielle_iteractive(i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @factorielle_recursive(i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10, i32 noundef %12)
br label %14
14: ; preds = %3
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %3, label %17, !llvm.loop !6
17: ; preds = %14
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @factorielle_iteractive(i32 noundef) #1
declare i32 @factorielle_recursive(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/tmpb4alj0td.c'
source_filename = "/tmp/tmpb4alj0td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0) #0 {
%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 %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
br label %7
7: ; preds = %26, %1
%8 = call i64 (...) @unknown1()
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %27
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %10
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %23, %10
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %28, %29
%31 = zext i1 %30 to i32
%32 = call i32 @static_assert(i32 noundef %31)
ret void
}
declare i64 @unknown1(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4alj0td.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0) #0 {
%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 %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 i64 (...) @unknown1()
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %25
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %9
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %22, %9
%26 = call i64 (...) @unknown1()
%27 = icmp ne i64 %26, 0
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %28
28: ; preds = %._crit_edge, %1
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sge i32 %29, %30
%32 = zext i1 %31 to i32
%33 = call i32 @static_assert(i32 noundef %32)
ret void
}
declare i64 @unknown1(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbpe73aql.c'
source_filename = "/tmp/tmpbpe73aql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please insert a value number %i: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"The sum is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x float], align 16
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %18, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %21
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
%12 = sitofp i32 %11 to float
%13 = call i32 @printf(ptr noundef @.str, float noundef %12)
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x float], ptr %2, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %9
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %32, %21
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x float], ptr %2, i64 0, i64 %27
%29 = load float, ptr %28, align 4
%30 = load float, ptr %3, align 4
%31 = fadd float %30, %29
store float %31, ptr %3, align 4
br label %32
32: ; preds = %25
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %22, !llvm.loop !8
35: ; preds = %22
%36 = load float, ptr %3, align 4
%37 = call i32 @printf(ptr noundef @.str.2, float noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbpe73aql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please insert a value number %i: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"The sum is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x float], align 16
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %17
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
%11 = sitofp i32 %10 to float
%12 = call i32 @printf(ptr noundef @.str, float noundef %11)
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10 x float], ptr %2, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %.lr.ph2, label %37
.lr.ph2: ; preds = %22
br label %25
25: ; preds = %.lr.ph2, %32
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x float], ptr %2, i64 0, i64 %27
%29 = load float, ptr %28, align 4
%30 = load float, ptr %3, align 4
%31 = fadd float %30, %29
store float %31, ptr %3, align 4
br label %32
32: ; preds = %25
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %35, 10
br i1 %36, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %22
%38 = load float, ptr %3, align 4
%39 = call i32 @printf(ptr noundef @.str.2, float noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp46beyoew.c'
source_filename = "/tmp/tmp46beyoew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oct_decimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %5, align 8
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %15, %1
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %6
br label %15
15: ; preds = %14
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %43, %18
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %48
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, 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 = sub nsw i32 %33, 48
%35 = load i32, ptr %4, align 4
%36 = sub nsw i32 %35, 1
%37 = call signext i8 @pow(i32 noundef 8, i32 noundef %36)
%38 = sext i8 %37 to i32
%39 = mul nsw i32 %34, %38
%40 = sext i32 %39 to i64
%41 = load i64, ptr %5, align 8
%42 = add i64 %41, %40
store i64 %42, ptr %5, align 8
br label %43
43: ; preds = %27
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %4, align 4
br label %19, !llvm.loop !8
48: ; preds = %19
%49 = load i64, ptr %5, align 8
ret i64 %49
}
declare signext i8 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46beyoew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oct_decimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %5, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %14
br label %14
14: ; preds = %13
%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 %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, 0
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %1
store i32 0, ptr %3, align 4
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, 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, 0
br i1 %31, label %.lr.ph2, label %60
.lr.ph2: ; preds = %24
br label %32
32: ; preds = %.lr.ph2, %48
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, 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 = sub nsw i32 %38, 48
%40 = load i32, ptr %4, align 4
%41 = sub nsw i32 %40, 1
%42 = call signext i8 @pow(i32 noundef 8, i32 noundef %41)
%43 = sext i8 %42 to i32
%44 = mul nsw i32 %39, %43
%45 = sext i32 %44 to i64
%46 = load i64, ptr %5, align 8
%47 = add i64 %46, %45
store i64 %47, ptr %5, align 8
br label %48
48: ; preds = %32
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %4, align 4
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br i1 %59, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %60
60: ; preds = %._crit_edge3, %24
%61 = load i64, ptr %5, align 8
ret i64 %61
}
declare signext i8 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplm664rnk.c'
source_filename = "/tmp/tmplm664rnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mySqrt(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 @sqrt(i32 noundef %3)
ret i32 %4
}
declare i32 @sqrt(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/tmplm664rnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mySqrt(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 @sqrt(i32 noundef %3)
ret i32 %4
}
declare i32 @sqrt(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/tmpjmq2zhc3.c'
source_filename = "/tmp/tmpjmq2zhc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIWriteFIFOCountGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074593792
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 516
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
ret i32 %11
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjmq2zhc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIWriteFIFOCountGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074593792
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 516
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
ret i32 %11
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9kpo9euw.c'
source_filename = "/tmp/tmp9kpo9euw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padcon_get_quaddobl_estimated_distance(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 2, ptr %4, align 4
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 887, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9kpo9euw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padcon_get_quaddobl_estimated_distance(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 2, ptr %4, align 4
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 887, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmps33i8hir.c'
source_filename = "/tmp/tmps33i8hir.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Error: Memory exceeded (%d for %s)!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_malloc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call ptr @calloc(i32 noundef %6, i32 noundef 1)
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %10
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr %3, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15, ptr noundef %16)
%18 = call i32 @exit(i32 noundef 2) #3
unreachable
19: ; preds = %10, %2
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps33i8hir.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Error: Memory exceeded (%d for %s)!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_malloc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call ptr @calloc(i32 noundef %6, i32 noundef 1)
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %10
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr %3, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15, ptr noundef %16)
%18 = call i32 @exit(i32 noundef 2) #3
unreachable
19: ; preds = %10, %2
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ah2ffun.c'
source_filename = "/tmp/tmp8ah2ffun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call ptr (...) @return_2d_array()
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %27, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %9, label %30
9: ; preds = %6
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %23, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [3 x i32], ptr %14, i64 %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %13
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %10, !llvm.loop !6
26: ; preds = %10
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %6, !llvm.loop !8
30: ; preds = %6
ret i32 0
}
declare ptr @return_2d_array(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ah2ffun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call ptr (...) @return_2d_array()
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %27
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %21
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x i32], ptr %12, i64 %14
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
br label %21
21: ; preds = %11
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 3
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %8
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 3
br i1 %31, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %0
ret i32 0
}
declare ptr @return_2d_array(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp13ilbam2.c'
source_filename = "/tmp/tmp13ilbam2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x8c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x8c() #0 {
%1 = call i64 @islower(i32 noundef 140)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 705, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmp13ilbam2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x8c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x8c() #0 {
%1 = call i64 @islower(i32 noundef 140)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 705, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmp5sbr5w5w.c'
source_filename = "/tmp/tmp5sbr5w5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = ptrtoint ptr %12 to i64
%15 = ptrtoint ptr %13 to i64
%16 = sub i64 %14, %15
%17 = sdiv exact i64 %16, 4
%18 = sdiv i64 %17, 2
%19 = getelementptr inbounds i32, ptr %11, i64 %18
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %9, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %4
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %23, align 4
br label %26
26: ; preds = %22, %4
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %8, align 8
%29 = icmp ule ptr %27, %28
br i1 %29, label %30, label %56
30: ; preds = %26
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load ptr, ptr %10, align 8
store ptr %36, ptr %5, align 8
br label %57
37: ; preds = %30
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %49
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 -1
%47 = load ptr, ptr %9, align 8
%48 = call ptr @find(i32 noundef %43, ptr noundef %44, ptr noundef %46, ptr noundef %47)
store ptr %48, ptr %5, align 8
br label %57
49: ; preds = %37
%50 = load i32, ptr %6, align 4
%51 = load ptr, ptr %10, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 1
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %9, align 8
%55 = call ptr @find(i32 noundef %50, ptr noundef %52, ptr noundef %53, ptr noundef %54)
store ptr %55, ptr %5, align 8
br label %57
56: ; preds = %26
store ptr null, ptr %5, align 8
br label %57
57: ; preds = %56, %49, %42, %35
%58 = load ptr, ptr %5, align 8
ret ptr %58
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5sbr5w5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = ptrtoint ptr %12 to i64
%15 = ptrtoint ptr %13 to i64
%16 = sub i64 %14, %15
%17 = sdiv exact i64 %16, 4
%18 = sdiv i64 %17, 2
%19 = getelementptr inbounds i32, ptr %11, i64 %18
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %9, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %4
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %23, align 4
br label %26
26: ; preds = %22, %4
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %8, align 8
%29 = icmp ule ptr %27, %28
br i1 %29, label %30, label %56
30: ; preds = %26
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load ptr, ptr %10, align 8
store ptr %36, ptr %5, align 8
br label %57
37: ; preds = %30
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %49
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 -1
%47 = load ptr, ptr %9, align 8
%48 = call ptr @find(i32 noundef %43, ptr noundef %44, ptr noundef %46, ptr noundef %47)
store ptr %48, ptr %5, align 8
br label %57
49: ; preds = %37
%50 = load i32, ptr %6, align 4
%51 = load ptr, ptr %10, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 1
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %9, align 8
%55 = call ptr @find(i32 noundef %50, ptr noundef %52, ptr noundef %53, ptr noundef %54)
store ptr %55, ptr %5, align 8
br label %57
56: ; preds = %26
store ptr null, ptr %5, align 8
br label %57
57: ; preds = %56, %49, %42, %35
%58 = load ptr, ptr %5, align 8
ret ptr %58
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4meljqxq.c'
source_filename = "/tmp/tmp4meljqxq.c"
target datalayout = "e-m:e-p270: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/tmp4meljqxq.c"
target datalayout = "e-m:e-p270: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/tmp91o6sf5n.c'
source_filename = "/tmp/tmp91o6sf5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @motMaj(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
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %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 %24
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 i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call signext i8 @toupper(i8 noundef signext %15)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp91o6sf5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @motMaj(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
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 %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call signext i8 @toupper(i8 noundef signext %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 %15, ptr %19, align 1
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_u89_u8p.c'
source_filename = "/tmp/tmp_u89_u8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Argc is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Arg %d is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Ok, goodbye.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MyMain(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_u89_u8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Argc is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Arg %d is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Ok, goodbye.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MyMain(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxf2jwf4y.c'
source_filename = "/tmp/tmpxf2jwf4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ebim_lookup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @__ebim_lookup(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @__ebim_lookup(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxf2jwf4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ebim_lookup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @__ebim_lookup(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @__ebim_lookup(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxknqaqfu.c'
source_filename = "/tmp/tmpxknqaqfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@EBADF = 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 @_lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr @STDOUT_FILENO, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %3
%12 = load i32, ptr @STDERR_FILENO, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %11, %3
store i32 0, ptr %4, align 4
br label %18
16: ; preds = %11
%17 = load i32, ptr @EBADF, align 4
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxknqaqfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@EBADF = 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 @_lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr @STDOUT_FILENO, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %3
%12 = load i32, ptr @STDERR_FILENO, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %11, %3
store i32 0, ptr %4, align 4
br label %18
16: ; preds = %11
%17 = load i32, ptr @EBADF, align 4
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvqpgo_lw.c'
source_filename = "/tmp/tmpvqpgo_lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bmodd(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
store i64 0, ptr %14, align 8
br label %17
17: ; preds = %83, %6
%18 = load i64, ptr %14, align 8
%19 = load i64, ptr %9, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %21, label %86
21: ; preds = %17
store i64 0, ptr %13, align 8
br label %22
22: ; preds = %79, %21
%23 = load i64, ptr %13, align 8
%24 = load i64, ptr %10, align 8
%25 = icmp slt i64 %23, %24
br i1 %25, label %26, label %82
26: ; preds = %22
%27 = load ptr, ptr %7, align 8
%28 = load i64, ptr %14, align 8
%29 = load i64, ptr %14, align 8
%30 = load i64, ptr %11, align 8
%31 = mul nsw i64 %29, %30
%32 = add nsw i64 %28, %31
%33 = getelementptr inbounds double, ptr %27, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i64, ptr %14, align 8
%37 = load i64, ptr %13, align 8
%38 = load i64, ptr %12, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %36, %39
%41 = getelementptr inbounds double, ptr %35, i64 %40
%42 = load double, ptr %41, align 8
%43 = fdiv double %42, %34
store double %43, ptr %41, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i64, ptr %14, align 8
%46 = load i64, ptr %13, align 8
%47 = load i64, ptr %12, align 8
%48 = mul nsw i64 %46, %47
%49 = add nsw i64 %45, %48
%50 = getelementptr inbounds double, ptr %44, i64 %49
%51 = load double, ptr %50, align 8
%52 = fneg double %51
store double %52, ptr %16, align 8
%53 = load i64, ptr %9, align 8
%54 = load i64, ptr %14, align 8
%55 = sub nsw i64 %53, %54
%56 = sub nsw i64 %55, 1
store i64 %56, ptr %15, align 8
%57 = load ptr, ptr %8, align 8
%58 = load i64, ptr %14, align 8
%59 = add nsw i64 %58, 1
%60 = load i64, ptr %13, align 8
%61 = load i64, ptr %12, align 8
%62 = mul nsw i64 %60, %61
%63 = add nsw i64 %59, %62
%64 = getelementptr inbounds double, ptr %57, i64 %63
%65 = load ptr, ptr %7, align 8
%66 = load i64, ptr %14, align 8
%67 = add nsw i64 %66, 1
%68 = load i64, ptr %14, align 8
%69 = load i64, ptr %11, align 8
%70 = mul nsw i64 %68, %69
%71 = add nsw i64 %67, %70
%72 = getelementptr inbounds double, ptr %65, i64 %71
%73 = load i64, ptr %9, align 8
%74 = load i64, ptr %14, align 8
%75 = sub nsw i64 %73, %74
%76 = sub nsw i64 %75, 1
%77 = load double, ptr %16, align 8
%78 = call i32 @daxpy(ptr noundef %64, ptr noundef %72, i64 noundef %76, double noundef %77)
br label %79
79: ; preds = %26
%80 = load i64, ptr %13, align 8
%81 = add nsw i64 %80, 1
store i64 %81, ptr %13, align 8
br label %22, !llvm.loop !6
82: ; preds = %22
br label %83
83: ; preds = %82
%84 = load i64, ptr %14, align 8
%85 = add nsw i64 %84, 1
store i64 %85, ptr %14, align 8
br label %17, !llvm.loop !8
86: ; preds = %17
ret void
}
declare i32 @daxpy(ptr noundef, ptr noundef, i64 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvqpgo_lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bmodd(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
store i64 0, ptr %14, align 8
%17 = load i64, ptr %14, align 8
%18 = load i64, ptr %9, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %.lr.ph2, label %90
.lr.ph2: ; preds = %6
br label %20
20: ; preds = %.lr.ph2, %84
store i64 0, ptr %13, align 8
%21 = load i64, ptr %13, align 8
%22 = load i64, ptr %10, align 8
%23 = icmp slt i64 %21, %22
br i1 %23, label %.lr.ph, label %83
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %77
%25 = load ptr, ptr %7, align 8
%26 = load i64, ptr %14, align 8
%27 = load i64, ptr %14, align 8
%28 = load i64, ptr %11, align 8
%29 = mul nsw i64 %27, %28
%30 = add nsw i64 %26, %29
%31 = getelementptr inbounds double, ptr %25, i64 %30
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %8, align 8
%34 = load i64, ptr %14, align 8
%35 = load i64, ptr %13, align 8
%36 = load i64, ptr %12, align 8
%37 = mul nsw i64 %35, %36
%38 = add nsw i64 %34, %37
%39 = getelementptr inbounds double, ptr %33, i64 %38
%40 = load double, ptr %39, align 8
%41 = fdiv double %40, %32
store double %41, ptr %39, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i64, ptr %14, align 8
%44 = load i64, ptr %13, align 8
%45 = load i64, ptr %12, align 8
%46 = mul nsw i64 %44, %45
%47 = add nsw i64 %43, %46
%48 = getelementptr inbounds double, ptr %42, i64 %47
%49 = load double, ptr %48, align 8
%50 = fneg double %49
store double %50, ptr %16, align 8
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %14, align 8
%53 = sub nsw i64 %51, %52
%54 = sub nsw i64 %53, 1
store i64 %54, ptr %15, align 8
%55 = load ptr, ptr %8, align 8
%56 = load i64, ptr %14, align 8
%57 = add nsw i64 %56, 1
%58 = load i64, ptr %13, align 8
%59 = load i64, ptr %12, align 8
%60 = mul nsw i64 %58, %59
%61 = add nsw i64 %57, %60
%62 = getelementptr inbounds double, ptr %55, i64 %61
%63 = load ptr, ptr %7, align 8
%64 = load i64, ptr %14, align 8
%65 = add nsw i64 %64, 1
%66 = load i64, ptr %14, align 8
%67 = load i64, ptr %11, align 8
%68 = mul nsw i64 %66, %67
%69 = add nsw i64 %65, %68
%70 = getelementptr inbounds double, ptr %63, i64 %69
%71 = load i64, ptr %9, align 8
%72 = load i64, ptr %14, align 8
%73 = sub nsw i64 %71, %72
%74 = sub nsw i64 %73, 1
%75 = load double, ptr %16, align 8
%76 = call i32 @daxpy(ptr noundef %62, ptr noundef %70, i64 noundef %74, double noundef %75)
br label %77
77: ; preds = %24
%78 = load i64, ptr %13, align 8
%79 = add nsw i64 %78, 1
store i64 %79, ptr %13, align 8
%80 = load i64, ptr %13, align 8
%81 = load i64, ptr %10, align 8
%82 = icmp slt i64 %80, %81
br i1 %82, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %20
br label %84
84: ; preds = %83
%85 = load i64, ptr %14, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %14, align 8
%87 = load i64, ptr %14, align 8
%88 = load i64, ptr %9, align 8
%89 = icmp slt i64 %87, %88
br i1 %89, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %90
90: ; preds = %._crit_edge3, %6
ret void
}
declare i32 @daxpy(ptr noundef, ptr noundef, i64 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyqgs2gke.c'
source_filename = "/tmp/tmpyqgs2gke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d EARTHS\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 [255 x i8], align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %11
11: ; preds = %16, %2
%12 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%13 = load i32, ptr @stdin, align 4
%14 = call ptr @fgets(ptr noundef %12, i32 noundef 255, i32 noundef %13)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %28
16: ; preds = %11
%17 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @sscanf(ptr noundef %17, ptr noundef @.str, ptr noundef %7, ptr noundef %8)
%19 = load double, ptr %7, align 8
%20 = fmul double 0x401921FB53C8D4F1, %19
%21 = load double, ptr %8, align 8
%22 = fmul double %20, %21
store double %22, ptr %10, align 8
%23 = load double, ptr %10, align 8
%24 = fdiv double %23, 1.969350e+08
store double %24, ptr %9, align 8
%25 = load double, ptr %9, align 8
%26 = fptosi double %25 to i32
%27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26)
br label %11, !llvm.loop !6
28: ; preds = %11
ret i32 0
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqgs2gke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d EARTHS\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 [255 x i8], align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%12 = load i32, ptr @stdin, align 4
%13 = call ptr @fgets(ptr noundef %11, i32 noundef 255, i32 noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %15
%16 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7, ptr noundef %8)
%18 = load double, ptr %7, align 8
%19 = fmul double 0x401921FB53C8D4F1, %18
%20 = load double, ptr %8, align 8
%21 = fmul double %19, %20
store double %21, ptr %10, align 8
%22 = load double, ptr %10, align 8
%23 = fdiv double %22, 1.969350e+08
store double %23, ptr %9, align 8
%24 = load double, ptr %9, align 8
%25 = fptosi double %24 to i32
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr @stdin, align 4
%28 = call ptr @fgets(ptr noundef %11, i32 noundef 255, i32 noundef %27)
%29 = icmp ne ptr %28, null
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %30
30: ; preds = %._crit_edge, %2
ret i32 0
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7vnsdrpx.c'
source_filename = "/tmp/tmp7vnsdrpx.c"
target datalayout = "e-m:e-p270: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/tmp7vnsdrpx.c"
target datalayout = "e-m:e-p270: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/tmp4ggr5k70.c'
source_filename = "/tmp/tmp4ggr5k70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @src_long8_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fread(ptr noundef %6, i64 noundef 1, i64 noundef 8, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = shl i32 %12, 8
%14 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 1
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = add nsw i32 %13, %16
%18 = shl i32 %17, 8
%19 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 2
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = add nsw i32 %18, %21
%23 = shl i32 %22, 8
%24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 3
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = add nsw i32 %23, %26
%28 = shl i32 %27, 8
%29 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 4
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = add nsw i32 %28, %31
%33 = shl i32 %32, 8
%34 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 5
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = add nsw i32 %33, %36
%38 = shl i32 %37, 8
%39 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 6
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = add nsw i32 %38, %41
%43 = shl i32 %42, 8
%44 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 7
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = add nsw i32 %43, %46
%48 = load ptr, ptr %4, align 8
store i32 %47, ptr %48, align 4
ret void
}
declare i32 @fread(ptr noundef, i64 noundef, i64 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/tmp4ggr5k70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @src_long8_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fread(ptr noundef %6, i64 noundef 1, i64 noundef 8, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = shl i32 %12, 8
%14 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 1
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = add nsw i32 %13, %16
%18 = shl i32 %17, 8
%19 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 2
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = add nsw i32 %18, %21
%23 = shl i32 %22, 8
%24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 3
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = add nsw i32 %23, %26
%28 = shl i32 %27, 8
%29 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 4
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = add nsw i32 %28, %31
%33 = shl i32 %32, 8
%34 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 5
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = add nsw i32 %33, %36
%38 = shl i32 %37, 8
%39 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 6
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = add nsw i32 %38, %41
%43 = shl i32 %42, 8
%44 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 7
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = add nsw i32 %43, %46
%48 = load ptr, ptr %4, align 8
store i32 %47, ptr %48, align 4
ret void
}
declare i32 @fread(ptr noundef, i64 noundef, i64 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/tmpvmzoslrv.c'
source_filename = "/tmp/tmpvmzoslrv.c"
target datalayout = "e-m:e-p270: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/tmpvmzoslrv.c"
target datalayout = "e-m:e-p270: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/tmpsy36xbep.c'
source_filename = "/tmp/tmpsy36xbep.c"
target datalayout = "e-m:e-p270: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/tmpsy36xbep.c"
target datalayout = "e-m:e-p270: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/tmpb11hwi5k.c'
source_filename = "/tmp/tmpb11hwi5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Hello from the other proceeeeeeeessss\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb11hwi5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Hello from the other proceeeeeeeessss\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_tx5btz.c'
source_filename = "/tmp/tmpb_tx5btz.c"
target datalayout = "e-m:e-p270: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/tmpb_tx5btz.c"
target datalayout = "e-m:e-p270: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/tmpn17j89qf.c'
source_filename = "/tmp/tmpn17j89qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn17j89qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgxfujfv7.c'
source_filename = "/tmp/tmpgxfujfv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setegid(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 @setregid(i32 noundef -1, i32 noundef %3)
ret i32 %4
}
declare i32 @setregid(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/tmpgxfujfv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setegid(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 @setregid(i32 noundef -1, i32 noundef %3)
ret i32 %4
}
declare i32 @setregid(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.