llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp3xcywxo1.c'
source_filename = "/tmp/tmp3xcywxo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @boom() #0 {
%1 = alloca [65536 x i8], align 16
%2 = call i32 @vfork() #2
ret void
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { returns_twice }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xcywxo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @boom() #0 {
%1 = alloca [65536 x i8], align 16
%2 = call i32 @vfork() #2
ret void
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { returns_twice }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_7y_5uc.c'
source_filename = "/tmp/tmpm_7y_5uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xfd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xfd() #0 {
%1 = call i64 @isalpha(i32 noundef 253)
%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 1270, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpm_7y_5uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xfd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xfd() #0 {
%1 = call i64 @isalpha(i32 noundef 253)
%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 1270, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmps4e7gx9t.c'
source_filename = "/tmp/tmps4e7gx9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"C\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"de_DE.ISO-8859-1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"de_DE.UTF-8\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ja_JP.EUC-JP\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 @do_test(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = call i32 @do_test(ptr noundef @.str.1)
%5 = load i32, ptr %2, align 4
%6 = or i32 %5, %4
store i32 %6, ptr %2, align 4
%7 = call i32 @do_test(ptr noundef @.str.2)
%8 = load i32, ptr %2, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = call i32 @do_test(ptr noundef @.str.3)
%11 = load i32, ptr %2, align 4
%12 = or i32 %11, %10
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @do_test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4e7gx9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"C\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"de_DE.ISO-8859-1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"de_DE.UTF-8\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ja_JP.EUC-JP\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 @do_test(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = call i32 @do_test(ptr noundef @.str.1)
%5 = load i32, ptr %2, align 4
%6 = or i32 %5, %4
store i32 %6, ptr %2, align 4
%7 = call i32 @do_test(ptr noundef @.str.2)
%8 = load i32, ptr %2, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = call i32 @do_test(ptr noundef @.str.3)
%11 = load i32, ptr %2, align 4
%12 = or i32 %11, %10
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @do_test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjbw_nn9x.c'
source_filename = "/tmp/tmpjbw_nn9x.c"
target datalayout = "e-m:e-p270: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/tmpjbw_nn9x.c"
target datalayout = "e-m:e-p270: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/tmpa2rob3qy.c'
source_filename = "/tmp/tmpa2rob3qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtowdays(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %34, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, 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 %13, label %16
13: ; preds = %5
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 7
br label %16
16: ; preds = %13, %5
%17 = phi i1 [ false, %5 ], [ %15, %13 ]
br i1 %17, label %18, label %37
18: ; preds = %16
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @strchr(ptr noundef @.str, i8 noundef signext %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %18
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
%29 = srem i32 %28, 7
%30 = shl i32 1, %29
%31 = load i32, ptr %4, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %26, %18
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
br label %5, !llvm.loop !6
37: ; preds = %16
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa2rob3qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtowdays(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %34, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, 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 %13, label %16
13: ; preds = %5
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 7
br label %16
16: ; preds = %13, %5
%17 = phi i1 [ false, %5 ], [ %15, %13 ]
br i1 %17, label %18, label %37
18: ; preds = %16
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @strchr(ptr noundef @.str, i8 noundef signext %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %18
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
%29 = srem i32 %28, 7
%30 = shl i32 1, %29
%31 = load i32, ptr %4, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %26, %18
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
br label %5, !llvm.loop !6
37: ; preds = %16
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @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"}
|
; ModuleID = '/tmp/tmpobulwak0.c'
source_filename = "/tmp/tmpobulwak0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%u(%u,%u,%u,b000)\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"_AT1604_ReadAZ iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vRcAT1604_ReadAZ(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = call ptr @malloc(i32 noundef 100)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = load i8, ptr %5, align 1
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef 9407, i8 noundef zeroext %14, i32 noundef %15, i32 noundef %16)
store i32 %17, ptr %9, align 4
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %9, align 4
%20 = call i32 @iDoRemoteFunc(ptr noundef %18, i32 noundef %19, i32 noundef 2)
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %11, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load i32, ptr %10, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %4
%26 = load i32, ptr %10, align 4
%27 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %26)
br label %33
28: ; preds = %4
%29 = load ptr, ptr %8, align 8
%30 = call i32 @psGetParaBuf(i32 noundef 5)
%31 = load i32, ptr %7, align 4
%32 = call i32 @memcpy(ptr noundef %29, i32 noundef %30, i32 noundef %31)
br label %33
33: ; preds = %28, %25
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @psGetParaBuf(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/tmpobulwak0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%u(%u,%u,%u,b000)\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"_AT1604_ReadAZ iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vRcAT1604_ReadAZ(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = call ptr @malloc(i32 noundef 100)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = load i8, ptr %5, align 1
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef 9407, i8 noundef zeroext %14, i32 noundef %15, i32 noundef %16)
store i32 %17, ptr %9, align 4
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %9, align 4
%20 = call i32 @iDoRemoteFunc(ptr noundef %18, i32 noundef %19, i32 noundef 2)
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %11, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load i32, ptr %10, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %4
%26 = load i32, ptr %10, align 4
%27 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %26)
br label %33
28: ; preds = %4
%29 = load ptr, ptr %8, align 8
%30 = call i32 @psGetParaBuf(i32 noundef 5)
%31 = load i32, ptr %7, align 4
%32 = call i32 @memcpy(ptr noundef %29, i32 noundef %30, i32 noundef %31)
br label %33
33: ; preds = %28, %25
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @psGetParaBuf(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/tmpxzryp5za.c'
source_filename = "/tmp/tmpxzryp5za.c"
target datalayout = "e-m:e-p270: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.sysinfo = type { i32 }
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_storage = type { i32 }
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"receive error\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"DATE\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Sending date: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"UPTIME\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Sending Uptime: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca %struct.sysinfo, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca %struct.sockaddr_storage, align 4
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
%18 = alloca [512 x i8], align 16
%19 = alloca [512 x i8], align 16
%20 = 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
%21 = load i32, ptr @INET6_ADDRSTRLEN, align 4
%22 = zext i32 %21 to i64
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %10, align 8
%24 = alloca i8, i64 %22, align 16
store i64 %22, ptr %11, align 8
%25 = call i32 @sysinfo(ptr noundef %12)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr @AF_INET, align 4
%31 = load i32, ptr @SOCK_DGRAM, align 4
%32 = call i32 @socket(i32 noundef %30, i32 noundef %31, i32 noundef 0)
store i32 %32, ptr %7, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %2
%35 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
store i32 1, ptr %13, align 4
br label %98
36: ; preds = %2
%37 = load i32, ptr @AF_INET, align 4
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2
store i32 %37, ptr %38, align 4
%39 = load i32, ptr @INADDR_ANY, align 4
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
store i32 %39, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @htons(i32 noundef %42)
%44 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
store i32 %43, ptr %44, align 4
store i32 12, ptr %9, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %9, align 4
%47 = call i64 @bind(i32 noundef %45, ptr noundef %14, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %36
%50 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
store i32 1, ptr %13, align 4
br label %98
51: ; preds = %36
br label %52
52: ; preds = %97, %51
br label %53
53: ; preds = %52
%54 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%55 = call i32 @memset(ptr noundef %54, i32 noundef 0, i32 noundef 1024)
%56 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 512)
%58 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i32 noundef 0, i32 noundef 512)
%60 = load i32, ptr %7, align 4
%61 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%62 = call i32 @recvfrom(i32 noundef %60, ptr noundef %61, i32 noundef 1024, i32 noundef 0, ptr noundef %15, ptr noundef %9)
store i32 %62, ptr %16, align 4
%63 = load i32, ptr %16, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %53
%66 = call i32 @perror(ptr noundef @.str.2)
br label %67
67: ; preds = %65, %53
%68 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%69 = call i32 @printf(ptr noundef @.str.3, ptr noundef %68)
%70 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.4)
%72 = icmp ne i32 %71, 0
br i1 %72, label %82, label %73
73: ; preds = %67
%74 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%75 = call i32 @ctime_r(ptr noundef %20, ptr noundef %74)
%76 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%77 = call i32 @printf(ptr noundef @.str.5, ptr noundef %76)
%78 = load i32, ptr %7, align 4
%79 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%80 = load i32, ptr %9, align 4
%81 = call i32 @sendto(i32 noundef %78, ptr noundef %79, i32 noundef 512, i32 noundef 0, ptr noundef %15, i32 noundef %80)
br label %82
82: ; preds = %73, %67
%83 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.6)
%85 = icmp ne i32 %84, 0
br i1 %85, label %97, label %86
86: ; preds = %82
%87 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%88 = getelementptr inbounds %struct.sysinfo, ptr %12, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = call i32 @sprintf(ptr noundef %87, ptr noundef @.str.7, i32 noundef %89)
%91 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%92 = call i32 @printf(ptr noundef @.str.8, ptr noundef %91)
%93 = load i32, ptr %7, align 4
%94 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%95 = load i32, ptr %9, align 4
%96 = call i32 @sendto(i32 noundef %93, ptr noundef %94, i32 noundef 512, i32 noundef 0, ptr noundef %15, i32 noundef %95)
br label %97
97: ; preds = %86, %82
br label %52
98: ; preds = %49, %34
%99 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %99)
%100 = load i32, ptr %3, align 4
ret i32 %100
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysinfo(ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @ctime_r(ptr noundef, ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxzryp5za.c"
target datalayout = "e-m:e-p270: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.sysinfo = type { i32 }
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_storage = type { i32 }
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"receive error\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"DATE\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Sending date: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"UPTIME\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Sending Uptime: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca %struct.sysinfo, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca %struct.sockaddr_storage, align 4
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
%18 = alloca [512 x i8], align 16
%19 = alloca [512 x i8], align 16
%20 = 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
%21 = load i32, ptr @INET6_ADDRSTRLEN, align 4
%22 = zext i32 %21 to i64
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %10, align 8
%24 = alloca i8, i64 %22, align 16
store i64 %22, ptr %11, align 8
%25 = call i32 @sysinfo(ptr noundef %12)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr @AF_INET, align 4
%31 = load i32, ptr @SOCK_DGRAM, align 4
%32 = call i32 @socket(i32 noundef %30, i32 noundef %31, i32 noundef 0)
store i32 %32, ptr %7, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %2
%35 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
store i32 1, ptr %13, align 4
br label %98
36: ; preds = %2
%37 = load i32, ptr @AF_INET, align 4
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2
store i32 %37, ptr %38, align 4
%39 = load i32, ptr @INADDR_ANY, align 4
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
store i32 %39, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @htons(i32 noundef %42)
%44 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
store i32 %43, ptr %44, align 4
store i32 12, ptr %9, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %9, align 4
%47 = call i64 @bind(i32 noundef %45, ptr noundef %14, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %36
%50 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
store i32 1, ptr %13, align 4
br label %98
51: ; preds = %36
br label %52
52: ; preds = %97, %51
br label %53
53: ; preds = %52
%54 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%55 = call i32 @memset(ptr noundef %54, i32 noundef 0, i32 noundef 1024)
%56 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 512)
%58 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i32 noundef 0, i32 noundef 512)
%60 = load i32, ptr %7, align 4
%61 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%62 = call i32 @recvfrom(i32 noundef %60, ptr noundef %61, i32 noundef 1024, i32 noundef 0, ptr noundef %15, ptr noundef %9)
store i32 %62, ptr %16, align 4
%63 = load i32, ptr %16, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %53
%66 = call i32 @perror(ptr noundef @.str.2)
br label %67
67: ; preds = %65, %53
%68 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%69 = call i32 @printf(ptr noundef @.str.3, ptr noundef %68)
%70 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.4)
%72 = icmp ne i32 %71, 0
br i1 %72, label %82, label %73
73: ; preds = %67
%74 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%75 = call i32 @ctime_r(ptr noundef %20, ptr noundef %74)
%76 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%77 = call i32 @printf(ptr noundef @.str.5, ptr noundef %76)
%78 = load i32, ptr %7, align 4
%79 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%80 = load i32, ptr %9, align 4
%81 = call i32 @sendto(i32 noundef %78, ptr noundef %79, i32 noundef 512, i32 noundef 0, ptr noundef %15, i32 noundef %80)
br label %82
82: ; preds = %73, %67
%83 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.6)
%85 = icmp ne i32 %84, 0
br i1 %85, label %97, label %86
86: ; preds = %82
%87 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%88 = getelementptr inbounds %struct.sysinfo, ptr %12, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = call i32 @sprintf(ptr noundef %87, ptr noundef @.str.7, i32 noundef %89)
%91 = getelementptr inbounds [512 x i8], ptr %18, i64 0, i64 0
%92 = call i32 @printf(ptr noundef @.str.8, ptr noundef %91)
%93 = load i32, ptr %7, align 4
%94 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%95 = load i32, ptr %9, align 4
%96 = call i32 @sendto(i32 noundef %93, ptr noundef %94, i32 noundef 512, i32 noundef 0, ptr noundef %15, i32 noundef %95)
br label %97
97: ; preds = %86, %82
br label %52
98: ; preds = %49, %34
%99 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %99)
%100 = load i32, ptr %3, align 4
ret i32 %100
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysinfo(ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @ctime_r(ptr noundef, ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdnk2lm59.c'
source_filename = "/tmp/tmpdnk2lm59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_field_value_from_identifier(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @get_text_from_identifier(i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @get_field_value(i32 noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13)
ret i32 %14
}
declare i32 @get_field_value(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_text_from_identifier(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/tmpdnk2lm59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_field_value_from_identifier(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @get_text_from_identifier(i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @get_field_value(i32 noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13)
ret i32 %14
}
declare i32 @get_field_value(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_text_from_identifier(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/tmpzz33iws8.c'
source_filename = "/tmp/tmpzz33iws8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_drumname(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
store ptr %12, ptr %8, align 8
br label %13
13: ; preds = %29, %3
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %14, %15
br i1 %16, label %17, label %30
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = srem i32 %18, 26
%20 = add nsw i32 97, %19
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
store i8 %21, ptr %22, align 1
%24 = load i32, ptr %4, align 4
%25 = sdiv i32 %24, 26
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %17
br label %30
29: ; preds = %17
br label %13, !llvm.loop !6
30: ; preds = %28, %13
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
store i8 0, ptr %31, align 1
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %5, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = trunc i64 %37 to i32
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzz33iws8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_drumname(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %20
16: ; preds = %20
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %17, %18
br i1 %19, label %20, label %..loopexit_crit_edge, !llvm.loop !6
20: ; preds = %.lr.ph, %16
%21 = load i32, ptr %4, align 4
%22 = srem i32 %21, 26
%23 = add nsw i32 97, %22
%24 = trunc i32 %23 to i8
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
store i8 %24, ptr %25, align 1
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 26
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %16
31: ; preds = %20
br label %32
..loopexit_crit_edge: ; preds = %16
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %32
32: ; preds = %.loopexit, %31
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
store i8 0, ptr %33, align 1
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %5, align 8
%37 = ptrtoint ptr %35 to i64
%38 = ptrtoint ptr %36 to i64
%39 = sub i64 %37, %38
%40 = trunc i64 %39 to i32
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmj_xohbl.c'
source_filename = "/tmp/tmpmj_xohbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close(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 @__syscall(i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1026)
ret i32 %4
}
declare i32 @__syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmj_xohbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close(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 @__syscall(i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1026)
ret i32 %4
}
declare i32 @__syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmfv_whc.c'
source_filename = "/tmp/tmpsmfv_whc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s.txt.gz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spx_reporter_full_build_file_name(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%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
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmfv_whc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s.txt.gz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spx_reporter_full_build_file_name(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%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
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp155jxu56.c'
source_filename = "/tmp/tmp155jxu56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zlib_free(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @svz_free(i32 noundef %5)
ret void
}
declare i32 @svz_free(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/tmp155jxu56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zlib_free(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @svz_free(i32 noundef %5)
ret void
}
declare i32 @svz_free(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/tmp2t9mf3uk.c'
source_filename = "/tmp/tmp2t9mf3uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"write faild\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rio_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %38, %3
%12 = load i64, ptr %6, align 8
%13 = icmp ugt i64 %12, 0
br i1 %13, label %14, label %50
14: ; preds = %11
br label %15
15: ; preds = %27, %14
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i64, ptr %6, align 8
%19 = call i32 @write(i32 noundef %16, ptr noundef %17, i64 noundef %18)
store i32 %19, ptr %9, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %25
21: ; preds = %15
%22 = load i64, ptr @errno, align 8
%23 = load i64, ptr @EINTR, align 8
%24 = icmp eq i64 %22, %23
br label %25
25: ; preds = %21, %15
%26 = phi i1 [ false, %15 ], [ %24, %21 ]
br i1 %26, label %27, label %28
27: ; preds = %25
br label %15, !llvm.loop !6
28: ; preds = %25
%29 = load i32, ptr %9, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load i64, ptr @errno, align 8
%33 = load i64, ptr @EINTR, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = call i32 @perror(ptr noundef @.str)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %31, %28
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = load i64, ptr %6, align 8
%42 = sub i64 %41, %40
store i64 %42, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = load ptr, ptr %7, align 8
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds i8, ptr %44, i64 %45
store ptr %46, ptr %7, align 8
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %8, align 4
br label %11, !llvm.loop !8
50: ; preds = %11
%51 = load i32, ptr %8, align 4
ret i32 %51
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2t9mf3uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"write faild\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rio_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load i64, ptr %6, align 8
%12 = icmp ugt i64 %11, 0
br i1 %12, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %36
br label %14
14: ; preds = %24, %13
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %6, align 8
%18 = call i32 @write(i32 noundef %15, ptr noundef %16, i64 noundef %17)
store i32 %18, ptr %9, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %24
20: ; preds = %14
%21 = load i64, ptr @errno, align 8
%22 = load i64, ptr @EINTR, align 8
%23 = icmp eq i64 %21, %22
br label %24
24: ; preds = %20, %14
%25 = phi i1 [ false, %14 ], [ %23, %20 ]
br i1 %25, label %14, label %26, !llvm.loop !6
26: ; preds = %24
%27 = load i32, ptr %9, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EINTR, align 8
%32 = icmp ne i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = call i32 @perror(ptr noundef @.str)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %29, %26
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = load i64, ptr %6, align 8
%40 = sub i64 %39, %38
store i64 %40, ptr %6, align 8
%41 = load i32, ptr %9, align 4
%42 = load ptr, ptr %7, align 8
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store ptr %44, ptr %7, align 8
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %8, align 4
%48 = load i64, ptr %6, align 8
%49 = icmp ugt i64 %48, 0
br i1 %49, label %13, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %36
br label %50
50: ; preds = %._crit_edge, %3
%51 = load i32, ptr %8, align 4
ret i32 %51
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpv_jagv4g.c'
source_filename = "/tmp/tmpv_jagv4g.c"
target datalayout = "e-m:e-p270: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.cmsghdr = type { i64, i64, i64 }
%struct.ip6_ext = type { i32 }
@IPPROTO_IPV6 = dso_local global i64 0, align 8
@IPV6_HOPOPTS = dso_local global i64 0, align 8
@IPV6_DSTOPTS = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_option_find(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @_DIAGASSERT(i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = call i32 @_DIAGASSERT(i32 noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.cmsghdr, ptr %21, i32 0, i32 0
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr @IPPROTO_IPV6, align 8
%25 = icmp ne i64 %23, %24
br i1 %25, label %38, label %26
26: ; preds = %3
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.cmsghdr, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = load i64, ptr @IPV6_HOPOPTS, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %39
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.cmsghdr, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = load i64, ptr @IPV6_DSTOPTS, align 8
%37 = icmp ne i64 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %32, %3
store i32 -1, ptr %4, align 4
br label %117
39: ; preds = %32, %26
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.cmsghdr, ptr %40, i32 0, i32 2
%42 = load i64, ptr %41, align 8
%43 = call i64 @CMSG_SPACE(i32 noundef 4)
%44 = icmp slt i64 %42, %43
br i1 %44, label %45, label %46
45: ; preds = %39
store i32 -1, ptr %4, align 4
br label %117
46: ; preds = %39
%47 = load ptr, ptr %5, align 8
%48 = call i32 @CCMSG_DATA(ptr noundef %47)
%49 = call ptr @__UNCONST(i32 noundef %48)
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds %struct.ip6_ext, ptr %50, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
%54 = shl i32 %53, 3
store i32 %54, ptr %9, align 4
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds %struct.cmsghdr, ptr %55, i32 0, i32 2
%57 = load i64, ptr %56, align 8
%58 = load i32, ptr %9, align 4
%59 = call i64 @CMSG_SPACE(i32 noundef %58)
%60 = icmp slt i64 %57, %59
br i1 %60, label %61, label %62
61: ; preds = %46
store i32 -1, ptr %4, align 4
br label %117
62: ; preds = %46
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store ptr %66, ptr %12, align 8
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %67, align 8
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %74
70: ; preds = %62
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds %struct.ip6_ext, ptr %71, i64 1
%73 = load ptr, ptr %6, align 8
store ptr %72, ptr %73, align 8
br label %88
74: ; preds = %62
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %75, align 8
%77 = load ptr, ptr %12, align 8
%78 = call i32 @ip6optlen(ptr noundef %76, ptr noundef %77)
store i32 %78, ptr %10, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %74
store i32 -1, ptr %4, align 4
br label %117
81: ; preds = %74
%82 = load ptr, ptr %6, align 8
%83 = load ptr, ptr %82, align 8
%84 = load i32, ptr %10, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load ptr, ptr %6, align 8
store ptr %86, ptr %87, align 8
br label %88
88: ; preds = %81, %70
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %89, align 8
store ptr %90, ptr %11, align 8
br label %91
91: ; preds = %110, %88
%92 = load ptr, ptr %11, align 8
%93 = load ptr, ptr %12, align 8
%94 = icmp ult ptr %92, %93
br i1 %94, label %95, label %115
95: ; preds = %91
%96 = load ptr, ptr %11, align 8
%97 = load i32, ptr %96, align 4
%98 = load i32, ptr %7, align 4
%99 = icmp eq i32 %97, %98
br i1 %99, label %100, label %103
100: ; preds = %95
%101 = load ptr, ptr %11, align 8
%102 = load ptr, ptr %6, align 8
store ptr %101, ptr %102, align 8
store i32 0, ptr %4, align 4
br label %117
103: ; preds = %95
%104 = load ptr, ptr %11, align 8
%105 = load ptr, ptr %12, align 8
%106 = call i32 @ip6optlen(ptr noundef %104, ptr noundef %105)
store i32 %106, ptr %10, align 4
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %103
store i32 -1, ptr %4, align 4
br label %117
109: ; preds = %103
br label %110
110: ; preds = %109
%111 = load i32, ptr %10, align 4
%112 = load ptr, ptr %11, align 8
%113 = sext i32 %111 to i64
%114 = getelementptr inbounds i32, ptr %112, i64 %113
store ptr %114, ptr %11, align 8
br label %91, !llvm.loop !6
115: ; preds = %91
%116 = load ptr, ptr %6, align 8
store ptr null, ptr %116, align 8
store i32 -1, ptr %4, align 4
br label %117
117: ; preds = %115, %108, %100, %80, %61, %45, %38
%118 = load i32, ptr %4, align 4
ret i32 %118
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i64 @CMSG_SPACE(i32 noundef) #1
declare ptr @__UNCONST(i32 noundef) #1
declare i32 @CCMSG_DATA(ptr noundef) #1
declare i32 @ip6optlen(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/tmpv_jagv4g.c"
target datalayout = "e-m:e-p270: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.cmsghdr = type { i64, i64, i64 }
%struct.ip6_ext = type { i32 }
@IPPROTO_IPV6 = dso_local global i64 0, align 8
@IPV6_HOPOPTS = dso_local global i64 0, align 8
@IPV6_DSTOPTS = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_option_find(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @_DIAGASSERT(i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = call i32 @_DIAGASSERT(i32 noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.cmsghdr, ptr %21, i32 0, i32 0
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr @IPPROTO_IPV6, align 8
%25 = icmp ne i64 %23, %24
br i1 %25, label %38, label %26
26: ; preds = %3
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.cmsghdr, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = load i64, ptr @IPV6_HOPOPTS, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %39
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.cmsghdr, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = load i64, ptr @IPV6_DSTOPTS, align 8
%37 = icmp ne i64 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %32, %3
store i32 -1, ptr %4, align 4
br label %119
39: ; preds = %32, %26
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.cmsghdr, ptr %40, i32 0, i32 2
%42 = load i64, ptr %41, align 8
%43 = call i64 @CMSG_SPACE(i32 noundef 4)
%44 = icmp slt i64 %42, %43
br i1 %44, label %45, label %46
45: ; preds = %39
store i32 -1, ptr %4, align 4
br label %119
46: ; preds = %39
%47 = load ptr, ptr %5, align 8
%48 = call i32 @CCMSG_DATA(ptr noundef %47)
%49 = call ptr @__UNCONST(i32 noundef %48)
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds %struct.ip6_ext, ptr %50, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
%54 = shl i32 %53, 3
store i32 %54, ptr %9, align 4
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds %struct.cmsghdr, ptr %55, i32 0, i32 2
%57 = load i64, ptr %56, align 8
%58 = load i32, ptr %9, align 4
%59 = call i64 @CMSG_SPACE(i32 noundef %58)
%60 = icmp slt i64 %57, %59
br i1 %60, label %61, label %62
61: ; preds = %46
store i32 -1, ptr %4, align 4
br label %119
62: ; preds = %46
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store ptr %66, ptr %12, align 8
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %67, align 8
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %74
70: ; preds = %62
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds %struct.ip6_ext, ptr %71, i64 1
%73 = load ptr, ptr %6, align 8
store ptr %72, ptr %73, align 8
br label %88
74: ; preds = %62
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %75, align 8
%77 = load ptr, ptr %12, align 8
%78 = call i32 @ip6optlen(ptr noundef %76, ptr noundef %77)
store i32 %78, ptr %10, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %74
store i32 -1, ptr %4, align 4
br label %119
81: ; preds = %74
%82 = load ptr, ptr %6, align 8
%83 = load ptr, ptr %82, align 8
%84 = load i32, ptr %10, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load ptr, ptr %6, align 8
store ptr %86, ptr %87, align 8
br label %88
88: ; preds = %81, %70
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %89, align 8
store ptr %90, ptr %11, align 8
%91 = load ptr, ptr %11, align 8
%92 = load ptr, ptr %12, align 8
%93 = icmp ult ptr %91, %92
br i1 %93, label %.lr.ph, label %117
.lr.ph: ; preds = %88
br label %94
94: ; preds = %.lr.ph, %109
%95 = load ptr, ptr %11, align 8
%96 = load i32, ptr %95, align 4
%97 = load i32, ptr %7, align 4
%98 = icmp eq i32 %96, %97
br i1 %98, label %99, label %102
99: ; preds = %94
%100 = load ptr, ptr %11, align 8
%101 = load ptr, ptr %6, align 8
store ptr %100, ptr %101, align 8
store i32 0, ptr %4, align 4
br label %119
102: ; preds = %94
%103 = load ptr, ptr %11, align 8
%104 = load ptr, ptr %12, align 8
%105 = call i32 @ip6optlen(ptr noundef %103, ptr noundef %104)
store i32 %105, ptr %10, align 4
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %102
store i32 -1, ptr %4, align 4
br label %119
108: ; preds = %102
br label %109
109: ; preds = %108
%110 = load i32, ptr %10, align 4
%111 = load ptr, ptr %11, align 8
%112 = sext i32 %110 to i64
%113 = getelementptr inbounds i32, ptr %111, i64 %112
store ptr %113, ptr %11, align 8
%114 = load ptr, ptr %11, align 8
%115 = load ptr, ptr %12, align 8
%116 = icmp ult ptr %114, %115
br i1 %116, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %109
br label %117
117: ; preds = %._crit_edge, %88
%118 = load ptr, ptr %6, align 8
store ptr null, ptr %118, align 8
store i32 -1, ptr %4, align 4
br label %119
119: ; preds = %117, %107, %99, %80, %61, %45, %38
%120 = load i32, ptr %4, align 4
ret i32 %120
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i64 @CMSG_SPACE(i32 noundef) #1
declare ptr @__UNCONST(i32 noundef) #1
declare i32 @CCMSG_DATA(ptr noundef) #1
declare i32 @ip6optlen(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/tmpdjc5i9o4.c'
source_filename = "/tmp/tmpdjc5i9o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udev_queue_read_seqnum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fread(ptr noundef %6, i32 noundef 8, i32 noundef 1, ptr noundef %7)
%9 = icmp ne i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdjc5i9o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udev_queue_read_seqnum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fread(ptr noundef %6, i32 noundef 8, i32 noundef 1, ptr noundef %7)
%9 = icmp ne i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyly26tw4.c'
source_filename = "/tmp/tmpyly26tw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrapper(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyly26tw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrapper(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsomzmjc0.c'
source_filename = "/tmp/tmpsomzmjc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"simplyc_test_output.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simplyc_test() #0 {
%1 = call i32 @unit_test_log_on(ptr noundef @.str)
%2 = call i32 (...) @test_suite_usage()
%3 = call i32 (...) @test_case_usage()
%4 = call i32 (...) @test_unit_test()
%5 = call i32 (...) @unit_test_all_success()
%6 = call i32 (...) @unit_test_log_off()
ret void
}
declare i32 @unit_test_log_on(ptr noundef) #1
declare i32 @test_suite_usage(...) #1
declare i32 @test_case_usage(...) #1
declare i32 @test_unit_test(...) #1
declare i32 @unit_test_all_success(...) #1
declare i32 @unit_test_log_off(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsomzmjc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"simplyc_test_output.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simplyc_test() #0 {
%1 = call i32 @unit_test_log_on(ptr noundef @.str)
%2 = call i32 (...) @test_suite_usage()
%3 = call i32 (...) @test_case_usage()
%4 = call i32 (...) @test_unit_test()
%5 = call i32 (...) @unit_test_all_success()
%6 = call i32 (...) @unit_test_log_off()
ret void
}
declare i32 @unit_test_log_on(ptr noundef) #1
declare i32 @test_suite_usage(...) #1
declare i32 @test_case_usage(...) #1
declare i32 @test_unit_test(...) #1
declare i32 @unit_test_all_success(...) #1
declare i32 @unit_test_log_off(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3oj92fbv.c'
source_filename = "/tmp/tmp3oj92fbv.c"
target datalayout = "e-m:e-p270: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/tmp3oj92fbv.c"
target datalayout = "e-m:e-p270: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/tmprl8ppm06.c'
source_filename = "/tmp/tmprl8ppm06.c"
target datalayout = "e-m:e-p270: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/tmprl8ppm06.c"
target datalayout = "e-m:e-p270: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/tmpl20y0dh4.c'
source_filename = "/tmp/tmpl20y0dh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_change_info_request_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl20y0dh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_change_info_request_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpauqbtdzk.c'
source_filename = "/tmp/tmpauqbtdzk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input file must have format:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"nx = <INTEGER>\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"k = <DOUBLE>\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"nsteps = <INTEGER>\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"wstep = <INTEGER>\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"<DOUBLE> <DOUBLE> ...\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"where there are nx doubles at the end.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quit() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmpauqbtdzk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input file must have format:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"nx = <INTEGER>\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"k = <DOUBLE>\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"nsteps = <INTEGER>\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"wstep = <INTEGER>\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"<DOUBLE> <DOUBLE> ...\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"where there are nx doubles at the end.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quit() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmpchkc3i3_.c'
source_filename = "/tmp/tmpchkc3i3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x86\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x86() #0 {
%1 = call i64 @isascii(i32 noundef 134)
%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 675, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpchkc3i3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x86\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0x86() #0 {
%1 = call i64 @isascii(i32 noundef 134)
%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 675, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpra9pl8tl.c'
source_filename = "/tmp/tmpra9pl8tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"$1$Og9RbNrT$/gNprNaDgv.hNS01Ue2gi1\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Access granted\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Access denied\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%9 = call i32 @getpass(ptr noundef @.str.1)
%10 = call ptr @crypt(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = call i32 @puts(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @crypt(i32 noundef, ptr noundef) #1
declare i32 @getpass(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpra9pl8tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"$1$Og9RbNrT$/gNprNaDgv.hNS01Ue2gi1\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Access granted\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Access denied\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%9 = call i32 @getpass(ptr noundef @.str.1)
%10 = call ptr @crypt(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = call i32 @puts(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @crypt(i32 noundef, ptr noundef) #1
declare i32 @getpass(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps3h0t5f8.c'
source_filename = "/tmp/tmps3h0t5f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\EB\B9\84\EB\A7\8C\EC\88\98\EC\B9\98\EB\8A\94 %d\EC\9E\85\EB\8B\88\EB\8B\A4.\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\EB\8B\B9\EC\8B\A0\EC\9D\80 \EB\B9\84\EB\A7\8C\EC\9D\B4\EA\B5\B0\EC\9A\94.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %16
16: ; preds = %14, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps3h0t5f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\EB\B9\84\EB\A7\8C\EC\88\98\EC\B9\98\EB\8A\94 %d\EC\9E\85\EB\8B\88\EB\8B\A4.\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\EB\8B\B9\EC\8B\A0\EC\9D\80 \EB\B9\84\EB\A7\8C\EC\9D\B4\EA\B5\B0\EC\9A\94.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %16
16: ; preds = %14, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpydy2mc0z.c'
source_filename = "/tmp/tmpydy2mc0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Coarse: EG1302A - Spring 2014\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Name: Carlos Sandoval\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Date Created: %d/%d/%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Assignment: Assignment 05\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef 28, i32 noundef 2014)
%5 = 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydy2mc0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Coarse: EG1302A - Spring 2014\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Name: Carlos Sandoval\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Date Created: %d/%d/%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Assignment: Assignment 05\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef 28, i32 noundef 2014)
%5 = 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"}
|
; ModuleID = '/tmp/tmpotx2c9ij.c'
source_filename = "/tmp/tmpotx2c9ij.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"usage: rev [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpotx2c9ij.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"usage: rev [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpowrdb515.c'
source_filename = "/tmp/tmpowrdb515.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, ptr, i32 }
@.str = private unnamed_addr constant [5 x i8] c"bfhv\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"basic_info\00", align 1
@no_argument = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"family_info\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"version\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [5 x %struct.option], align 16
%8 = alloca i8, align 1
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
%9 = getelementptr inbounds [5 x %struct.option], ptr %7, i64 0, i64 0
%10 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 0
store ptr @.str.1, ptr %10, align 16
%11 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 1
%12 = load i32, ptr @no_argument, align 4
%13 = trunc i32 %12 to i8
store i8 %13, ptr %11, align 8
%14 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 2
store ptr null, ptr %14, align 16
%15 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 3
store i32 98, ptr %15, align 8
%16 = getelementptr inbounds %struct.option, ptr %9, i64 1
%17 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 0
store ptr @.str.2, ptr %17, align 16
%18 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 1
%19 = load i32, ptr @no_argument, align 4
%20 = trunc i32 %19 to i8
store i8 %20, ptr %18, align 8
%21 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 2
store ptr null, ptr %21, align 16
%22 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 3
store i32 102, ptr %22, align 8
%23 = getelementptr inbounds %struct.option, ptr %16, i64 1
%24 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 0
store ptr @.str.3, ptr %24, align 16
%25 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 1
%26 = load i32, ptr @no_argument, align 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %25, align 8
%28 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 2
store ptr null, ptr %28, align 16
%29 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 3
store i32 104, ptr %29, align 8
%30 = getelementptr inbounds %struct.option, ptr %23, i64 1
%31 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 0
store ptr @.str.4, ptr %31, align 16
%32 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 1
%33 = load i32, ptr @no_argument, align 4
%34 = trunc i32 %33 to i8
store i8 %34, ptr %32, align 8
%35 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 2
store ptr null, ptr %35, align 16
%36 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 3
store i32 118, ptr %36, align 8
%37 = getelementptr inbounds %struct.option, ptr %30, i64 1
call void @llvm.memset.p0.i64(ptr align 16 %37, i8 0, i64 32, i1 false)
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %38, 1
br i1 %39, label %40, label %42
40: ; preds = %2
%41 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %64
42: ; preds = %2
br label %43
43: ; preds = %42
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds [5 x %struct.option], ptr %7, i64 0, i64 0
%48 = call signext i8 @getopt_long(i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef null)
store i8 %48, ptr %8, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, -1
br i1 %50, label %51, label %63
51: ; preds = %43
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
switch i32 %53, label %61 [
i32 98, label %54
i32 102, label %56
i32 118, label %58
i32 104, label %60
i32 63, label %60
]
54: ; preds = %51
%55 = call i32 (...) @show_basic_info()
store i32 0, ptr %3, align 4
br label %64
56: ; preds = %51
%57 = call i32 (...) @show_family_info()
store i32 0, ptr %3, align 4
br label %64
58: ; preds = %51
%59 = call i32 (...) @show_version_info()
store i32 0, ptr %3, align 4
br label %64
60: ; preds = %51, %51
br label %61
61: ; preds = %51, %60
%62 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %64
63: ; preds = %43
store i32 0, ptr %3, align 4
br label %64
64: ; preds = %63, %61, %58, %56, %54, %40
%65 = load i32, ptr %3, align 4
ret i32 %65
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @usage(...) #2
declare signext i8 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @show_basic_info(...) #2
declare i32 @show_family_info(...) #2
declare i32 @show_version_info(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpowrdb515.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, ptr, i32 }
@.str = private unnamed_addr constant [5 x i8] c"bfhv\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"basic_info\00", align 1
@no_argument = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"family_info\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"version\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [5 x %struct.option], align 16
%8 = alloca i8, align 1
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
%9 = getelementptr inbounds [5 x %struct.option], ptr %7, i64 0, i64 0
%10 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 0
store ptr @.str.1, ptr %10, align 16
%11 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 1
%12 = load i32, ptr @no_argument, align 4
%13 = trunc i32 %12 to i8
store i8 %13, ptr %11, align 8
%14 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 2
store ptr null, ptr %14, align 16
%15 = getelementptr inbounds %struct.option, ptr %9, i32 0, i32 3
store i32 98, ptr %15, align 8
%16 = getelementptr inbounds %struct.option, ptr %9, i64 1
%17 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 0
store ptr @.str.2, ptr %17, align 16
%18 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 1
%19 = load i32, ptr @no_argument, align 4
%20 = trunc i32 %19 to i8
store i8 %20, ptr %18, align 8
%21 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 2
store ptr null, ptr %21, align 16
%22 = getelementptr inbounds %struct.option, ptr %16, i32 0, i32 3
store i32 102, ptr %22, align 8
%23 = getelementptr inbounds %struct.option, ptr %16, i64 1
%24 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 0
store ptr @.str.3, ptr %24, align 16
%25 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 1
%26 = load i32, ptr @no_argument, align 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %25, align 8
%28 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 2
store ptr null, ptr %28, align 16
%29 = getelementptr inbounds %struct.option, ptr %23, i32 0, i32 3
store i32 104, ptr %29, align 8
%30 = getelementptr inbounds %struct.option, ptr %23, i64 1
%31 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 0
store ptr @.str.4, ptr %31, align 16
%32 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 1
%33 = load i32, ptr @no_argument, align 4
%34 = trunc i32 %33 to i8
store i8 %34, ptr %32, align 8
%35 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 2
store ptr null, ptr %35, align 16
%36 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 3
store i32 118, ptr %36, align 8
%37 = getelementptr inbounds %struct.option, ptr %30, i64 1
call void @llvm.memset.p0.i64(ptr align 16 %37, i8 0, i64 32, i1 false)
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %38, 1
br i1 %39, label %40, label %42
40: ; preds = %2
%41 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %64
42: ; preds = %2
br label %43
43: ; preds = %42
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds [5 x %struct.option], ptr %7, i64 0, i64 0
%48 = call signext i8 @getopt_long(i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef null)
store i8 %48, ptr %8, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, -1
br i1 %50, label %51, label %63
51: ; preds = %43
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
switch i32 %53, label %61 [
i32 98, label %54
i32 102, label %56
i32 118, label %58
i32 104, label %60
i32 63, label %60
]
54: ; preds = %51
%55 = call i32 (...) @show_basic_info()
store i32 0, ptr %3, align 4
br label %64
56: ; preds = %51
%57 = call i32 (...) @show_family_info()
store i32 0, ptr %3, align 4
br label %64
58: ; preds = %51
%59 = call i32 (...) @show_version_info()
store i32 0, ptr %3, align 4
br label %64
60: ; preds = %51, %51
br label %61
61: ; preds = %60, %51
%62 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %64
63: ; preds = %43
store i32 0, ptr %3, align 4
br label %64
64: ; preds = %63, %61, %58, %56, %54, %40
%65 = load i32, ptr %3, align 4
ret i32 %65
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @usage(...) #2
declare signext i8 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @show_basic_info(...) #2
declare i32 @show_family_info(...) #2
declare i32 @show_version_info(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2z0ffuuy.c'
source_filename = "/tmp/tmp2z0ffuuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genmul.prob = internal global double 0.000000e+00, align 8
@genmul.ptot = internal global double 0.000000e+00, align 8
@genmul.sum = internal global double 0.000000e+00, align 8
@genmul.i = internal global i64 0, align 8
@genmul.icat = internal global i64 0, align 8
@genmul.ntot = internal global i64 0, align 8
@.str = private unnamed_addr constant [16 x i8] c"N < 0 in GENMUL\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"NCAT <= 1 in GENMUL\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Some P(i) < 0 in GENMUL\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Some P(i) > 1 in GENMUL\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"Sum of P(i) > 1 in GENMUL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @genmul(i64 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @ftnstop(ptr noundef @.str)
br label %13
13: ; preds = %11, %4
%14 = load i64, ptr %7, align 8
%15 = icmp sle i64 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @ftnstop(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
store double 0.000000e+00, ptr @genmul.ptot, align 8
store i64 0, ptr @genmul.i, align 8
br label %19
19: ; preds = %47, %18
%20 = load i64, ptr @genmul.i, align 8
%21 = load i64, ptr %7, align 8
%22 = sub nsw i64 %21, 1
%23 = icmp slt i64 %20, %22
br i1 %23, label %24, label %50
24: ; preds = %19
%25 = load ptr, ptr %6, align 8
%26 = load i64, ptr @genmul.i, align 8
%27 = getelementptr inbounds double, ptr %25, i64 %26
%28 = load double, ptr %27, align 8
%29 = fcmp olt double %28, 0.000000e+00
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 @ftnstop(ptr noundef @.str.2)
br label %32
32: ; preds = %30, %24
%33 = load ptr, ptr %6, align 8
%34 = load i64, ptr @genmul.i, align 8
%35 = getelementptr inbounds double, ptr %33, i64 %34
%36 = load double, ptr %35, align 8
%37 = fcmp ogt double %36, 1.000000e+00
br i1 %37, label %38, label %40
38: ; preds = %32
%39 = call i32 @ftnstop(ptr noundef @.str.3)
br label %40
40: ; preds = %38, %32
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr @genmul.i, align 8
%43 = getelementptr inbounds double, ptr %41, i64 %42
%44 = load double, ptr %43, align 8
%45 = load double, ptr @genmul.ptot, align 8
%46 = fadd double %45, %44
store double %46, ptr @genmul.ptot, align 8
br label %47
47: ; preds = %40
%48 = load i64, ptr @genmul.i, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr @genmul.i, align 8
br label %19, !llvm.loop !6
50: ; preds = %19
%51 = load double, ptr @genmul.ptot, align 8
%52 = fcmp ogt double %51, 0x3FEFFFEB00000000
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 @ftnstop(ptr noundef @.str.4)
br label %55
55: ; preds = %53, %50
%56 = load i64, ptr %5, align 8
store i64 %56, ptr @genmul.ntot, align 8
store double 1.000000e+00, ptr @genmul.sum, align 8
store i64 0, ptr @genmul.i, align 8
br label %57
57: ; preds = %65, %55
%58 = load i64, ptr @genmul.i, align 8
%59 = load i64, ptr %7, align 8
%60 = icmp slt i64 %58, %59
br i1 %60, label %61, label %68
61: ; preds = %57
%62 = load ptr, ptr %8, align 8
%63 = load i64, ptr @genmul.i, align 8
%64 = getelementptr inbounds i64, ptr %62, i64 %63
store i64 0, ptr %64, align 8
br label %65
65: ; preds = %61
%66 = load i64, ptr @genmul.i, align 8
%67 = add nsw i64 %66, 1
store i64 %67, ptr @genmul.i, align 8
br label %57, !llvm.loop !8
68: ; preds = %57
store i64 0, ptr @genmul.icat, align 8
br label %69
69: ; preds = %103, %68
%70 = load i64, ptr @genmul.icat, align 8
%71 = load i64, ptr %7, align 8
%72 = sub nsw i64 %71, 1
%73 = icmp slt i64 %70, %72
br i1 %73, label %74, label %106
74: ; preds = %69
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr @genmul.icat, align 8
%77 = getelementptr inbounds double, ptr %75, i64 %76
%78 = load double, ptr %77, align 8
%79 = load double, ptr @genmul.sum, align 8
%80 = fdiv double %78, %79
store double %80, ptr @genmul.prob, align 8
%81 = load i64, ptr @genmul.ntot, align 8
%82 = load double, ptr @genmul.prob, align 8
%83 = call i64 @ignbin(i64 noundef %81, double noundef %82)
%84 = load ptr, ptr %8, align 8
%85 = load i64, ptr @genmul.icat, align 8
%86 = getelementptr inbounds i64, ptr %84, i64 %85
store i64 %83, ptr %86, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i64, ptr @genmul.icat, align 8
%89 = getelementptr inbounds i64, ptr %87, i64 %88
%90 = load i64, ptr %89, align 8
%91 = load i64, ptr @genmul.ntot, align 8
%92 = sub nsw i64 %91, %90
store i64 %92, ptr @genmul.ntot, align 8
%93 = load i64, ptr @genmul.ntot, align 8
%94 = icmp sle i64 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %74
br label %112
96: ; preds = %74
%97 = load ptr, ptr %6, align 8
%98 = load i64, ptr @genmul.icat, align 8
%99 = getelementptr inbounds double, ptr %97, i64 %98
%100 = load double, ptr %99, align 8
%101 = load double, ptr @genmul.sum, align 8
%102 = fsub double %101, %100
store double %102, ptr @genmul.sum, align 8
br label %103
103: ; preds = %96
%104 = load i64, ptr @genmul.icat, align 8
%105 = add nsw i64 %104, 1
store i64 %105, ptr @genmul.icat, align 8
br label %69, !llvm.loop !9
106: ; preds = %69
%107 = load i64, ptr @genmul.ntot, align 8
%108 = load ptr, ptr %8, align 8
%109 = load i64, ptr %7, align 8
%110 = getelementptr inbounds i64, ptr %108, i64 %109
%111 = getelementptr inbounds i64, ptr %110, i64 -1
store i64 %107, ptr %111, align 8
br label %112
112: ; preds = %106, %95
ret void
}
declare i32 @ftnstop(ptr noundef) #1
declare i64 @ignbin(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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2z0ffuuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genmul.prob = internal global double 0.000000e+00, align 8
@genmul.ptot = internal global double 0.000000e+00, align 8
@genmul.sum = internal global double 0.000000e+00, align 8
@genmul.i = internal global i64 0, align 8
@genmul.icat = internal global i64 0, align 8
@genmul.ntot = internal global i64 0, align 8
@.str = private unnamed_addr constant [16 x i8] c"N < 0 in GENMUL\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"NCAT <= 1 in GENMUL\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Some P(i) < 0 in GENMUL\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Some P(i) > 1 in GENMUL\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"Sum of P(i) > 1 in GENMUL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @genmul(i64 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @ftnstop(ptr noundef @.str)
br label %13
13: ; preds = %11, %4
%14 = load i64, ptr %7, align 8
%15 = icmp sle i64 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @ftnstop(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
store double 0.000000e+00, ptr @genmul.ptot, align 8
store i64 0, ptr @genmul.i, align 8
%19 = load i64, ptr @genmul.i, align 8
%20 = load i64, ptr %7, align 8
%21 = sub nsw i64 %20, 1
%22 = icmp slt i64 %19, %21
br i1 %22, label %.lr.ph, label %53
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %46
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr @genmul.i, align 8
%26 = getelementptr inbounds double, ptr %24, i64 %25
%27 = load double, ptr %26, align 8
%28 = fcmp olt double %27, 0.000000e+00
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 @ftnstop(ptr noundef @.str.2)
br label %31
31: ; preds = %29, %23
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr @genmul.i, align 8
%34 = getelementptr inbounds double, ptr %32, i64 %33
%35 = load double, ptr %34, align 8
%36 = fcmp ogt double %35, 1.000000e+00
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = call i32 @ftnstop(ptr noundef @.str.3)
br label %39
39: ; preds = %37, %31
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr @genmul.i, align 8
%42 = getelementptr inbounds double, ptr %40, i64 %41
%43 = load double, ptr %42, align 8
%44 = load double, ptr @genmul.ptot, align 8
%45 = fadd double %44, %43
store double %45, ptr @genmul.ptot, align 8
br label %46
46: ; preds = %39
%47 = load i64, ptr @genmul.i, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr @genmul.i, align 8
%49 = load i64, ptr @genmul.i, align 8
%50 = load i64, ptr %7, align 8
%51 = sub nsw i64 %50, 1
%52 = icmp slt i64 %49, %51
br i1 %52, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %53
53: ; preds = %._crit_edge, %18
%54 = load double, ptr @genmul.ptot, align 8
%55 = fcmp ogt double %54, 0x3FEFFFEB00000000
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @ftnstop(ptr noundef @.str.4)
br label %58
58: ; preds = %56, %53
%59 = load i64, ptr %5, align 8
store i64 %59, ptr @genmul.ntot, align 8
store double 1.000000e+00, ptr @genmul.sum, align 8
store i64 0, ptr @genmul.i, align 8
%60 = load i64, ptr @genmul.i, align 8
%61 = load i64, ptr %7, align 8
%62 = icmp slt i64 %60, %61
br i1 %62, label %.lr.ph2, label %73
.lr.ph2: ; preds = %58
br label %63
63: ; preds = %.lr.ph2, %67
%64 = load ptr, ptr %8, align 8
%65 = load i64, ptr @genmul.i, align 8
%66 = getelementptr inbounds i64, ptr %64, i64 %65
store i64 0, ptr %66, align 8
br label %67
67: ; preds = %63
%68 = load i64, ptr @genmul.i, align 8
%69 = add nsw i64 %68, 1
store i64 %69, ptr @genmul.i, align 8
%70 = load i64, ptr @genmul.i, align 8
%71 = load i64, ptr %7, align 8
%72 = icmp slt i64 %70, %71
br i1 %72, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %58
store i64 0, ptr @genmul.icat, align 8
%74 = load i64, ptr @genmul.icat, align 8
%75 = load i64, ptr %7, align 8
%76 = sub nsw i64 %75, 1
%77 = icmp slt i64 %74, %76
br i1 %77, label %.lr.ph5, label %114
.lr.ph5: ; preds = %73
br label %78
78: ; preds = %.lr.ph5, %107
%79 = load ptr, ptr %6, align 8
%80 = load i64, ptr @genmul.icat, align 8
%81 = getelementptr inbounds double, ptr %79, i64 %80
%82 = load double, ptr %81, align 8
%83 = load double, ptr @genmul.sum, align 8
%84 = fdiv double %82, %83
store double %84, ptr @genmul.prob, align 8
%85 = load i64, ptr @genmul.ntot, align 8
%86 = load double, ptr @genmul.prob, align 8
%87 = call i64 @ignbin(i64 noundef %85, double noundef %86)
%88 = load ptr, ptr %8, align 8
%89 = load i64, ptr @genmul.icat, align 8
%90 = getelementptr inbounds i64, ptr %88, i64 %89
store i64 %87, ptr %90, align 8
%91 = load ptr, ptr %8, align 8
%92 = load i64, ptr @genmul.icat, align 8
%93 = getelementptr inbounds i64, ptr %91, i64 %92
%94 = load i64, ptr %93, align 8
%95 = load i64, ptr @genmul.ntot, align 8
%96 = sub nsw i64 %95, %94
store i64 %96, ptr @genmul.ntot, align 8
%97 = load i64, ptr @genmul.ntot, align 8
%98 = icmp sle i64 %97, 0
br i1 %98, label %99, label %100
99: ; preds = %78
br label %120
100: ; preds = %78
%101 = load ptr, ptr %6, align 8
%102 = load i64, ptr @genmul.icat, align 8
%103 = getelementptr inbounds double, ptr %101, i64 %102
%104 = load double, ptr %103, align 8
%105 = load double, ptr @genmul.sum, align 8
%106 = fsub double %105, %104
store double %106, ptr @genmul.sum, align 8
br label %107
107: ; preds = %100
%108 = load i64, ptr @genmul.icat, align 8
%109 = add nsw i64 %108, 1
store i64 %109, ptr @genmul.icat, align 8
%110 = load i64, ptr @genmul.icat, align 8
%111 = load i64, ptr %7, align 8
%112 = sub nsw i64 %111, 1
%113 = icmp slt i64 %110, %112
br i1 %113, label %78, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %107
br label %114
114: ; preds = %._crit_edge6, %73
%115 = load i64, ptr @genmul.ntot, align 8
%116 = load ptr, ptr %8, align 8
%117 = load i64, ptr %7, align 8
%118 = getelementptr inbounds i64, ptr %116, i64 %117
%119 = getelementptr inbounds i64, ptr %118, i64 -1
store i64 %115, ptr %119, align 8
br label %120
120: ; preds = %114, %99
ret void
}
declare i32 @ftnstop(ptr noundef) #1
declare i64 @ignbin(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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpct7lhdoi.c'
source_filename = "/tmp/tmpct7lhdoi.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [31 x i8] c"sample standard deviation: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_sstdevtk(i32 noundef %5, float noundef 1.000000e+00, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
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 float @stdlib_strided_sstdevtk(i32 noundef, float noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float 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/tmpct7lhdoi.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [31 x i8] c"sample standard deviation: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_sstdevtk(i32 noundef %5, float noundef 1.000000e+00, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
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 float @stdlib_strided_sstdevtk(i32 noundef, float noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float 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/tmp7bf4ucit.c'
source_filename = "/tmp/tmp7bf4ucit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"-2147483648\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 @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ft_putstr(ptr noundef @.str)
br label %30
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1)
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %8
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 48
%21 = call i32 @ft_putchar(i32 noundef %20)
br label %29
22: ; preds = %15
%23 = load i32, ptr %2, align 4
%24 = sdiv i32 %23, 10
call void @ft_putnbr(i32 noundef %24)
%25 = load i32, ptr %2, align 4
%26 = srem i32 %25, 10
%27 = add nsw i32 %26, 48
%28 = call i32 @ft_putchar(i32 noundef %27)
br label %29
29: ; preds = %22, %18
br label %30
30: ; preds = %29, %6
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ft_putchar(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/tmp7bf4ucit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"-2147483648\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 @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ft_putstr(ptr noundef @.str)
br label %30
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1)
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %8
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 48
%21 = call i32 @ft_putchar(i32 noundef %20)
br label %29
22: ; preds = %15
%23 = load i32, ptr %2, align 4
%24 = sdiv i32 %23, 10
call void @ft_putnbr(i32 noundef %24)
%25 = load i32, ptr %2, align 4
%26 = srem i32 %25, 10
%27 = add nsw i32 %26, 48
%28 = call i32 @ft_putchar(i32 noundef %27)
br label %29
29: ; preds = %22, %18
br label %30
30: ; preds = %29, %6
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ft_putchar(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/tmpmdmomfoa.c'
source_filename = "/tmp/tmpmdmomfoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort_web2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @quicksort2(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @quicksort2(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/tmpmdmomfoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort_web2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @quicksort2(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @quicksort2(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/tmp0w7r0erl.c'
source_filename = "/tmp/tmp0w7r0erl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [72 x i8] c"Convert .BNK instruments to OPL registers\0AUsage: <BNK file> <OP3 file>\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0w7r0erl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [72 x i8] c"Convert .BNK instruments to OPL registers\0AUsage: <BNK file> <OP3 file>\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp60jf2ucw.c'
source_filename = "/tmp/tmp60jf2ucw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 0, %3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
%8 = icmp eq i32 %5, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
ret i32 0
}
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/tmp60jf2ucw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 0, %3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
%8 = icmp eq i32 %5, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
ret i32 0
}
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/tmpsv1r8c_f.c'
source_filename = "/tmp/tmpsv1r8c_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsv1r8c_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplfr7y_p9.c'
source_filename = "/tmp/tmplfr7y_p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Good Job.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_good() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @printflag()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @printflag(...) #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/tmplfr7y_p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Good Job.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_good() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @printflag()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @printflag(...) #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/tmpvc73dhkk.c'
source_filename = "/tmp/tmpvc73dhkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"enter size of array: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Enter chars\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"OUTPUT\0A------\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %3, align 8
store i8 116, ptr %4, align 1
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%15 = load i8, ptr %4, align 1
%16 = load ptr, ptr %3, align 8
store i8 %15, ptr %16, align 1
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store i8 114, ptr %18, align 1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %32, %0
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30)
br label %32
32: ; preds = %24
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %20, !llvm.loop !6
35: ; preds = %20
%36 = load ptr, ptr %3, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvc73dhkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"enter size of array: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Enter chars\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"OUTPUT\0A------\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %3, align 8
store i8 116, ptr %4, align 1
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%15 = load i8, ptr %4, align 1
%16 = load ptr, ptr %3, align 8
store i8 %15, ptr %16, align 1
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store i8 114, ptr %18, align 1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %23
23: ; preds = %.lr.ph, %31
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %0
%38 = load ptr, ptr %3, align 8
%39 = call i32 @free(ptr noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8j768mkb.c'
source_filename = "/tmp/tmp8j768mkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"234\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcmp_2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %3, ptr noundef %4)
%6 = icmp slt i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
ret void
}
declare i32 @clang_analyzer_eval(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8j768mkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"234\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcmp_2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %3, ptr noundef %4)
%6 = icmp slt i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
ret void
}
declare i32 @clang_analyzer_eval(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5nwa74r.c'
source_filename = "/tmp/tmpu5nwa74r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"select.sh \22%s\22 role \22%s\22 none\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @role_system_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call ptr (...) @role_select()
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call ptr @strdup(ptr noundef %8)
ret ptr %9
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @role_select(...) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5nwa74r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"select.sh \22%s\22 role \22%s\22 none\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @role_system_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call ptr (...) @role_select()
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call ptr @strdup(ptr noundef %8)
ret ptr %9
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @role_select(...) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzxbr8h5j.c'
source_filename = "/tmp/tmpzxbr8h5j.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @atoh(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca %struct.in_addr, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @inet_aton(ptr noundef %6, ptr noundef %5)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr @errno, align 4
store i64 0, ptr %2, align 8
br label %15
10: ; preds = %1
%11 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @ntohl(i32 noundef %12)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
store i64 %14, ptr %2, align 8
br label %15
15: ; preds = %10, %9
%16 = load i64, ptr %2, align 8
ret i64 %16
}
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @ntohl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzxbr8h5j.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @atoh(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca %struct.in_addr, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @inet_aton(ptr noundef %6, ptr noundef %5)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr @errno, align 4
store i64 0, ptr %2, align 8
br label %15
10: ; preds = %1
%11 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @ntohl(i32 noundef %12)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
store i64 %14, ptr %2, align 8
br label %15
15: ; preds = %10, %9
%16 = load i64, ptr %2, align 8
ret i64 %16
}
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @ntohl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdqolc4pl.c'
source_filename = "/tmp/tmpdqolc4pl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curses_stop() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdqolc4pl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curses_stop() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphbgns7_a.c'
source_filename = "/tmp/tmphbgns7_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"582\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"582 is my favorite number\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"I like 639\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"For 5 eggs it costs $8.94\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"for %i eggs it costs $%f\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"For one egg it costs %.2f.\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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store ptr @.str.2, ptr %4, align 8
store ptr @.str.3, ptr %5, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @atoi(ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %10, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 7
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to float
%23 = call i32 @printf(ptr noundef @.str.4, float noundef %22)
%24 = load i32, ptr %9, align 4
%25 = sitofp i32 %24 to float
%26 = call i32 @printf(ptr noundef @.str.4, float noundef %25)
%27 = load i32, ptr %10, align 4
%28 = sitofp i32 %27 to float
%29 = call i32 @printf(ptr noundef @.str.4, float noundef %28)
%30 = load i32, ptr %11, align 4
%31 = sitofp i32 %30 to float
%32 = call i32 @printf(ptr noundef @.str.4, float noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.5, ptr noundef %6, ptr noundef %7)
%35 = load i32, ptr %6, align 4
%36 = sitofp i32 %35 to float
%37 = load float, ptr %7, align 4
%38 = fdiv float %36, %37
%39 = call i32 @printf(ptr noundef @.str.6, float noundef %38)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbgns7_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"582\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"582 is my favorite number\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"I like 639\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"For 5 eggs it costs $8.94\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"for %i eggs it costs $%f\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"For one egg it costs %.2f.\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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store ptr @.str.2, ptr %4, align 8
store ptr @.str.3, ptr %5, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @atoi(ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %10, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 7
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to float
%23 = call i32 @printf(ptr noundef @.str.4, float noundef %22)
%24 = load i32, ptr %9, align 4
%25 = sitofp i32 %24 to float
%26 = call i32 @printf(ptr noundef @.str.4, float noundef %25)
%27 = load i32, ptr %10, align 4
%28 = sitofp i32 %27 to float
%29 = call i32 @printf(ptr noundef @.str.4, float noundef %28)
%30 = load i32, ptr %11, align 4
%31 = sitofp i32 %30 to float
%32 = call i32 @printf(ptr noundef @.str.4, float noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.5, ptr noundef %6, ptr noundef %7)
%35 = load i32, ptr %6, align 4
%36 = sitofp i32 %35 to float
%37 = load float, ptr %7, align 4
%38 = fdiv float %36, %37
%39 = call i32 @printf(ptr noundef @.str.6, float noundef %38)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfisqvnde.c'
source_filename = "/tmp/tmpfisqvnde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d! = %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @factorial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store double 1.000000e+00, ptr %3, align 8
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %4, align 4
br label %6
6: ; preds = %10, %1
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %2, align 4
%9 = icmp sgt i32 %7, 0
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = load double, ptr %3, align 8
%15 = fmul double %14, %13
store double %15, ptr %3, align 8
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i32, ptr %4, align 4
%18 = load double, ptr %3, align 8
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %17, double noundef %18)
%20 = load double, ptr %3, align 8
ret double %20
}
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfisqvnde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d! = %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @factorial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store double 1.000000e+00, ptr %3, align 8
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %6, 0
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
%12 = sitofp i32 %11 to double
%13 = load double, ptr %3, align 8
%14 = fmul double %13, %12
store double %14, ptr %3, align 8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = icmp sgt i32 %15, 0
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i32, ptr %4, align 4
%20 = load double, ptr %3, align 8
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, double noundef %20)
%22 = load double, ptr %3, align 8
ret double %22
}
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfw0ny6ki.c'
source_filename = "/tmp/tmpfw0ny6ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @bar(i32 noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i64, ptr %9, i64 1
%11 = load i64, ptr %3, align 8
%12 = ashr i64 %11, 2
%13 = srem i64 %12, 359
%14 = getelementptr inbounds i64, ptr %10, i64 %13
%15 = load i64, ptr %14, align 8
ret i64 %15
}
declare i32 @bar(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/tmpfw0ny6ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @bar(i32 noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i64, ptr %9, i64 1
%11 = load i64, ptr %3, align 8
%12 = ashr i64 %11, 2
%13 = srem i64 %12, 359
%14 = getelementptr inbounds i64, ptr %10, i64 %13
%15 = load i64, ptr %14, align 8
ret i64 %15
}
declare i32 @bar(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/tmpwnhlxdin.c'
source_filename = "/tmp/tmpwnhlxdin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_timestamp_us() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca i32, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 1000000
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = add nsw i32 %7, %9
ret i32 %10
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwnhlxdin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_timestamp_us() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca i32, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 1000000
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = add nsw i32 %7, %9
ret i32 %10
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq5f5dpfk.c'
source_filename = "/tmp/tmpq5f5dpfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selectionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %49, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %52
13: ; preds = %8
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %6, align 4
br label %17
17: ; preds = %36, %13
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %39
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp slt i32 %26, %31
br i1 %32, label %33, label %35
33: ; preds = %21
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %7, align 4
br label %35
35: ; preds = %33, %21
br label %36
36: ; preds = %35
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %17, !llvm.loop !6
39: ; preds = %17
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = call i32 @swap(ptr noundef %43, ptr noundef %47)
br label %49
49: ; preds = %39
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %8, !llvm.loop !8
52: ; preds = %8
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5f5dpfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selectionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph2, label %57
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %50
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %40
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %34
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %24, %29
br i1 %30, label %31, label %33
31: ; preds = %19
%32 = load i32, ptr %6, align 4
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %31, %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %12
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = call i32 @swap(ptr noundef %44, ptr noundef %48)
br label %50
50: ; preds = %40
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = sub nsw i32 %54, 1
%56 = icmp slt i32 %53, %55
br i1 %56, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %57
57: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptrt9u_ss.c'
source_filename = "/tmp/tmptrt9u_ss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %25, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = sdiv i32 %12, 2
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %30
15: ; preds = %10
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = call i32 @byteswap(ptr noundef %19, ptr noundef %23)
br label %25
25: ; preds = %15
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %5, align 4
br label %10, !llvm.loop !6
30: ; preds = %10
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @byteswap(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/tmptrt9u_ss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %11, 2
%13 = icmp slt i32 %10, %12
br i1 %13, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = call i32 @byteswap(ptr noundef %18, ptr noundef %22)
br label %24
24: ; preds = %14
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = sdiv i32 %30, 2
%32 = icmp slt i32 %29, %31
br i1 %32, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %33
33: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @byteswap(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/tmpzvf4t1s9.c'
source_filename = "/tmp/tmpzvf4t1s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imcomp_merge_overlap(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca [6 x i64], align 16
%25 = alloca [6 x i64], align 16
%26 = alloca [6 x i64], align 16
%27 = alloca [6 x i64], align 16
%28 = alloca [6 x i64], align 16
%29 = alloca [6 x i64], align 16
%30 = alloca i64, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca i64, align 8
%35 = alloca i64, align 8
%36 = alloca i64, align 8
%37 = alloca i64, align 8
%38 = alloca i64, align 8
%39 = alloca i64, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
%44 = alloca i64, align 8
%45 = alloca i64, align 8
%46 = alloca i64, align 8
%47 = alloca i64, align 8
%48 = alloca i64, align 8
%49 = alloca i64, align 8
%50 = alloca i64, align 8
%51 = alloca i64, align 8
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store i32 %9, ptr %22, align 4
store ptr %10, ptr %23, align 8
%55 = load ptr, ptr %23, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %11
%59 = load ptr, ptr %23, align 8
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %12, align 4
br label %839
61: ; preds = %11
store i32 0, ptr %52, align 4
br label %62
62: ; preds = %84, %61
%63 = load i32, ptr %52, align 4
%64 = icmp slt i32 %63, 6
br i1 %64, label %65, label %87
65: ; preds = %62
%66 = load i32, ptr %52, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %67
store i64 1, ptr %68, align 8
%69 = load i32, ptr %52, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %70
store i64 1, ptr %71, align 8
%72 = load i32, ptr %52, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %73
store i64 1, ptr %74, align 8
%75 = load i32, ptr %52, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 %76
store i64 0, ptr %77, align 8
%78 = load i32, ptr %52, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 %79
store i64 0, ptr %80, align 8
%81 = load i32, ptr %52, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %82
store i64 0, ptr %83, align 8
br label %84
84: ; preds = %65
%85 = load i32, ptr %52, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %52, align 4
br label %62, !llvm.loop !6
87: ; preds = %62
store i32 0, ptr %52, align 4
br label %88
88: ; preds = %430, %87
%89 = load i32, ptr %52, align 4
%90 = load i32, ptr %15, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %433
92: ; preds = %88
%93 = load ptr, ptr %17, align 8
%94 = load i32, ptr %52, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i64, ptr %93, i64 %95
%97 = load i64, ptr %96, align 8
%98 = load ptr, ptr %20, align 8
%99 = load i32, ptr %52, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i64, ptr %98, i64 %100
%102 = load i64, ptr %101, align 8
%103 = icmp slt i64 %97, %102
br i1 %103, label %116, label %104
104: ; preds = %92
%105 = load ptr, ptr %16, align 8
%106 = load i32, ptr %52, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i64, ptr %105, i64 %107
%109 = load i64, ptr %108, align 8
%110 = load ptr, ptr %21, align 8
%111 = load i32, ptr %52, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i64, ptr %110, i64 %112
%114 = load i64, ptr %113, align 8
%115 = icmp sgt i64 %109, %114
br i1 %115, label %116, label %119
116: ; preds = %104, %92
%117 = load ptr, ptr %23, align 8
%118 = load i32, ptr %117, align 4
store i32 %118, ptr %12, align 4
br label %839
119: ; preds = %104
%120 = load ptr, ptr %21, align 8
%121 = load i32, ptr %52, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i64, ptr %120, i64 %122
%124 = load i64, ptr %123, align 8
%125 = load ptr, ptr %20, align 8
%126 = load i32, ptr %52, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i64, ptr %125, i64 %127
%129 = load i64, ptr %128, align 8
%130 = sub nsw i64 %124, %129
%131 = load i32, ptr %52, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %132
%134 = load i64, ptr %133, align 8
%135 = call i32 @labs(i64 noundef %134)
%136 = sext i32 %135 to i64
%137 = sdiv i64 %130, %136
%138 = add nsw i64 %137, 1
%139 = load i32, ptr %52, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %140
store i64 %138, ptr %141, align 8
%142 = load i32, ptr %52, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %143
%145 = load i64, ptr %144, align 8
%146 = icmp slt i64 %145, 1
br i1 %146, label %147, label %149
147: ; preds = %119
%148 = load ptr, ptr %23, align 8
store i32 323, ptr %148, align 4
store i32 323, ptr %12, align 4
br label %839
149: ; preds = %119
%150 = load ptr, ptr %17, align 8
%151 = load i32, ptr %52, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i64, ptr %150, i64 %152
%154 = load i64, ptr %153, align 8
%155 = load ptr, ptr %16, align 8
%156 = load i32, ptr %52, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i64, ptr %155, i64 %157
%159 = load i64, ptr %158, align 8
%160 = sub nsw i64 %154, %159
%161 = add nsw i64 %160, 1
%162 = load i32, ptr %52, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %163
store i64 %161, ptr %164, align 8
%165 = load i32, ptr %52, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %166
%168 = load i64, ptr %167, align 8
%169 = icmp slt i64 %168, 1
br i1 %169, label %170, label %172
170: ; preds = %149
%171 = load ptr, ptr %23, align 8
store i32 323, ptr %171, align 4
store i32 323, ptr %12, align 4
br label %839
172: ; preds = %149
%173 = load i32, ptr %52, align 4
%174 = icmp sgt i32 %173, 0
br i1 %174, label %175, label %186
175: ; preds = %172
%176 = load i32, ptr %52, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %178
%180 = load i64, ptr %179, align 8
%181 = load i32, ptr %52, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %182
%184 = load i64, ptr %183, align 8
%185 = mul nsw i64 %184, %180
store i64 %185, ptr %183, align 8
br label %186
186: ; preds = %175, %172
%187 = load ptr, ptr %16, align 8
%188 = load i32, ptr %52, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds i64, ptr %187, i64 %189
%191 = load i64, ptr %190, align 8
%192 = sub nsw i64 %191, 1
store i64 %192, ptr %43, align 8
%193 = load ptr, ptr %17, align 8
%194 = load i32, ptr %52, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i64, ptr %193, i64 %195
%197 = load i64, ptr %196, align 8
%198 = sub nsw i64 %197, 1
store i64 %198, ptr %44, align 8
br label %199
199: ; preds = %225, %186
%200 = load i64, ptr %43, align 8
%201 = load ptr, ptr %20, align 8
%202 = load i32, ptr %52, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i64, ptr %201, i64 %203
%205 = load i64, ptr %204, align 8
%206 = sub nsw i64 %205, 1
%207 = sub nsw i64 %200, %206
%208 = load i32, ptr %52, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %209
%211 = load i64, ptr %210, align 8
%212 = call i32 @labs(i64 noundef %211)
%213 = sext i32 %212 to i64
%214 = srem i64 %207, %213
%215 = icmp ne i64 %214, 0
br i1 %215, label %216, label %226
216: ; preds = %199
%217 = load i64, ptr %43, align 8
%218 = add nsw i64 %217, 1
store i64 %218, ptr %43, align 8
%219 = load i64, ptr %43, align 8
%220 = load i64, ptr %44, align 8
%221 = icmp sgt i64 %219, %220
br i1 %221, label %222, label %225
222: ; preds = %216
%223 = load ptr, ptr %23, align 8
%224 = load i32, ptr %223, align 4
store i32 %224, ptr %12, align 4
br label %839
225: ; preds = %216
br label %199, !llvm.loop !8
226: ; preds = %199
br label %227
227: ; preds = %253, %226
%228 = load i64, ptr %44, align 8
%229 = load ptr, ptr %20, align 8
%230 = load i32, ptr %52, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds i64, ptr %229, i64 %231
%233 = load i64, ptr %232, align 8
%234 = sub nsw i64 %233, 1
%235 = sub nsw i64 %228, %234
%236 = load i32, ptr %52, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %237
%239 = load i64, ptr %238, align 8
%240 = call i32 @labs(i64 noundef %239)
%241 = sext i32 %240 to i64
%242 = srem i64 %235, %241
%243 = icmp ne i64 %242, 0
br i1 %243, label %244, label %254
244: ; preds = %227
%245 = load i64, ptr %44, align 8
%246 = add nsw i64 %245, -1
store i64 %246, ptr %44, align 8
%247 = load i64, ptr %43, align 8
%248 = load i64, ptr %44, align 8
%249 = icmp sgt i64 %247, %248
br i1 %249, label %250, label %253
250: ; preds = %244
%251 = load ptr, ptr %23, align 8
%252 = load i32, ptr %251, align 4
store i32 %252, ptr %12, align 4
br label %839
253: ; preds = %244
br label %227, !llvm.loop !9
254: ; preds = %227
%255 = load i64, ptr %43, align 8
%256 = load ptr, ptr %20, align 8
%257 = load i32, ptr %52, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i64, ptr %256, i64 %258
%260 = load i64, ptr %259, align 8
%261 = sub nsw i64 %255, %260
%262 = add nsw i64 %261, 1
%263 = load i32, ptr %52, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %264
%266 = load i64, ptr %265, align 8
%267 = call i32 @labs(i64 noundef %266)
%268 = sext i32 %267 to i64
%269 = sdiv i64 %262, %268
%270 = icmp sgt i64 %269, 0
br i1 %270, label %271, label %287
271: ; preds = %254
%272 = load i64, ptr %43, align 8
%273 = load ptr, ptr %20, align 8
%274 = load i32, ptr %52, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds i64, ptr %273, i64 %275
%277 = load i64, ptr %276, align 8
%278 = sub nsw i64 %272, %277
%279 = add nsw i64 %278, 1
%280 = load i32, ptr %52, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %281
%283 = load i64, ptr %282, align 8
%284 = call i32 @labs(i64 noundef %283)
%285 = sext i32 %284 to i64
%286 = sdiv i64 %279, %285
br label %288
287: ; preds = %254
br label %288
288: ; preds = %287, %271
%289 = phi i64 [ %286, %271 ], [ 0, %287 ]
%290 = load i32, ptr %52, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 %291
store i64 %289, ptr %292, align 8
%293 = load i64, ptr %44, align 8
%294 = load ptr, ptr %20, align 8
%295 = load i32, ptr %52, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds i64, ptr %294, i64 %296
%298 = load i64, ptr %297, align 8
%299 = sub nsw i64 %293, %298
%300 = add nsw i64 %299, 1
%301 = load i32, ptr %52, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %302
%304 = load i64, ptr %303, align 8
%305 = call i32 @labs(i64 noundef %304)
%306 = sext i32 %305 to i64
%307 = sdiv i64 %300, %306
%308 = load i32, ptr %52, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %309
%311 = load i64, ptr %310, align 8
%312 = sub nsw i64 %311, 1
%313 = icmp slt i64 %307, %312
br i1 %313, label %314, label %330
314: ; preds = %288
%315 = load i64, ptr %44, align 8
%316 = load ptr, ptr %20, align 8
%317 = load i32, ptr %52, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds i64, ptr %316, i64 %318
%320 = load i64, ptr %319, align 8
%321 = sub nsw i64 %315, %320
%322 = add nsw i64 %321, 1
%323 = load i32, ptr %52, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %324
%326 = load i64, ptr %325, align 8
%327 = call i32 @labs(i64 noundef %326)
%328 = sext i32 %327 to i64
%329 = sdiv i64 %322, %328
br label %336
330: ; preds = %288
%331 = load i32, ptr %52, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %332
%334 = load i64, ptr %333, align 8
%335 = sub nsw i64 %334, 1
br label %336
336: ; preds = %330, %314
%337 = phi i64 [ %329, %314 ], [ %335, %330 ]
%338 = load i32, ptr %52, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 %339
store i64 %337, ptr %340, align 8
%341 = load ptr, ptr %20, align 8
%342 = load i32, ptr %52, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i64, ptr %341, i64 %343
%345 = load i64, ptr %344, align 8
%346 = load ptr, ptr %16, align 8
%347 = load i32, ptr %52, align 4
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds i64, ptr %346, i64 %348
%350 = load i64, ptr %349, align 8
%351 = sub nsw i64 %345, %350
%352 = icmp sgt i64 %351, 0
br i1 %352, label %353, label %365
353: ; preds = %336
%354 = load ptr, ptr %20, align 8
%355 = load i32, ptr %52, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds i64, ptr %354, i64 %356
%358 = load i64, ptr %357, align 8
%359 = load ptr, ptr %16, align 8
%360 = load i32, ptr %52, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds i64, ptr %359, i64 %361
%363 = load i64, ptr %362, align 8
%364 = sub nsw i64 %358, %363
br label %366
365: ; preds = %336
br label %366
366: ; preds = %365, %353
%367 = phi i64 [ %364, %353 ], [ 0, %365 ]
%368 = load i32, ptr %52, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %369
store i64 %367, ptr %370, align 8
br label %371
371: ; preds = %414, %366
%372 = load ptr, ptr %16, align 8
%373 = load i32, ptr %52, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds i64, ptr %372, i64 %374
%376 = load i64, ptr %375, align 8
%377 = load i32, ptr %52, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %378
%380 = load i64, ptr %379, align 8
%381 = add nsw i64 %376, %380
%382 = load ptr, ptr %20, align 8
%383 = load i32, ptr %52, align 4
%384 = sext i32 %383 to i64
%385 = getelementptr inbounds i64, ptr %382, i64 %384
%386 = load i64, ptr %385, align 8
%387 = sub nsw i64 %381, %386
%388 = load i32, ptr %52, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %389
%391 = load i64, ptr %390, align 8
%392 = call i32 @labs(i64 noundef %391)
%393 = sext i32 %392 to i64
%394 = srem i64 %387, %393
%395 = icmp ne i64 %394, 0
br i1 %395, label %396, label %415
396: ; preds = %371
%397 = load i32, ptr %52, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %398
%400 = load i64, ptr %399, align 8
%401 = add nsw i64 %400, 1
store i64 %401, ptr %399, align 8
%402 = load i32, ptr %52, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %403
%405 = load i64, ptr %404, align 8
%406 = load i32, ptr %52, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %407
%409 = load i64, ptr %408, align 8
%410 = icmp sge i64 %405, %409
br i1 %410, label %411, label %414
411: ; preds = %396
%412 = load ptr, ptr %23, align 8
%413 = load i32, ptr %412, align 4
store i32 %413, ptr %12, align 4
br label %839
414: ; preds = %396
br label %371, !llvm.loop !10
415: ; preds = %371
%416 = load i32, ptr %52, align 4
%417 = icmp sgt i32 %416, 0
br i1 %417, label %418, label %429
418: ; preds = %415
%419 = load i32, ptr %52, align 4
%420 = sub nsw i32 %419, 1
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %421
%423 = load i64, ptr %422, align 8
%424 = load i32, ptr %52, align 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %425
%427 = load i64, ptr %426, align 8
%428 = mul nsw i64 %427, %423
store i64 %428, ptr %426, align 8
br label %429
429: ; preds = %418, %415
br label %430
430: ; preds = %429
%431 = load i32, ptr %52, align 4
%432 = add nsw i32 %431, 1
store i32 %432, ptr %52, align 4
br label %88, !llvm.loop !11
433: ; preds = %88
%434 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%435 = load i64, ptr %434, align 16
%436 = icmp ne i64 %435, 1
br i1 %436, label %437, label %438
437: ; preds = %433
store i32 1, ptr %54, align 4
br label %446
438: ; preds = %433
%439 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 0
%440 = load i64, ptr %439, align 16
%441 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%442 = load i64, ptr %441, align 16
%443 = sub nsw i64 %440, %442
%444 = add nsw i64 %443, 1
%445 = trunc i64 %444 to i32
store i32 %445, ptr %54, align 4
br label %446
446: ; preds = %438, %437
%447 = load i32, ptr %54, align 4
%448 = load i32, ptr %14, align 4
%449 = mul nsw i32 %447, %448
store i32 %449, ptr %53, align 4
store i64 0, ptr %33, align 8
store i64 0, ptr %37, align 8
br label %450
450: ; preds = %831, %446
%451 = load i64, ptr %33, align 8
%452 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 4
%453 = load i64, ptr %452, align 16
%454 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%455 = load i64, ptr %454, align 16
%456 = sub nsw i64 %453, %455
%457 = icmp sle i64 %451, %456
br i1 %457, label %458, label %836
458: ; preds = %450
br label %459
459: ; preds = %483, %458
%460 = load i32, ptr %15, align 4
%461 = icmp sgt i32 %460, 4
br i1 %461, label %462, label %481
462: ; preds = %459
%463 = load ptr, ptr %16, align 8
%464 = getelementptr inbounds i64, ptr %463, i64 4
%465 = load i64, ptr %464, align 8
%466 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 4
%467 = load i64, ptr %466, align 16
%468 = add nsw i64 %465, %467
%469 = load ptr, ptr %20, align 8
%470 = getelementptr inbounds i64, ptr %469, i64 4
%471 = load i64, ptr %470, align 8
%472 = sub nsw i64 %468, %471
%473 = load i64, ptr %37, align 8
%474 = add nsw i64 %472, %473
%475 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 4
%476 = load i64, ptr %475, align 16
%477 = call i32 @labs(i64 noundef %476)
%478 = sext i32 %477 to i64
%479 = srem i64 %474, %478
%480 = icmp ne i64 %479, 0
br label %481
481: ; preds = %462, %459
%482 = phi i1 [ false, %459 ], [ %480, %462 ]
br i1 %482, label %483, label %486
483: ; preds = %481
%484 = load i64, ptr %37, align 8
%485 = add nsw i64 %484, 1
store i64 %485, ptr %37, align 8
br label %459, !llvm.loop !12
486: ; preds = %481
%487 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 4
%488 = load i64, ptr %487, align 16
%489 = icmp sgt i64 %488, 0
br i1 %489, label %490, label %498
490: ; preds = %486
%491 = load i64, ptr %33, align 8
%492 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%493 = load i64, ptr %492, align 16
%494 = add nsw i64 %491, %493
%495 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%496 = load i64, ptr %495, align 8
%497 = mul nsw i64 %494, %496
store i64 %497, ptr %41, align 8
br label %510
498: ; preds = %486
%499 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 4
%500 = load i64, ptr %499, align 16
%501 = load i64, ptr %33, align 8
%502 = add nsw i64 %501, 1
%503 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%504 = load i64, ptr %503, align 16
%505 = add nsw i64 %502, %504
%506 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%507 = load i64, ptr %506, align 8
%508 = mul nsw i64 %505, %507
%509 = sub nsw i64 %500, %508
store i64 %509, ptr %41, align 8
br label %510
510: ; preds = %498, %490
%511 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 4
%512 = load i64, ptr %511, align 16
%513 = load i64, ptr %37, align 8
%514 = add nsw i64 %512, %513
%515 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 3
%516 = load i64, ptr %515, align 8
%517 = mul nsw i64 %514, %516
store i64 %517, ptr %47, align 8
store i64 0, ptr %32, align 8
store i64 0, ptr %36, align 8
br label %518
518: ; preds = %825, %510
%519 = load i64, ptr %32, align 8
%520 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 3
%521 = load i64, ptr %520, align 8
%522 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%523 = load i64, ptr %522, align 8
%524 = sub nsw i64 %521, %523
%525 = icmp sle i64 %519, %524
br i1 %525, label %526, label %830
526: ; preds = %518
br label %527
527: ; preds = %551, %526
%528 = load i32, ptr %15, align 4
%529 = icmp sgt i32 %528, 3
br i1 %529, label %530, label %549
530: ; preds = %527
%531 = load ptr, ptr %16, align 8
%532 = getelementptr inbounds i64, ptr %531, i64 3
%533 = load i64, ptr %532, align 8
%534 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 3
%535 = load i64, ptr %534, align 8
%536 = add nsw i64 %533, %535
%537 = load ptr, ptr %20, align 8
%538 = getelementptr inbounds i64, ptr %537, i64 3
%539 = load i64, ptr %538, align 8
%540 = sub nsw i64 %536, %539
%541 = load i64, ptr %36, align 8
%542 = add nsw i64 %540, %541
%543 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 3
%544 = load i64, ptr %543, align 8
%545 = call i32 @labs(i64 noundef %544)
%546 = sext i32 %545 to i64
%547 = srem i64 %542, %546
%548 = icmp ne i64 %547, 0
br label %549
549: ; preds = %530, %527
%550 = phi i1 [ false, %527 ], [ %548, %530 ]
br i1 %550, label %551, label %554
551: ; preds = %549
%552 = load i64, ptr %36, align 8
%553 = add nsw i64 %552, 1
store i64 %553, ptr %36, align 8
br label %527, !llvm.loop !13
554: ; preds = %549
%555 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 3
%556 = load i64, ptr %555, align 8
%557 = icmp sgt i64 %556, 0
br i1 %557, label %558, label %568
558: ; preds = %554
%559 = load i64, ptr %32, align 8
%560 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%561 = load i64, ptr %560, align 8
%562 = add nsw i64 %559, %561
%563 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%564 = load i64, ptr %563, align 16
%565 = mul nsw i64 %562, %564
%566 = load i64, ptr %41, align 8
%567 = add nsw i64 %565, %566
store i64 %567, ptr %40, align 8
br label %582
568: ; preds = %554
%569 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%570 = load i64, ptr %569, align 8
%571 = load i64, ptr %32, align 8
%572 = add nsw i64 %571, 1
%573 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%574 = load i64, ptr %573, align 8
%575 = add nsw i64 %572, %574
%576 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%577 = load i64, ptr %576, align 16
%578 = mul nsw i64 %575, %577
%579 = sub nsw i64 %570, %578
%580 = load i64, ptr %41, align 8
%581 = add nsw i64 %579, %580
store i64 %581, ptr %40, align 8
br label %582
582: ; preds = %568, %558
%583 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 3
%584 = load i64, ptr %583, align 8
%585 = load i64, ptr %36, align 8
%586 = add nsw i64 %584, %585
%587 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 2
%588 = load i64, ptr %587, align 16
%589 = mul nsw i64 %586, %588
%590 = load i64, ptr %47, align 8
%591 = add nsw i64 %589, %590
store i64 %591, ptr %46, align 8
store i64 0, ptr %31, align 8
store i64 0, ptr %35, align 8
br label %592
592: ; preds = %819, %582
%593 = load i64, ptr %31, align 8
%594 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 2
%595 = load i64, ptr %594, align 16
%596 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%597 = load i64, ptr %596, align 16
%598 = sub nsw i64 %595, %597
%599 = icmp sle i64 %593, %598
br i1 %599, label %600, label %824
600: ; preds = %592
br label %601
601: ; preds = %625, %600
%602 = load i32, ptr %15, align 4
%603 = icmp sgt i32 %602, 2
br i1 %603, label %604, label %623
604: ; preds = %601
%605 = load ptr, ptr %16, align 8
%606 = getelementptr inbounds i64, ptr %605, i64 2
%607 = load i64, ptr %606, align 8
%608 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 2
%609 = load i64, ptr %608, align 16
%610 = add nsw i64 %607, %609
%611 = load ptr, ptr %20, align 8
%612 = getelementptr inbounds i64, ptr %611, i64 2
%613 = load i64, ptr %612, align 8
%614 = sub nsw i64 %610, %613
%615 = load i64, ptr %35, align 8
%616 = add nsw i64 %614, %615
%617 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 2
%618 = load i64, ptr %617, align 16
%619 = call i32 @labs(i64 noundef %618)
%620 = sext i32 %619 to i64
%621 = srem i64 %616, %620
%622 = icmp ne i64 %621, 0
br label %623
623: ; preds = %604, %601
%624 = phi i1 [ false, %601 ], [ %622, %604 ]
br i1 %624, label %625, label %628
625: ; preds = %623
%626 = load i64, ptr %35, align 8
%627 = add nsw i64 %626, 1
store i64 %627, ptr %35, align 8
br label %601, !llvm.loop !14
628: ; preds = %623
%629 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 2
%630 = load i64, ptr %629, align 16
%631 = icmp sgt i64 %630, 0
br i1 %631, label %632, label %642
632: ; preds = %628
%633 = load i64, ptr %31, align 8
%634 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%635 = load i64, ptr %634, align 16
%636 = add nsw i64 %633, %635
%637 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%638 = load i64, ptr %637, align 8
%639 = mul nsw i64 %636, %638
%640 = load i64, ptr %40, align 8
%641 = add nsw i64 %639, %640
store i64 %641, ptr %39, align 8
br label %656
642: ; preds = %628
%643 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%644 = load i64, ptr %643, align 16
%645 = load i64, ptr %31, align 8
%646 = add nsw i64 %645, 1
%647 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%648 = load i64, ptr %647, align 16
%649 = add nsw i64 %646, %648
%650 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%651 = load i64, ptr %650, align 8
%652 = mul nsw i64 %649, %651
%653 = sub nsw i64 %644, %652
%654 = load i64, ptr %40, align 8
%655 = add nsw i64 %653, %654
store i64 %655, ptr %39, align 8
br label %656
656: ; preds = %642, %632
%657 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 2
%658 = load i64, ptr %657, align 16
%659 = load i64, ptr %35, align 8
%660 = add nsw i64 %658, %659
%661 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 1
%662 = load i64, ptr %661, align 8
%663 = mul nsw i64 %660, %662
%664 = load i64, ptr %46, align 8
%665 = add nsw i64 %663, %664
store i64 %665, ptr %45, align 8
store i64 0, ptr %30, align 8
store i64 0, ptr %34, align 8
br label %666
666: ; preds = %813, %656
%667 = load i64, ptr %30, align 8
%668 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 1
%669 = load i64, ptr %668, align 8
%670 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%671 = load i64, ptr %670, align 8
%672 = sub nsw i64 %669, %671
%673 = icmp sle i64 %667, %672
br i1 %673, label %674, label %818
674: ; preds = %666
br label %675
675: ; preds = %699, %674
%676 = load i32, ptr %15, align 4
%677 = icmp sgt i32 %676, 1
br i1 %677, label %678, label %697
678: ; preds = %675
%679 = load ptr, ptr %16, align 8
%680 = getelementptr inbounds i64, ptr %679, i64 1
%681 = load i64, ptr %680, align 8
%682 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 1
%683 = load i64, ptr %682, align 8
%684 = add nsw i64 %681, %683
%685 = load ptr, ptr %20, align 8
%686 = getelementptr inbounds i64, ptr %685, i64 1
%687 = load i64, ptr %686, align 8
%688 = sub nsw i64 %684, %687
%689 = load i64, ptr %34, align 8
%690 = add nsw i64 %688, %689
%691 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 1
%692 = load i64, ptr %691, align 8
%693 = call i32 @labs(i64 noundef %692)
%694 = sext i32 %693 to i64
%695 = srem i64 %690, %694
%696 = icmp ne i64 %695, 0
br label %697
697: ; preds = %678, %675
%698 = phi i1 [ false, %675 ], [ %696, %678 ]
br i1 %698, label %699, label %702
699: ; preds = %697
%700 = load i64, ptr %34, align 8
%701 = add nsw i64 %700, 1
store i64 %701, ptr %34, align 8
br label %675, !llvm.loop !15
702: ; preds = %697
%703 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 0
%704 = load i64, ptr %703, align 16
%705 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 1
%706 = load i64, ptr %705, align 8
%707 = load i64, ptr %34, align 8
%708 = add nsw i64 %706, %707
%709 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 0
%710 = load i64, ptr %709, align 16
%711 = mul nsw i64 %708, %710
%712 = add nsw i64 %704, %711
%713 = load i64, ptr %45, align 8
%714 = add nsw i64 %712, %713
store i64 %714, ptr %48, align 8
%715 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 1
%716 = load i64, ptr %715, align 8
%717 = icmp sgt i64 %716, 0
br i1 %717, label %718, label %728
718: ; preds = %702
%719 = load i64, ptr %30, align 8
%720 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%721 = load i64, ptr %720, align 8
%722 = add nsw i64 %719, %721
%723 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%724 = load i64, ptr %723, align 16
%725 = mul nsw i64 %722, %724
%726 = load i64, ptr %39, align 8
%727 = add nsw i64 %725, %726
store i64 %727, ptr %38, align 8
br label %742
728: ; preds = %702
%729 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%730 = load i64, ptr %729, align 8
%731 = load i64, ptr %30, align 8
%732 = add nsw i64 %731, 1
%733 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%734 = load i64, ptr %733, align 8
%735 = add nsw i64 %732, %734
%736 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%737 = load i64, ptr %736, align 16
%738 = mul nsw i64 %735, %737
%739 = sub nsw i64 %730, %738
%740 = load i64, ptr %39, align 8
%741 = add nsw i64 %739, %740
store i64 %741, ptr %38, align 8
br label %742
742: ; preds = %728, %718
%743 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%744 = load i64, ptr %743, align 16
%745 = icmp sgt i64 %744, 0
br i1 %745, label %746, label %751
746: ; preds = %742
%747 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%748 = load i64, ptr %747, align 16
%749 = load i64, ptr %38, align 8
%750 = add nsw i64 %748, %749
store i64 %750, ptr %49, align 8
br label %760
751: ; preds = %742
%752 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%753 = load i64, ptr %752, align 16
%754 = sub nsw i64 %753, 1
%755 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%756 = load i64, ptr %755, align 16
%757 = sub nsw i64 %754, %756
%758 = load i64, ptr %38, align 8
%759 = add nsw i64 %757, %758
store i64 %759, ptr %49, align 8
br label %760
760: ; preds = %751, %746
%761 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%762 = load i64, ptr %761, align 16
store i64 %762, ptr %42, align 8
br label %763
763: ; preds = %807, %760
%764 = load i64, ptr %42, align 8
%765 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 0
%766 = load i64, ptr %765, align 16
%767 = icmp sle i64 %764, %766
br i1 %767, label %768, label %812
768: ; preds = %763
%769 = load i64, ptr %48, align 8
%770 = load i32, ptr %14, align 4
%771 = sext i32 %770 to i64
%772 = mul nsw i64 %769, %771
store i64 %772, ptr %50, align 8
%773 = load i64, ptr %49, align 8
%774 = load i32, ptr %14, align 4
%775 = sext i32 %774 to i64
%776 = mul nsw i64 %773, %775
store i64 %776, ptr %51, align 8
%777 = load ptr, ptr %13, align 8
%778 = load i64, ptr %50, align 8
%779 = getelementptr inbounds i8, ptr %777, i64 %778
%780 = load ptr, ptr %19, align 8
%781 = load i64, ptr %51, align 8
%782 = getelementptr inbounds i8, ptr %780, i64 %781
%783 = load i32, ptr %53, align 4
%784 = call i32 @memcpy(ptr noundef %779, ptr noundef %782, i32 noundef %783)
%785 = load i32, ptr %54, align 4
%786 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%787 = load i64, ptr %786, align 16
%788 = call i32 @labs(i64 noundef %787)
%789 = mul nsw i32 %785, %788
%790 = sext i32 %789 to i64
%791 = load i64, ptr %48, align 8
%792 = add nsw i64 %791, %790
store i64 %792, ptr %48, align 8
%793 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%794 = load i64, ptr %793, align 16
%795 = icmp sgt i64 %794, 0
br i1 %795, label %796, label %801
796: ; preds = %768
%797 = load i32, ptr %54, align 4
%798 = sext i32 %797 to i64
%799 = load i64, ptr %49, align 8
%800 = add nsw i64 %799, %798
store i64 %800, ptr %49, align 8
br label %806
801: ; preds = %768
%802 = load i32, ptr %54, align 4
%803 = sext i32 %802 to i64
%804 = load i64, ptr %49, align 8
%805 = sub nsw i64 %804, %803
store i64 %805, ptr %49, align 8
br label %806
806: ; preds = %801, %796
br label %807
807: ; preds = %806
%808 = load i32, ptr %54, align 4
%809 = sext i32 %808 to i64
%810 = load i64, ptr %42, align 8
%811 = add nsw i64 %810, %809
store i64 %811, ptr %42, align 8
br label %763, !llvm.loop !16
812: ; preds = %763
br label %813
813: ; preds = %812
%814 = load i64, ptr %30, align 8
%815 = add nsw i64 %814, 1
store i64 %815, ptr %30, align 8
%816 = load i64, ptr %34, align 8
%817 = add nsw i64 %816, 1
store i64 %817, ptr %34, align 8
br label %666, !llvm.loop !17
818: ; preds = %666
br label %819
819: ; preds = %818
%820 = load i64, ptr %31, align 8
%821 = add nsw i64 %820, 1
store i64 %821, ptr %31, align 8
%822 = load i64, ptr %35, align 8
%823 = add nsw i64 %822, 1
store i64 %823, ptr %35, align 8
br label %592, !llvm.loop !18
824: ; preds = %592
br label %825
825: ; preds = %824
%826 = load i64, ptr %32, align 8
%827 = add nsw i64 %826, 1
store i64 %827, ptr %32, align 8
%828 = load i64, ptr %36, align 8
%829 = add nsw i64 %828, 1
store i64 %829, ptr %36, align 8
br label %518, !llvm.loop !19
830: ; preds = %518
br label %831
831: ; preds = %830
%832 = load i64, ptr %33, align 8
%833 = add nsw i64 %832, 1
store i64 %833, ptr %33, align 8
%834 = load i64, ptr %37, align 8
%835 = add nsw i64 %834, 1
store i64 %835, ptr %37, align 8
br label %450, !llvm.loop !20
836: ; preds = %450
%837 = load ptr, ptr %23, align 8
%838 = load i32, ptr %837, align 4
store i32 %838, ptr %12, align 4
br label %839
839: ; preds = %836, %411, %250, %222, %170, %147, %116, %58
%840 = load i32, ptr %12, align 4
ret i32 %840
}
declare i32 @labs(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzvf4t1s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imcomp_merge_overlap(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca [6 x i64], align 16
%25 = alloca [6 x i64], align 16
%26 = alloca [6 x i64], align 16
%27 = alloca [6 x i64], align 16
%28 = alloca [6 x i64], align 16
%29 = alloca [6 x i64], align 16
%30 = alloca i64, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca i64, align 8
%35 = alloca i64, align 8
%36 = alloca i64, align 8
%37 = alloca i64, align 8
%38 = alloca i64, align 8
%39 = alloca i64, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
%44 = alloca i64, align 8
%45 = alloca i64, align 8
%46 = alloca i64, align 8
%47 = alloca i64, align 8
%48 = alloca i64, align 8
%49 = alloca i64, align 8
%50 = alloca i64, align 8
%51 = alloca i64, align 8
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store i32 %9, ptr %22, align 4
store ptr %10, ptr %23, align 8
%55 = load ptr, ptr %23, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %11
%59 = load ptr, ptr %23, align 8
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %12, align 4
br label %889
61: ; preds = %11
store i32 0, ptr %52, align 4
%62 = load i32, ptr %52, align 4
%63 = icmp slt i32 %62, 6
br i1 %63, label %.lr.ph, label %88
.lr.ph: ; preds = %61
br label %64
64: ; preds = %.lr.ph, %83
%65 = load i32, ptr %52, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %66
store i64 1, ptr %67, align 8
%68 = load i32, ptr %52, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %69
store i64 1, ptr %70, align 8
%71 = load i32, ptr %52, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %72
store i64 1, ptr %73, align 8
%74 = load i32, ptr %52, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 %75
store i64 0, ptr %76, align 8
%77 = load i32, ptr %52, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 %78
store i64 0, ptr %79, align 8
%80 = load i32, ptr %52, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %81
store i64 0, ptr %82, align 8
br label %83
83: ; preds = %64
%84 = load i32, ptr %52, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %52, align 4
%86 = load i32, ptr %52, align 4
%87 = icmp slt i32 %86, 6
br i1 %87, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %88
88: ; preds = %._crit_edge, %61
store i32 0, ptr %52, align 4
%89 = load i32, ptr %52, align 4
%90 = load i32, ptr %15, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph8, label %465
.lr.ph8: ; preds = %88
br label %92
92: ; preds = %.lr.ph8, %459
%93 = load ptr, ptr %17, align 8
%94 = load i32, ptr %52, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i64, ptr %93, i64 %95
%97 = load i64, ptr %96, align 8
%98 = load ptr, ptr %20, align 8
%99 = load i32, ptr %52, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i64, ptr %98, i64 %100
%102 = load i64, ptr %101, align 8
%103 = icmp slt i64 %97, %102
br i1 %103, label %116, label %104
104: ; preds = %92
%105 = load ptr, ptr %16, align 8
%106 = load i32, ptr %52, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i64, ptr %105, i64 %107
%109 = load i64, ptr %108, align 8
%110 = load ptr, ptr %21, align 8
%111 = load i32, ptr %52, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i64, ptr %110, i64 %112
%114 = load i64, ptr %113, align 8
%115 = icmp sgt i64 %109, %114
br i1 %115, label %116, label %119
116: ; preds = %104, %92
%117 = load ptr, ptr %23, align 8
%118 = load i32, ptr %117, align 4
store i32 %118, ptr %12, align 4
br label %889
119: ; preds = %104
%120 = load ptr, ptr %21, align 8
%121 = load i32, ptr %52, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i64, ptr %120, i64 %122
%124 = load i64, ptr %123, align 8
%125 = load ptr, ptr %20, align 8
%126 = load i32, ptr %52, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i64, ptr %125, i64 %127
%129 = load i64, ptr %128, align 8
%130 = sub nsw i64 %124, %129
%131 = load i32, ptr %52, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %132
%134 = load i64, ptr %133, align 8
%135 = call i32 @labs(i64 noundef %134)
%136 = sext i32 %135 to i64
%137 = sdiv i64 %130, %136
%138 = add nsw i64 %137, 1
%139 = load i32, ptr %52, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %140
store i64 %138, ptr %141, align 8
%142 = load i32, ptr %52, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %143
%145 = load i64, ptr %144, align 8
%146 = icmp slt i64 %145, 1
br i1 %146, label %147, label %149
147: ; preds = %119
%148 = load ptr, ptr %23, align 8
store i32 323, ptr %148, align 4
store i32 323, ptr %12, align 4
br label %889
149: ; preds = %119
%150 = load ptr, ptr %17, align 8
%151 = load i32, ptr %52, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i64, ptr %150, i64 %152
%154 = load i64, ptr %153, align 8
%155 = load ptr, ptr %16, align 8
%156 = load i32, ptr %52, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i64, ptr %155, i64 %157
%159 = load i64, ptr %158, align 8
%160 = sub nsw i64 %154, %159
%161 = add nsw i64 %160, 1
%162 = load i32, ptr %52, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %163
store i64 %161, ptr %164, align 8
%165 = load i32, ptr %52, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %166
%168 = load i64, ptr %167, align 8
%169 = icmp slt i64 %168, 1
br i1 %169, label %170, label %172
170: ; preds = %149
%171 = load ptr, ptr %23, align 8
store i32 323, ptr %171, align 4
store i32 323, ptr %12, align 4
br label %889
172: ; preds = %149
%173 = load i32, ptr %52, align 4
%174 = icmp sgt i32 %173, 0
br i1 %174, label %175, label %186
175: ; preds = %172
%176 = load i32, ptr %52, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %178
%180 = load i64, ptr %179, align 8
%181 = load i32, ptr %52, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %182
%184 = load i64, ptr %183, align 8
%185 = mul nsw i64 %184, %180
store i64 %185, ptr %183, align 8
br label %186
186: ; preds = %175, %172
%187 = load ptr, ptr %16, align 8
%188 = load i32, ptr %52, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds i64, ptr %187, i64 %189
%191 = load i64, ptr %190, align 8
%192 = sub nsw i64 %191, 1
store i64 %192, ptr %43, align 8
%193 = load ptr, ptr %17, align 8
%194 = load i32, ptr %52, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i64, ptr %193, i64 %195
%197 = load i64, ptr %196, align 8
%198 = sub nsw i64 %197, 1
store i64 %198, ptr %44, align 8
%199 = load i64, ptr %43, align 8
%200 = load ptr, ptr %20, align 8
%201 = load i32, ptr %52, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i64, ptr %200, i64 %202
%204 = load i64, ptr %203, align 8
%205 = sub nsw i64 %204, 1
%206 = sub nsw i64 %199, %205
%207 = load i32, ptr %52, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %208
%210 = load i64, ptr %209, align 8
%211 = call i32 @labs(i64 noundef %210)
%212 = sext i32 %211 to i64
%213 = srem i64 %206, %212
%214 = icmp ne i64 %213, 0
br i1 %214, label %.lr.ph2, label %241
.lr.ph2: ; preds = %186
br label %232
215: ; preds = %232
%216 = load i64, ptr %43, align 8
%217 = load ptr, ptr %20, align 8
%218 = load i32, ptr %52, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i64, ptr %217, i64 %219
%221 = load i64, ptr %220, align 8
%222 = sub nsw i64 %221, 1
%223 = sub nsw i64 %216, %222
%224 = load i32, ptr %52, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %225
%227 = load i64, ptr %226, align 8
%228 = call i32 @labs(i64 noundef %227)
%229 = sext i32 %228 to i64
%230 = srem i64 %223, %229
%231 = icmp ne i64 %230, 0
br i1 %231, label %232, label %._crit_edge3, !llvm.loop !8
232: ; preds = %.lr.ph2, %215
%233 = load i64, ptr %43, align 8
%234 = add nsw i64 %233, 1
store i64 %234, ptr %43, align 8
%235 = load i64, ptr %43, align 8
%236 = load i64, ptr %44, align 8
%237 = icmp sgt i64 %235, %236
br i1 %237, label %238, label %215
238: ; preds = %232
%239 = load ptr, ptr %23, align 8
%240 = load i32, ptr %239, align 4
store i32 %240, ptr %12, align 4
br label %889
._crit_edge3: ; preds = %215
br label %241
241: ; preds = %._crit_edge3, %186
%242 = load i64, ptr %44, align 8
%243 = load ptr, ptr %20, align 8
%244 = load i32, ptr %52, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds i64, ptr %243, i64 %245
%247 = load i64, ptr %246, align 8
%248 = sub nsw i64 %247, 1
%249 = sub nsw i64 %242, %248
%250 = load i32, ptr %52, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %251
%253 = load i64, ptr %252, align 8
%254 = call i32 @labs(i64 noundef %253)
%255 = sext i32 %254 to i64
%256 = srem i64 %249, %255
%257 = icmp ne i64 %256, 0
br i1 %257, label %.lr.ph5, label %284
.lr.ph5: ; preds = %241
br label %275
258: ; preds = %275
%259 = load i64, ptr %44, align 8
%260 = load ptr, ptr %20, align 8
%261 = load i32, ptr %52, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds i64, ptr %260, i64 %262
%264 = load i64, ptr %263, align 8
%265 = sub nsw i64 %264, 1
%266 = sub nsw i64 %259, %265
%267 = load i32, ptr %52, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %268
%270 = load i64, ptr %269, align 8
%271 = call i32 @labs(i64 noundef %270)
%272 = sext i32 %271 to i64
%273 = srem i64 %266, %272
%274 = icmp ne i64 %273, 0
br i1 %274, label %275, label %._crit_edge6, !llvm.loop !9
275: ; preds = %.lr.ph5, %258
%276 = load i64, ptr %44, align 8
%277 = add nsw i64 %276, -1
store i64 %277, ptr %44, align 8
%278 = load i64, ptr %43, align 8
%279 = load i64, ptr %44, align 8
%280 = icmp sgt i64 %278, %279
br i1 %280, label %281, label %258
281: ; preds = %275
%282 = load ptr, ptr %23, align 8
%283 = load i32, ptr %282, align 4
store i32 %283, ptr %12, align 4
br label %889
._crit_edge6: ; preds = %258
br label %284
284: ; preds = %._crit_edge6, %241
%285 = load i64, ptr %43, align 8
%286 = load ptr, ptr %20, align 8
%287 = load i32, ptr %52, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds i64, ptr %286, i64 %288
%290 = load i64, ptr %289, align 8
%291 = sub nsw i64 %285, %290
%292 = add nsw i64 %291, 1
%293 = load i32, ptr %52, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %294
%296 = load i64, ptr %295, align 8
%297 = call i32 @labs(i64 noundef %296)
%298 = sext i32 %297 to i64
%299 = sdiv i64 %292, %298
%300 = icmp sgt i64 %299, 0
br i1 %300, label %301, label %317
301: ; preds = %284
%302 = load i64, ptr %43, align 8
%303 = load ptr, ptr %20, align 8
%304 = load i32, ptr %52, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds i64, ptr %303, i64 %305
%307 = load i64, ptr %306, align 8
%308 = sub nsw i64 %302, %307
%309 = add nsw i64 %308, 1
%310 = load i32, ptr %52, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %311
%313 = load i64, ptr %312, align 8
%314 = call i32 @labs(i64 noundef %313)
%315 = sext i32 %314 to i64
%316 = sdiv i64 %309, %315
br label %318
317: ; preds = %284
br label %318
318: ; preds = %317, %301
%319 = phi i64 [ %316, %301 ], [ 0, %317 ]
%320 = load i32, ptr %52, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 %321
store i64 %319, ptr %322, align 8
%323 = load i64, ptr %44, align 8
%324 = load ptr, ptr %20, align 8
%325 = load i32, ptr %52, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i64, ptr %324, i64 %326
%328 = load i64, ptr %327, align 8
%329 = sub nsw i64 %323, %328
%330 = add nsw i64 %329, 1
%331 = load i32, ptr %52, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %332
%334 = load i64, ptr %333, align 8
%335 = call i32 @labs(i64 noundef %334)
%336 = sext i32 %335 to i64
%337 = sdiv i64 %330, %336
%338 = load i32, ptr %52, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %339
%341 = load i64, ptr %340, align 8
%342 = sub nsw i64 %341, 1
%343 = icmp slt i64 %337, %342
br i1 %343, label %344, label %360
344: ; preds = %318
%345 = load i64, ptr %44, align 8
%346 = load ptr, ptr %20, align 8
%347 = load i32, ptr %52, align 4
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds i64, ptr %346, i64 %348
%350 = load i64, ptr %349, align 8
%351 = sub nsw i64 %345, %350
%352 = add nsw i64 %351, 1
%353 = load i32, ptr %52, align 4
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %354
%356 = load i64, ptr %355, align 8
%357 = call i32 @labs(i64 noundef %356)
%358 = sext i32 %357 to i64
%359 = sdiv i64 %352, %358
br label %366
360: ; preds = %318
%361 = load i32, ptr %52, align 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %362
%364 = load i64, ptr %363, align 8
%365 = sub nsw i64 %364, 1
br label %366
366: ; preds = %360, %344
%367 = phi i64 [ %359, %344 ], [ %365, %360 ]
%368 = load i32, ptr %52, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 %369
store i64 %367, ptr %370, align 8
%371 = load ptr, ptr %20, align 8
%372 = load i32, ptr %52, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds i64, ptr %371, i64 %373
%375 = load i64, ptr %374, align 8
%376 = load ptr, ptr %16, align 8
%377 = load i32, ptr %52, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds i64, ptr %376, i64 %378
%380 = load i64, ptr %379, align 8
%381 = sub nsw i64 %375, %380
%382 = icmp sgt i64 %381, 0
br i1 %382, label %383, label %395
383: ; preds = %366
%384 = load ptr, ptr %20, align 8
%385 = load i32, ptr %52, align 4
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds i64, ptr %384, i64 %386
%388 = load i64, ptr %387, align 8
%389 = load ptr, ptr %16, align 8
%390 = load i32, ptr %52, align 4
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds i64, ptr %389, i64 %391
%393 = load i64, ptr %392, align 8
%394 = sub nsw i64 %388, %393
br label %396
395: ; preds = %366
br label %396
396: ; preds = %395, %383
%397 = phi i64 [ %394, %383 ], [ 0, %395 ]
%398 = load i32, ptr %52, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %399
store i64 %397, ptr %400, align 8
br label %401
401: ; preds = %426, %396
%402 = load ptr, ptr %16, align 8
%403 = load i32, ptr %52, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds i64, ptr %402, i64 %404
%406 = load i64, ptr %405, align 8
%407 = load i32, ptr %52, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %408
%410 = load i64, ptr %409, align 8
%411 = add nsw i64 %406, %410
%412 = load ptr, ptr %20, align 8
%413 = load i32, ptr %52, align 4
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds i64, ptr %412, i64 %414
%416 = load i64, ptr %415, align 8
%417 = sub nsw i64 %411, %416
%418 = load i32, ptr %52, align 4
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 %419
%421 = load i64, ptr %420, align 8
%422 = call i32 @labs(i64 noundef %421)
%423 = sext i32 %422 to i64
%424 = srem i64 %417, %423
%425 = icmp ne i64 %424, 0
br i1 %425, label %426, label %444
426: ; preds = %401
%427 = load i32, ptr %52, align 4
%428 = sext i32 %427 to i64
%429 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %428
%430 = load i64, ptr %429, align 8
%431 = add nsw i64 %430, 1
store i64 %431, ptr %429, align 8
%432 = load i32, ptr %52, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 %433
%435 = load i64, ptr %434, align 8
%436 = load i32, ptr %52, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 %437
%439 = load i64, ptr %438, align 8
%440 = icmp sge i64 %435, %439
br i1 %440, label %441, label %401, !llvm.loop !10
441: ; preds = %426
%442 = load ptr, ptr %23, align 8
%443 = load i32, ptr %442, align 4
store i32 %443, ptr %12, align 4
br label %889
444: ; preds = %401
%445 = load i32, ptr %52, align 4
%446 = icmp sgt i32 %445, 0
br i1 %446, label %447, label %458
447: ; preds = %444
%448 = load i32, ptr %52, align 4
%449 = sub nsw i32 %448, 1
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %450
%452 = load i64, ptr %451, align 8
%453 = load i32, ptr %52, align 4
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 %454
%456 = load i64, ptr %455, align 8
%457 = mul nsw i64 %456, %452
store i64 %457, ptr %455, align 8
br label %458
458: ; preds = %447, %444
br label %459
459: ; preds = %458
%460 = load i32, ptr %52, align 4
%461 = add nsw i32 %460, 1
store i32 %461, ptr %52, align 4
%462 = load i32, ptr %52, align 4
%463 = load i32, ptr %15, align 4
%464 = icmp slt i32 %462, %463
br i1 %464, label %92, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %459
br label %465
465: ; preds = %._crit_edge9, %88
%466 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%467 = load i64, ptr %466, align 16
%468 = icmp ne i64 %467, 1
br i1 %468, label %469, label %470
469: ; preds = %465
store i32 1, ptr %54, align 4
br label %478
470: ; preds = %465
%471 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 0
%472 = load i64, ptr %471, align 16
%473 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%474 = load i64, ptr %473, align 16
%475 = sub nsw i64 %472, %474
%476 = add nsw i64 %475, 1
%477 = trunc i64 %476 to i32
store i32 %477, ptr %54, align 4
br label %478
478: ; preds = %470, %469
%479 = load i32, ptr %54, align 4
%480 = load i32, ptr %14, align 4
%481 = mul nsw i32 %479, %480
store i32 %481, ptr %53, align 4
store i64 0, ptr %33, align 8
store i64 0, ptr %37, align 8
%482 = load i64, ptr %33, align 8
%483 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 4
%484 = load i64, ptr %483, align 16
%485 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%486 = load i64, ptr %485, align 16
%487 = sub nsw i64 %484, %486
%488 = icmp sle i64 %482, %487
br i1 %488, label %.lr.ph23, label %886
.lr.ph23: ; preds = %478
br label %489
489: ; preds = %.lr.ph23, %876
br label %490
490: ; preds = %514, %489
%491 = load i32, ptr %15, align 4
%492 = icmp sgt i32 %491, 4
br i1 %492, label %493, label %512
493: ; preds = %490
%494 = load ptr, ptr %16, align 8
%495 = getelementptr inbounds i64, ptr %494, i64 4
%496 = load i64, ptr %495, align 8
%497 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 4
%498 = load i64, ptr %497, align 16
%499 = add nsw i64 %496, %498
%500 = load ptr, ptr %20, align 8
%501 = getelementptr inbounds i64, ptr %500, i64 4
%502 = load i64, ptr %501, align 8
%503 = sub nsw i64 %499, %502
%504 = load i64, ptr %37, align 8
%505 = add nsw i64 %503, %504
%506 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 4
%507 = load i64, ptr %506, align 16
%508 = call i32 @labs(i64 noundef %507)
%509 = sext i32 %508 to i64
%510 = srem i64 %505, %509
%511 = icmp ne i64 %510, 0
br label %512
512: ; preds = %493, %490
%513 = phi i1 [ false, %490 ], [ %511, %493 ]
br i1 %513, label %514, label %517
514: ; preds = %512
%515 = load i64, ptr %37, align 8
%516 = add nsw i64 %515, 1
store i64 %516, ptr %37, align 8
br label %490, !llvm.loop !12
517: ; preds = %512
%518 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 4
%519 = load i64, ptr %518, align 16
%520 = icmp sgt i64 %519, 0
br i1 %520, label %521, label %529
521: ; preds = %517
%522 = load i64, ptr %33, align 8
%523 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%524 = load i64, ptr %523, align 16
%525 = add nsw i64 %522, %524
%526 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%527 = load i64, ptr %526, align 8
%528 = mul nsw i64 %525, %527
store i64 %528, ptr %41, align 8
br label %541
529: ; preds = %517
%530 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 4
%531 = load i64, ptr %530, align 16
%532 = load i64, ptr %33, align 8
%533 = add nsw i64 %532, 1
%534 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 4
%535 = load i64, ptr %534, align 16
%536 = add nsw i64 %533, %535
%537 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%538 = load i64, ptr %537, align 8
%539 = mul nsw i64 %536, %538
%540 = sub nsw i64 %531, %539
store i64 %540, ptr %41, align 8
br label %541
541: ; preds = %529, %521
%542 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 4
%543 = load i64, ptr %542, align 16
%544 = load i64, ptr %37, align 8
%545 = add nsw i64 %543, %544
%546 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 3
%547 = load i64, ptr %546, align 8
%548 = mul nsw i64 %545, %547
store i64 %548, ptr %47, align 8
store i64 0, ptr %32, align 8
store i64 0, ptr %36, align 8
%549 = load i64, ptr %32, align 8
%550 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 3
%551 = load i64, ptr %550, align 8
%552 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%553 = load i64, ptr %552, align 8
%554 = sub nsw i64 %551, %553
%555 = icmp sle i64 %549, %554
br i1 %555, label %.lr.ph20, label %875
.lr.ph20: ; preds = %541
br label %556
556: ; preds = %.lr.ph20, %865
br label %557
557: ; preds = %581, %556
%558 = load i32, ptr %15, align 4
%559 = icmp sgt i32 %558, 3
br i1 %559, label %560, label %579
560: ; preds = %557
%561 = load ptr, ptr %16, align 8
%562 = getelementptr inbounds i64, ptr %561, i64 3
%563 = load i64, ptr %562, align 8
%564 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 3
%565 = load i64, ptr %564, align 8
%566 = add nsw i64 %563, %565
%567 = load ptr, ptr %20, align 8
%568 = getelementptr inbounds i64, ptr %567, i64 3
%569 = load i64, ptr %568, align 8
%570 = sub nsw i64 %566, %569
%571 = load i64, ptr %36, align 8
%572 = add nsw i64 %570, %571
%573 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 3
%574 = load i64, ptr %573, align 8
%575 = call i32 @labs(i64 noundef %574)
%576 = sext i32 %575 to i64
%577 = srem i64 %572, %576
%578 = icmp ne i64 %577, 0
br label %579
579: ; preds = %560, %557
%580 = phi i1 [ false, %557 ], [ %578, %560 ]
br i1 %580, label %581, label %584
581: ; preds = %579
%582 = load i64, ptr %36, align 8
%583 = add nsw i64 %582, 1
store i64 %583, ptr %36, align 8
br label %557, !llvm.loop !13
584: ; preds = %579
%585 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 3
%586 = load i64, ptr %585, align 8
%587 = icmp sgt i64 %586, 0
br i1 %587, label %588, label %598
588: ; preds = %584
%589 = load i64, ptr %32, align 8
%590 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%591 = load i64, ptr %590, align 8
%592 = add nsw i64 %589, %591
%593 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%594 = load i64, ptr %593, align 16
%595 = mul nsw i64 %592, %594
%596 = load i64, ptr %41, align 8
%597 = add nsw i64 %595, %596
store i64 %597, ptr %40, align 8
br label %612
598: ; preds = %584
%599 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 3
%600 = load i64, ptr %599, align 8
%601 = load i64, ptr %32, align 8
%602 = add nsw i64 %601, 1
%603 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 3
%604 = load i64, ptr %603, align 8
%605 = add nsw i64 %602, %604
%606 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%607 = load i64, ptr %606, align 16
%608 = mul nsw i64 %605, %607
%609 = sub nsw i64 %600, %608
%610 = load i64, ptr %41, align 8
%611 = add nsw i64 %609, %610
store i64 %611, ptr %40, align 8
br label %612
612: ; preds = %598, %588
%613 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 3
%614 = load i64, ptr %613, align 8
%615 = load i64, ptr %36, align 8
%616 = add nsw i64 %614, %615
%617 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 2
%618 = load i64, ptr %617, align 16
%619 = mul nsw i64 %616, %618
%620 = load i64, ptr %47, align 8
%621 = add nsw i64 %619, %620
store i64 %621, ptr %46, align 8
store i64 0, ptr %31, align 8
store i64 0, ptr %35, align 8
%622 = load i64, ptr %31, align 8
%623 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 2
%624 = load i64, ptr %623, align 16
%625 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%626 = load i64, ptr %625, align 16
%627 = sub nsw i64 %624, %626
%628 = icmp sle i64 %622, %627
br i1 %628, label %.lr.ph17, label %864
.lr.ph17: ; preds = %612
br label %629
629: ; preds = %.lr.ph17, %854
br label %630
630: ; preds = %654, %629
%631 = load i32, ptr %15, align 4
%632 = icmp sgt i32 %631, 2
br i1 %632, label %633, label %652
633: ; preds = %630
%634 = load ptr, ptr %16, align 8
%635 = getelementptr inbounds i64, ptr %634, i64 2
%636 = load i64, ptr %635, align 8
%637 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 2
%638 = load i64, ptr %637, align 16
%639 = add nsw i64 %636, %638
%640 = load ptr, ptr %20, align 8
%641 = getelementptr inbounds i64, ptr %640, i64 2
%642 = load i64, ptr %641, align 8
%643 = sub nsw i64 %639, %642
%644 = load i64, ptr %35, align 8
%645 = add nsw i64 %643, %644
%646 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 2
%647 = load i64, ptr %646, align 16
%648 = call i32 @labs(i64 noundef %647)
%649 = sext i32 %648 to i64
%650 = srem i64 %645, %649
%651 = icmp ne i64 %650, 0
br label %652
652: ; preds = %633, %630
%653 = phi i1 [ false, %630 ], [ %651, %633 ]
br i1 %653, label %654, label %657
654: ; preds = %652
%655 = load i64, ptr %35, align 8
%656 = add nsw i64 %655, 1
store i64 %656, ptr %35, align 8
br label %630, !llvm.loop !14
657: ; preds = %652
%658 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 2
%659 = load i64, ptr %658, align 16
%660 = icmp sgt i64 %659, 0
br i1 %660, label %661, label %671
661: ; preds = %657
%662 = load i64, ptr %31, align 8
%663 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%664 = load i64, ptr %663, align 16
%665 = add nsw i64 %662, %664
%666 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%667 = load i64, ptr %666, align 8
%668 = mul nsw i64 %665, %667
%669 = load i64, ptr %40, align 8
%670 = add nsw i64 %668, %669
store i64 %670, ptr %39, align 8
br label %685
671: ; preds = %657
%672 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 2
%673 = load i64, ptr %672, align 16
%674 = load i64, ptr %31, align 8
%675 = add nsw i64 %674, 1
%676 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 2
%677 = load i64, ptr %676, align 16
%678 = add nsw i64 %675, %677
%679 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%680 = load i64, ptr %679, align 8
%681 = mul nsw i64 %678, %680
%682 = sub nsw i64 %673, %681
%683 = load i64, ptr %40, align 8
%684 = add nsw i64 %682, %683
store i64 %684, ptr %39, align 8
br label %685
685: ; preds = %671, %661
%686 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 2
%687 = load i64, ptr %686, align 16
%688 = load i64, ptr %35, align 8
%689 = add nsw i64 %687, %688
%690 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 1
%691 = load i64, ptr %690, align 8
%692 = mul nsw i64 %689, %691
%693 = load i64, ptr %46, align 8
%694 = add nsw i64 %692, %693
store i64 %694, ptr %45, align 8
store i64 0, ptr %30, align 8
store i64 0, ptr %34, align 8
%695 = load i64, ptr %30, align 8
%696 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 1
%697 = load i64, ptr %696, align 8
%698 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%699 = load i64, ptr %698, align 8
%700 = sub nsw i64 %697, %699
%701 = icmp sle i64 %695, %700
br i1 %701, label %.lr.ph14, label %853
.lr.ph14: ; preds = %685
br label %702
702: ; preds = %.lr.ph14, %843
br label %703
703: ; preds = %727, %702
%704 = load i32, ptr %15, align 4
%705 = icmp sgt i32 %704, 1
br i1 %705, label %706, label %725
706: ; preds = %703
%707 = load ptr, ptr %16, align 8
%708 = getelementptr inbounds i64, ptr %707, i64 1
%709 = load i64, ptr %708, align 8
%710 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 1
%711 = load i64, ptr %710, align 8
%712 = add nsw i64 %709, %711
%713 = load ptr, ptr %20, align 8
%714 = getelementptr inbounds i64, ptr %713, i64 1
%715 = load i64, ptr %714, align 8
%716 = sub nsw i64 %712, %715
%717 = load i64, ptr %34, align 8
%718 = add nsw i64 %716, %717
%719 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 1
%720 = load i64, ptr %719, align 8
%721 = call i32 @labs(i64 noundef %720)
%722 = sext i32 %721 to i64
%723 = srem i64 %718, %722
%724 = icmp ne i64 %723, 0
br label %725
725: ; preds = %706, %703
%726 = phi i1 [ false, %703 ], [ %724, %706 ]
br i1 %726, label %727, label %730
727: ; preds = %725
%728 = load i64, ptr %34, align 8
%729 = add nsw i64 %728, 1
store i64 %729, ptr %34, align 8
br label %703, !llvm.loop !15
730: ; preds = %725
%731 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 0
%732 = load i64, ptr %731, align 16
%733 = getelementptr inbounds [6 x i64], ptr %28, i64 0, i64 1
%734 = load i64, ptr %733, align 8
%735 = load i64, ptr %34, align 8
%736 = add nsw i64 %734, %735
%737 = getelementptr inbounds [6 x i64], ptr %25, i64 0, i64 0
%738 = load i64, ptr %737, align 16
%739 = mul nsw i64 %736, %738
%740 = add nsw i64 %732, %739
%741 = load i64, ptr %45, align 8
%742 = add nsw i64 %740, %741
store i64 %742, ptr %48, align 8
%743 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 1
%744 = load i64, ptr %743, align 8
%745 = icmp sgt i64 %744, 0
br i1 %745, label %746, label %756
746: ; preds = %730
%747 = load i64, ptr %30, align 8
%748 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%749 = load i64, ptr %748, align 8
%750 = add nsw i64 %747, %749
%751 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%752 = load i64, ptr %751, align 16
%753 = mul nsw i64 %750, %752
%754 = load i64, ptr %39, align 8
%755 = add nsw i64 %753, %754
store i64 %755, ptr %38, align 8
br label %770
756: ; preds = %730
%757 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 1
%758 = load i64, ptr %757, align 8
%759 = load i64, ptr %30, align 8
%760 = add nsw i64 %759, 1
%761 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 1
%762 = load i64, ptr %761, align 8
%763 = add nsw i64 %760, %762
%764 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%765 = load i64, ptr %764, align 16
%766 = mul nsw i64 %763, %765
%767 = sub nsw i64 %758, %766
%768 = load i64, ptr %39, align 8
%769 = add nsw i64 %767, %768
store i64 %769, ptr %38, align 8
br label %770
770: ; preds = %756, %746
%771 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%772 = load i64, ptr %771, align 16
%773 = icmp sgt i64 %772, 0
br i1 %773, label %774, label %779
774: ; preds = %770
%775 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%776 = load i64, ptr %775, align 16
%777 = load i64, ptr %38, align 8
%778 = add nsw i64 %776, %777
store i64 %778, ptr %49, align 8
br label %788
779: ; preds = %770
%780 = getelementptr inbounds [6 x i64], ptr %24, i64 0, i64 0
%781 = load i64, ptr %780, align 16
%782 = sub nsw i64 %781, 1
%783 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%784 = load i64, ptr %783, align 16
%785 = sub nsw i64 %782, %784
%786 = load i64, ptr %38, align 8
%787 = add nsw i64 %785, %786
store i64 %787, ptr %49, align 8
br label %788
788: ; preds = %779, %774
%789 = getelementptr inbounds [6 x i64], ptr %26, i64 0, i64 0
%790 = load i64, ptr %789, align 16
store i64 %790, ptr %42, align 8
%791 = load i64, ptr %42, align 8
%792 = getelementptr inbounds [6 x i64], ptr %27, i64 0, i64 0
%793 = load i64, ptr %792, align 16
%794 = icmp sle i64 %791, %793
br i1 %794, label %.lr.ph11, label %842
.lr.ph11: ; preds = %788
br label %795
795: ; preds = %.lr.ph11, %834
%796 = load i64, ptr %48, align 8
%797 = load i32, ptr %14, align 4
%798 = sext i32 %797 to i64
%799 = mul nsw i64 %796, %798
store i64 %799, ptr %50, align 8
%800 = load i64, ptr %49, align 8
%801 = load i32, ptr %14, align 4
%802 = sext i32 %801 to i64
%803 = mul nsw i64 %800, %802
store i64 %803, ptr %51, align 8
%804 = load ptr, ptr %13, align 8
%805 = load i64, ptr %50, align 8
%806 = getelementptr inbounds i8, ptr %804, i64 %805
%807 = load ptr, ptr %19, align 8
%808 = load i64, ptr %51, align 8
%809 = getelementptr inbounds i8, ptr %807, i64 %808
%810 = load i32, ptr %53, align 4
%811 = call i32 @memcpy(ptr noundef %806, ptr noundef %809, i32 noundef %810)
%812 = load i32, ptr %54, align 4
%813 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%814 = load i64, ptr %813, align 16
%815 = call i32 @labs(i64 noundef %814)
%816 = mul nsw i32 %812, %815
%817 = sext i32 %816 to i64
%818 = load i64, ptr %48, align 8
%819 = add nsw i64 %818, %817
store i64 %819, ptr %48, align 8
%820 = getelementptr inbounds [6 x i64], ptr %29, i64 0, i64 0
%821 = load i64, ptr %820, align 16
%822 = icmp sgt i64 %821, 0
br i1 %822, label %823, label %828
823: ; preds = %795
%824 = load i32, ptr %54, align 4
%825 = sext i32 %824 to i64
%826 = load i64, ptr %49, align 8
%827 = add nsw i64 %826, %825
store i64 %827, ptr %49, align 8
br label %833
828: ; preds = %795
%829 = load i32, ptr %54, align 4
%830 = sext i32 %829 to i64
%831 = load i64, ptr %49, align 8
%832 = sub nsw i64 %831, %830
store i64 %832, ptr %49, align 8
br label %833
833: ; preds = %828, %823
br label %834
834: ; preds = %833
%835 = load i32, ptr %54, align 4
%836 = sext i32 %835 to i64
%837 = load i64, ptr %42, align 8
%838 = add nsw i64 %837, %836
store i64 %838, ptr %42, align 8
%839 = load i64, ptr %42, align 8
%840 = load i64, ptr %792, align 16
%841 = icmp sle i64 %839, %840
br i1 %841, label %795, label %._crit_edge12, !llvm.loop !16
._crit_edge12: ; preds = %834
br label %842
842: ; preds = %._crit_edge12, %788
br label %843
843: ; preds = %842
%844 = load i64, ptr %30, align 8
%845 = add nsw i64 %844, 1
store i64 %845, ptr %30, align 8
%846 = load i64, ptr %34, align 8
%847 = add nsw i64 %846, 1
store i64 %847, ptr %34, align 8
%848 = load i64, ptr %30, align 8
%849 = load i64, ptr %696, align 8
%850 = load i64, ptr %698, align 8
%851 = sub nsw i64 %849, %850
%852 = icmp sle i64 %848, %851
br i1 %852, label %702, label %._crit_edge15, !llvm.loop !17
._crit_edge15: ; preds = %843
br label %853
853: ; preds = %._crit_edge15, %685
br label %854
854: ; preds = %853
%855 = load i64, ptr %31, align 8
%856 = add nsw i64 %855, 1
store i64 %856, ptr %31, align 8
%857 = load i64, ptr %35, align 8
%858 = add nsw i64 %857, 1
store i64 %858, ptr %35, align 8
%859 = load i64, ptr %31, align 8
%860 = load i64, ptr %623, align 16
%861 = load i64, ptr %625, align 16
%862 = sub nsw i64 %860, %861
%863 = icmp sle i64 %859, %862
br i1 %863, label %629, label %._crit_edge18, !llvm.loop !18
._crit_edge18: ; preds = %854
br label %864
864: ; preds = %._crit_edge18, %612
br label %865
865: ; preds = %864
%866 = load i64, ptr %32, align 8
%867 = add nsw i64 %866, 1
store i64 %867, ptr %32, align 8
%868 = load i64, ptr %36, align 8
%869 = add nsw i64 %868, 1
store i64 %869, ptr %36, align 8
%870 = load i64, ptr %32, align 8
%871 = load i64, ptr %550, align 8
%872 = load i64, ptr %552, align 8
%873 = sub nsw i64 %871, %872
%874 = icmp sle i64 %870, %873
br i1 %874, label %556, label %._crit_edge21, !llvm.loop !19
._crit_edge21: ; preds = %865
br label %875
875: ; preds = %._crit_edge21, %541
br label %876
876: ; preds = %875
%877 = load i64, ptr %33, align 8
%878 = add nsw i64 %877, 1
store i64 %878, ptr %33, align 8
%879 = load i64, ptr %37, align 8
%880 = add nsw i64 %879, 1
store i64 %880, ptr %37, align 8
%881 = load i64, ptr %33, align 8
%882 = load i64, ptr %483, align 16
%883 = load i64, ptr %485, align 16
%884 = sub nsw i64 %882, %883
%885 = icmp sle i64 %881, %884
br i1 %885, label %489, label %._crit_edge24, !llvm.loop !20
._crit_edge24: ; preds = %876
br label %886
886: ; preds = %._crit_edge24, %478
%887 = load ptr, ptr %23, align 8
%888 = load i32, ptr %887, align 4
store i32 %888, ptr %12, align 4
br label %889
889: ; preds = %886, %441, %281, %238, %170, %147, %116, %58
%890 = load i32, ptr %12, align 4
ret i32 %890
}
declare i32 @labs(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
|
; ModuleID = '/tmp/tmpl0ieydxe.c'
source_filename = "/tmp/tmpl0ieydxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c+\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%c=%ld\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @digits(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 %24, 48
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %5, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %66
36: ; preds = %31
store i32 0, ptr %9, align 4
br label %37
37: ; preds = %62, %36
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %65
41: ; preds = %37
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %7, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp ne i32 %42, %44
br i1 %45, label %46, label %53
46: ; preds = %41
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %51)
br label %61
53: ; preds = %41
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = load i64, ptr %5, align 8
%60 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %58, i64 noundef %59)
br label %61
61: ; preds = %53, %46
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %37, !llvm.loop !8
65: ; preds = %37
store i32 0, ptr %3, align 4
br label %125
66: ; preds = %31
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 0
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = sub nsw i32 %70, 48
store i32 %71, ptr %6, align 4
store i32 1, ptr %10, align 4
br label %72
72: ; preds = %86, %66
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %89
76: ; preds = %72
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %10, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = sub nsw i32 %82, 48
%84 = load i32, ptr %6, align 4
%85 = sub nsw i32 %84, %83
store i32 %85, ptr %6, align 4
br label %86
86: ; preds = %76
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %10, align 4
br label %72, !llvm.loop !9
89: ; preds = %72
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = load i64, ptr %5, align 8
%93 = icmp eq i64 %91, %92
br i1 %93, label %94, label %124
94: ; preds = %89
store i32 0, ptr %11, align 4
br label %95
95: ; preds = %120, %94
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr %7, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %123
99: ; preds = %95
%100 = load i32, ptr %11, align 4
%101 = load i32, ptr %7, align 4
%102 = sub nsw i32 %101, 1
%103 = icmp ne i32 %100, %102
br i1 %103, label %104, label %111
104: ; preds = %99
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %11, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %109)
br label %119
111: ; preds = %99
%112 = load ptr, ptr %4, align 8
%113 = load i32, ptr %11, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = load i64, ptr %5, align 8
%118 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %116, i64 noundef %117)
br label %119
119: ; preds = %111, %104
br label %120
120: ; preds = %119
%121 = load i32, ptr %11, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %11, align 4
br label %95, !llvm.loop !10
123: ; preds = %95
store i32 0, ptr %3, align 4
br label %125
124: ; preds = %89
store i32 1, ptr %3, align 4
br label %125
125: ; preds = %124, %123, %65
%126 = load i32, ptr %3, align 4
ret i32 %126
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl0ieydxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c+\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%c=%ld\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @digits(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %7, align 4
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 48
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %17
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = load i64, ptr %5, align 8
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %70
38: ; preds = %33
store i32 0, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph8, label %69
.lr.ph8: ; preds = %38
br label %42
42: ; preds = %.lr.ph8, %63
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %7, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp ne i32 %43, %45
br i1 %46, label %47, label %54
47: ; preds = %42
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %52)
br label %62
54: ; preds = %42
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load i64, ptr %5, align 8
%61 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %59, i64 noundef %60)
br label %62
62: ; preds = %54, %47
br label %63
63: ; preds = %62
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %42, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %63
br label %69
69: ; preds = %._crit_edge9, %38
store i32 0, ptr %3, align 4
br label %133
70: ; preds = %33
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = sub nsw i32 %74, 48
store i32 %75, ptr %6, align 4
store i32 1, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %7, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph2, label %95
.lr.ph2: ; preds = %70
br label %79
79: ; preds = %.lr.ph2, %89
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = sub nsw i32 %85, 48
%87 = load i32, ptr %6, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %6, align 4
br label %89
89: ; preds = %79
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %7, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %79, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %89
br label %95
95: ; preds = %._crit_edge3, %70
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = load i64, ptr %5, align 8
%99 = icmp eq i64 %97, %98
br i1 %99, label %100, label %132
100: ; preds = %95
store i32 0, ptr %11, align 4
%101 = load i32, ptr %11, align 4
%102 = load i32, ptr %7, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %.lr.ph5, label %131
.lr.ph5: ; preds = %100
br label %104
104: ; preds = %.lr.ph5, %125
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %7, align 4
%107 = sub nsw i32 %106, 1
%108 = icmp ne i32 %105, %107
br i1 %108, label %109, label %116
109: ; preds = %104
%110 = load ptr, ptr %4, align 8
%111 = load i32, ptr %11, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %110, i64 %112
%114 = load i8, ptr %113, align 1
%115 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %114)
br label %124
116: ; preds = %104
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %11, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %117, i64 %119
%121 = load i8, ptr %120, align 1
%122 = load i64, ptr %5, align 8
%123 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %121, i64 noundef %122)
br label %124
124: ; preds = %116, %109
br label %125
125: ; preds = %124
%126 = load i32, ptr %11, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %11, align 4
%128 = load i32, ptr %11, align 4
%129 = load i32, ptr %7, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %104, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %125
br label %131
131: ; preds = %._crit_edge6, %100
store i32 0, ptr %3, align 4
br label %133
132: ; preds = %95
store i32 1, ptr %3, align 4
br label %133
133: ; preds = %132, %131, %69
%134 = load i32, ptr %3, align 4
ret i32 %134
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp5jloi86f.c'
source_filename = "/tmp/tmp5jloi86f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_program() #0 {
%1 = call i32 (...) @free_list()
ret void
}
declare i32 @free_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5jloi86f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_program() #0 {
%1 = call i32 (...) @free_list()
ret void
}
declare i32 @free_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg6eds6ob.c'
source_filename = "/tmp/tmpg6eds6ob.c"
target datalayout = "e-m:e-p270: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/tmpg6eds6ob.c"
target datalayout = "e-m:e-p270: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/tmpl5eu_d6w.c'
source_filename = "/tmp/tmpl5eu_d6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udp_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @recv(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl5eu_d6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udp_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @recv(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %16, %15
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwjo4kmve.c'
source_filename = "/tmp/tmpwjo4kmve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%lld %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1000002 x i64], align 16
%11 = alloca [3 x i64], align 16
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %110, %0
%13 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%14 = load i64, ptr @EOF, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %111
16: ; preds = %12
store i32 1, ptr %3, align 4
br label %17
17: ; preds = %107, %16
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %110
21: ; preds = %17
%22 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 1, ptr %5, align 4
br label %23
23: ; preds = %32, %21
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %29
%31 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %30)
br label %32
32: ; preds = %27
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %23, !llvm.loop !6
35: ; preds = %23
store i32 1, ptr %7, align 4
br label %36
36: ; preds = %69, %35
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %72
40: ; preds = %36
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %43
43: ; preds = %65, %40
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %68
47: ; preds = %43
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %49
%51 = load i64, ptr %50, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %53
%55 = load i64, ptr %54, align 8
%56 = icmp eq i64 %51, %55
br i1 %56, label %57, label %64
57: ; preds = %47
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %59
store i64 -1, ptr %60, align 8
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %62
store i64 -1, ptr %63, align 8
br label %64
64: ; preds = %57, %47
br label %65
65: ; preds = %64
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
br label %43, !llvm.loop !8
68: ; preds = %43
br label %69
69: ; preds = %68
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
br label %36, !llvm.loop !9
72: ; preds = %36
store i32 1, ptr %9, align 4
store i32 1, ptr %8, align 4
br label %73
73: ; preds = %98, %72
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %77, label %101
77: ; preds = %73
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %79
%81 = load i64, ptr %80, align 8
%82 = icmp ne i64 %81, -1
br i1 %82, label %83, label %93
83: ; preds = %77
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %85
%87 = load i64, ptr %86, align 8
%88 = load i32, ptr %9, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 %89
store i64 %87, ptr %90, align 8
%91 = load i32, ptr %9, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %9, align 4
br label %93
93: ; preds = %83, %77
%94 = load i32, ptr %9, align 4
%95 = icmp eq i32 %94, 3
br i1 %95, label %96, label %97
96: ; preds = %93
br label %101
97: ; preds = %93
br label %98
98: ; preds = %97
%99 = load i32, ptr %8, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %8, align 4
br label %73, !llvm.loop !10
101: ; preds = %96, %73
%102 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 1
%103 = load i64, ptr %102, align 8
%104 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 2
%105 = load i64, ptr %104, align 16
%106 = call i32 @printf(ptr noundef @.str.2, i64 noundef %103, i64 noundef %105)
br label %107
107: ; preds = %101
%108 = load i32, ptr %3, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %3, align 4
br label %17, !llvm.loop !11
110: ; preds = %17
br label %12, !llvm.loop !12
111: ; preds = %12
ret i32 0
}
declare i64 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwjo4kmve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%lld %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1000002 x i64], align 16
%11 = alloca [3 x i64], align 16
store i32 0, ptr %1, align 4
%12 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i64, ptr @EOF, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %.lr.ph13, label %123
.lr.ph13: ; preds = %0
br label %15
15: ; preds = %.lr.ph13, %119
store i32 1, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph10, label %119
.lr.ph10: ; preds = %15
br label %19
19: ; preds = %.lr.ph10, %113
%20 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 1, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %35
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %29
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %26
%28 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %27)
br label %29
29: ; preds = %24
%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 %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %19
store i32 1, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %.lr.ph5, label %76
.lr.ph5: ; preds = %35
br label %39
39: ; preds = %.lr.ph5, %70
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %.lr.ph2, label %69
.lr.ph2: ; preds = %39
br label %45
45: ; preds = %.lr.ph2, %63
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %47
%49 = load i64, ptr %48, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %51
%53 = load i64, ptr %52, align 8
%54 = icmp eq i64 %49, %53
br i1 %54, label %55, label %62
55: ; preds = %45
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %57
store i64 -1, ptr %58, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %60
store i64 -1, ptr %61, align 8
br label %62
62: ; preds = %55, %45
br label %63
63: ; preds = %62
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %39
br label %70
70: ; preds = %69
%71 = load i32, ptr %7, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %7, align 4
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %6, align 4
%75 = icmp sle i32 %73, %74
br i1 %75, label %39, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %76
76: ; preds = %._crit_edge6, %35
store i32 1, ptr %9, align 4
store i32 1, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp sle i32 %77, %78
br i1 %79, label %.lr.ph8, label %.loopexit
.lr.ph8: ; preds = %76
br label %80
80: ; preds = %.lr.ph8, %101
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %82
%84 = load i64, ptr %83, align 8
%85 = icmp ne i64 %84, -1
br i1 %85, label %86, label %96
86: ; preds = %80
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [1000002 x i64], ptr %10, i64 0, i64 %88
%90 = load i64, ptr %89, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 %92
store i64 %90, ptr %93, align 8
%94 = load i32, ptr %9, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %9, align 4
br label %96
96: ; preds = %86, %80
%97 = load i32, ptr %9, align 4
%98 = icmp eq i32 %97, 3
br i1 %98, label %99, label %100
99: ; preds = %96
br label %107
100: ; preds = %96
br label %101
101: ; preds = %100
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %8, align 4
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %6, align 4
%106 = icmp sle i32 %104, %105
br i1 %106, label %80, label %..loopexit_crit_edge, !llvm.loop !10
..loopexit_crit_edge: ; preds = %101
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %76
br label %107
107: ; preds = %.loopexit, %99
%108 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 1
%109 = load i64, ptr %108, align 8
%110 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 2
%111 = load i64, ptr %110, align 16
%112 = call i32 @printf(ptr noundef @.str.2, i64 noundef %109, i64 noundef %111)
br label %113
113: ; preds = %107
%114 = load i32, ptr %3, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %3, align 4
%116 = load i32, ptr %3, align 4
%117 = load i32, ptr %2, align 4
%118 = icmp sle i32 %116, %117
br i1 %118, label %19, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %113
br label %119
119: ; preds = %._crit_edge11, %15
%120 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%121 = load i64, ptr @EOF, align 8
%122 = icmp ne i64 %120, %121
br i1 %122, label %15, label %._crit_edge14, !llvm.loop !12
._crit_edge14: ; preds = %119
br label %123
123: ; preds = %._crit_edge14, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpob6vsfqn.c'
source_filename = "/tmp/tmpob6vsfqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalizeVector(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call float @norm(ptr noundef %7, i32 noundef %8)
store float %9, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %22, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load float, ptr %6, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load float, ptr %19, align 4
%21 = fdiv float %20, %15
store float %21, ptr %19, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
ret void
}
declare float @norm(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/tmpob6vsfqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalizeVector(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call float @norm(ptr noundef %7, i32 noundef %8)
store float %9, ptr %6, align 4
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %21
%14 = load float, ptr %6, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds float, ptr %15, i64 %17
%19 = load float, ptr %18, align 4
%20 = fdiv float %19, %14
store float %20, ptr %18, align 4
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
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
ret void
}
declare float @norm(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/tmplr3009wy.c'
source_filename = "/tmp/tmplr3009wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure in ivector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ivector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @runtimeError(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @runtimeError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplr3009wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure in ivector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ivector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @runtimeError(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @runtimeError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfqxd2tkk.c'
source_filename = "/tmp/tmpfqxd2tkk.c"
target datalayout = "e-m:e-p270: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 [54 x i8] c"can't create grid with 0 dimenson/size [%d][%d](%d).\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"fatal error: can't malloc space for grid rows.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_grid(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = 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
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15, %12, %3
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef %20, i32 noundef %21, i32 noundef %22)
store ptr null, ptr %4, align 8
br label %57
24: ; preds = %15
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 8
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %24
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.1)
%36 = load i32, ptr @EXIT_FAILURE, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
38: ; preds = %24
store i32 0, ptr %9, align 4
br label %39
39: ; preds = %52, %38
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %39
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %7, align 4
%46 = call i64 @create_array(i32 noundef %44, i32 noundef %45)
%47 = inttoptr i64 %46 to ptr
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
store ptr %47, ptr %51, align 8
br label %52
52: ; preds = %43
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %39, !llvm.loop !6
55: ; preds = %39
%56 = load ptr, ptr %8, align 8
store ptr %56, ptr %4, align 8
br label %57
57: ; preds = %55, %18
%58 = load ptr, ptr %4, align 8
ret ptr %58
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @create_array(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqxd2tkk.c"
target datalayout = "e-m:e-p270: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 [54 x i8] c"can't create grid with 0 dimenson/size [%d][%d](%d).\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"fatal error: can't malloc space for grid rows.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_grid(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = 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
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15, %12, %3
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef %20, i32 noundef %21, i32 noundef %22)
store ptr null, ptr %4, align 8
br label %59
24: ; preds = %15
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 8
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %24
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.1)
%36 = load i32, ptr @EXIT_FAILURE, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
38: ; preds = %24
store i32 0, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %57
.lr.ph: ; preds = %38
br label %42
42: ; preds = %.lr.ph, %51
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = call i64 @create_array(i32 noundef %43, i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
store ptr %46, ptr %50, align 8
br label %51
51: ; preds = %42
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %38
%58 = load ptr, ptr %8, align 8
store ptr %58, ptr %4, align 8
br label %59
59: ; preds = %57, %18
%60 = load ptr, ptr %4, align 8
ret ptr %60
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @create_array(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxbbnwwzw.c'
source_filename = "/tmp/tmpxbbnwwzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qrdecomp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %14, align 4
br label %16
16: ; preds = %40, %4
%17 = load i32, ptr %14, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %43
20: ; preds = %16
%21 = load i32, ptr %14, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %13, align 4
br label %23
23: ; preds = %36, %20
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %39
27: ; preds = %23
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %13, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %28, i64 %34
store float 0.000000e+00, ptr %35, align 4
br label %36
36: ; preds = %27
%37 = load i32, ptr %13, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %13, align 4
br label %23, !llvm.loop !6
39: ; preds = %23
br label %40
40: ; preds = %39
%41 = load i32, ptr %14, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %14, align 4
br label %16, !llvm.loop !8
43: ; preds = %16
store i32 0, ptr %11, align 4
br label %44
44: ; preds = %210, %43
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %213
48: ; preds = %44
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %71, %48
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %74
53: ; preds = %49
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %9, align 4
%57 = mul nsw i32 %55, %56
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %54, i64 %60
%62 = load float, ptr %61, align 4
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %9, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %63, i64 %69
store float %62, ptr %70, align 4
br label %71
71: ; preds = %53
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %10, align 4
br label %49, !llvm.loop !9
74: ; preds = %49
store i32 0, ptr %14, align 4
br label %75
75: ; preds = %148, %74
%76 = load i32, ptr %14, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %151
79: ; preds = %75
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %80
80: ; preds = %105, %79
%81 = load i32, ptr %13, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %108
84: ; preds = %80
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %9, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %13, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %85, i64 %91
%93 = load float, ptr %92, align 4
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %11, align 4
%96 = load i32, ptr %9, align 4
%97 = mul nsw i32 %95, %96
%98 = load i32, ptr %13, align 4
%99 = add nsw i32 %97, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, ptr %94, i64 %100
%102 = load float, ptr %101, align 4
%103 = load float, ptr %12, align 4
%104 = call float @llvm.fmuladd.f32(float %93, float %102, float %103)
store float %104, ptr %12, align 4
br label %105
105: ; preds = %84
%106 = load i32, ptr %13, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %13, align 4
br label %80, !llvm.loop !10
108: ; preds = %80
%109 = load float, ptr %12, align 4
%110 = load ptr, ptr %8, align 8
%111 = load i32, ptr %11, align 4
%112 = load i32, ptr %9, align 4
%113 = mul nsw i32 %111, %112
%114 = load i32, ptr %14, align 4
%115 = add nsw i32 %113, %114
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds float, ptr %110, i64 %116
store float %109, ptr %117, align 4
store i32 0, ptr %13, align 4
br label %118
118: ; preds = %144, %108
%119 = load i32, ptr %13, align 4
%120 = load i32, ptr %9, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %122, label %147
122: ; preds = %118
%123 = load float, ptr %12, align 4
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %14, align 4
%126 = load i32, ptr %9, align 4
%127 = mul nsw i32 %125, %126
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %127, %128
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds float, ptr %124, i64 %130
%132 = load float, ptr %131, align 4
%133 = load ptr, ptr %7, align 8
%134 = load i32, ptr %11, align 4
%135 = load i32, ptr %9, align 4
%136 = mul nsw i32 %134, %135
%137 = load i32, ptr %13, align 4
%138 = add nsw i32 %136, %137
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, ptr %133, i64 %139
%141 = load float, ptr %140, align 4
%142 = fneg float %123
%143 = call float @llvm.fmuladd.f32(float %142, float %132, float %141)
store float %143, ptr %140, align 4
br label %144
144: ; preds = %122
%145 = load i32, ptr %13, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %13, align 4
br label %118, !llvm.loop !11
147: ; preds = %118
br label %148
148: ; preds = %147
%149 = load i32, ptr %14, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %14, align 4
br label %75, !llvm.loop !12
151: ; preds = %75
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %152
152: ; preds = %170, %151
%153 = load i32, ptr %13, align 4
%154 = load i32, ptr %9, align 4
%155 = icmp slt i32 %153, %154
br i1 %155, label %156, label %173
156: ; preds = %152
%157 = load ptr, ptr %7, align 8
%158 = load i32, ptr %11, align 4
%159 = load i32, ptr %9, align 4
%160 = mul nsw i32 %158, %159
%161 = load i32, ptr %13, align 4
%162 = add nsw i32 %160, %161
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds float, ptr %157, i64 %163
%165 = load float, ptr %164, align 4
store float %165, ptr %15, align 4
%166 = load float, ptr %15, align 4
%167 = load float, ptr %15, align 4
%168 = load float, ptr %12, align 4
%169 = call float @llvm.fmuladd.f32(float %166, float %167, float %168)
store float %169, ptr %12, align 4
br label %170
170: ; preds = %156
%171 = load i32, ptr %13, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %13, align 4
br label %152, !llvm.loop !13
173: ; preds = %152
%174 = load float, ptr %12, align 4
%175 = call float @sqrtf(float noundef %174) #3
store float %175, ptr %12, align 4
%176 = load float, ptr %12, align 4
%177 = fpext float %176 to double
%178 = fcmp olt double %177, 1.000000e-05
br i1 %178, label %179, label %180
179: ; preds = %173
store i32 0, ptr %5, align 4
br label %214
180: ; preds = %173
store i32 0, ptr %13, align 4
br label %181
181: ; preds = %197, %180
%182 = load i32, ptr %13, align 4
%183 = load i32, ptr %9, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %200
185: ; preds = %181
%186 = load float, ptr %12, align 4
%187 = load ptr, ptr %7, align 8
%188 = load i32, ptr %11, align 4
%189 = load i32, ptr %9, align 4
%190 = mul nsw i32 %188, %189
%191 = load i32, ptr %13, align 4
%192 = add nsw i32 %190, %191
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, ptr %187, i64 %193
%195 = load float, ptr %194, align 4
%196 = fdiv float %195, %186
store float %196, ptr %194, align 4
br label %197
197: ; preds = %185
%198 = load i32, ptr %13, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %13, align 4
br label %181, !llvm.loop !14
200: ; preds = %181
%201 = load float, ptr %12, align 4
%202 = load ptr, ptr %8, align 8
%203 = load i32, ptr %11, align 4
%204 = load i32, ptr %9, align 4
%205 = mul nsw i32 %203, %204
%206 = load i32, ptr %11, align 4
%207 = add nsw i32 %205, %206
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds float, ptr %202, i64 %208
store float %201, ptr %209, align 4
br label %210
210: ; preds = %200
%211 = load i32, ptr %11, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %11, align 4
br label %44, !llvm.loop !15
213: ; preds = %44
store i32 1, ptr %5, align 4
br label %214
214: ; preds = %213, %179
%215 = load i32, ptr %5, align 4
ret i32 %215
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxbbnwwzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qrdecomp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %14, align 4
%16 = load i32, ptr %14, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph2, label %47
.lr.ph2: ; preds = %4
br label %19
19: ; preds = %.lr.ph2, %41
%20 = load i32, ptr %14, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %13, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %40
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %34
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %14, align 4
%28 = load i32, ptr %9, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %13, align 4
%31 = add nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds float, ptr %26, i64 %32
store float 0.000000e+00, ptr %33, align 4
br label %34
34: ; preds = %25
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %19
br label %41
41: ; preds = %40
%42 = load i32, ptr %14, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %14, align 4
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %4
store i32 0, ptr %11, align 4
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph23, label %231
.lr.ph23: ; preds = %47
br label %51
51: ; preds = %.lr.ph23, %225
store i32 0, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph5, label %79
.lr.ph5: ; preds = %51
br label %55
55: ; preds = %.lr.ph5, %73
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %9, align 4
%59 = mul nsw i32 %57, %58
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %56, i64 %62
%64 = load float, ptr %63, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %9, align 4
%68 = mul nsw i32 %66, %67
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %68, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %65, i64 %71
store float %64, ptr %72, align 4
br label %73
73: ; preds = %55
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %9, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %73
br label %79
79: ; preds = %._crit_edge6, %51
store i32 0, ptr %14, align 4
%80 = load i32, ptr %14, align 4
%81 = load i32, ptr %11, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %.lr.ph14, label %162
.lr.ph14: ; preds = %79
br label %83
83: ; preds = %.lr.ph14, %156
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %13, align 4
%84 = load i32, ptr %13, align 4
%85 = load i32, ptr %9, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %.lr.ph8, label %114
.lr.ph8: ; preds = %83
br label %87
87: ; preds = %.lr.ph8, %108
%88 = load ptr, ptr %7, align 8
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %9, align 4
%91 = mul nsw i32 %89, %90
%92 = load i32, ptr %13, align 4
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds float, ptr %88, i64 %94
%96 = load float, ptr %95, align 4
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %9, align 4
%100 = mul nsw i32 %98, %99
%101 = load i32, ptr %13, align 4
%102 = add nsw i32 %100, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds float, ptr %97, i64 %103
%105 = load float, ptr %104, align 4
%106 = load float, ptr %12, align 4
%107 = call float @llvm.fmuladd.f32(float %96, float %105, float %106)
store float %107, ptr %12, align 4
br label %108
108: ; preds = %87
%109 = load i32, ptr %13, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %13, align 4
%111 = load i32, ptr %13, align 4
%112 = load i32, ptr %9, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %87, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %108
br label %114
114: ; preds = %._crit_edge9, %83
%115 = load float, ptr %12, align 4
%116 = load ptr, ptr %8, align 8
%117 = load i32, ptr %11, align 4
%118 = load i32, ptr %9, align 4
%119 = mul nsw i32 %117, %118
%120 = load i32, ptr %14, align 4
%121 = add nsw i32 %119, %120
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds float, ptr %116, i64 %122
store float %115, ptr %123, align 4
store i32 0, ptr %13, align 4
%124 = load i32, ptr %13, align 4
%125 = load i32, ptr %9, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %.lr.ph11, label %155
.lr.ph11: ; preds = %114
br label %127
127: ; preds = %.lr.ph11, %149
%128 = load float, ptr %12, align 4
%129 = load ptr, ptr %7, align 8
%130 = load i32, ptr %14, align 4
%131 = load i32, ptr %9, align 4
%132 = mul nsw i32 %130, %131
%133 = load i32, ptr %13, align 4
%134 = add nsw i32 %132, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds float, ptr %129, i64 %135
%137 = load float, ptr %136, align 4
%138 = load ptr, ptr %7, align 8
%139 = load i32, ptr %11, align 4
%140 = load i32, ptr %9, align 4
%141 = mul nsw i32 %139, %140
%142 = load i32, ptr %13, align 4
%143 = add nsw i32 %141, %142
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds float, ptr %138, i64 %144
%146 = load float, ptr %145, align 4
%147 = fneg float %128
%148 = call float @llvm.fmuladd.f32(float %147, float %137, float %146)
store float %148, ptr %145, align 4
br label %149
149: ; preds = %127
%150 = load i32, ptr %13, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %13, align 4
%152 = load i32, ptr %13, align 4
%153 = load i32, ptr %9, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %127, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %149
br label %155
155: ; preds = %._crit_edge12, %114
br label %156
156: ; preds = %155
%157 = load i32, ptr %14, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %14, align 4
%159 = load i32, ptr %14, align 4
%160 = load i32, ptr %11, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %83, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %156
br label %162
162: ; preds = %._crit_edge15, %79
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %13, align 4
%163 = load i32, ptr %13, align 4
%164 = load i32, ptr %9, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %.lr.ph17, label %186
.lr.ph17: ; preds = %162
br label %166
166: ; preds = %.lr.ph17, %180
%167 = load ptr, ptr %7, align 8
%168 = load i32, ptr %11, align 4
%169 = load i32, ptr %9, align 4
%170 = mul nsw i32 %168, %169
%171 = load i32, ptr %13, align 4
%172 = add nsw i32 %170, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds float, ptr %167, i64 %173
%175 = load float, ptr %174, align 4
store float %175, ptr %15, align 4
%176 = load float, ptr %15, align 4
%177 = load float, ptr %15, align 4
%178 = load float, ptr %12, align 4
%179 = call float @llvm.fmuladd.f32(float %176, float %177, float %178)
store float %179, ptr %12, align 4
br label %180
180: ; preds = %166
%181 = load i32, ptr %13, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %13, align 4
%183 = load i32, ptr %13, align 4
%184 = load i32, ptr %9, align 4
%185 = icmp slt i32 %183, %184
br i1 %185, label %166, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %180
br label %186
186: ; preds = %._crit_edge18, %162
%187 = load float, ptr %12, align 4
%188 = call float @sqrtf(float noundef %187) #3
store float %188, ptr %12, align 4
%189 = load float, ptr %12, align 4
%190 = fpext float %189 to double
%191 = fcmp olt double %190, 1.000000e-05
br i1 %191, label %192, label %193
192: ; preds = %186
store i32 0, ptr %5, align 4
br label %232
193: ; preds = %186
store i32 0, ptr %13, align 4
%194 = load i32, ptr %13, align 4
%195 = load i32, ptr %9, align 4
%196 = icmp slt i32 %194, %195
br i1 %196, label %.lr.ph20, label %215
.lr.ph20: ; preds = %193
br label %197
197: ; preds = %.lr.ph20, %209
%198 = load float, ptr %12, align 4
%199 = load ptr, ptr %7, align 8
%200 = load i32, ptr %11, align 4
%201 = load i32, ptr %9, align 4
%202 = mul nsw i32 %200, %201
%203 = load i32, ptr %13, align 4
%204 = add nsw i32 %202, %203
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds float, ptr %199, i64 %205
%207 = load float, ptr %206, align 4
%208 = fdiv float %207, %198
store float %208, ptr %206, align 4
br label %209
209: ; preds = %197
%210 = load i32, ptr %13, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %13, align 4
%212 = load i32, ptr %13, align 4
%213 = load i32, ptr %9, align 4
%214 = icmp slt i32 %212, %213
br i1 %214, label %197, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %209
br label %215
215: ; preds = %._crit_edge21, %193
%216 = load float, ptr %12, align 4
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %11, align 4
%219 = load i32, ptr %9, align 4
%220 = mul nsw i32 %218, %219
%221 = load i32, ptr %11, align 4
%222 = add nsw i32 %220, %221
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds float, ptr %217, i64 %223
store float %216, ptr %224, align 4
br label %225
225: ; preds = %215
%226 = load i32, ptr %11, align 4
%227 = add nsw i32 %226, 1
store i32 %227, ptr %11, align 4
%228 = load i32, ptr %11, align 4
%229 = load i32, ptr %9, align 4
%230 = icmp slt i32 %228, %229
br i1 %230, label %51, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %225
br label %231
231: ; preds = %._crit_edge24, %47
store i32 1, ptr %5, align 4
br label %232
232: ; preds = %231, %192
%233 = load i32, ptr %5, align 4
ret i32 %233
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpjzcfow_2.c'
source_filename = "/tmp/tmpjzcfow_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input character is %c. Output is \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @bar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
ret i8 98
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjzcfow_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input character is %c. Output is \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @bar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
ret i8 98
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmx751zka.c'
source_filename = "/tmp/tmpmx751zka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgRefresh() #0 {
%1 = call i32 (...) @displayBgInfo()
ret void
}
declare i32 @displayBgInfo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmx751zka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgRefresh() #0 {
%1 = call i32 (...) @displayBgInfo()
ret void
}
declare i32 @displayBgInfo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4mens0m.c'
source_filename = "/tmp/tmpj4mens0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printlock_w39v040fa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printlock_w39v040a(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printlock_regspace2_uniform_64k(ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @printlock_w39v040a(ptr noundef) #1
declare i32 @printlock_regspace2_uniform_64k(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4mens0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printlock_w39v040fa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printlock_w39v040a(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printlock_regspace2_uniform_64k(ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @printlock_w39v040a(ptr noundef) #1
declare i32 @printlock_regspace2_uniform_64k(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0tp9laxo.c'
source_filename = "/tmp/tmp0tp9laxo.c"
target datalayout = "e-m:e-p270: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/tmp0tp9laxo.c"
target datalayout = "e-m:e-p270: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/tmpfv29c__i.c'
source_filename = "/tmp/tmpfv29c__i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getLine(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %62, %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
switch i32 %12, label %42 [
i32 128, label %13
i32 10, label %13
i32 9, label %20
]
13: ; preds = %9, %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 0, ptr %17, align 1
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %51
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = sdiv i32 %21, 8
%23 = add nsw i32 %22, 1
%24 = mul nsw i32 %23, 8
%25 = sub nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %38, %20
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %41
31: ; preds = %27
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 32, ptr %35, align 1
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %31
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %27, !llvm.loop !6
41: ; preds = %27
br label %51
42: ; preds = %9
%43 = load i32, ptr %8, align 4
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %42, %41, %13
%52 = load i32, ptr %5, align 4
%53 = icmp sge i32 %52, 9992
br i1 %53, label %54, label %61
54: ; preds = %51
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %54, %51
br label %62
62: ; preds = %61
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %5, align 4
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %9, label %71, !llvm.loop !8
71: ; preds = %62
%72 = load i32, ptr %5, align 4
%73 = sub nsw i32 %72, 2
store i32 %73, ptr %5, align 4
br label %74
74: ; preds = %93, %71
%75 = load i32, ptr %5, align 4
%76 = icmp sge i32 %75, 0
br i1 %76, label %77, label %94
77: ; preds = %74
%78 = load ptr, ptr %4, align 8
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 32
br i1 %84, label %85, label %92
85: ; preds = %77
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
store i8 0, ptr %89, align 1
%90 = load i32, ptr %5, align 4
%91 = add nsw i32 %90, -1
store i32 %91, ptr %5, align 4
br label %93
92: ; preds = %77
br label %94
93: ; preds = %85
br label %74, !llvm.loop !9
94: ; preds = %92, %74
%95 = load i32, ptr %8, align 4
ret i32 %95
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfv29c__i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getLine(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %64, %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
switch i32 %12, label %44 [
i32 128, label %13
i32 10, label %13
i32 9, label %20
]
13: ; preds = %9, %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 0, ptr %17, align 1
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %53
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = sdiv i32 %21, 8
%23 = add nsw i32 %22, 1
%24 = mul nsw i32 %23, 8
%25 = sub nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph, label %43
.lr.ph: ; preds = %20
br label %30
30: ; preds = %.lr.ph, %37
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 32, ptr %34, align 1
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %30
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %20
br label %53
44: ; preds = %9
%45 = load i32, ptr %8, align 4
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %44, %43, %13
%54 = load i32, ptr %5, align 4
%55 = icmp sge i32 %54, 9992
br i1 %55, label %56, label %63
56: ; preds = %53
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 0, ptr %60, align 1
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
br label %63
63: ; preds = %56, %53
br label %64
64: ; preds = %63
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %5, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 0
br i1 %72, label %9, label %73, !llvm.loop !8
73: ; preds = %64
%74 = load i32, ptr %5, align 4
%75 = sub nsw i32 %74, 2
store i32 %75, ptr %5, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp sge i32 %76, 0
br i1 %77, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %73
br label %78
78: ; preds = %.lr.ph2, %94
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 32
br i1 %85, label %86, label %93
86: ; preds = %78
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 0, ptr %90, align 1
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, -1
store i32 %92, ptr %5, align 4
br label %94
93: ; preds = %78
br label %97
94: ; preds = %86
%95 = load i32, ptr %5, align 4
%96 = icmp sge i32 %95, 0
br i1 %96, label %78, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %94
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %73
br label %97
97: ; preds = %.loopexit, %93
%98 = load i32, ptr %8, align 4
ret i32 %98
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj78k42ah.c'
source_filename = "/tmp/tmpj78k42ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d/%d + %d/%d\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"entrada invalida!\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %0
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12, %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %40
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %5, align 4
%20 = mul nsw i32 %18, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = mul nsw i32 %21, %22
%24 = add nsw i32 %20, %23
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = mul nsw i32 %25, %26
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @gcd(i32 noundef %28, i32 noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %8, align 4
%33 = sdiv i32 %31, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = sdiv i32 %34, %35
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %17, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gcd(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/tmpj78k42ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d/%d + %d/%d\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"entrada invalida!\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %0
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12, %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %40
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %5, align 4
%20 = mul nsw i32 %18, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = mul nsw i32 %21, %22
%24 = add nsw i32 %20, %23
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = mul nsw i32 %25, %26
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @gcd(i32 noundef %28, i32 noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %8, align 4
%33 = sdiv i32 %31, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = sdiv i32 %34, %35
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %17, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gcd(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/tmpywszuo3h.c'
source_filename = "/tmp/tmpywszuo3h.c"
target datalayout = "e-m:e-p270: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/tmpywszuo3h.c"
target datalayout = "e-m:e-p270: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/tmp3rp_1o7i.c'
source_filename = "/tmp/tmp3rp_1o7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComposePerm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 8
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %8, align 8
store i64 0, ptr %7, align 8
br label %14
14: ; preds = %29, %3
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp slt i64 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i64, ptr %20, i64 %21
%23 = load i64, ptr %22, align 8
%24 = getelementptr inbounds i64, ptr %19, i64 %23
%25 = load i64, ptr %24, align 8
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds i64, ptr %26, i64 %27
store i64 %25, ptr %28, align 8
br label %29
29: ; preds = %18
%30 = load i64, ptr %7, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %7, align 8
br label %14, !llvm.loop !6
32: ; preds = %14
store i64 0, ptr %7, align 8
br label %33
33: ; preds = %45, %32
%34 = load i64, ptr %7, align 8
%35 = load i64, ptr %6, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %37, label %48
37: ; preds = %33
%38 = load ptr, ptr %8, align 8
%39 = load i64, ptr %7, align 8
%40 = getelementptr inbounds i64, ptr %38, i64 %39
%41 = load i64, ptr %40, align 8
%42 = load ptr, ptr %4, align 8
%43 = load i64, ptr %7, align 8
%44 = getelementptr inbounds i64, ptr %42, i64 %43
store i64 %41, ptr %44, align 8
br label %45
45: ; preds = %37
%46 = load i64, ptr %7, align 8
%47 = add nsw i64 %46, 1
store i64 %47, ptr %7, align 8
br label %33, !llvm.loop !8
48: ; preds = %33
%49 = load ptr, ptr %8, align 8
%50 = call i32 @free(ptr noundef %49)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rp_1o7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComposePerm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 8
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %8, align 8
store i64 0, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp slt i64 %14, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds i64, ptr %19, i64 %20
%22 = load i64, ptr %21, align 8
%23 = getelementptr inbounds i64, ptr %18, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i64, ptr %7, align 8
%27 = getelementptr inbounds i64, ptr %25, i64 %26
store i64 %24, ptr %27, align 8
br label %28
28: ; preds = %17
%29 = load i64, ptr %7, align 8
%30 = add nsw i64 %29, 1
store i64 %30, ptr %7, align 8
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %6, align 8
%33 = icmp slt i64 %31, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %3
store i64 0, ptr %7, align 8
%35 = load i64, ptr %7, align 8
%36 = load i64, ptr %6, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %.lr.ph2, label %52
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %46
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr %7, align 8
%41 = getelementptr inbounds i64, ptr %39, i64 %40
%42 = load i64, ptr %41, align 8
%43 = load ptr, ptr %4, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds i64, ptr %43, i64 %44
store i64 %42, ptr %45, align 8
br label %46
46: ; preds = %38
%47 = load i64, ptr %7, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %7, align 8
%50 = load i64, ptr %6, align 8
%51 = icmp slt i64 %49, %50
br i1 %51, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %34
%53 = load ptr, ptr %8, align 8
%54 = call i32 @free(ptr noundef %53)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_hk5lk7u.c'
source_filename = "/tmp/tmp_hk5lk7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diminuto_command_line(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i64 0, ptr %11, align 8
store i32 0, ptr %12, align 4
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %7, align 8
store ptr %14, ptr %13, align 8
%15 = load i64, ptr %8, align 8
store i64 %15, ptr %11, align 8
%16 = load i64, ptr %11, align 8
%17 = icmp ugt i64 %16, 0
br i1 %17, label %18, label %85
18: ; preds = %4
%19 = load i64, ptr %11, align 8
%20 = sub i64 %19, 1
store i64 %20, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %21
21: ; preds = %78, %18
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %81
25: ; preds = %21
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %25
br label %81
33: ; preds = %25
%34 = load i32, ptr %12, align 4
%35 = icmp sle i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
br label %49
37: ; preds = %33
%38 = load i64, ptr %11, align 8
%39 = icmp ugt i64 1, %38
br i1 %39, label %40, label %41
40: ; preds = %37
br label %81
41: ; preds = %37
%42 = load ptr, ptr %13, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %13, align 8
store i8 32, ptr %42, align 1
%44 = load i64, ptr %11, align 8
%45 = sub i64 %44, 1
store i64 %45, ptr %11, align 8
%46 = load i64, ptr %9, align 8
%47 = add i64 %46, 1
store i64 %47, ptr %9, align 8
br label %48
48: ; preds = %41
br label %49
49: ; preds = %48, %36
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = call i64 @strlen(ptr noundef %54)
store i64 %55, ptr %10, align 8
%56 = load i64, ptr %10, align 8
%57 = load i64, ptr %11, align 8
%58 = icmp ugt i64 %56, %57
br i1 %58, label %59, label %60
59: ; preds = %49
br label %81
60: ; preds = %49
%61 = load ptr, ptr %13, align 8
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %12, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load i64, ptr %10, align 8
%68 = call i32 @strncpy(ptr noundef %61, ptr noundef %66, i64 noundef %67)
%69 = load i64, ptr %10, align 8
%70 = load ptr, ptr %13, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 %69
store ptr %71, ptr %13, align 8
%72 = load i64, ptr %10, align 8
%73 = load i64, ptr %11, align 8
%74 = sub i64 %73, %72
store i64 %74, ptr %11, align 8
%75 = load i64, ptr %10, align 8
%76 = load i64, ptr %9, align 8
%77 = add i64 %76, %75
store i64 %77, ptr %9, align 8
br label %78
78: ; preds = %60
%79 = load i32, ptr %12, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %12, align 4
br label %21, !llvm.loop !6
81: ; preds = %59, %40, %32, %21
%82 = load ptr, ptr %13, align 8
store i8 0, ptr %82, align 1
%83 = load i64, ptr %9, align 8
%84 = add i64 %83, 1
store i64 %84, ptr %9, align 8
br label %85
85: ; preds = %81, %4
%86 = load i64, ptr %9, align 8
ret i64 %86
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hk5lk7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diminuto_command_line(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i64 0, ptr %11, align 8
store i32 0, ptr %12, align 4
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %7, align 8
store ptr %14, ptr %13, align 8
%15 = load i64, ptr %8, align 8
store i64 %15, ptr %11, align 8
%16 = load i64, ptr %11, align 8
%17 = icmp ugt i64 %16, 0
br i1 %17, label %18, label %87
18: ; preds = %4
%19 = load i64, ptr %11, align 8
%20 = sub i64 %19, 1
store i64 %20, ptr %11, align 8
store i32 0, ptr %12, align 4
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %18
br label %24
24: ; preds = %.lr.ph, %77
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %12, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %32
31: ; preds = %24
br label %83
32: ; preds = %24
%33 = load i32, ptr %12, align 4
%34 = icmp sle i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
br label %48
36: ; preds = %32
%37 = load i64, ptr %11, align 8
%38 = icmp ugt i64 1, %37
br i1 %38, label %39, label %40
39: ; preds = %36
br label %83
40: ; preds = %36
%41 = load ptr, ptr %13, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %13, align 8
store i8 32, ptr %41, align 1
%43 = load i64, ptr %11, align 8
%44 = sub i64 %43, 1
store i64 %44, ptr %11, align 8
%45 = load i64, ptr %9, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %9, align 8
br label %47
47: ; preds = %40
br label %48
48: ; preds = %47, %35
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %12, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = call i64 @strlen(ptr noundef %53)
store i64 %54, ptr %10, align 8
%55 = load i64, ptr %10, align 8
%56 = load i64, ptr %11, align 8
%57 = icmp ugt i64 %55, %56
br i1 %57, label %58, label %59
58: ; preds = %48
br label %83
59: ; preds = %48
%60 = load ptr, ptr %13, align 8
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %12, 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 i64, ptr %10, align 8
%67 = call i32 @strncpy(ptr noundef %60, ptr noundef %65, i64 noundef %66)
%68 = load i64, ptr %10, align 8
%69 = load ptr, ptr %13, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 %68
store ptr %70, ptr %13, align 8
%71 = load i64, ptr %10, align 8
%72 = load i64, ptr %11, align 8
%73 = sub i64 %72, %71
store i64 %73, ptr %11, align 8
%74 = load i64, ptr %10, align 8
%75 = load i64, ptr %9, align 8
%76 = add i64 %75, %74
store i64 %76, ptr %9, align 8
br label %77
77: ; preds = %59
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %12, align 4
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %5, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %24, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %77
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %18
br label %83
83: ; preds = %.loopexit, %58, %39, %31
%84 = load ptr, ptr %13, align 8
store i8 0, ptr %84, align 1
%85 = load i64, ptr %9, align 8
%86 = add i64 %85, 1
store i64 %86, ptr %9, align 8
br label %87
87: ; preds = %83, %4
%88 = load i64, ptr %9, align 8
ret i64 %88
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(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"}
|
; ModuleID = '/tmp/tmp4r5waito.c'
source_filename = "/tmp/tmp4r5waito.c"
target datalayout = "e-m:e-p270: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/tmp4r5waito.c"
target datalayout = "e-m:e-p270: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/tmpe3he10f5.c'
source_filename = "/tmp/tmpe3he10f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite 2 valores inteiros x e y: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AValores validos.\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"\0AValores invalidos.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @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 %4, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = icmp sgt i32 %7, -20
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %10, -10
br i1 %11, label %21, label %12
12: ; preds = %9, %0
%13 = load i32, ptr %1, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i32, ptr %1, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %21, label %18
18: ; preds = %15, %12
%19 = load i32, ptr %1, align 4
%20 = icmp sgt i32 %19, 50
br i1 %20, label %21, label %22
21: ; preds = %18, %15, %9
store i32 1, ptr %3, align 4
br label %22
22: ; preds = %21, %18
%23 = load i32, ptr %2, align 4
%24 = icmp sgt i32 %23, -50
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, -20
br i1 %27, label %40, label %28
28: ; preds = %25, %22
%29 = load i32, ptr %2, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp sle i32 %32, 10
br i1 %33, label %40, label %34
34: ; preds = %31, %28
%35 = load i32, ptr %2, align 4
%36 = icmp sgt i32 %35, 20
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %2, align 4
%39 = icmp sle i32 %38, 50
br i1 %39, label %40, label %41
40: ; preds = %37, %31, %25
store i32 1, ptr %4, align 4
br label %41
41: ; preds = %40, %37, %34
%42 = load i32, ptr %3, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %53, label %47
47: ; preds = %44, %41
%48 = load i32, ptr %3, align 4
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, ptr %4, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50, %44
%54 = call i32 @printf(ptr noundef @.str.2)
br label %57
55: ; preds = %50, %47
%56 = call i32 @printf(ptr noundef @.str.3)
br label %57
57: ; preds = %55, %53
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe3he10f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite 2 valores inteiros x e y: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AValores validos.\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"\0AValores invalidos.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @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 %4, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = icmp sgt i32 %7, -20
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %10, -10
br i1 %11, label %21, label %12
12: ; preds = %9, %0
%13 = load i32, ptr %1, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i32, ptr %1, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %21, label %18
18: ; preds = %15, %12
%19 = load i32, ptr %1, align 4
%20 = icmp sgt i32 %19, 50
br i1 %20, label %21, label %22
21: ; preds = %18, %15, %9
store i32 1, ptr %3, align 4
br label %22
22: ; preds = %21, %18
%23 = load i32, ptr %2, align 4
%24 = icmp sgt i32 %23, -50
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, -20
br i1 %27, label %40, label %28
28: ; preds = %25, %22
%29 = load i32, ptr %2, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp sle i32 %32, 10
br i1 %33, label %40, label %34
34: ; preds = %31, %28
%35 = load i32, ptr %2, align 4
%36 = icmp sgt i32 %35, 20
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %2, align 4
%39 = icmp sle i32 %38, 50
br i1 %39, label %40, label %41
40: ; preds = %37, %31, %25
store i32 1, ptr %4, align 4
br label %41
41: ; preds = %40, %37, %34
%42 = load i32, ptr %3, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %53, label %47
47: ; preds = %44, %41
%48 = load i32, ptr %3, align 4
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, ptr %4, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50, %44
%54 = call i32 @printf(ptr noundef @.str.2)
br label %57
55: ; preds = %50, %47
%56 = call i32 @printf(ptr noundef @.str.3)
br label %57
57: ; preds = %55, %53
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjjyr3l7b.c'
source_filename = "/tmp/tmpjjyr3l7b.c"
target datalayout = "e-m:e-p270: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/tmpjjyr3l7b.c"
target datalayout = "e-m:e-p270: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/tmp4ytyeq7g.c'
source_filename = "/tmp/tmp4ytyeq7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sendPair(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = call i32 @sendBit(i32 noundef %8, i32 noundef 1)
%10 = load i32, ptr %3, align 4
%11 = call i32 @sendBit(i32 noundef %10, i32 noundef 0)
br label %17
12: ; preds = %2
%13 = load i32, ptr %3, align 4
%14 = call i32 @sendBit(i32 noundef %13, i32 noundef 0)
%15 = load i32, ptr %3, align 4
%16 = call i32 @sendBit(i32 noundef %15, i32 noundef 1)
br label %17
17: ; preds = %12, %7
ret void
}
declare i32 @sendBit(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/tmp4ytyeq7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sendPair(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = call i32 @sendBit(i32 noundef %8, i32 noundef 1)
%10 = load i32, ptr %3, align 4
%11 = call i32 @sendBit(i32 noundef %10, i32 noundef 0)
br label %17
12: ; preds = %2
%13 = load i32, ptr %3, align 4
%14 = call i32 @sendBit(i32 noundef %13, i32 noundef 0)
%15 = load i32, ptr %3, align 4
%16 = call i32 @sendBit(i32 noundef %15, i32 noundef 1)
br label %17
17: ; preds = %12, %7
ret void
}
declare i32 @sendBit(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/tmpaomkbe85.c'
source_filename = "/tmp/tmpaomkbe85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @print_time() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = call ptr @ctime(ptr noundef %1)
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @ctime(ptr noundef %1)
%11 = call i64 @strlen(ptr noundef %10)
%12 = call ptr @ctime(ptr noundef %1)
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i32 @time(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 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/tmpaomkbe85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @print_time() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = call ptr @ctime(ptr noundef %1)
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @ctime(ptr noundef %1)
%11 = call i64 @strlen(ptr noundef %10)
%12 = call ptr @ctime(ptr noundef %1)
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i32 @time(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 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/tmpefsu7vx6.c'
source_filename = "/tmp/tmpefsu7vx6.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"ERROR: execve is unsupported!\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Tried to execute '%s' with arg0 '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execve(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 i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, ptr noundef %12)
%14 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpefsu7vx6.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"ERROR: execve is unsupported!\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Tried to execute '%s' with arg0 '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execve(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 i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, ptr noundef %12)
%14 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp_urqvnxe.c'
source_filename = "/tmp/tmp_urqvnxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"You are in a dark room.\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"You smell the distinctive odor of a Wumpus.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"You feel a cool breeze.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @smell(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
br label %13
13: ; preds = %44, %3
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
%17 = icmp sle i32 %14, %16
br i1 %17, label %18, label %47
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [7 x i8], ptr %19, i64 %21
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [7 x i8], ptr %22, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 80
br i1 %28, label %29, label %30
29: ; preds = %18
store i32 1, ptr %7, align 4
br label %43
30: ; preds = %18
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [7 x i8], ptr %31, i64 %33
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [7 x i8], ptr %34, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 87
br i1 %40, label %41, label %42
41: ; preds = %30
store i32 1, ptr %8, align 4
br label %42
42: ; preds = %41, %30
br label %43
43: ; preds = %42, %29
br label %44
44: ; preds = %43
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %13, !llvm.loop !6
47: ; preds = %13
%48 = load i32, ptr %5, align 4
%49 = sub nsw i32 %48, 1
store i32 %49, ptr %10, align 4
br label %50
50: ; preds = %81, %47
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
%54 = icmp sle i32 %51, %53
br i1 %54, label %55, label %84
55: ; preds = %50
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [7 x i8], ptr %56, i64 %58
%60 = load i32, ptr %10, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [7 x i8], ptr %59, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 80
br i1 %65, label %66, label %67
66: ; preds = %55
store i32 1, ptr %7, align 4
br label %80
67: ; preds = %55
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [7 x i8], ptr %68, i64 %70
%72 = load i32, ptr %10, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [7 x i8], ptr %71, i64 0, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 87
br i1 %77, label %78, label %79
78: ; preds = %67
store i32 1, ptr %8, align 4
br label %79
79: ; preds = %78, %67
br label %80
80: ; preds = %79, %66
br label %81
81: ; preds = %80
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %10, align 4
br label %50, !llvm.loop !8
84: ; preds = %50
%85 = call i32 @printf(ptr noundef @.str)
%86 = load i32, ptr %8, align 4
%87 = icmp eq i32 %86, 1
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = call i32 @printf(ptr noundef @.str.1)
br label %90
90: ; preds = %88, %84
%91 = load i32, ptr %7, align 4
%92 = icmp eq i32 %91, 1
br i1 %92, label %93, label %95
93: ; preds = %90
%94 = call i32 @printf(ptr noundef @.str.2)
br label %95
95: ; preds = %93, %90
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_urqvnxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"You are in a dark room.\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"You smell the distinctive odor of a Wumpus.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"You feel a cool breeze.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @smell(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
%16 = icmp sle i32 %13, %15
br i1 %16, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %43
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [7 x i8], ptr %18, i64 %20
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [7 x i8], ptr %21, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 80
br i1 %27, label %28, label %29
28: ; preds = %17
store i32 1, ptr %7, align 4
br label %42
29: ; preds = %17
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [7 x i8], ptr %30, i64 %32
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [7 x i8], ptr %33, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 87
br i1 %39, label %40, label %41
40: ; preds = %29
store i32 1, ptr %8, align 4
br label %41
41: ; preds = %40, %29
br label %42
42: ; preds = %41, %28
br label %43
43: ; preds = %42
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
%49 = icmp sle i32 %46, %48
br i1 %49, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %50
50: ; preds = %._crit_edge, %3
%51 = load i32, ptr %5, align 4
%52 = sub nsw i32 %51, 1
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
%56 = icmp sle i32 %53, %55
br i1 %56, label %.lr.ph2, label %90
.lr.ph2: ; preds = %50
br label %57
57: ; preds = %.lr.ph2, %83
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [7 x i8], ptr %58, i64 %60
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [7 x i8], ptr %61, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 80
br i1 %67, label %68, label %69
68: ; preds = %57
store i32 1, ptr %7, align 4
br label %82
69: ; preds = %57
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [7 x i8], ptr %70, i64 %72
%74 = load i32, ptr %10, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [7 x i8], ptr %73, i64 0, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 87
br i1 %79, label %80, label %81
80: ; preds = %69
store i32 1, ptr %8, align 4
br label %81
81: ; preds = %80, %69
br label %82
82: ; preds = %81, %68
br label %83
83: ; preds = %82
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
%89 = icmp sle i32 %86, %88
br i1 %89, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %90
90: ; preds = %._crit_edge3, %50
%91 = call i32 @printf(ptr noundef @.str)
%92 = load i32, ptr %8, align 4
%93 = icmp eq i32 %92, 1
br i1 %93, label %94, label %96
94: ; preds = %90
%95 = call i32 @printf(ptr noundef @.str.1)
br label %96
96: ; preds = %94, %90
%97 = load i32, ptr %7, align 4
%98 = icmp eq i32 %97, 1
br i1 %98, label %99, label %101
99: ; preds = %96
%100 = call i32 @printf(ptr noundef @.str.2)
br label %101
101: ; preds = %99, %96
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuufjekyr.c'
source_filename = "/tmp/tmpuufjekyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test002() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @bmalloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = call ptr @bmalloc(i32 noundef 13)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @bfree(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @bfree(ptr noundef %7)
%9 = call i32 (...) @print_buddy()
ret void
}
declare ptr @bmalloc(i32 noundef) #1
declare i32 @bfree(ptr noundef) #1
declare i32 @print_buddy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuufjekyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test002() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @bmalloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = call ptr @bmalloc(i32 noundef 13)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @bfree(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @bfree(ptr noundef %7)
%9 = call i32 (...) @print_buddy()
ret void
}
declare ptr @bmalloc(i32 noundef) #1
declare i32 @bfree(ptr noundef) #1
declare i32 @print_buddy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps_kujdo8.c'
source_filename = "/tmp/tmps_kujdo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f() #0 {
%1 = call i32 (...) @foo()
%2 = call i32 @abs(i32 noundef 0) #3
%3 = call i32 @strrchr_foo(ptr noundef @.str, i8 noundef signext 46)
%4 = call i32 (...) @prefetch()
%5 = call i32 @memchr(ptr noundef @.str, i8 noundef signext 46, i32 noundef 0)
ret void
}
declare i32 @foo(...) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @strrchr_foo(ptr noundef, i8 noundef signext) #1
declare i32 @prefetch(...) #1
declare i32 @memchr(ptr noundef, i8 noundef signext, 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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_kujdo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f() #0 {
%1 = call i32 (...) @foo()
%2 = call i32 @abs(i32 noundef 0) #3
%3 = call i32 @strrchr_foo(ptr noundef @.str, i8 noundef signext 46)
%4 = call i32 (...) @prefetch()
%5 = call i32 @memchr(ptr noundef @.str, i8 noundef signext 46, i32 noundef 0)
ret void
}
declare i32 @foo(...) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @strrchr_foo(ptr noundef, i8 noundef signext) #1
declare i32 @prefetch(...) #1
declare i32 @memchr(ptr noundef, i8 noundef signext, 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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4im7vd72.c'
source_filename = "/tmp/tmp4im7vd72.c"
target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [10 x float] [float 0x3F120CF000000000, float 0xC04393EDE0000000, float 0x4050442780000000, float 0xBFF0F2CD00000000, float 0x3FFC34B680000000, float 0x3FE277D540000000, float 0xBFEEC472C0000000, float 0xBFA22EAFE0000000, float 0x3FAE33D1E0000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_x(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [10 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 9, ptr %7, align 4
store float 0x4001595600000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%30 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %30, align 16
%31 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %31, align 4
%32 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %32, align 8
%33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032049BA0000000, ptr %33, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %34, align 16
%35 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %35, align 4
%36 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %36, align 8
%37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FBA5E0000000, ptr %37, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 40, i1 false)
store i32 0, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %76
40: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %41
41: ; preds = %72, %40
%42 = load i32, ptr %14, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %75
45: ; preds = %41
%46 = load i32, ptr %14, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %47
%49 = load float, ptr %48, align 4
%50 = load i32, ptr %14, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %51
%53 = load float, ptr %52, align 4
%54 = fcmp oeq float %49, %53
br i1 %54, label %55, label %56
55: ; preds = %45
br label %72
56: ; preds = %45
%57 = load i32, ptr %14, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58
%60 = load float, ptr %59, align 4
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %62
%64 = load float, ptr %63, align 4
%65 = fsub float %60, %64
%66 = fpext float %65 to double
%67 = fdiv double 2.000000e+00, %66
%68 = fptrunc double %67 to float
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %70
store float %68, ptr %71, align 4
br label %72
72: ; preds = %56, %55
%73 = load i32, ptr %14, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %14, align 4
br label %41, !llvm.loop !6
75: ; preds = %41
br label %76
76: ; preds = %75, %3
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds float, ptr %77, i64 0
%79 = load float, ptr %78, align 4
%80 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%81 = load float, ptr %80, align 16
%82 = fsub float %79, %81
%83 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%84 = load float, ptr %83, align 16
%85 = fmul float %82, %84
%86 = fpext float %85 to double
%87 = fadd double 1.000000e+00, %86
%88 = fptrunc double %87 to float
store float %88, ptr %15, align 4
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds float, ptr %89, i64 0
%91 = load float, ptr %90, align 4
%92 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%93 = load float, ptr %92, align 16
%94 = fmul float %91, %93
store float %94, ptr %16, align 4
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds float, ptr %95, i64 1
%97 = load float, ptr %96, align 4
%98 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%99 = load float, ptr %98, align 4
%100 = fsub float %97, %99
%101 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%102 = load float, ptr %101, align 4
%103 = fmul float %100, %102
%104 = fpext float %103 to double
%105 = fadd double 1.000000e+00, %104
%106 = fptrunc double %105 to float
store float %106, ptr %17, align 4
%107 = load ptr, ptr %5, align 8
%108 = getelementptr inbounds float, ptr %107, i64 1
%109 = load float, ptr %108, align 4
%110 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%111 = load float, ptr %110, align 4
%112 = fmul float %109, %111
store float %112, ptr %18, align 4
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds float, ptr %113, i64 2
%115 = load float, ptr %114, align 4
%116 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%117 = load float, ptr %116, align 8
%118 = fsub float %115, %117
%119 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%120 = load float, ptr %119, align 8
%121 = fmul float %118, %120
%122 = fpext float %121 to double
%123 = fadd double 1.000000e+00, %122
%124 = fptrunc double %123 to float
store float %124, ptr %19, align 4
%125 = load ptr, ptr %5, align 8
%126 = getelementptr inbounds float, ptr %125, i64 2
%127 = load float, ptr %126, align 4
%128 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%129 = load float, ptr %128, align 8
%130 = fmul float %127, %129
store float %130, ptr %20, align 4
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds float, ptr %131, i64 3
%133 = load float, ptr %132, align 4
%134 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%135 = load float, ptr %134, align 4
%136 = fsub float %133, %135
%137 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%138 = load float, ptr %137, align 4
%139 = fmul float %136, %138
%140 = fpext float %139 to double
%141 = fadd double 1.000000e+00, %140
%142 = fptrunc double %141 to float
store float %142, ptr %21, align 4
%143 = load ptr, ptr %5, align 8
%144 = getelementptr inbounds float, ptr %143, i64 3
%145 = load float, ptr %144, align 4
%146 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%147 = load float, ptr %146, align 4
%148 = fmul float %145, %147
store float %148, ptr %22, align 4
%149 = load float, ptr %15, align 4
store float %149, ptr %23, align 4
%150 = load float, ptr %17, align 4
store float %150, ptr %24, align 4
%151 = load float, ptr %19, align 4
store float %151, ptr %25, align 4
%152 = load float, ptr %21, align 4
store float %152, ptr %26, align 4
%153 = load float, ptr %8, align 4
%154 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
%155 = load float, ptr %154, align 16
%156 = fadd float %153, %155
%157 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 1
%158 = load float, ptr %157, align 4
%159 = load float, ptr %23, align 4
%160 = call float @llvm.fmuladd.f32(float %158, float %159, float %156)
%161 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 2
%162 = load float, ptr %161, align 8
%163 = load float, ptr %25, align 4
%164 = call float @llvm.fmuladd.f32(float %162, float %163, float %160)
%165 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%166 = load float, ptr %165, align 4
%167 = load float, ptr %24, align 4
%168 = fmul float %166, %167
%169 = load float, ptr %25, align 4
%170 = call float @llvm.fmuladd.f32(float %168, float %169, float %164)
%171 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%172 = load float, ptr %171, align 16
%173 = load float, ptr %25, align 4
%174 = fmul float %172, %173
%175 = load float, ptr %26, align 4
%176 = call float @llvm.fmuladd.f32(float %174, float %175, float %170)
%177 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%178 = load float, ptr %177, align 4
%179 = load float, ptr %23, align 4
%180 = fmul float %178, %179
%181 = load float, ptr %24, align 4
%182 = call float @llvm.fmuladd.f32(float %180, float %181, float %176)
%183 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%184 = load float, ptr %183, align 8
%185 = load float, ptr %23, align 4
%186 = fmul float %184, %185
%187 = load float, ptr %26, align 4
%188 = call float @llvm.fmuladd.f32(float %186, float %187, float %182)
%189 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 7
%190 = load float, ptr %189, align 4
%191 = load float, ptr %24, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
store float %192, ptr %27, align 4
%193 = load float, ptr %27, align 4
%194 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 8
%195 = load float, ptr %194, align 16
%196 = load float, ptr %26, align 4
%197 = call float @llvm.fmuladd.f32(float %195, float %196, float %193)
store float %197, ptr %27, align 4
%198 = load float, ptr %16, align 4
%199 = fadd float 0.000000e+00, %198
%200 = load float, ptr %18, align 4
%201 = fadd float %199, %200
%202 = load float, ptr %20, align 4
%203 = fadd float %201, %202
%204 = load float, ptr %22, align 4
%205 = fadd float %203, %204
store float %205, ptr %28, align 4
%206 = load float, ptr %28, align 4
%207 = fcmp oeq float %206, 0.000000e+00
br i1 %207, label %208, label %209
208: ; preds = %76
br label %275
209: ; preds = %76
%210 = load float, ptr %16, align 4
%211 = load float, ptr %16, align 4
%212 = fmul float %210, %211
%213 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 1
%214 = load float, ptr %213, align 4
%215 = fadd float 0.000000e+00, %214
%216 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%217 = load float, ptr %216, align 4
%218 = load float, ptr %24, align 4
%219 = call float @llvm.fmuladd.f32(float %217, float %218, float %215)
%220 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%221 = load float, ptr %220, align 8
%222 = load float, ptr %26, align 4
%223 = call float @llvm.fmuladd.f32(float %221, float %222, float %219)
%224 = call float @pow(float noundef %223, i32 noundef 2)
%225 = load float, ptr %18, align 4
%226 = load float, ptr %18, align 4
%227 = fmul float %225, %226
%228 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%229 = load float, ptr %228, align 4
%230 = load float, ptr %25, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float 0.000000e+00)
%232 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%233 = load float, ptr %232, align 4
%234 = load float, ptr %23, align 4
%235 = call float @llvm.fmuladd.f32(float %233, float %234, float %231)
%236 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 7
%237 = load float, ptr %236, align 4
%238 = fadd float %235, %237
%239 = call float @pow(float noundef %238, i32 noundef 2)
%240 = fmul float %227, %239
%241 = call float @llvm.fmuladd.f32(float %212, float %224, float %240)
%242 = load float, ptr %20, align 4
%243 = load float, ptr %20, align 4
%244 = fmul float %242, %243
%245 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 2
%246 = load float, ptr %245, align 8
%247 = fadd float 0.000000e+00, %246
%248 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%249 = load float, ptr %248, align 4
%250 = load float, ptr %24, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %247)
%252 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%253 = load float, ptr %252, align 16
%254 = load float, ptr %26, align 4
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %251)
%256 = call float @pow(float noundef %255, i32 noundef 2)
%257 = call float @llvm.fmuladd.f32(float %244, float %256, float %241)
%258 = load float, ptr %22, align 4
%259 = load float, ptr %22, align 4
%260 = fmul float %258, %259
%261 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%262 = load float, ptr %261, align 16
%263 = load float, ptr %25, align 4
%264 = call float @llvm.fmuladd.f32(float %262, float %263, float 0.000000e+00)
%265 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%266 = load float, ptr %265, align 8
%267 = load float, ptr %23, align 4
%268 = call float @llvm.fmuladd.f32(float %266, float %267, float %264)
%269 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 8
%270 = load float, ptr %269, align 16
%271 = fadd float %268, %270
%272 = call float @pow(float noundef %271, i32 noundef 2)
%273 = call float @llvm.fmuladd.f32(float %260, float %272, float %257)
%274 = call float @sqrt(float noundef %273)
br label %275
275: ; preds = %209, %208
%276 = phi float [ 0.000000e+00, %208 ], [ %274, %209 ]
store float %276, ptr %29, align 4
%277 = load float, ptr %29, align 4
%278 = load ptr, ptr %5, align 8
%279 = getelementptr inbounds float, ptr %278, i64 0
store float %277, ptr %279, align 4
%280 = load float, ptr %27, align 4
ret float %280
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4im7vd72.c"
target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [10 x float] [float 0x3F120CF000000000, float 0xC04393EDE0000000, float 0x4050442780000000, float 0xBFF0F2CD00000000, float 0x3FFC34B680000000, float 0x3FE277D540000000, float 0xBFEEC472C0000000, float 0xBFA22EAFE0000000, float 0x3FAE33D1E0000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_x(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [10 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 9, ptr %7, align 4
store float 0x4001595600000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%30 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %30, align 16
%31 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %31, align 4
%32 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %32, align 8
%33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032049BA0000000, ptr %33, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %34, align 16
%35 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %35, align 4
%36 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %36, align 8
%37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FBA5E0000000, ptr %37, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 40, i1 false)
store i32 0, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %78
40: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%41 = load i32, ptr %14, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph, label %77
.lr.ph: ; preds = %40
br label %44
44: ; preds = %.lr.ph, %71
%45 = load i32, ptr %14, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %46
%48 = load float, ptr %47, align 4
%49 = load i32, ptr %14, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = fcmp oeq float %48, %52
br i1 %53, label %54, label %55
54: ; preds = %44
br label %71
55: ; preds = %44
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %61
%63 = load float, ptr %62, align 4
%64 = fsub float %59, %63
%65 = fpext float %64 to double
%66 = fdiv double 2.000000e+00, %65
%67 = fptrunc double %66 to float
%68 = load i32, ptr %14, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %69
store float %67, ptr %70, align 4
br label %71
71: ; preds = %55, %54
%72 = load i32, ptr %14, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %14, align 4
%74 = load i32, ptr %14, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %40
br label %78
78: ; preds = %77, %3
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds float, ptr %79, i64 0
%81 = load float, ptr %80, align 4
%82 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%83 = load float, ptr %82, align 16
%84 = fsub float %81, %83
%85 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%86 = load float, ptr %85, align 16
%87 = fmul float %84, %86
%88 = fpext float %87 to double
%89 = fadd double 1.000000e+00, %88
%90 = fptrunc double %89 to float
store float %90, ptr %15, align 4
%91 = load ptr, ptr %5, align 8
%92 = getelementptr inbounds float, ptr %91, i64 0
%93 = load float, ptr %92, align 4
%94 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%95 = load float, ptr %94, align 16
%96 = fmul float %93, %95
store float %96, ptr %16, align 4
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds float, ptr %97, i64 1
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%101 = load float, ptr %100, align 4
%102 = fsub float %99, %101
%103 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%104 = load float, ptr %103, align 4
%105 = fmul float %102, %104
%106 = fpext float %105 to double
%107 = fadd double 1.000000e+00, %106
%108 = fptrunc double %107 to float
store float %108, ptr %17, align 4
%109 = load ptr, ptr %5, align 8
%110 = getelementptr inbounds float, ptr %109, i64 1
%111 = load float, ptr %110, align 4
%112 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%113 = load float, ptr %112, align 4
%114 = fmul float %111, %113
store float %114, ptr %18, align 4
%115 = load ptr, ptr %4, align 8
%116 = getelementptr inbounds float, ptr %115, i64 2
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%119 = load float, ptr %118, align 8
%120 = fsub float %117, %119
%121 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%122 = load float, ptr %121, align 8
%123 = fmul float %120, %122
%124 = fpext float %123 to double
%125 = fadd double 1.000000e+00, %124
%126 = fptrunc double %125 to float
store float %126, ptr %19, align 4
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds float, ptr %127, i64 2
%129 = load float, ptr %128, align 4
%130 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%131 = load float, ptr %130, align 8
%132 = fmul float %129, %131
store float %132, ptr %20, align 4
%133 = load ptr, ptr %4, align 8
%134 = getelementptr inbounds float, ptr %133, i64 3
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%137 = load float, ptr %136, align 4
%138 = fsub float %135, %137
%139 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%140 = load float, ptr %139, align 4
%141 = fmul float %138, %140
%142 = fpext float %141 to double
%143 = fadd double 1.000000e+00, %142
%144 = fptrunc double %143 to float
store float %144, ptr %21, align 4
%145 = load ptr, ptr %5, align 8
%146 = getelementptr inbounds float, ptr %145, i64 3
%147 = load float, ptr %146, align 4
%148 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%149 = load float, ptr %148, align 4
%150 = fmul float %147, %149
store float %150, ptr %22, align 4
%151 = load float, ptr %15, align 4
store float %151, ptr %23, align 4
%152 = load float, ptr %17, align 4
store float %152, ptr %24, align 4
%153 = load float, ptr %19, align 4
store float %153, ptr %25, align 4
%154 = load float, ptr %21, align 4
store float %154, ptr %26, align 4
%155 = load float, ptr %8, align 4
%156 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
%157 = load float, ptr %156, align 16
%158 = fadd float %155, %157
%159 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 1
%160 = load float, ptr %159, align 4
%161 = load float, ptr %23, align 4
%162 = call float @llvm.fmuladd.f32(float %160, float %161, float %158)
%163 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 2
%164 = load float, ptr %163, align 8
%165 = load float, ptr %25, align 4
%166 = call float @llvm.fmuladd.f32(float %164, float %165, float %162)
%167 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%168 = load float, ptr %167, align 4
%169 = load float, ptr %24, align 4
%170 = fmul float %168, %169
%171 = load float, ptr %25, align 4
%172 = call float @llvm.fmuladd.f32(float %170, float %171, float %166)
%173 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%174 = load float, ptr %173, align 16
%175 = load float, ptr %25, align 4
%176 = fmul float %174, %175
%177 = load float, ptr %26, align 4
%178 = call float @llvm.fmuladd.f32(float %176, float %177, float %172)
%179 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%180 = load float, ptr %179, align 4
%181 = load float, ptr %23, align 4
%182 = fmul float %180, %181
%183 = load float, ptr %24, align 4
%184 = call float @llvm.fmuladd.f32(float %182, float %183, float %178)
%185 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%186 = load float, ptr %185, align 8
%187 = load float, ptr %23, align 4
%188 = fmul float %186, %187
%189 = load float, ptr %26, align 4
%190 = call float @llvm.fmuladd.f32(float %188, float %189, float %184)
%191 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 7
%192 = load float, ptr %191, align 4
%193 = load float, ptr %24, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
store float %194, ptr %27, align 4
%195 = load float, ptr %27, align 4
%196 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 8
%197 = load float, ptr %196, align 16
%198 = load float, ptr %26, align 4
%199 = call float @llvm.fmuladd.f32(float %197, float %198, float %195)
store float %199, ptr %27, align 4
%200 = load float, ptr %16, align 4
%201 = fadd float 0.000000e+00, %200
%202 = load float, ptr %18, align 4
%203 = fadd float %201, %202
%204 = load float, ptr %20, align 4
%205 = fadd float %203, %204
%206 = load float, ptr %22, align 4
%207 = fadd float %205, %206
store float %207, ptr %28, align 4
%208 = load float, ptr %28, align 4
%209 = fcmp oeq float %208, 0.000000e+00
br i1 %209, label %210, label %211
210: ; preds = %78
br label %277
211: ; preds = %78
%212 = load float, ptr %16, align 4
%213 = load float, ptr %16, align 4
%214 = fmul float %212, %213
%215 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 1
%216 = load float, ptr %215, align 4
%217 = fadd float 0.000000e+00, %216
%218 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%219 = load float, ptr %218, align 4
%220 = load float, ptr %24, align 4
%221 = call float @llvm.fmuladd.f32(float %219, float %220, float %217)
%222 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%223 = load float, ptr %222, align 8
%224 = load float, ptr %26, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %221)
%226 = call float @pow(float noundef %225, i32 noundef 2)
%227 = load float, ptr %18, align 4
%228 = load float, ptr %18, align 4
%229 = fmul float %227, %228
%230 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%231 = load float, ptr %230, align 4
%232 = load float, ptr %25, align 4
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float 0.000000e+00)
%234 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 5
%235 = load float, ptr %234, align 4
%236 = load float, ptr %23, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %233)
%238 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 7
%239 = load float, ptr %238, align 4
%240 = fadd float %237, %239
%241 = call float @pow(float noundef %240, i32 noundef 2)
%242 = fmul float %229, %241
%243 = call float @llvm.fmuladd.f32(float %214, float %226, float %242)
%244 = load float, ptr %20, align 4
%245 = load float, ptr %20, align 4
%246 = fmul float %244, %245
%247 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 2
%248 = load float, ptr %247, align 8
%249 = fadd float 0.000000e+00, %248
%250 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 3
%251 = load float, ptr %250, align 4
%252 = load float, ptr %24, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %249)
%254 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%255 = load float, ptr %254, align 16
%256 = load float, ptr %26, align 4
%257 = call float @llvm.fmuladd.f32(float %255, float %256, float %253)
%258 = call float @pow(float noundef %257, i32 noundef 2)
%259 = call float @llvm.fmuladd.f32(float %246, float %258, float %243)
%260 = load float, ptr %22, align 4
%261 = load float, ptr %22, align 4
%262 = fmul float %260, %261
%263 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 4
%264 = load float, ptr %263, align 16
%265 = load float, ptr %25, align 4
%266 = call float @llvm.fmuladd.f32(float %264, float %265, float 0.000000e+00)
%267 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 6
%268 = load float, ptr %267, align 8
%269 = load float, ptr %23, align 4
%270 = call float @llvm.fmuladd.f32(float %268, float %269, float %266)
%271 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 8
%272 = load float, ptr %271, align 16
%273 = fadd float %270, %272
%274 = call float @pow(float noundef %273, i32 noundef 2)
%275 = call float @llvm.fmuladd.f32(float %262, float %274, float %259)
%276 = call float @sqrt(float noundef %275)
br label %277
277: ; preds = %211, %210
%278 = phi float [ 0.000000e+00, %210 ], [ %276, %211 ]
store float %278, ptr %29, align 4
%279 = load float, ptr %29, align 4
%280 = load ptr, ptr %5, align 8
%281 = getelementptr inbounds float, ptr %280, i64 0
store float %279, ptr %281, align 4
%282 = load float, ptr %27, align 4
ret float %282
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzw1npxc7.c'
source_filename = "/tmp/tmpzw1npxc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__usage_fault_handler() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 (...) @mcal_cpu_nop()
br label %1
}
declare i32 @mcal_cpu_nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzw1npxc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__usage_fault_handler() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 (...) @mcal_cpu_nop()
br label %1
}
declare i32 @mcal_cpu_nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcj5us_pe.c'
source_filename = "/tmp/tmpcj5us_pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vhost_user_listen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %37
12: ; preds = %1
%13 = load i32, ptr @AF_UNIX, align 4
%14 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strncpy(i32 noundef %16, ptr noundef %17, i32 noundef 4)
%19 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = call i32 @unlink(i32 noundef %20)
%22 = load i32, ptr %4, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %5, i32 noundef 8)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %28
25: ; preds = %12
%26 = load i32, ptr %4, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %12
%29 = load i32, ptr %4, align 4
%30 = call i32 @listen(i32 noundef %29, i32 noundef 1)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %4, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -1, ptr %2, align 4
br label %37
35: ; preds = %28
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %35, %32, %25, %10
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcj5us_pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vhost_user_listen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %37
12: ; preds = %1
%13 = load i32, ptr @AF_UNIX, align 4
%14 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strncpy(i32 noundef %16, ptr noundef %17, i32 noundef 4)
%19 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = call i32 @unlink(i32 noundef %20)
%22 = load i32, ptr %4, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %5, i32 noundef 8)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %28
25: ; preds = %12
%26 = load i32, ptr %4, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 -1, ptr %2, align 4
br label %37
28: ; preds = %12
%29 = load i32, ptr %4, align 4
%30 = call i32 @listen(i32 noundef %29, i32 noundef 1)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %4, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -1, ptr %2, align 4
br label %37
35: ; preds = %28
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %35, %32, %25, %10
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4mfhddi.c'
source_filename = "/tmp/tmpu4mfhddi.c"
target datalayout = "e-m:e-p270: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/tmpu4mfhddi.c"
target datalayout = "e-m:e-p270: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/tmpt0augwyh.c'
source_filename = "/tmp/tmpt0augwyh.c"
target datalayout = "e-m:e-p270: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/tmpt0augwyh.c"
target datalayout = "e-m:e-p270: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/tmpgobqgfph.c'
source_filename = "/tmp/tmpgobqgfph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You lose!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OnLose() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgobqgfph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You lose!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OnLose() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcn12e7a1.c'
source_filename = "/tmp/tmpcn12e7a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp olt float %6, 0.000000e+00
br i1 %7, label %8, label %9
8: ; preds = %1
store float -1.000000e+00, ptr %2, align 4
br label %30
9: ; preds = %1
store float 0.000000e+00, ptr %5, align 4
br label %10
10: ; preds = %20, %9
%11 = load float, ptr %5, align 4
%12 = load float, ptr %3, align 4
%13 = fcmp une float %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = load float, ptr %3, align 4
%17 = fptosi float %16 to i32
%18 = icmp sge i32 %15, %17
br i1 %18, label %19, label %20
19: ; preds = %14
br label %25
20: ; preds = %14
%21 = load i32, ptr %4, align 4
%22 = call float @pow(double noundef 1.000000e+01, i32 noundef %21)
store float %22, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %10, !llvm.loop !6
25: ; preds = %19, %10
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
%29 = sitofp i32 %28 to float
store float %29, ptr %2, align 4
br label %30
30: ; preds = %26, %8
%31 = load float, ptr %2, align 4
ret float %31
}
declare float @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcn12e7a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp olt float %6, 0.000000e+00
br i1 %7, label %8, label %9
8: ; preds = %1
store float -1.000000e+00, ptr %2, align 4
br label %32
9: ; preds = %1
store float 0.000000e+00, ptr %5, align 4
%10 = load float, ptr %5, align 4
%11 = load float, ptr %3, align 4
%12 = fcmp une float %10, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %19
%14 = load i32, ptr %4, align 4
%15 = load float, ptr %3, align 4
%16 = fptosi float %15 to i32
%17 = icmp sge i32 %14, %16
br i1 %17, label %18, label %19
18: ; preds = %13
br label %27
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = call float @pow(double noundef 1.000000e+01, i32 noundef %20)
store float %21, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load float, ptr %5, align 4
%25 = load float, ptr %3, align 4
%26 = fcmp une float %24, %25
br i1 %26, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %19
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %9
br label %27
27: ; preds = %.loopexit, %18
br label %28
28: ; preds = %27
%29 = load i32, ptr %4, align 4
%30 = sub nsw i32 %29, 1
%31 = sitofp i32 %30 to float
store float %31, ptr %2, align 4
br label %32
32: ; preds = %28, %8
%33 = load float, ptr %2, align 4
ret float %33
}
declare float @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm15vuj7x.c'
source_filename = "/tmp/tmpm15vuj7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %11 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %9
i32 5, label %10
]
5: ; preds = %1
%6 = call i32 (...) @do_something()
store i32 0, ptr %2, align 4
br label %13
7: ; preds = %1
%8 = call i32 (...) @do_something_else()
store i32 1, ptr %2, align 4
br label %13
9: ; preds = %1, %1
br label %12
10: ; preds = %1
store i32 3, ptr %2, align 4
br label %13
11: ; preds = %1
br label %12
12: ; preds = %11, %9
store i32 -1, ptr %2, align 4
br label %13
13: ; preds = %12, %10, %7, %5
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @do_something(...) #1
declare i32 @do_something_else(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm15vuj7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %11 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %9
i32 5, label %10
]
5: ; preds = %1
%6 = call i32 (...) @do_something()
store i32 0, ptr %2, align 4
br label %13
7: ; preds = %1
%8 = call i32 (...) @do_something_else()
store i32 1, ptr %2, align 4
br label %13
9: ; preds = %1, %1
br label %12
10: ; preds = %1
store i32 3, ptr %2, align 4
br label %13
11: ; preds = %1
br label %12
12: ; preds = %11, %9
store i32 -1, ptr %2, align 4
br label %13
13: ; preds = %12, %10, %7, %5
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @do_something(...) #1
declare i32 @do_something_else(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2v88agxe.c'
source_filename = "/tmp/tmp2v88agxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgbv86_rsplit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call ptr @bgbv86_ralloc(i32 noundef 512)
store ptr %6, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %218, %192, %1
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %223
11: ; preds = %7
br label %12
12: ; preds = %24, %11
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load ptr, ptr %2, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp sle i32 %20, 32
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ false, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %2, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %2, align 8
%29 = load i8, ptr %28, align 1
%30 = icmp ne i8 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %27
br label %223
32: ; preds = %27
%33 = call ptr @bgbv86_ralloc(i32 noundef 256)
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds ptr, ptr %35, i64 %38
store ptr %34, ptr %39, align 8
%40 = load ptr, ptr %2, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 34
br i1 %43, label %44, label %199
44: ; preds = %32
%45 = load ptr, ptr %2, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %178, %172, %126, %95, %74, %44
%48 = load ptr, ptr %2, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load ptr, ptr %2, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 34
br label %57
57: ; preds = %52, %47
%58 = phi i1 [ false, %47 ], [ %56, %52 ]
br i1 %58, label %59, label %184
59: ; preds = %57
%60 = load ptr, ptr %2, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 92
br i1 %63, label %64, label %178
64: ; preds = %59
%65 = load ptr, ptr %2, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %2, align 8
%67 = load i8, ptr %65, align 1
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %4, align 8
store i8 %67, ptr %68, align 1
%70 = load ptr, ptr %2, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 120
br i1 %73, label %74, label %90
74: ; preds = %64
%75 = load ptr, ptr %2, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %2, align 8
%77 = load i8, ptr %75, align 1
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %4, align 8
store i8 %77, ptr %78, align 1
%80 = load ptr, ptr %2, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %2, align 8
%82 = load i8, ptr %80, align 1
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %4, align 8
store i8 %82, ptr %83, align 1
%85 = load ptr, ptr %2, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %2, align 8
%87 = load i8, ptr %85, align 1
%88 = load ptr, ptr %4, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %4, align 8
store i8 %87, ptr %88, align 1
br label %47, !llvm.loop !8
90: ; preds = %64
%91 = load ptr, ptr %2, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 117
br i1 %94, label %95, label %121
95: ; preds = %90
%96 = load ptr, ptr %2, align 8
%97 = getelementptr inbounds i8, ptr %96, i32 1
store ptr %97, ptr %2, align 8
%98 = load i8, ptr %96, align 1
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %4, align 8
store i8 %98, ptr %99, align 1
%101 = load ptr, ptr %2, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %2, align 8
%103 = load i8, ptr %101, align 1
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %4, align 8
store i8 %103, ptr %104, align 1
%106 = load ptr, ptr %2, align 8
%107 = getelementptr inbounds i8, ptr %106, i32 1
store ptr %107, ptr %2, align 8
%108 = load i8, ptr %106, align 1
%109 = load ptr, ptr %4, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %4, align 8
store i8 %108, ptr %109, align 1
%111 = load ptr, ptr %2, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %2, align 8
%113 = load i8, ptr %111, align 1
%114 = load ptr, ptr %4, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %4, align 8
store i8 %113, ptr %114, align 1
%116 = load ptr, ptr %2, align 8
%117 = getelementptr inbounds i8, ptr %116, i32 1
store ptr %117, ptr %2, align 8
%118 = load i8, ptr %116, align 1
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds i8, ptr %119, i32 1
store ptr %120, ptr %4, align 8
store i8 %118, ptr %119, align 1
br label %47, !llvm.loop !8
121: ; preds = %90
%122 = load ptr, ptr %2, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 85
br i1 %125, label %126, label %172
126: ; preds = %121
%127 = load ptr, ptr %2, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %2, align 8
%129 = load i8, ptr %127, align 1
%130 = load ptr, ptr %4, align 8
%131 = getelementptr inbounds i8, ptr %130, i32 1
store ptr %131, ptr %4, align 8
store i8 %129, ptr %130, align 1
%132 = load ptr, ptr %2, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %2, align 8
%134 = load i8, ptr %132, align 1
%135 = load ptr, ptr %4, align 8
%136 = getelementptr inbounds i8, ptr %135, i32 1
store ptr %136, ptr %4, align 8
store i8 %134, ptr %135, align 1
%137 = load ptr, ptr %2, align 8
%138 = getelementptr inbounds i8, ptr %137, i32 1
store ptr %138, ptr %2, align 8
%139 = load i8, ptr %137, align 1
%140 = load ptr, ptr %4, align 8
%141 = getelementptr inbounds i8, ptr %140, i32 1
store ptr %141, ptr %4, align 8
store i8 %139, ptr %140, align 1
%142 = load ptr, ptr %2, align 8
%143 = getelementptr inbounds i8, ptr %142, i32 1
store ptr %143, ptr %2, align 8
%144 = load i8, ptr %142, align 1
%145 = load ptr, ptr %4, align 8
%146 = getelementptr inbounds i8, ptr %145, i32 1
store ptr %146, ptr %4, align 8
store i8 %144, ptr %145, align 1
%147 = load ptr, ptr %2, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %2, align 8
%149 = load i8, ptr %147, align 1
%150 = load ptr, ptr %4, align 8
%151 = getelementptr inbounds i8, ptr %150, i32 1
store ptr %151, ptr %4, align 8
store i8 %149, ptr %150, align 1
%152 = load ptr, ptr %2, align 8
%153 = getelementptr inbounds i8, ptr %152, i32 1
store ptr %153, ptr %2, align 8
%154 = load i8, ptr %152, align 1
%155 = load ptr, ptr %4, align 8
%156 = getelementptr inbounds i8, ptr %155, i32 1
store ptr %156, ptr %4, align 8
store i8 %154, ptr %155, align 1
%157 = load ptr, ptr %2, align 8
%158 = getelementptr inbounds i8, ptr %157, i32 1
store ptr %158, ptr %2, align 8
%159 = load i8, ptr %157, align 1
%160 = load ptr, ptr %4, align 8
%161 = getelementptr inbounds i8, ptr %160, i32 1
store ptr %161, ptr %4, align 8
store i8 %159, ptr %160, align 1
%162 = load ptr, ptr %2, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %2, align 8
%164 = load i8, ptr %162, align 1
%165 = load ptr, ptr %4, align 8
%166 = getelementptr inbounds i8, ptr %165, i32 1
store ptr %166, ptr %4, align 8
store i8 %164, ptr %165, align 1
%167 = load ptr, ptr %2, align 8
%168 = getelementptr inbounds i8, ptr %167, i32 1
store ptr %168, ptr %2, align 8
%169 = load i8, ptr %167, align 1
%170 = load ptr, ptr %4, align 8
%171 = getelementptr inbounds i8, ptr %170, i32 1
store ptr %171, ptr %4, align 8
store i8 %169, ptr %170, align 1
br label %47, !llvm.loop !8
172: ; preds = %121
%173 = load ptr, ptr %2, align 8
%174 = getelementptr inbounds i8, ptr %173, i32 1
store ptr %174, ptr %2, align 8
%175 = load i8, ptr %173, align 1
%176 = load ptr, ptr %4, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %4, align 8
store i8 %175, ptr %176, align 1
br label %47, !llvm.loop !8
178: ; preds = %59
%179 = load ptr, ptr %2, align 8
%180 = getelementptr inbounds i8, ptr %179, i32 1
store ptr %180, ptr %2, align 8
%181 = load i8, ptr %179, align 1
%182 = load ptr, ptr %4, align 8
%183 = getelementptr inbounds i8, ptr %182, i32 1
store ptr %183, ptr %4, align 8
store i8 %181, ptr %182, align 1
br label %47, !llvm.loop !8
184: ; preds = %57
%185 = load ptr, ptr %2, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 34
br i1 %188, label %189, label %192
189: ; preds = %184
%190 = load ptr, ptr %2, align 8
%191 = getelementptr inbounds i8, ptr %190, i32 1
store ptr %191, ptr %2, align 8
br label %192
192: ; preds = %189, %184
%193 = load ptr, ptr %4, align 8
%194 = getelementptr inbounds i8, ptr %193, i32 1
store ptr %194, ptr %4, align 8
store i8 0, ptr %193, align 1
%195 = load ptr, ptr %4, align 8
%196 = getelementptr inbounds i8, ptr %195, i32 1
store ptr %196, ptr %4, align 8
store i8 34, ptr %195, align 1
%197 = load ptr, ptr %4, align 8
%198 = getelementptr inbounds i8, ptr %197, i32 1
store ptr %198, ptr %4, align 8
store i8 0, ptr %197, align 1
br label %7, !llvm.loop !9
199: ; preds = %32
br label %200
200: ; preds = %212, %199
%201 = load ptr, ptr %2, align 8
%202 = load i8, ptr %201, align 1
%203 = sext i8 %202 to i32
%204 = icmp ne i32 %203, 0
br i1 %204, label %205, label %210
205: ; preds = %200
%206 = load ptr, ptr %2, align 8
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = icmp sgt i32 %208, 32
br label %210
210: ; preds = %205, %200
%211 = phi i1 [ false, %200 ], [ %209, %205 ]
br i1 %211, label %212, label %218
212: ; preds = %210
%213 = load ptr, ptr %2, align 8
%214 = getelementptr inbounds i8, ptr %213, i32 1
store ptr %214, ptr %2, align 8
%215 = load i8, ptr %213, align 1
%216 = load ptr, ptr %4, align 8
%217 = getelementptr inbounds i8, ptr %216, i32 1
store ptr %217, ptr %4, align 8
store i8 %215, ptr %216, align 1
br label %200, !llvm.loop !10
218: ; preds = %210
%219 = load ptr, ptr %4, align 8
%220 = getelementptr inbounds i8, ptr %219, i32 1
store ptr %220, ptr %4, align 8
store i8 0, ptr %219, align 1
%221 = load ptr, ptr %4, align 8
%222 = getelementptr inbounds i8, ptr %221, i32 1
store ptr %222, ptr %4, align 8
store i8 0, ptr %221, align 1
br label %7, !llvm.loop !9
223: ; preds = %31, %7
%224 = load ptr, ptr %3, align 8
%225 = load i32, ptr %5, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds ptr, ptr %224, i64 %226
store ptr null, ptr %227, align 8
%228 = load ptr, ptr %3, align 8
ret ptr %228
}
declare ptr @bgbv86_ralloc(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v88agxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgbv86_rsplit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call ptr @bgbv86_ralloc(i32 noundef 512)
store ptr %6, ptr %3, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %.backedge1
br label %11
11: ; preds = %23, %10
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %11
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp sle i32 %19, 32
br label %21
21: ; preds = %16, %11
%22 = phi i1 [ false, %11 ], [ %20, %16 ]
br i1 %22, label %23, label %26
23: ; preds = %21
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %2, align 8
br label %11, !llvm.loop !6
26: ; preds = %21
%27 = load ptr, ptr %2, align 8
%28 = load i8, ptr %27, align 1
%29 = icmp ne i8 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %26
br label %225
31: ; preds = %26
%32 = call ptr @bgbv86_ralloc(i32 noundef 256)
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds ptr, ptr %34, i64 %37
store ptr %33, ptr %38, align 8
%39 = load ptr, ptr %2, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 34
br i1 %42, label %43, label %201
43: ; preds = %31
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %2, align 8
br label %46
46: ; preds = %.backedge, %43
%47 = load ptr, ptr %2, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %46
%52 = load ptr, ptr %2, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 34
br label %56
56: ; preds = %51, %46
%57 = phi i1 [ false, %46 ], [ %55, %51 ]
br i1 %57, label %58, label %183
58: ; preds = %56
%59 = load ptr, ptr %2, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 92
br i1 %62, label %63, label %177
63: ; preds = %58
%64 = load ptr, ptr %2, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %2, align 8
%66 = load i8, ptr %64, align 1
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %4, align 8
store i8 %66, ptr %67, align 1
%69 = load ptr, ptr %2, align 8
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 120
br i1 %72, label %73, label %89
73: ; preds = %63
%74 = load ptr, ptr %2, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %2, align 8
%76 = load i8, ptr %74, align 1
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %4, align 8
store i8 %76, ptr %77, align 1
%79 = load ptr, ptr %2, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %2, align 8
%81 = load i8, ptr %79, align 1
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %4, align 8
store i8 %81, ptr %82, align 1
%84 = load ptr, ptr %2, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %2, align 8
%86 = load i8, ptr %84, align 1
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %4, align 8
store i8 %86, ptr %87, align 1
br label %.backedge
.backedge: ; preds = %73, %94, %125, %171, %177
br label %46, !llvm.loop !8
89: ; preds = %63
%90 = load ptr, ptr %2, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 117
br i1 %93, label %94, label %120
94: ; preds = %89
%95 = load ptr, ptr %2, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %2, align 8
%97 = load i8, ptr %95, align 1
%98 = load ptr, ptr %4, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %4, align 8
store i8 %97, ptr %98, align 1
%100 = load ptr, ptr %2, align 8
%101 = getelementptr inbounds i8, ptr %100, i32 1
store ptr %101, ptr %2, align 8
%102 = load i8, ptr %100, align 1
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %4, align 8
store i8 %102, ptr %103, align 1
%105 = load ptr, ptr %2, align 8
%106 = getelementptr inbounds i8, ptr %105, i32 1
store ptr %106, ptr %2, align 8
%107 = load i8, ptr %105, align 1
%108 = load ptr, ptr %4, align 8
%109 = getelementptr inbounds i8, ptr %108, i32 1
store ptr %109, ptr %4, align 8
store i8 %107, ptr %108, align 1
%110 = load ptr, ptr %2, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %2, align 8
%112 = load i8, ptr %110, align 1
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %4, align 8
store i8 %112, ptr %113, align 1
%115 = load ptr, ptr %2, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %2, align 8
%117 = load i8, ptr %115, align 1
%118 = load ptr, ptr %4, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %4, align 8
store i8 %117, ptr %118, align 1
br label %.backedge
120: ; preds = %89
%121 = load ptr, ptr %2, align 8
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = icmp eq i32 %123, 85
br i1 %124, label %125, label %171
125: ; preds = %120
%126 = load ptr, ptr %2, align 8
%127 = getelementptr inbounds i8, ptr %126, i32 1
store ptr %127, ptr %2, align 8
%128 = load i8, ptr %126, align 1
%129 = load ptr, ptr %4, align 8
%130 = getelementptr inbounds i8, ptr %129, i32 1
store ptr %130, ptr %4, align 8
store i8 %128, ptr %129, align 1
%131 = load ptr, ptr %2, align 8
%132 = getelementptr inbounds i8, ptr %131, i32 1
store ptr %132, ptr %2, align 8
%133 = load i8, ptr %131, align 1
%134 = load ptr, ptr %4, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %4, align 8
store i8 %133, ptr %134, align 1
%136 = load ptr, ptr %2, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %2, align 8
%138 = load i8, ptr %136, align 1
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds i8, ptr %139, i32 1
store ptr %140, ptr %4, align 8
store i8 %138, ptr %139, align 1
%141 = load ptr, ptr %2, align 8
%142 = getelementptr inbounds i8, ptr %141, i32 1
store ptr %142, ptr %2, align 8
%143 = load i8, ptr %141, align 1
%144 = load ptr, ptr %4, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %4, align 8
store i8 %143, ptr %144, align 1
%146 = load ptr, ptr %2, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %2, align 8
%148 = load i8, ptr %146, align 1
%149 = load ptr, ptr %4, align 8
%150 = getelementptr inbounds i8, ptr %149, i32 1
store ptr %150, ptr %4, align 8
store i8 %148, ptr %149, align 1
%151 = load ptr, ptr %2, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %2, align 8
%153 = load i8, ptr %151, align 1
%154 = load ptr, ptr %4, align 8
%155 = getelementptr inbounds i8, ptr %154, i32 1
store ptr %155, ptr %4, align 8
store i8 %153, ptr %154, align 1
%156 = load ptr, ptr %2, align 8
%157 = getelementptr inbounds i8, ptr %156, i32 1
store ptr %157, ptr %2, align 8
%158 = load i8, ptr %156, align 1
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %4, align 8
store i8 %158, ptr %159, align 1
%161 = load ptr, ptr %2, align 8
%162 = getelementptr inbounds i8, ptr %161, i32 1
store ptr %162, ptr %2, align 8
%163 = load i8, ptr %161, align 1
%164 = load ptr, ptr %4, align 8
%165 = getelementptr inbounds i8, ptr %164, i32 1
store ptr %165, ptr %4, align 8
store i8 %163, ptr %164, align 1
%166 = load ptr, ptr %2, align 8
%167 = getelementptr inbounds i8, ptr %166, i32 1
store ptr %167, ptr %2, align 8
%168 = load i8, ptr %166, align 1
%169 = load ptr, ptr %4, align 8
%170 = getelementptr inbounds i8, ptr %169, i32 1
store ptr %170, ptr %4, align 8
store i8 %168, ptr %169, align 1
br label %.backedge
171: ; preds = %120
%172 = load ptr, ptr %2, align 8
%173 = getelementptr inbounds i8, ptr %172, i32 1
store ptr %173, ptr %2, align 8
%174 = load i8, ptr %172, align 1
%175 = load ptr, ptr %4, align 8
%176 = getelementptr inbounds i8, ptr %175, i32 1
store ptr %176, ptr %4, align 8
store i8 %174, ptr %175, align 1
br label %.backedge
177: ; preds = %58
%178 = load ptr, ptr %2, align 8
%179 = getelementptr inbounds i8, ptr %178, i32 1
store ptr %179, ptr %2, align 8
%180 = load i8, ptr %178, align 1
%181 = load ptr, ptr %4, align 8
%182 = getelementptr inbounds i8, ptr %181, i32 1
store ptr %182, ptr %4, align 8
store i8 %180, ptr %181, align 1
br label %.backedge
183: ; preds = %56
%184 = load ptr, ptr %2, align 8
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 34
br i1 %187, label %188, label %191
188: ; preds = %183
%189 = load ptr, ptr %2, align 8
%190 = getelementptr inbounds i8, ptr %189, i32 1
store ptr %190, ptr %2, align 8
br label %191
191: ; preds = %188, %183
%192 = load ptr, ptr %4, align 8
%193 = getelementptr inbounds i8, ptr %192, i32 1
store ptr %193, ptr %4, align 8
store i8 0, ptr %192, align 1
%194 = load ptr, ptr %4, align 8
%195 = getelementptr inbounds i8, ptr %194, i32 1
store ptr %195, ptr %4, align 8
store i8 34, ptr %194, align 1
%196 = load ptr, ptr %4, align 8
%197 = getelementptr inbounds i8, ptr %196, i32 1
store ptr %197, ptr %4, align 8
store i8 0, ptr %196, align 1
br label %.backedge1
.backedge1: ; preds = %191, %220
%198 = load ptr, ptr %2, align 8
%199 = load i8, ptr %198, align 1
%200 = icmp ne i8 %199, 0
br i1 %200, label %10, label %..loopexit_crit_edge, !llvm.loop !9
201: ; preds = %31
br label %202
202: ; preds = %214, %201
%203 = load ptr, ptr %2, align 8
%204 = load i8, ptr %203, align 1
%205 = sext i8 %204 to i32
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %212
207: ; preds = %202
%208 = load ptr, ptr %2, align 8
%209 = load i8, ptr %208, align 1
%210 = sext i8 %209 to i32
%211 = icmp sgt i32 %210, 32
br label %212
212: ; preds = %207, %202
%213 = phi i1 [ false, %202 ], [ %211, %207 ]
br i1 %213, label %214, label %220
214: ; preds = %212
%215 = load ptr, ptr %2, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %2, align 8
%217 = load i8, ptr %215, align 1
%218 = load ptr, ptr %4, align 8
%219 = getelementptr inbounds i8, ptr %218, i32 1
store ptr %219, ptr %4, align 8
store i8 %217, ptr %218, align 1
br label %202, !llvm.loop !10
220: ; preds = %212
%221 = load ptr, ptr %4, align 8
%222 = getelementptr inbounds i8, ptr %221, i32 1
store ptr %222, ptr %4, align 8
store i8 0, ptr %221, align 1
%223 = load ptr, ptr %4, align 8
%224 = getelementptr inbounds i8, ptr %223, i32 1
store ptr %224, ptr %4, align 8
store i8 0, ptr %223, align 1
br label %.backedge1
..loopexit_crit_edge: ; preds = %.backedge1
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %225
225: ; preds = %.loopexit, %30
%226 = load ptr, ptr %3, align 8
%227 = load i32, ptr %5, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
store ptr null, ptr %229, align 8
%230 = load ptr, ptr %3, align 8
ret ptr %230
}
declare ptr @bgbv86_ralloc(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}
|
; ModuleID = '/tmp/tmpb86fmawf.c'
source_filename = "/tmp/tmpb86fmawf.c"
target datalayout = "e-m:e-p270: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/tmpb86fmawf.c"
target datalayout = "e-m:e-p270: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/tmpzrpabd4i.c'
source_filename = "/tmp/tmpzrpabd4i.c"
target datalayout = "e-m:e-p270: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.our_string = private unnamed_addr constant [12 x i8] c"Halli Hallo\00", align 1
@.str = private unnamed_addr constant [35 x i8] c"'%c' is the %d character in '%s'!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.our_string, i64 12, i1 false)
store i8 120, ptr %3, align 1
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %13, %0
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [12 x i8], ptr %2, i64 0, 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 %13, label %16
13: ; preds = %6
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %35, %16
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [12 x i8], ptr %2, i64 0, 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 %24, label %33
24: ; preds = %17
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load i8, ptr %3, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %29, %31
br label %33
33: ; preds = %24, %17
%34 = phi i1 [ false, %17 ], [ %32, %24 ]
br i1 %34, label %35, label %38
35: ; preds = %33
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %17, !llvm.loop !8
38: ; preds = %33
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = load i8, ptr %3, align 1
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
%46 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%47 = call i32 @printf(ptr noundef @.str, i8 noundef signext %43, i32 noundef %45, ptr noundef %46)
br label %48
48: ; preds = %42, %38
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, i8 noundef signext, i32 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzrpabd4i.c"
target datalayout = "e-m:e-p270: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.our_string = private unnamed_addr constant [12 x i8] c"Halli Hallo\00", align 1
@.str = private unnamed_addr constant [35 x i8] c"'%c' is the %d character in '%s'!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.our_string, i64 12, i1 false)
store i8 120, ptr %3, align 1
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %21
21: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %40, %21
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %22
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %34, %36
br label %38
38: ; preds = %29, %22
%39 = phi i1 [ false, %22 ], [ %37, %29 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %22, !llvm.loop !8
43: ; preds = %38
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %53
47: ; preds = %43
%48 = load i8, ptr %3, align 1
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
%51 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%52 = call i32 @printf(ptr noundef @.str, i8 noundef signext %48, i32 noundef %50, ptr noundef %51)
br label %53
53: ; preds = %47, %43
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, i8 noundef signext, i32 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpes2p6ieq.c'
source_filename = "/tmp/tmpes2p6ieq.c"
target datalayout = "e-m:e-p270: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/tmpes2p6ieq.c"
target datalayout = "e-m:e-p270: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/tmpku1sle5w.c'
source_filename = "/tmp/tmpku1sle5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpku1sle5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkaabu_fk.c'
source_filename = "/tmp/tmpkaabu_fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(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 ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = 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
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
%22 = add nsw i32 %21, 1
%23 = zext i32 %22 to i64
%24 = call ptr @llvm.stacksave()
store ptr %24, ptr %11, align 8
%25 = alloca i32, i64 %23, align 16
store i64 %23, ptr %12, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %9, align 4
%28 = sub nsw i32 %26, %27
%29 = add nsw i32 %28, 1
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %13, align 8
store i32 0, ptr %14, align 4
%32 = load i32, ptr %8, align 4
store i32 %32, ptr %14, align 4
br label %33
33: ; preds = %66, %5
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %69
37: ; preds = %33
%38 = load i32, ptr %14, align 4
%39 = load i32, ptr %9, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %14, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %9, align 4
%49 = sub nsw i32 %47, %48
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %31, i64 %51
store i32 %46, ptr %52, align 4
br label %64
53: ; preds = %37
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %8, align 4
%61 = sub nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %25, i64 %62
store i32 %58, ptr %63, align 4
br label %64
64: ; preds = %53, %41
%65 = phi i32 [ %46, %41 ], [ %58, %53 ]
br label %66
66: ; preds = %64
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %14, align 4
br label %33, !llvm.loop !6
69: ; preds = %33
%70 = load i32, ptr @INT_MAX, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %8, align 4
%73 = sub nsw i32 %71, %72
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %25, i64 %75
store i32 %70, ptr %76, align 4
%77 = load i32, ptr @INT_MAX, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %9, align 4
%80 = sub nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %31, i64 %81
store i32 %77, ptr %82, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%83 = load i32, ptr %8, align 4
store i32 %83, ptr %17, align 4
br label %84
84: ; preds = %132, %69
%85 = load i32, ptr %15, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %25, i64 %86
%88 = load i32, ptr %87, align 4
%89 = load i32, ptr @INT_MAX, align 4
%90 = icmp ne i32 %88, %89
br i1 %90, label %98, label %91
91: ; preds = %84
%92 = load i32, ptr %16, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %31, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr @INT_MAX, align 4
%97 = icmp ne i32 %95, %96
br label %98
98: ; preds = %91, %84
%99 = phi i1 [ true, %84 ], [ %97, %91 ]
br i1 %99, label %100, label %133
100: ; preds = %98
%101 = load i32, ptr %15, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %25, i64 %102
%104 = load i32, ptr %103, align 4
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %31, i64 %106
%108 = load i32, ptr %107, align 4
%109 = icmp sle i32 %104, %108
br i1 %109, label %110, label %121
110: ; preds = %100
%111 = load i32, ptr %15, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %15, align 4
%113 = sext i32 %111 to i64
%114 = getelementptr inbounds i32, ptr %25, i64 %113
%115 = load i32, ptr %114, align 4
%116 = load ptr, ptr %6, align 8
%117 = load i32, ptr %17, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %17, align 4
%119 = sext i32 %117 to i64
%120 = getelementptr inbounds i32, ptr %116, i64 %119
store i32 %115, ptr %120, align 4
br label %132
121: ; preds = %100
%122 = load i32, ptr %16, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %16, align 4
%124 = sext i32 %122 to i64
%125 = getelementptr inbounds i32, ptr %31, i64 %124
%126 = load i32, ptr %125, align 4
%127 = load ptr, ptr %6, align 8
%128 = load i32, ptr %17, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %17, align 4
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds i32, ptr %127, i64 %130
store i32 %126, ptr %131, align 4
br label %132
132: ; preds = %121, %110
br label %84, !llvm.loop !8
133: ; preds = %98
%134 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %134)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkaabu_fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(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 ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = 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
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
%22 = add nsw i32 %21, 1
%23 = zext i32 %22 to i64
%24 = call ptr @llvm.stacksave()
store ptr %24, ptr %11, align 8
%25 = alloca i32, i64 %23, align 16
store i64 %23, ptr %12, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %9, align 4
%28 = sub nsw i32 %26, %27
%29 = add nsw i32 %28, 1
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %13, align 8
store i32 0, ptr %14, align 4
%32 = load i32, ptr %8, align 4
store i32 %32, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %.lr.ph, label %71
.lr.ph: ; preds = %5
br label %36
36: ; preds = %.lr.ph, %65
%37 = load i32, ptr %14, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %52
40: ; preds = %36
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %9, align 4
%48 = sub nsw i32 %46, %47
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %31, i64 %50
store i32 %45, ptr %51, align 4
br label %63
52: ; preds = %36
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = load i32, ptr %8, align 4
%60 = sub nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %25, i64 %61
store i32 %57, ptr %62, align 4
br label %63
63: ; preds = %52, %40
%64 = phi i32 [ %45, %40 ], [ %57, %52 ]
br label %65
65: ; preds = %63
%66 = load i32, ptr %14, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %14, align 4
%68 = load i32, ptr %14, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %5
%72 = load i32, ptr @INT_MAX, align 4
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %8, align 4
%75 = sub nsw i32 %73, %74
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %25, i64 %77
store i32 %72, ptr %78, align 4
%79 = load i32, ptr @INT_MAX, align 4
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %9, align 4
%82 = sub nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %31, i64 %83
store i32 %79, ptr %84, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%85 = load i32, ptr %8, align 4
store i32 %85, ptr %17, align 4
br label %86
86: ; preds = %134, %71
%87 = load i32, ptr %15, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %25, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr @INT_MAX, align 4
%92 = icmp ne i32 %90, %91
br i1 %92, label %100, label %93
93: ; preds = %86
%94 = load i32, ptr %16, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %31, i64 %95
%97 = load i32, ptr %96, align 4
%98 = load i32, ptr @INT_MAX, align 4
%99 = icmp ne i32 %97, %98
br label %100
100: ; preds = %93, %86
%101 = phi i1 [ true, %86 ], [ %99, %93 ]
br i1 %101, label %102, label %135
102: ; preds = %100
%103 = load i32, ptr %15, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %25, i64 %104
%106 = load i32, ptr %105, align 4
%107 = load i32, ptr %16, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %31, i64 %108
%110 = load i32, ptr %109, align 4
%111 = icmp sle i32 %106, %110
br i1 %111, label %112, label %123
112: ; preds = %102
%113 = load i32, ptr %15, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %15, align 4
%115 = sext i32 %113 to i64
%116 = getelementptr inbounds i32, ptr %25, i64 %115
%117 = load i32, ptr %116, align 4
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %17, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %17, align 4
%121 = sext i32 %119 to i64
%122 = getelementptr inbounds i32, ptr %118, i64 %121
store i32 %117, ptr %122, align 4
br label %134
123: ; preds = %102
%124 = load i32, ptr %16, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %16, align 4
%126 = sext i32 %124 to i64
%127 = getelementptr inbounds i32, ptr %31, i64 %126
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %6, align 8
%130 = load i32, ptr %17, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %17, align 4
%132 = sext i32 %130 to i64
%133 = getelementptr inbounds i32, ptr %129, i64 %132
store i32 %128, ptr %133, align 4
br label %134
134: ; preds = %123, %112
br label %86, !llvm.loop !8
135: ; preds = %100
%136 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %136)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdudppdjb.c'
source_filename = "/tmp/tmpdudppdjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\0AAvailable choices are\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"1: \09To insert/push into the queue.\0A\00", align 1
@.str.2 = private unnamed_addr constant [79 x i8] c"2: \09To return the first inserted/pushed element from the queue and delete it.\0A\00", align 1
@.str.3 = private unnamed_addr constant [85 x i8] c"3: \09To return the first inserted/pushed element into the queue without deleting it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"4: \09To find whether queue is empty or not.\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"-1: \09To exit.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @choices() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdudppdjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\0AAvailable choices are\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"1: \09To insert/push into the queue.\0A\00", align 1
@.str.2 = private unnamed_addr constant [79 x i8] c"2: \09To return the first inserted/pushed element from the queue and delete it.\0A\00", align 1
@.str.3 = private unnamed_addr constant [85 x i8] c"3: \09To return the first inserted/pushed element into the queue without deleting it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"4: \09To find whether queue is empty or not.\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"-1: \09To exit.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @choices() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnegwtyfu.c'
source_filename = "/tmp/tmpnegwtyfu.c"
target datalayout = "e-m:e-p270: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 { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo_5(ptr noalias sret(%struct.TYPE_3__) align 1 %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
store i8 %1, ptr %3, align 1
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 0
%5 = load i8, ptr %3, align 1
store i8 %5, ptr %4, align 1
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 1
%7 = load i8, ptr %3, align 1
store i8 %7, ptr %6, align 1
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 2
%9 = load i8, ptr %3, align 1
store i8 %9, ptr %8, align 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 3
%11 = load i8, ptr %3, align 1
store i8 %11, ptr %10, align 1
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 4
%13 = load i8, ptr %3, align 1
store i8 %13, ptr %12, align 1
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 5
%15 = load i8, ptr %3, align 1
store i8 %15, ptr %14, align 1
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 6
%17 = load i8, ptr %3, align 1
store i8 %17, ptr %16, align 1
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 7
%19 = load i8, ptr %3, align 1
store i8 %19, ptr %18, align 1
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 8
%21 = load i8, ptr %3, align 1
store i8 %21, ptr %20, align 1
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 9
%23 = load i8, ptr %3, align 1
store i8 %23, ptr %22, align 1
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 10
%25 = load i8, ptr %3, align 1
store i8 %25, ptr %24, align 1
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 11
%27 = load i8, ptr %3, align 1
store i8 %27, ptr %26, align 1
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 12
%29 = load i8, ptr %3, align 1
store i8 %29, ptr %28, align 1
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 13
%31 = load i8, ptr %3, align 1
store i8 %31, ptr %30, align 1
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 14
%33 = load i8, ptr %3, align 1
store i8 %33, ptr %32, align 1
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 15
%35 = load i8, ptr %3, align 1
store i8 %35, ptr %34, align 1
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 16
%37 = load i8, ptr %3, align 1
store i8 %37, ptr %36, align 1
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 17
%39 = load i8, ptr %3, align 1
store i8 %39, ptr %38, align 1
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 18
%41 = load i8, ptr %3, align 1
store i8 %41, ptr %40, align 1
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 19
%43 = load i8, ptr %3, align 1
store i8 %43, ptr %42, align 1
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 20
%45 = load i8, ptr %3, align 1
store i8 %45, ptr %44, align 1
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 21
%47 = load i8, ptr %3, align 1
store i8 %47, ptr %46, align 1
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 22
%49 = load i8, ptr %3, align 1
store i8 %49, ptr %48, align 1
%50 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 23
%51 = load i8, ptr %3, align 1
store i8 %51, ptr %50, align 1
%52 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 24
%53 = load i8, ptr %3, align 1
store i8 %53, ptr %52, align 1
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 25
%55 = load i8, ptr %3, align 1
store i8 %55, ptr %54, align 1
%56 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 26
%57 = load i8, ptr %3, align 1
store i8 %57, ptr %56, align 1
%58 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 27
%59 = load i8, ptr %3, align 1
store i8 %59, ptr %58, align 1
%60 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 28
%61 = load i8, ptr %3, align 1
store i8 %61, ptr %60, align 1
%62 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 29
%63 = load i8, ptr %3, align 1
store i8 %63, ptr %62, align 1
%64 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 30
%65 = load i8, ptr %3, align 1
store i8 %65, ptr %64, align 1
%66 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 31
%67 = load i8, ptr %3, align 1
store i8 %67, ptr %66, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnegwtyfu.c"
target datalayout = "e-m:e-p270: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 { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo_5(ptr noalias sret(%struct.TYPE_3__) align 1 %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
store i8 %1, ptr %3, align 1
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 0
%5 = load i8, ptr %3, align 1
store i8 %5, ptr %4, align 1
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 1
%7 = load i8, ptr %3, align 1
store i8 %7, ptr %6, align 1
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 2
%9 = load i8, ptr %3, align 1
store i8 %9, ptr %8, align 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 3
%11 = load i8, ptr %3, align 1
store i8 %11, ptr %10, align 1
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 4
%13 = load i8, ptr %3, align 1
store i8 %13, ptr %12, align 1
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 5
%15 = load i8, ptr %3, align 1
store i8 %15, ptr %14, align 1
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 6
%17 = load i8, ptr %3, align 1
store i8 %17, ptr %16, align 1
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 7
%19 = load i8, ptr %3, align 1
store i8 %19, ptr %18, align 1
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 8
%21 = load i8, ptr %3, align 1
store i8 %21, ptr %20, align 1
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 9
%23 = load i8, ptr %3, align 1
store i8 %23, ptr %22, align 1
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 10
%25 = load i8, ptr %3, align 1
store i8 %25, ptr %24, align 1
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 11
%27 = load i8, ptr %3, align 1
store i8 %27, ptr %26, align 1
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 12
%29 = load i8, ptr %3, align 1
store i8 %29, ptr %28, align 1
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 13
%31 = load i8, ptr %3, align 1
store i8 %31, ptr %30, align 1
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 14
%33 = load i8, ptr %3, align 1
store i8 %33, ptr %32, align 1
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 15
%35 = load i8, ptr %3, align 1
store i8 %35, ptr %34, align 1
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 16
%37 = load i8, ptr %3, align 1
store i8 %37, ptr %36, align 1
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 17
%39 = load i8, ptr %3, align 1
store i8 %39, ptr %38, align 1
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 18
%41 = load i8, ptr %3, align 1
store i8 %41, ptr %40, align 1
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 19
%43 = load i8, ptr %3, align 1
store i8 %43, ptr %42, align 1
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 20
%45 = load i8, ptr %3, align 1
store i8 %45, ptr %44, align 1
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 21
%47 = load i8, ptr %3, align 1
store i8 %47, ptr %46, align 1
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 22
%49 = load i8, ptr %3, align 1
store i8 %49, ptr %48, align 1
%50 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 23
%51 = load i8, ptr %3, align 1
store i8 %51, ptr %50, align 1
%52 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 24
%53 = load i8, ptr %3, align 1
store i8 %53, ptr %52, align 1
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 25
%55 = load i8, ptr %3, align 1
store i8 %55, ptr %54, align 1
%56 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 26
%57 = load i8, ptr %3, align 1
store i8 %57, ptr %56, align 1
%58 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 27
%59 = load i8, ptr %3, align 1
store i8 %59, ptr %58, align 1
%60 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 28
%61 = load i8, ptr %3, align 1
store i8 %61, ptr %60, align 1
%62 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 29
%63 = load i8, ptr %3, align 1
store i8 %63, ptr %62, align 1
%64 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 30
%65 = load i8, ptr %3, align 1
store i8 %65, ptr %64, align 1
%66 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i32 0, i32 31
%67 = load i8, ptr %3, align 1
store i8 %67, ptr %66, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjjq0ycip.c'
source_filename = "/tmp/tmpjjq0ycip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (...) @rand()
%7 = srem i32 %6, 65536
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %16, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
%20 = load i32, ptr %5, align 4
%21 = srem i32 %20, 65536
ret i32 %21
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjq0ycip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (...) @rand()
%7 = srem i32 %6, 65536
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %11
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %1
%22 = load i32, ptr %5, align 4
%23 = srem i32 %22, 65536
ret i32 %23
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp73lxivqs.c'
source_filename = "/tmp/tmp73lxivqs.c"
target datalayout = "e-m:e-p270: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/tmp73lxivqs.c"
target datalayout = "e-m:e-p270: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/tmphbjmorgv.c'
source_filename = "/tmp/tmphbjmorgv.c"
target datalayout = "e-m:e-p270: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/tmphbjmorgv.c"
target datalayout = "e-m:e-p270: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/tmpr5v0awwj.c'
source_filename = "/tmp/tmpr5v0awwj.c"
target datalayout = "e-m:e-p270: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/tmpr5v0awwj.c"
target datalayout = "e-m:e-p270: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/tmp8fa3bmv2.c'
source_filename = "/tmp/tmp8fa3bmv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__BYTE_ORDER = dso_local global i64 0, align 8
@__LITTLE_ENDIAN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fa3bmv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__BYTE_ORDER = dso_local global i64 0, align 8
@__LITTLE_ENDIAN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17gwilud.c'
source_filename = "/tmp/tmp17gwilud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %7, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %47, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %50
13: ; preds = %9
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %33, %13
%16 = load i32, ptr %6, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %23, %29
br label %31
31: ; preds = %18, %15
%32 = phi i1 [ false, %15 ], [ %30, %18 ]
br i1 %32, label %33, label %46
33: ; preds = %31
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = call i32 @swap(ptr noundef %37, ptr noundef %42)
%44 = load i32, ptr %6, align 4
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %15, !llvm.loop !6
46: ; preds = %31
br label %47
47: ; preds = %46
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %9, !llvm.loop !8
50: ; preds = %9
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp17gwilud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %7, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %46
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %6, align 4
br label %14
14: ; preds = %32, %12
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %22, %28
br label %30
30: ; preds = %17, %14
%31 = phi i1 [ false, %14 ], [ %29, %17 ]
br i1 %31, label %32, label %45
32: ; preds = %30
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = call i32 @swap(ptr noundef %36, ptr noundef %41)
%43 = load i32, ptr %6, align 4
%44 = sub nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %14, !llvm.loop !6
45: ; preds = %30
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpztqiftr0.c'
source_filename = "/tmp/tmpztqiftr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bpdest(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store double %2, ptr %11, align 8
store double %3, ptr %12, align 8
store double %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %41, label %20
20: ; preds = %7
%21 = load i32, ptr %10, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %41, label %23
23: ; preds = %20
%24 = load double, ptr %13, align 8
%25 = fcmp ole double %24, 0.000000e+00
br i1 %25, label %41, label %26
26: ; preds = %23
%27 = load double, ptr %13, align 8
%28 = fcmp oge double %27, 1.000000e+00
br i1 %28, label %41, label %29
29: ; preds = %26
%30 = load double, ptr %11, align 8
%31 = fcmp ole double %30, 0.000000e+00
br i1 %31, label %41, label %32
32: ; preds = %29
%33 = load double, ptr %11, align 8
%34 = fcmp oge double %33, 1.000000e+00
br i1 %34, label %41, label %35
35: ; preds = %32
%36 = load double, ptr %12, align 8
%37 = fcmp ole double %36, 0.000000e+00
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load double, ptr %12, align 8
%40 = fcmp oge double %39, 1.000000e+00
br i1 %40, label %41, label %42
41: ; preds = %38, %35, %32, %29, %26, %23, %20, %7
store i32 999, ptr %8, align 4
br label %76
42: ; preds = %38
%43 = load double, ptr %11, align 8
%44 = load double, ptr %12, align 8
%45 = fsub double %43, %44
%46 = call double @llvm.fabs.f64(double %45)
store double %46, ptr %16, align 8
%47 = load double, ptr %13, align 8
%48 = fadd double 1.000000e+00, %47
%49 = fmul double %48, 5.000000e-01
%50 = call double @pnorm(double noundef %49)
%51 = load double, ptr %11, align 8
%52 = load double, ptr %11, align 8
%53 = fsub double 1.000000e+00, %52
%54 = fmul double %51, %53
%55 = load i32, ptr %9, align 4
%56 = sitofp i32 %55 to double
%57 = fdiv double %54, %56
%58 = load double, ptr %12, align 8
%59 = load double, ptr %12, align 8
%60 = fsub double 1.000000e+00, %59
%61 = fmul double %58, %60
%62 = load i32, ptr %10, align 4
%63 = sitofp i32 %62 to double
%64 = fdiv double %61, %63
%65 = fadd double %57, %64
%66 = call double @sqrt(double noundef %65) #4
%67 = fmul double %50, %66
store double %67, ptr %17, align 8
%68 = load double, ptr %16, align 8
%69 = load double, ptr %17, align 8
%70 = fsub double %68, %69
%71 = load ptr, ptr %14, align 8
store double %70, ptr %71, align 8
%72 = load double, ptr %16, align 8
%73 = load double, ptr %17, align 8
%74 = fadd double %72, %73
%75 = load ptr, ptr %15, align 8
store double %74, ptr %75, align 8
store i32 0, ptr %8, align 4
br label %76
76: ; preds = %42, %41
%77 = load i32, ptr %8, align 4
ret i32 %77
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @pnorm(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double 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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztqiftr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bpdest(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store double %2, ptr %11, align 8
store double %3, ptr %12, align 8
store double %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %41, label %20
20: ; preds = %7
%21 = load i32, ptr %10, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %41, label %23
23: ; preds = %20
%24 = load double, ptr %13, align 8
%25 = fcmp ole double %24, 0.000000e+00
br i1 %25, label %41, label %26
26: ; preds = %23
%27 = load double, ptr %13, align 8
%28 = fcmp oge double %27, 1.000000e+00
br i1 %28, label %41, label %29
29: ; preds = %26
%30 = load double, ptr %11, align 8
%31 = fcmp ole double %30, 0.000000e+00
br i1 %31, label %41, label %32
32: ; preds = %29
%33 = load double, ptr %11, align 8
%34 = fcmp oge double %33, 1.000000e+00
br i1 %34, label %41, label %35
35: ; preds = %32
%36 = load double, ptr %12, align 8
%37 = fcmp ole double %36, 0.000000e+00
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load double, ptr %12, align 8
%40 = fcmp oge double %39, 1.000000e+00
br i1 %40, label %41, label %42
41: ; preds = %38, %35, %32, %29, %26, %23, %20, %7
store i32 999, ptr %8, align 4
br label %76
42: ; preds = %38
%43 = load double, ptr %11, align 8
%44 = load double, ptr %12, align 8
%45 = fsub double %43, %44
%46 = call double @llvm.fabs.f64(double %45)
store double %46, ptr %16, align 8
%47 = load double, ptr %13, align 8
%48 = fadd double 1.000000e+00, %47
%49 = fmul double %48, 5.000000e-01
%50 = call double @pnorm(double noundef %49)
%51 = load double, ptr %11, align 8
%52 = load double, ptr %11, align 8
%53 = fsub double 1.000000e+00, %52
%54 = fmul double %51, %53
%55 = load i32, ptr %9, align 4
%56 = sitofp i32 %55 to double
%57 = fdiv double %54, %56
%58 = load double, ptr %12, align 8
%59 = load double, ptr %12, align 8
%60 = fsub double 1.000000e+00, %59
%61 = fmul double %58, %60
%62 = load i32, ptr %10, align 4
%63 = sitofp i32 %62 to double
%64 = fdiv double %61, %63
%65 = fadd double %57, %64
%66 = call double @sqrt(double noundef %65) #4
%67 = fmul double %50, %66
store double %67, ptr %17, align 8
%68 = load double, ptr %16, align 8
%69 = load double, ptr %17, align 8
%70 = fsub double %68, %69
%71 = load ptr, ptr %14, align 8
store double %70, ptr %71, align 8
%72 = load double, ptr %16, align 8
%73 = load double, ptr %17, align 8
%74 = fadd double %72, %73
%75 = load ptr, ptr %15, align 8
store double %74, ptr %75, align 8
store i32 0, ptr %8, align 4
br label %76
76: ; preds = %42, %41
%77 = load i32, ptr %8, align 4
ret i32 %77
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @pnorm(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double 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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsir8ms03.c'
source_filename = "/tmp/tmpsir8ms03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_scrollpane(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 @japi_scrollpane(i32 noundef %3)
ret i32 %4
}
declare i32 @japi_scrollpane(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/tmpsir8ms03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_scrollpane(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 @japi_scrollpane(i32 noundef %3)
ret i32 %4
}
declare i32 @japi_scrollpane(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/tmpcvc9i9s0.c'
source_filename = "/tmp/tmpcvc9i9s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Ld\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%Ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [10000 x i64], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %4, align 8
br label %6
6: ; preds = %14, %0
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %2, align 8
%9 = icmp slt i64 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = load i64, ptr %4, align 8
%12 = getelementptr inbounds [10000 x i64], ptr %3, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %10
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %4, align 8
br label %6, !llvm.loop !6
17: ; preds = %6
store i64 0, ptr %4, align 8
br label %18
18: ; preds = %28, %17
%19 = load i64, ptr %4, align 8
%20 = load i64, ptr %2, align 8
%21 = icmp slt i64 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load i64, ptr %4, align 8
%24 = getelementptr inbounds [10000 x i64], ptr %3, i64 0, i64 %23
%25 = load i64, ptr %24, align 8
%26 = call i64 @fact(i64 noundef %25)
%27 = call i32 @printf(ptr noundef @.str.1, i64 noundef %26)
br label %28
28: ; preds = %22
%29 = load i64, ptr %4, align 8
%30 = add nsw i64 %29, 1
store i64 %30, ptr %4, align 8
br label %18, !llvm.loop !8
31: ; preds = %18
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @fact(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/tmpcvc9i9s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Ld\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%Ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [10000 x i64], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds [10000 x i64], ptr %3, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %9
%14 = load i64, ptr %4, align 8
%15 = add nsw i64 %14, 1
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %2, align 8
%18 = icmp slt i64 %16, %17
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %0
store i64 0, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = load i64, ptr %2, align 8
%22 = icmp slt i64 %20, %21
br i1 %22, label %.lr.ph2, label %35
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %29
%24 = load i64, ptr %4, align 8
%25 = getelementptr inbounds [10000 x i64], ptr %3, i64 0, i64 %24
%26 = load i64, ptr %25, align 8
%27 = call i64 @fact(i64 noundef %26)
%28 = call i32 @printf(ptr noundef @.str.1, i64 noundef %27)
br label %29
29: ; preds = %23
%30 = load i64, ptr %4, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %4, align 8
%32 = load i64, ptr %4, align 8
%33 = load i64, ptr %2, align 8
%34 = icmp slt i64 %32, %33
br i1 %34, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %35
35: ; preds = %._crit_edge3, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @fact(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/tmpilbnudpk.c'
source_filename = "/tmp/tmpilbnudpk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"entre com o nome: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"digite o primeiro numerio: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"digite o segundo numero: \00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"media=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %15, %16
%18 = sdiv i32 %17, 2
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilbnudpk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"entre com o nome: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"digite o primeiro numerio: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"digite o segundo numero: \00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"media=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %15, %16
%18 = sdiv i32 %17, 2
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.