llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpknnlvmau.c'
source_filename = "/tmp/tmpknnlvmau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_one_element.array = private unnamed_addr constant [1 x i32] [i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_one_element() #0 {
%1 = alloca [1 x i32], align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.test_one_element.array, i64 4, i1 false)
%2 = getelementptr inbounds [1 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @find(ptr noundef %2, i32 noundef 1)
%4 = icmp eq i32 2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
; 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 @find(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpknnlvmau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_one_element.array = private unnamed_addr constant [1 x i32] [i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_one_element() #0 {
%1 = alloca [1 x i32], align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.test_one_element.array, i64 4, i1 false)
%2 = getelementptr inbounds [1 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @find(ptr noundef %2, i32 noundef 1)
%4 = icmp eq i32 2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
; 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 @find(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplqq_2zzg.c'
source_filename = "/tmp/tmplqq_2zzg.c"
target datalayout = "e-m:e-p270: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/tmplqq_2zzg.c"
target datalayout = "e-m:e-p270: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/tmpdqbbi957.c'
source_filename = "/tmp/tmpdqbbi957.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
store i32 5, ptr %3, align 4
br label %5
5: ; preds = %29, %0
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %32
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 0, %10
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %16, -1
store i32 %17, ptr %2, align 4
br label %29
18: ; preds = %8
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = mul nsw i32 %25, -1
store i32 %26, ptr %2, align 4
br label %28
27: ; preds = %18
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %22
br label %29
29: ; preds = %28, %13
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %5, !llvm.loop !6
32: ; preds = %5
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpdqbbi957.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
store i32 5, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %28
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 0, %9
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %15, -1
store i32 %16, ptr %2, align 4
br label %28
17: ; preds = %7
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = mul nsw i32 %24, -1
store i32 %25, ptr %2, align 4
br label %27
26: ; preds = %17
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %21
br label %28
28: ; preds = %27, %12
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgj_p0fd3.c'
source_filename = "/tmp/tmpgj_p0fd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_virus() #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 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @add_virus(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @add_virus(i32 noundef, i32 noundef, 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/tmpgj_p0fd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d %d %d %d %d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_virus() #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 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @add_virus(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @add_virus(i32 noundef, i32 noundef, 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/tmp1n1ks0s6.c'
source_filename = "/tmp/tmp1n1ks0s6.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %27, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %7, label %30
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 9, %12
%14 = sub nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %19
store i32 %17, ptr %20, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 9, %22
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %25
store i32 %21, ptr %26, align 4
br label %27
27: ; preds = %7
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %4, !llvm.loop !6
30: ; preds = %4
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %40, %30
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 9
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38)
br label %40
40: ; preds = %34
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %31, !llvm.loop !8
43: ; preds = %31
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(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/tmp1n1ks0s6.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 4
br i1 %5, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %26
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %8
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 9, %11
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %18
store i32 %16, ptr %19, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 9, %21
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %24
store i32 %20, ptr %25, align 4
br label %26
26: ; preds = %6
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 4
br i1 %30, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 9
br i1 %33, label %.lr.ph2, label %45
.lr.ph2: ; preds = %31
br label %34
34: ; preds = %.lr.ph2, %40
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38)
br label %40
40: ; preds = %34
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 9
br i1 %44, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %31
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(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/tmp04jwjzp_.c'
source_filename = "/tmp/tmp04jwjzp_.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sulong_posix_socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @errno, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %21
16: ; preds = %3
%17 = load i32, ptr @errno, align 4
%18 = sub nsw i32 0, %17
%19 = sext i32 %18 to i64
%20 = trunc i64 %19 to i32
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %16, %3
%22 = load i32, ptr %7, align 4
store i32 %22, ptr @errno, align 4
%23 = load i32, ptr %8, align 4
ret i32 %23
}
declare i32 @socket(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/tmp04jwjzp_.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sulong_posix_socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @errno, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %21
16: ; preds = %3
%17 = load i32, ptr @errno, align 4
%18 = sub nsw i32 0, %17
%19 = sext i32 %18 to i64
%20 = trunc i64 %19 to i32
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %16, %3
%22 = load i32, ptr %7, align 4
store i32 %22, ptr @errno, align 4
%23 = load i32, ptr %8, align 4
ret i32 %23
}
declare i32 @socket(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/tmpuedc2wzb.c'
source_filename = "/tmp/tmpuedc2wzb.c"
target datalayout = "e-m:e-p270: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/tmpuedc2wzb.c"
target datalayout = "e-m:e-p270: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/tmp2qt26m6a.c'
source_filename = "/tmp/tmp2qt26m6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mirror(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %34, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %37
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 1
store i32 %15, ptr %8, align 4
br label %16
16: ; preds = %29, %13
%17 = load i32, ptr %8, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %16
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [3 x i32], ptr %20, i64 %22
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %19
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %8, align 4
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %9, !llvm.loop !8
37: ; preds = %9
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/tmp2qt26m6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mirror(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %40
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %34
%13 = load i32, ptr %6, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %.lr.ph, label %32
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [3 x i32], ptr %18, i64 %20
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [3 x i32], ptr %21, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
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 = icmp sge i32 %30, 0
br i1 %31, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %12
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %3
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/tmp_h8vmc6p.c'
source_filename = "/tmp/tmp_h8vmc6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_h8vmc6p.c"
target datalayout = "e-m:e-p270: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/tmpsdlc0rzx.c'
source_filename = "/tmp/tmpsdlc0rzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRSETMITERLIMIT\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"eMiterLimit:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRSETMITERLIMIT_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @core3_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @core3_print(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/tmpsdlc0rzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRSETMITERLIMIT\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"eMiterLimit:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRSETMITERLIMIT_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @core3_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @core3_print(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/tmp84jfoktd.c'
source_filename = "/tmp/tmp84jfoktd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkInput(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, 4
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @printUsage(ptr noundef %12)
br label %14
14: ; preds = %9, %2
store i32 2, ptr %5, align 4
br label %15
15: ; preds = %32, %14
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %35
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6)
%25 = icmp ne i32 %24, 1
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @printUsage(ptr noundef %29)
br label %31
31: ; preds = %26, %18
br label %32
32: ; preds = %31
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %15, !llvm.loop !6
35: ; preds = %15
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
%40 = icmp slt i32 %39, 1
br i1 %40, label %41, label %46
41: ; preds = %35
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 0
%44 = load ptr, ptr %43, align 8
%45 = call i32 @printUsage(ptr noundef %44)
br label %46
46: ; preds = %41, %35
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 3
%49 = load ptr, ptr %48, align 8
%50 = call i32 @atoi(ptr noundef %49)
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %57
52: ; preds = %46
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, align 8
%56 = call i32 @printUsage(ptr noundef %55)
br label %57
57: ; preds = %52, %46
ret void
}
declare i32 @printUsage(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp84jfoktd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkInput(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, 4
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @printUsage(ptr noundef %12)
br label %14
14: ; preds = %9, %2
store i32 2, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %.lr.ph, label %36
.lr.ph: ; preds = %14
br label %17
17: ; preds = %.lr.ph, %31
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %6)
%24 = icmp ne i32 %23, 1
br i1 %24, label %25, label %30
25: ; preds = %17
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @printUsage(ptr noundef %28)
br label %30
30: ; preds = %25, %17
br label %31
31: ; preds = %30
%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 = icmp slt i32 %34, 4
br i1 %35, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %14
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
%40 = call i32 @atoi(ptr noundef %39)
%41 = icmp slt i32 %40, 1
br i1 %41, label %42, label %47
42: ; preds = %36
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 0
%45 = load ptr, ptr %44, align 8
%46 = call i32 @printUsage(ptr noundef %45)
br label %47
47: ; preds = %42, %36
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = call i32 @atoi(ptr noundef %50)
%52 = icmp slt i32 %51, 1
br i1 %52, label %53, label %58
53: ; preds = %47
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 @printUsage(ptr noundef %56)
br label %58
58: ; preds = %53, %47
ret void
}
declare i32 @printUsage(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpx3gi2bsy.c'
source_filename = "/tmp/tmpx3gi2bsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"cl_gl_ext.h standalone test PASSED.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3gi2bsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"cl_gl_ext.h standalone test PASSED.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfk13xmng.c'
source_filename = "/tmp/tmpfk13xmng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_LEQUAL = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_LOCAL_VIEWER = dso_local global i32 0, align 4
@GL_TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialize() #0 {
%1 = load i32, ptr @GL_PROJECTION, align 4
%2 = call i32 @glMatrixMode(i32 noundef %1)
%3 = call i32 @glFrustum(double noundef -5.000000e-01, double noundef 5.000000e-01, double noundef -5.000000e-01, double noundef 5.000000e-01, double noundef 1.000000e+00, double noundef 3.000000e+00)
%4 = load i32, ptr @GL_MODELVIEW, align 4
%5 = call i32 @glMatrixMode(i32 noundef %4)
%6 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -2.000000e+00)
%7 = load i32, ptr @GL_LEQUAL, align 4
%8 = call i32 @glDepthFunc(i32 noundef %7)
%9 = load i32, ptr @GL_LIGHT_MODEL_LOCAL_VIEWER, align 4
%10 = load i32, ptr @GL_TRUE, align 4
%11 = call i32 @glLightModeli(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glFrustum(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1
declare i32 @glDepthFunc(i32 noundef) #1
declare i32 @glLightModeli(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/tmpfk13xmng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_LEQUAL = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_LOCAL_VIEWER = dso_local global i32 0, align 4
@GL_TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialize() #0 {
%1 = load i32, ptr @GL_PROJECTION, align 4
%2 = call i32 @glMatrixMode(i32 noundef %1)
%3 = call i32 @glFrustum(double noundef -5.000000e-01, double noundef 5.000000e-01, double noundef -5.000000e-01, double noundef 5.000000e-01, double noundef 1.000000e+00, double noundef 3.000000e+00)
%4 = load i32, ptr @GL_MODELVIEW, align 4
%5 = call i32 @glMatrixMode(i32 noundef %4)
%6 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -2.000000e+00)
%7 = load i32, ptr @GL_LEQUAL, align 4
%8 = call i32 @glDepthFunc(i32 noundef %7)
%9 = load i32, ptr @GL_LIGHT_MODEL_LOCAL_VIEWER, align 4
%10 = load i32, ptr @GL_TRUE, align 4
%11 = call i32 @glLightModeli(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glFrustum(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1
declare i32 @glDepthFunc(i32 noundef) #1
declare i32 @glLightModeli(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/tmp73fcv1xs.c'
source_filename = "/tmp/tmp73fcv1xs.c"
target datalayout = "e-m:e-p270: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/tmp73fcv1xs.c"
target datalayout = "e-m:e-p270: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/tmpysf84i3l.c'
source_filename = "/tmp/tmpysf84i3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @x() #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/tmpysf84i3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @x() #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/tmpdcvfc7qt.c'
source_filename = "/tmp/tmpdcvfc7qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c" \0A \09\09 Results verfication : Failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c" \0A \09\09 Considered machine precision : %e\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c" \0A \09\09 Relative Error : %e\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"\0A \0A\09\09Results verfication : Success\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @matInfinityNormCheckResultGMDP(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 0, ptr %12, align 4
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 1.000000e-15, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %49, %4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %52
22: ; preds = %18
store double 0.000000e+00, ptr %14, align 8
store i32 0, ptr %11, align 4
br label %23
23: ; preds = %39, %22
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %42
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %8, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %11, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %28, i64 %34
%36 = load double, ptr %35, align 8
%37 = load double, ptr %14, align 8
%38 = fadd double %37, %36
store double %38, ptr %14, align 8
br label %39
39: ; preds = %27
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %11, align 4
br label %23, !llvm.loop !6
42: ; preds = %23
%43 = load double, ptr %13, align 8
%44 = load double, ptr %14, align 8
%45 = fcmp olt double %43, %44
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = load double, ptr %14, align 8
store double %47, ptr %13, align 8
br label %48
48: ; preds = %46, %42
br label %49
49: ; preds = %48
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %10, align 4
br label %18, !llvm.loop !8
52: ; preds = %18
%53 = load double, ptr %13, align 8
%54 = call double @llvm.fabs.f64(double %53)
%55 = load ptr, ptr %9, align 8
%56 = load double, ptr %55, align 8
%57 = call double @llvm.fabs.f64(double %56)
%58 = fcmp ogt double %54, %57
br i1 %58, label %59, label %67
59: ; preds = %52
%60 = load double, ptr %13, align 8
%61 = load ptr, ptr %9, align 8
%62 = load double, ptr %61, align 8
%63 = fsub double %60, %62
%64 = load double, ptr %13, align 8
%65 = fdiv double %63, %64
%66 = call double @llvm.fabs.f64(double %65)
store double %66, ptr %16, align 8
br label %76
67: ; preds = %52
%68 = load ptr, ptr %9, align 8
%69 = load double, ptr %68, align 8
%70 = load double, ptr %13, align 8
%71 = fsub double %69, %70
%72 = load ptr, ptr %9, align 8
%73 = load double, ptr %72, align 8
%74 = fdiv double %71, %73
%75 = call double @llvm.fabs.f64(double %74)
store double %75, ptr %16, align 8
br label %76
76: ; preds = %67, %59
%77 = load double, ptr %16, align 8
%78 = load double, ptr %15, align 8
%79 = fcmp ogt double %77, %78
br i1 %79, label %80, label %90
80: ; preds = %76
%81 = load double, ptr %16, align 8
%82 = fcmp une double %81, 0.000000e+00
br i1 %82, label %83, label %90
83: ; preds = %80
%84 = load double, ptr %17, align 8
%85 = load double, ptr %16, align 8
%86 = fcmp olt double %84, %85
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = load double, ptr %16, align 8
store double %88, ptr %17, align 8
store i32 1, ptr %12, align 4
br label %89
89: ; preds = %87, %83
br label %90
90: ; preds = %89, %80, %76
%91 = load i32, ptr %12, align 4
%92 = icmp eq i32 %91, 1
br i1 %92, label %93, label %99
93: ; preds = %90
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%95 = load double, ptr %15, align 8
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %95)
%97 = load double, ptr %17, align 8
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %97)
br label %101
99: ; preds = %90
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %101
101: ; preds = %99, %93
%102 = load i32, ptr %5, align 4
ret i32 %102
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdcvfc7qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c" \0A \09\09 Results verfication : Failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c" \0A \09\09 Considered machine precision : %e\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c" \0A \09\09 Relative Error : %e\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"\0A \0A\09\09Results verfication : Success\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @matInfinityNormCheckResultGMDP(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 0, ptr %12, align 4
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 1.000000e-15, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %56
.lr.ph2: ; preds = %4
br label %21
21: ; preds = %.lr.ph2, %50
store double 0.000000e+00, ptr %14, align 8
store i32 0, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %43
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %37
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %8, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %26, i64 %32
%34 = load double, ptr %33, align 8
%35 = load double, ptr %14, align 8
%36 = fadd double %35, %34
store double %36, ptr %14, align 8
br label %37
37: ; preds = %25
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %21
%44 = load double, ptr %13, align 8
%45 = load double, ptr %14, align 8
%46 = fcmp olt double %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load double, ptr %14, align 8
store double %48, ptr %13, align 8
br label %49
49: ; preds = %47, %43
br label %50
50: ; preds = %49
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %7, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %4
%57 = load double, ptr %13, align 8
%58 = call double @llvm.fabs.f64(double %57)
%59 = load ptr, ptr %9, align 8
%60 = load double, ptr %59, align 8
%61 = call double @llvm.fabs.f64(double %60)
%62 = fcmp ogt double %58, %61
br i1 %62, label %63, label %71
63: ; preds = %56
%64 = load double, ptr %13, align 8
%65 = load ptr, ptr %9, align 8
%66 = load double, ptr %65, align 8
%67 = fsub double %64, %66
%68 = load double, ptr %13, align 8
%69 = fdiv double %67, %68
%70 = call double @llvm.fabs.f64(double %69)
store double %70, ptr %16, align 8
br label %80
71: ; preds = %56
%72 = load ptr, ptr %9, align 8
%73 = load double, ptr %72, align 8
%74 = load double, ptr %13, align 8
%75 = fsub double %73, %74
%76 = load ptr, ptr %9, align 8
%77 = load double, ptr %76, align 8
%78 = fdiv double %75, %77
%79 = call double @llvm.fabs.f64(double %78)
store double %79, ptr %16, align 8
br label %80
80: ; preds = %71, %63
%81 = load double, ptr %16, align 8
%82 = load double, ptr %15, align 8
%83 = fcmp ogt double %81, %82
br i1 %83, label %84, label %94
84: ; preds = %80
%85 = load double, ptr %16, align 8
%86 = fcmp une double %85, 0.000000e+00
br i1 %86, label %87, label %94
87: ; preds = %84
%88 = load double, ptr %17, align 8
%89 = load double, ptr %16, align 8
%90 = fcmp olt double %88, %89
br i1 %90, label %91, label %93
91: ; preds = %87
%92 = load double, ptr %16, align 8
store double %92, ptr %17, align 8
store i32 1, ptr %12, align 4
br label %93
93: ; preds = %91, %87
br label %94
94: ; preds = %93, %84, %80
%95 = load i32, ptr %12, align 4
%96 = icmp eq i32 %95, 1
br i1 %96, label %97, label %103
97: ; preds = %94
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%99 = load double, ptr %15, align 8
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %99)
%101 = load double, ptr %17, align 8
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %101)
br label %105
103: ; preds = %94
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %105
105: ; preds = %103, %97
%106 = load i32, ptr %5, align 4
ret i32 %106
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp537vkrj_.c'
source_filename = "/tmp/tmp537vkrj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_chacha_mem() #0 {
%1 = call i32 @do_test_chacha_mem(i32 noundef 20)
%2 = call i32 @do_test_chacha_mem(i32 noundef 12)
%3 = call i32 @do_test_chacha_mem(i32 noundef 8)
ret void
}
declare i32 @do_test_chacha_mem(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/tmp537vkrj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_chacha_mem() #0 {
%1 = call i32 @do_test_chacha_mem(i32 noundef 20)
%2 = call i32 @do_test_chacha_mem(i32 noundef 12)
%3 = call i32 @do_test_chacha_mem(i32 noundef 8)
ret void
}
declare i32 @do_test_chacha_mem(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/tmp1fsffwh0.c'
source_filename = "/tmp/tmp1fsffwh0.c"
target datalayout = "e-m:e-p270: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/tmp1fsffwh0.c"
target datalayout = "e-m:e-p270: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/tmpz9mjq_o9.c'
source_filename = "/tmp/tmpz9mjq_o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Error with cmd.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sysclose(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @pclose(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fish_warn(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %9
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @pclose(ptr noundef) #1
declare i32 @fish_warn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz9mjq_o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Error with cmd.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sysclose(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @pclose(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fish_warn(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %9
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @pclose(ptr noundef) #1
declare i32 @fish_warn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzthnttc7.c'
source_filename = "/tmp/tmpzthnttc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Test_square(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 0, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @pfan_draw_point(i32 noundef 1, i32 noundef 0, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @pfan_draw_point(i32 noundef 2, i32 noundef 0, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @pfan_draw_point(i32 noundef 3, i32 noundef 0, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 0, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 4, ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @pfan_draw_point(i32 noundef 1, i32 noundef 4, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @pfan_draw_point(i32 noundef 2, i32 noundef 4, ptr noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @pfan_draw_point(i32 noundef 3, i32 noundef 4, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 4, ptr noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 0, ptr noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 1, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 2, ptr noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 3, ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 4, ptr noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 0, ptr noundef %33)
%35 = load ptr, ptr %2, align 8
%36 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 1, ptr noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 2, ptr noundef %37)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 3, ptr noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 4, ptr noundef %41)
ret void
}
declare i32 @pfan_draw_point(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/tmpzthnttc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Test_square(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 0, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @pfan_draw_point(i32 noundef 1, i32 noundef 0, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @pfan_draw_point(i32 noundef 2, i32 noundef 0, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @pfan_draw_point(i32 noundef 3, i32 noundef 0, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 0, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 4, ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @pfan_draw_point(i32 noundef 1, i32 noundef 4, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @pfan_draw_point(i32 noundef 2, i32 noundef 4, ptr noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @pfan_draw_point(i32 noundef 3, i32 noundef 4, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 4, ptr noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 0, ptr noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 1, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 2, ptr noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 3, ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @pfan_draw_point(i32 noundef 0, i32 noundef 4, ptr noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 0, ptr noundef %33)
%35 = load ptr, ptr %2, align 8
%36 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 1, ptr noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 2, ptr noundef %37)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 3, ptr noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = call i32 @pfan_draw_point(i32 noundef 4, i32 noundef 4, ptr noundef %41)
ret void
}
declare i32 @pfan_draw_point(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/tmpsa3nmbyh.c'
source_filename = "/tmp/tmpsa3nmbyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opNormSSE_single(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %3, %4
%6 = call float @hsum_ps_SSE3(i32 noundef %5)
ret float %6
}
declare float @hsum_ps_SSE3(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/tmpsa3nmbyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opNormSSE_single(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %3, %4
%6 = call float @hsum_ps_SSE3(i32 noundef %5)
ret float %6
}
declare float @hsum_ps_SSE3(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/tmpcghlebq3.c'
source_filename = "/tmp/tmpcghlebq3.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"TEST\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @implicitUnsignedTruncation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcghlebq3.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"TEST\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @implicitUnsignedTruncation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnca1t90b.c'
source_filename = "/tmp/tmpnca1t90b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = 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/tmpnca1t90b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = 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/tmpxtksk4w3.c'
source_filename = "/tmp/tmpxtksk4w3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpeername(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtksk4w3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpeername(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdfzomum2.c'
source_filename = "/tmp/tmpdfzomum2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_standard_Laurent_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 774, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdfzomum2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_standard_Laurent_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 774, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpylio7np9.c'
source_filename = "/tmp/tmpylio7np9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote(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
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp uge ptr %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
store ptr null, ptr %4, align 8
br label %30
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %5, align 8
store i8 34, ptr %13, align 1
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = call ptr @escape(ptr noundef %15, ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp uge ptr %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21, %12
store ptr null, ptr %4, align 8
br label %30
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
store i8 34, ptr %27, align 1
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %26, %25, %11
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
declare ptr @escape(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/tmpylio7np9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote(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
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp uge ptr %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
store ptr null, ptr %4, align 8
br label %30
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %5, align 8
store i8 34, ptr %13, align 1
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = call ptr @escape(ptr noundef %15, ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp uge ptr %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21, %12
store ptr null, ptr %4, align 8
br label %30
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
store i8 34, ptr %27, align 1
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %26, %25, %11
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
declare ptr @escape(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/tmpjifv5o_y.c'
source_filename = "/tmp/tmpjifv5o_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__long_int_memset(ptr noalias noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = shl i32 %8, 24
%10 = load i32, ptr %5, align 4
%11 = trunc i32 %10 to i8
%12 = sext i8 %11 to i32
%13 = shl i32 %12, 16
%14 = add nsw i32 %9, %13
%15 = load i32, ptr %5, align 4
%16 = trunc i32 %15 to i8
%17 = sext i8 %16 to i32
%18 = shl i32 %17, 8
%19 = add nsw i32 %14, %18
%20 = load i32, ptr %5, align 4
%21 = trunc i32 %20 to i8
%22 = sext i8 %21 to i32
%23 = add nsw i32 %19, %22
store i32 %23, ptr %7, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = load i64, ptr %6, align 8
%27 = call i32 @__int_memset(ptr noundef %24, i32 noundef %25, i64 noundef %26)
ret void
}
declare i32 @__int_memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjifv5o_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__long_int_memset(ptr noalias noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = shl i32 %8, 24
%10 = load i32, ptr %5, align 4
%11 = trunc i32 %10 to i8
%12 = sext i8 %11 to i32
%13 = shl i32 %12, 16
%14 = add nsw i32 %9, %13
%15 = load i32, ptr %5, align 4
%16 = trunc i32 %15 to i8
%17 = sext i8 %16 to i32
%18 = shl i32 %17, 8
%19 = add nsw i32 %14, %18
%20 = load i32, ptr %5, align 4
%21 = trunc i32 %20 to i8
%22 = sext i8 %21 to i32
%23 = add nsw i32 %19, %22
store i32 %23, ptr %7, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = load i64, ptr %6, align 8
%27 = call i32 @__int_memset(ptr noundef %24, i32 noundef %25, i64 noundef %26)
ret void
}
declare i32 @__int_memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf5s8a97c.c'
source_filename = "/tmp/tmpf5s8a97c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.v = internal global [600000000 x i32] zeroinitializer, align 16
@.str = private unnamed_addr constant [25 x i8] c"Element at position: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 600000000, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %17, %2
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 600000000
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [600000000 x i32], ptr @main.v, i64 0, i64 %15
store i32 %13, ptr %16, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %6, align 4
%22 = call i32 @binsearch(i32 noundef %21, ptr noundef @main.v, i32 noundef 600000000)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
ret i32 0
}
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf5s8a97c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.v = internal global [600000000 x i32] zeroinitializer, align 16
@.str = private unnamed_addr constant [25 x i8] c"Element at position: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 600000000, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp slt i32 %9, 600000000
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [600000000 x i32], ptr @main.v, i64 0, i64 %14
store i32 %12, ptr %15, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 600000000
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %6, align 4
%23 = call i32 @binsearch(i32 noundef %22, ptr noundef @main.v, i32 noundef 600000000)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret i32 0
}
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptszy091y.c'
source_filename = "/tmp/tmptszy091y.c"
target datalayout = "e-m:e-p270: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/tmptszy091y.c"
target datalayout = "e-m:e-p270: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/tmpwsiis3tv.c'
source_filename = "/tmp/tmpwsiis3tv.c"
target datalayout = "e-m:e-p270: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/tmpwsiis3tv.c"
target datalayout = "e-m:e-p270: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/tmp0h_a4mef.c'
source_filename = "/tmp/tmp0h_a4mef.c"
target datalayout = "e-m:e-p270: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/tmp0h_a4mef.c"
target datalayout = "e-m:e-p270: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/tmpxf2km0jh.c'
source_filename = "/tmp/tmpxf2km0jh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_arg_value(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %1
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %2, align 8
br label %78
13: ; preds = %1
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 41
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
store ptr %19, ptr %2, align 8
br label %78
20: ; preds = %13
br label %21
21: ; preds = %73, %20
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %21
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
%29 = xor i1 %28, true
br label %30
30: ; preds = %26, %21
%31 = phi i1 [ false, %21 ], [ %29, %26 ]
br i1 %31, label %32, label %76
32: ; preds = %30
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
switch i32 %35, label %63 [
i32 40, label %36
i32 41, label %39
i32 60, label %47
i32 62, label %50
i32 44, label %57
i32 32, label %62
]
36: ; preds = %32
%37 = load i32, ptr %4, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %4, align 4
br label %72
39: ; preds = %32
%40 = load i32, ptr %4, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, ptr %4, align 4
%44 = add i32 %43, -1
store i32 %44, ptr %4, align 4
br label %46
45: ; preds = %39
store ptr null, ptr %2, align 8
br label %78
46: ; preds = %42
br label %72
47: ; preds = %32
%48 = load i32, ptr %5, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %5, align 4
br label %72
50: ; preds = %32
%51 = load i32, ptr %5, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %5, align 4
%55 = add i32 %54, -1
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %53, %50
br label %72
57: ; preds = %32
%58 = load i32, ptr %4, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %61, label %60
60: ; preds = %57
store ptr null, ptr %2, align 8
br label %78
61: ; preds = %57
br label %62
62: ; preds = %32, %61
br label %72
63: ; preds = %32
%64 = load i32, ptr %4, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %63
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66
%70 = load ptr, ptr %7, align 8
store ptr %70, ptr %6, align 8
br label %71
71: ; preds = %69, %66, %63
br label %72
72: ; preds = %71, %62, %56, %47, %46, %36
br label %73
73: ; preds = %72
%74 = load ptr, ptr %7, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %7, align 8
br label %21, !llvm.loop !6
76: ; preds = %30
%77 = load ptr, ptr %6, align 8
store ptr %77, ptr %2, align 8
br label %78
78: ; preds = %76, %60, %45, %18, %11
%79 = load ptr, ptr %2, align 8
ret ptr %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxf2km0jh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_arg_value(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %1
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %2, align 8
br label %78
13: ; preds = %1
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 41
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
store ptr %19, ptr %2, align 8
br label %78
20: ; preds = %13
br label %21
21: ; preds = %73, %20
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %21
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
%29 = xor i1 %28, true
br label %30
30: ; preds = %26, %21
%31 = phi i1 [ false, %21 ], [ %29, %26 ]
br i1 %31, label %32, label %76
32: ; preds = %30
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
switch i32 %35, label %63 [
i32 40, label %36
i32 41, label %39
i32 60, label %47
i32 62, label %50
i32 44, label %57
i32 32, label %62
]
36: ; preds = %32
%37 = load i32, ptr %4, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %4, align 4
br label %72
39: ; preds = %32
%40 = load i32, ptr %4, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, ptr %4, align 4
%44 = add i32 %43, -1
store i32 %44, ptr %4, align 4
br label %46
45: ; preds = %39
store ptr null, ptr %2, align 8
br label %78
46: ; preds = %42
br label %72
47: ; preds = %32
%48 = load i32, ptr %5, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %5, align 4
br label %72
50: ; preds = %32
%51 = load i32, ptr %5, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %5, align 4
%55 = add i32 %54, -1
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %53, %50
br label %72
57: ; preds = %32
%58 = load i32, ptr %4, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %61, label %60
60: ; preds = %57
store ptr null, ptr %2, align 8
br label %78
61: ; preds = %57
br label %62
62: ; preds = %61, %32
br label %72
63: ; preds = %32
%64 = load i32, ptr %4, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %63
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66
%70 = load ptr, ptr %7, align 8
store ptr %70, ptr %6, align 8
br label %71
71: ; preds = %69, %66, %63
br label %72
72: ; preds = %71, %62, %56, %47, %46, %36
br label %73
73: ; preds = %72
%74 = load ptr, ptr %7, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %7, align 8
br label %21, !llvm.loop !6
76: ; preds = %30
%77 = load ptr, ptr %6, align 8
store ptr %77, ptr %2, align 8
br label %78
78: ; preds = %76, %60, %45, %18, %11
%79 = load ptr, ptr %2, align 8
ret ptr %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxhg4zoqc.c'
source_filename = "/tmp/tmpxhg4zoqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %39, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %42
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = call i32 @hash(i32 noundef 1)
%16 = load i32, ptr %5, align 4
%17 = call i32 @hash(i32 noundef %16)
br label %18
18: ; preds = %14, %10
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = mul nsw i32 2, %20
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp slt i32 %21, %23
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = load i32, ptr %3, align 4
%27 = mul nsw i32 2, %26
br label %31
28: ; preds = %18
%29 = load i32, ptr %3, align 4
%30 = sub nsw i32 %29, 1
br label %31
31: ; preds = %28, %25
%32 = phi i32 [ %27, %25 ], [ %30, %28 ]
%33 = icmp sle i32 %19, %32
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = call i32 @hash(i32 noundef 1)
%36 = load i32, ptr %5, align 4
%37 = call i32 @hash(i32 noundef %36)
br label %38
38: ; preds = %34, %31
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %6, !llvm.loop !6
42: ; preds = %6
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %45
45: ; preds = %54, %42
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %4, align 4
%48 = mul nsw i32 2, %47
%49 = icmp sle i32 %46, %48
br i1 %49, label %50, label %57
50: ; preds = %45
%51 = call i32 @hash(i32 noundef 2)
%52 = load i32, ptr %5, align 4
%53 = call i32 @hash(i32 noundef %52)
br label %54
54: ; preds = %50
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
br label %45, !llvm.loop !8
57: ; preds = %45
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxhg4zoqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %38
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = call i32 @hash(i32 noundef 1)
%15 = load i32, ptr %5, align 4
%16 = call i32 @hash(i32 noundef %15)
br label %17
17: ; preds = %13, %9
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 2, %19
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %21, 1
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = mul nsw i32 2, %25
br label %30
27: ; preds = %17
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 %28, 1
br label %30
30: ; preds = %27, %24
%31 = phi i32 [ %26, %24 ], [ %29, %27 ]
%32 = icmp sle i32 %18, %31
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = call i32 @hash(i32 noundef 1)
%35 = load i32, ptr %5, align 4
%36 = call i32 @hash(i32 noundef %35)
br label %37
37: ; preds = %33, %30
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %2
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %4, align 4
%49 = mul nsw i32 2, %48
%50 = icmp sle i32 %47, %49
br i1 %50, label %.lr.ph2, label %62
.lr.ph2: ; preds = %44
br label %51
51: ; preds = %.lr.ph2, %55
%52 = call i32 @hash(i32 noundef 2)
%53 = load i32, ptr %5, align 4
%54 = call i32 @hash(i32 noundef %53)
br label %55
55: ; preds = %51
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %4, align 4
%60 = mul nsw i32 2, %59
%61 = icmp sle i32 %58, %60
br i1 %61, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %62
62: ; preds = %._crit_edge3, %44
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpibc2fp4x.c'
source_filename = "/tmp/tmpibc2fp4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_grib_out(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
store ptr %8, ptr %18, align 8
%29 = load ptr, ptr %10, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %21, align 8
%32 = load ptr, ptr %10, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %22, align 8
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
store ptr %37, ptr %23, align 8
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 3
%40 = load ptr, ptr %39, align 8
store ptr %40, ptr %24, align 8
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 4
%43 = load ptr, ptr %42, align 8
store ptr %43, ptr %25, align 8
%44 = load i32, ptr %12, align 4
store i32 %44, ptr %19, align 4
%45 = load ptr, ptr %11, align 8
%46 = call ptr @mk_bms(ptr noundef %45, ptr noundef %19)
store ptr %46, ptr %27, align 8
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %19, align 4
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %15, align 4
%52 = load i32, ptr %16, align 4
%53 = load i32, ptr %17, align 4
%54 = call i32 @mk_sec5and7(ptr noundef %47, i32 noundef %48, ptr noundef %26, ptr noundef %28, i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %21, align 8
%56 = load ptr, ptr %22, align 8
%57 = load ptr, ptr %23, align 8
%58 = load ptr, ptr %24, align 8
%59 = load ptr, ptr %25, align 8
%60 = load ptr, ptr %26, align 8
%61 = load ptr, ptr %27, align 8
%62 = load ptr, ptr %28, align 8
%63 = load ptr, ptr %18, align 8
%64 = call i32 @wrt_sec(ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
store i32 %64, ptr %20, align 4
%65 = load ptr, ptr %26, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load ptr, ptr %27, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %28, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load i32, ptr %20, align 4
ret i32 %71
}
declare ptr @mk_bms(ptr noundef, ptr noundef) #1
declare i32 @mk_sec5and7(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wrt_sec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibc2fp4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_grib_out(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
store ptr %8, ptr %18, align 8
%29 = load ptr, ptr %10, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %21, align 8
%32 = load ptr, ptr %10, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %22, align 8
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
store ptr %37, ptr %23, align 8
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 3
%40 = load ptr, ptr %39, align 8
store ptr %40, ptr %24, align 8
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 4
%43 = load ptr, ptr %42, align 8
store ptr %43, ptr %25, align 8
%44 = load i32, ptr %12, align 4
store i32 %44, ptr %19, align 4
%45 = load ptr, ptr %11, align 8
%46 = call ptr @mk_bms(ptr noundef %45, ptr noundef %19)
store ptr %46, ptr %27, align 8
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %19, align 4
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %15, align 4
%52 = load i32, ptr %16, align 4
%53 = load i32, ptr %17, align 4
%54 = call i32 @mk_sec5and7(ptr noundef %47, i32 noundef %48, ptr noundef %26, ptr noundef %28, i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %21, align 8
%56 = load ptr, ptr %22, align 8
%57 = load ptr, ptr %23, align 8
%58 = load ptr, ptr %24, align 8
%59 = load ptr, ptr %25, align 8
%60 = load ptr, ptr %26, align 8
%61 = load ptr, ptr %27, align 8
%62 = load ptr, ptr %28, align 8
%63 = load ptr, ptr %18, align 8
%64 = call i32 @wrt_sec(ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
store i32 %64, ptr %20, align 4
%65 = load ptr, ptr %26, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load ptr, ptr %27, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %28, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load i32, ptr %20, align 4
ret i32 %71
}
declare ptr @mk_bms(ptr noundef, ptr noundef) #1
declare i32 @mk_sec5and7(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wrt_sec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp72am_n_9.c'
source_filename = "/tmp/tmp72am_n_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @getc(i32 noundef %5)
%7 = trunc i64 %6 to i32
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 0, %8
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -2, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %10
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @getc(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/tmp72am_n_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @getc(i32 noundef %5)
%7 = trunc i64 %6 to i32
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 0, %8
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -2, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %10
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @getc(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/tmpn36vdg6a.c'
source_filename = "/tmp/tmpn36vdg6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SIOCIWFIRSTPRIV = dso_local global i64 0, align 8
@SOCK_DGRAM = 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/tmpn36vdg6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SIOCIWFIRSTPRIV = dso_local global i64 0, align 8
@SOCK_DGRAM = 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/tmpzq4qyj46.c'
source_filename = "/tmp/tmpzq4qyj46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RS400_get_session(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca [32768 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca [4 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [2 x i8], align 1
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%10 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 106, ptr %10, align 1
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %3, align 1
store i8 %12, ptr %11, align 1
%13 = getelementptr inbounds i8, ptr %11, i64 1
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 0, ptr %14, align 1
%15 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @RS400_sendbytes(ptr noundef %15, i32 noundef 4)
%17 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @RS400_recvbytes(ptr noundef %17)
%19 = sub nsw i32 %18, 4
store i32 %19, ptr %8, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @memcpy(ptr noundef %20, ptr noundef %22, i32 noundef %23)
%25 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
store i8 22, ptr %25, align 1
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %3, align 1
store i8 %27, ptr %26, align 1
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %6, align 4
%29 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%30 = call i32 @RS400_sendbytes(ptr noundef %29, i32 noundef 2)
%31 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @RS400_recvbytes(ptr noundef %31)
%33 = sub nsw i32 %32, 5
store i32 %33, ptr %8, align 4
br label %34
34: ; preds = %37, %2
%35 = load i32, ptr %8, align 4
%36 = icmp sgt i32 %35, 2
br i1 %36, label %37, label %54
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%43 = getelementptr inbounds i8, ptr %42, i64 5
%44 = load i32, ptr %8, align 4
%45 = call i32 @memcpy(ptr noundef %41, ptr noundef %43, i32 noundef %44)
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %6, align 4
%49 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%50 = call i32 @RS400_sendbytes(ptr noundef %49, i32 noundef 2)
%51 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%52 = call i32 @RS400_recvbytes(ptr noundef %51)
%53 = sub nsw i32 %52, 5
store i32 %53, ptr %8, align 4
br label %34, !llvm.loop !6
54: ; preds = %34
%55 = load i32, ptr %6, align 4
ret i32 %55
}
declare i32 @RS400_sendbytes(ptr noundef, i32 noundef) #1
declare i32 @RS400_recvbytes(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzq4qyj46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RS400_get_session(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca [32768 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca [4 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [2 x i8], align 1
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%10 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 106, ptr %10, align 1
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %3, align 1
store i8 %12, ptr %11, align 1
%13 = getelementptr inbounds i8, ptr %11, i64 1
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 0, ptr %14, align 1
%15 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @RS400_sendbytes(ptr noundef %15, i32 noundef 4)
%17 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @RS400_recvbytes(ptr noundef %17)
%19 = sub nsw i32 %18, 4
store i32 %19, ptr %8, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @memcpy(ptr noundef %20, ptr noundef %22, i32 noundef %23)
%25 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
store i8 22, ptr %25, align 1
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %3, align 1
store i8 %27, ptr %26, align 1
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %6, align 4
%29 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%30 = call i32 @RS400_sendbytes(ptr noundef %29, i32 noundef 2)
%31 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @RS400_recvbytes(ptr noundef %31)
%33 = sub nsw i32 %32, 5
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp sgt i32 %34, 2
br i1 %35, label %.lr.ph, label %55
.lr.ph: ; preds = %2
br label %36
36: ; preds = %.lr.ph, %36
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%42 = getelementptr inbounds i8, ptr %41, i64 5
%43 = load i32, ptr %8, align 4
%44 = call i32 @memcpy(ptr noundef %40, ptr noundef %42, i32 noundef %43)
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %6, align 4
%48 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%49 = call i32 @RS400_sendbytes(ptr noundef %48, i32 noundef 2)
%50 = getelementptr inbounds [32768 x i8], ptr %5, i64 0, i64 0
%51 = call i32 @RS400_recvbytes(ptr noundef %50)
%52 = sub nsw i32 %51, 5
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp sgt i32 %53, 2
br i1 %54, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %55
55: ; preds = %._crit_edge, %2
%56 = load i32, ptr %6, align 4
ret i32 %56
}
declare i32 @RS400_sendbytes(ptr noundef, i32 noundef) #1
declare i32 @RS400_recvbytes(ptr 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"}
|
; ModuleID = '/tmp/tmp8p3jpzoo.c'
source_filename = "/tmp/tmp8p3jpzoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=============================\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%5d \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_4x4(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %33, %2
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %36
14: ; preds = %11
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %28, %14
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %31
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x i32], ptr %19, i64 %21
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i32], ptr %22, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %18
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %15, !llvm.loop !6
31: ; preds = %15
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %11, !llvm.loop !8
36: ; preds = %11
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/tmp8p3jpzoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=============================\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%5d \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_4x4(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph2, label %38
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %33
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %26
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x i32], ptr %17, i64 %19
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 4
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %13
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %36, 4
br i1 %37, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpf4lj1agb.c'
source_filename = "/tmp/tmpf4lj1agb.c"
target datalayout = "e-m:e-p270: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/tmpf4lj1agb.c"
target datalayout = "e-m:e-p270: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/tmpmab6osvl.c'
source_filename = "/tmp/tmpmab6osvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo_foo__() #0 {
%1 = call i32 @genStd4(i8 noundef signext 50)
ret void
}
declare i32 @genStd4(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/tmpmab6osvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo_foo__() #0 {
%1 = call i32 @genStd4(i8 noundef signext 50)
ret void
}
declare i32 @genStd4(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/tmp4muncf1y.c'
source_filename = "/tmp/tmp4muncf1y.c"
target datalayout = "e-m:e-p270: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/tmp4muncf1y.c"
target datalayout = "e-m:e-p270: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/tmponpiypxt.c'
source_filename = "/tmp/tmponpiypxt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeLCD(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 2)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 4, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(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/tmponpiypxt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeLCD(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 2)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 4, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(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/tmposubl09x.c'
source_filename = "/tmp/tmposubl09x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_sink(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @Write(i32 noundef 25, ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 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/tmposubl09x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_sink(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @Write(i32 noundef 25, ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 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/tmptugdcsfp.c'
source_filename = "/tmp/tmptugdcsfp.c"
target datalayout = "e-m:e-p270: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.value = private unnamed_addr constant [10 x i32] [i32 4, i32 2, i32 3, i32 5, i32 8, i32 6, i32 7, i32 0, i32 9, i32 1], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [10 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.value, i64 40, i1 false)
%8 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @heapSort(ptr noundef %8, i32 noundef 10)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %19, %2
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%24 = load i32, ptr %3, align 4
ret i32 %24
}
; 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 @heapSort(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptugdcsfp.c"
target datalayout = "e-m:e-p270: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.value = private unnamed_addr constant [10 x i32] [i32 4, i32 2, i32 3, i32 5, i32 8, i32 6, i32 7, i32 0, i32 9, i32 1], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [10 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.value, i64 40, i1 false)
%8 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @heapSort(ptr noundef %8, i32 noundef 10)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %18
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %12
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 10
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%25 = load i32, ptr %3, align 4
ret i32 %25
}
; 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 @heapSort(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoxpcm0sq.c'
source_filename = "/tmp/tmpoxpcm0sq.c"
target datalayout = "e-m:e-p270: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/tmpoxpcm0sq.c"
target datalayout = "e-m:e-p270: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/tmpcay89cwx.c'
source_filename = "/tmp/tmpcay89cwx.c"
target datalayout = "e-m:e-p270: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/tmpcay89cwx.c"
target datalayout = "e-m:e-p270: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/tmp8pz2ljpy.c'
source_filename = "/tmp/tmp8pz2ljpy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @nb_iter(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 double, align 8
store i32 %0, ptr %6, align 4
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
%12 = load i32, ptr %7, align 4
%13 = sdiv i32 %12, 2
%14 = load i32, ptr %9, align 4
%15 = call double @log_binomial(i32 noundef %13, i32 noundef %14)
%16 = fmul double 2.000000e+00, %15
store double %16, ptr %11, align 8
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %17, %18
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %19, %20
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 2, %23
%25 = sub nsw i32 %22, %24
%26 = call double @log_binomial(i32 noundef %21, i32 noundef %25)
%27 = load double, ptr %11, align 8
%28 = fadd double %27, %26
store double %28, ptr %11, align 8
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %8, align 4
%31 = call double @log_binomial(i32 noundef %29, i32 noundef %30)
%32 = load double, ptr %11, align 8
%33 = fsub double %31, %32
store double %33, ptr %11, align 8
%34 = load double, ptr %11, align 8
ret double %34
}
declare double @log_binomial(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/tmp8pz2ljpy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @nb_iter(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 double, align 8
store i32 %0, ptr %6, align 4
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
%12 = load i32, ptr %7, align 4
%13 = sdiv i32 %12, 2
%14 = load i32, ptr %9, align 4
%15 = call double @log_binomial(i32 noundef %13, i32 noundef %14)
%16 = fmul double 2.000000e+00, %15
store double %16, ptr %11, align 8
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %17, %18
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %19, %20
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 2, %23
%25 = sub nsw i32 %22, %24
%26 = call double @log_binomial(i32 noundef %21, i32 noundef %25)
%27 = load double, ptr %11, align 8
%28 = fadd double %27, %26
store double %28, ptr %11, align 8
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %8, align 4
%31 = call double @log_binomial(i32 noundef %29, i32 noundef %30)
%32 = load double, ptr %11, align 8
%33 = fsub double %31, %32
store double %33, ptr %11, align 8
%34 = load double, ptr %11, align 8
ret double %34
}
declare double @log_binomial(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/tmp9fdgcahx.c'
source_filename = "/tmp/tmp9fdgcahx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %9, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store ptr %25, ptr %11, align 8
br label %26
26: ; preds = %130, %2
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %10, align 8
%29 = icmp ult ptr %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp ult ptr %31, %32
br label %34
34: ; preds = %30, %26
%35 = phi i1 [ false, %26 ], [ %33, %30 ]
br i1 %35, label %36, label %135
36: ; preds = %34
br label %37
37: ; preds = %77, %36
%38 = load ptr, ptr %8, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 94
br i1 %41, label %52, label %42
42: ; preds = %37
%43 = load ptr, ptr %8, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 32
br i1 %46, label %52, label %47
47: ; preds = %42
%48 = load ptr, ptr %8, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 95
br label %52
52: ; preds = %47, %42, %37
%53 = phi i1 [ true, %42 ], [ true, %37 ], [ %51, %47 ]
br i1 %53, label %54, label %78
54: ; preds = %52
%55 = load ptr, ptr %8, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 94
br i1 %58, label %59, label %68
59: ; preds = %54
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 2
store ptr %61, ptr %8, align 8
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %10, align 8
%64 = icmp uge ptr %62, %63
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = load i32, ptr %6, align 4
store i32 %66, ptr %3, align 4
br label %142
67: ; preds = %59
br label %77
68: ; preds = %54
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %8, align 8
%72 = load ptr, ptr %10, align 8
%73 = icmp uge ptr %71, %72
br i1 %73, label %74, label %76
74: ; preds = %68
%75 = load i32, ptr %6, align 4
store i32 %75, ptr %3, align 4
br label %142
76: ; preds = %68
br label %77
77: ; preds = %76, %67
br label %37, !llvm.loop !6
78: ; preds = %52
br label %79
79: ; preds = %97, %78
%80 = load ptr, ptr %9, align 8
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 95
br i1 %83, label %84, label %98
84: ; preds = %79
%85 = load ptr, ptr %9, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %9, align 8
%87 = load ptr, ptr %9, align 8
%88 = load ptr, ptr %11, align 8
%89 = icmp uge ptr %87, %88
br i1 %89, label %90, label %97
90: ; preds = %84
%91 = load ptr, ptr %8, align 8
%92 = load ptr, ptr %4, align 8
%93 = ptrtoint ptr %91 to i64
%94 = ptrtoint ptr %92 to i64
%95 = sub i64 %93, %94
%96 = trunc i64 %95 to i32
store i32 %96, ptr %3, align 4
br label %142
97: ; preds = %84
br label %79, !llvm.loop !8
98: ; preds = %79
%99 = load ptr, ptr %9, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp sge i32 %101, 97
br i1 %102, label %103, label %125
103: ; preds = %98
%104 = load ptr, ptr %9, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp sle i32 %106, 122
br i1 %107, label %108, label %125
108: ; preds = %103
%109 = load ptr, ptr %8, align 8
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = icmp sge i32 %111, 65
br i1 %112, label %113, label %125
113: ; preds = %108
%114 = load ptr, ptr %8, align 8
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp sle i32 %116, 90
br i1 %117, label %118, label %125
118: ; preds = %113
%119 = load ptr, ptr %9, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = add nsw i32 %121, -32
%123 = trunc i32 %122 to i8
%124 = load ptr, ptr %8, align 8
store i8 %123, ptr %124, align 1
br label %129
125: ; preds = %113, %108, %103, %98
%126 = load ptr, ptr %9, align 8
%127 = load i8, ptr %126, align 1
%128 = load ptr, ptr %8, align 8
store i8 %127, ptr %128, align 1
br label %129
129: ; preds = %125, %118
br label %130
130: ; preds = %129
%131 = load ptr, ptr %8, align 8
%132 = getelementptr inbounds i8, ptr %131, i32 1
store ptr %132, ptr %8, align 8
%133 = load ptr, ptr %9, align 8
%134 = getelementptr inbounds i8, ptr %133, i32 1
store ptr %134, ptr %9, align 8
br label %26, !llvm.loop !9
135: ; preds = %34
%136 = load ptr, ptr %8, align 8
%137 = load ptr, ptr %4, align 8
%138 = ptrtoint ptr %136 to i64
%139 = ptrtoint ptr %137 to i64
%140 = sub i64 %138, %139
%141 = trunc i64 %140 to i32
store i32 %141, ptr %3, align 4
br label %142
142: ; preds = %135, %90, %74, %65
%143 = load i32, ptr %3, align 4
ret i32 %143
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fdgcahx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %9, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store ptr %25, ptr %11, align 8
br label %26
26: ; preds = %133, %2
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %10, align 8
%29 = icmp ult ptr %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp ult ptr %31, %32
br label %34
34: ; preds = %30, %26
%35 = phi i1 [ false, %26 ], [ %33, %30 ]
br i1 %35, label %36, label %138
36: ; preds = %34
br label %37
37: ; preds = %77, %36
%38 = load ptr, ptr %8, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 94
br i1 %41, label %52, label %42
42: ; preds = %37
%43 = load ptr, ptr %8, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 32
br i1 %46, label %52, label %47
47: ; preds = %42
%48 = load ptr, ptr %8, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 95
br label %52
52: ; preds = %47, %42, %37
%53 = phi i1 [ true, %42 ], [ true, %37 ], [ %51, %47 ]
br i1 %53, label %54, label %78
54: ; preds = %52
%55 = load ptr, ptr %8, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 94
br i1 %58, label %59, label %68
59: ; preds = %54
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 2
store ptr %61, ptr %8, align 8
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %10, align 8
%64 = icmp uge ptr %62, %63
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = load i32, ptr %6, align 4
store i32 %66, ptr %3, align 4
br label %145
67: ; preds = %59
br label %77
68: ; preds = %54
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %8, align 8
%72 = load ptr, ptr %10, align 8
%73 = icmp uge ptr %71, %72
br i1 %73, label %74, label %76
74: ; preds = %68
%75 = load i32, ptr %6, align 4
store i32 %75, ptr %3, align 4
br label %145
76: ; preds = %68
br label %77
77: ; preds = %76, %67
br label %37, !llvm.loop !6
78: ; preds = %52
%79 = load ptr, ptr %9, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 95
br i1 %82, label %.lr.ph, label %101
.lr.ph: ; preds = %78
br label %88
83: ; preds = %88
%84 = load ptr, ptr %9, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 95
br i1 %87, label %88, label %._crit_edge, !llvm.loop !8
88: ; preds = %.lr.ph, %83
%89 = load ptr, ptr %9, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %9, align 8
%91 = load ptr, ptr %9, align 8
%92 = load ptr, ptr %11, align 8
%93 = icmp uge ptr %91, %92
br i1 %93, label %94, label %83
94: ; preds = %88
%95 = load ptr, ptr %8, align 8
%96 = load ptr, ptr %4, align 8
%97 = ptrtoint ptr %95 to i64
%98 = ptrtoint ptr %96 to i64
%99 = sub i64 %97, %98
%100 = trunc i64 %99 to i32
store i32 %100, ptr %3, align 4
br label %145
._crit_edge: ; preds = %83
br label %101
101: ; preds = %._crit_edge, %78
%102 = load ptr, ptr %9, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp sge i32 %104, 97
br i1 %105, label %106, label %128
106: ; preds = %101
%107 = load ptr, ptr %9, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp sle i32 %109, 122
br i1 %110, label %111, label %128
111: ; preds = %106
%112 = load ptr, ptr %8, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp sge i32 %114, 65
br i1 %115, label %116, label %128
116: ; preds = %111
%117 = load ptr, ptr %8, align 8
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp sle i32 %119, 90
br i1 %120, label %121, label %128
121: ; preds = %116
%122 = load ptr, ptr %9, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = add nsw i32 %124, -32
%126 = trunc i32 %125 to i8
%127 = load ptr, ptr %8, align 8
store i8 %126, ptr %127, align 1
br label %132
128: ; preds = %116, %111, %106, %101
%129 = load ptr, ptr %9, align 8
%130 = load i8, ptr %129, align 1
%131 = load ptr, ptr %8, align 8
store i8 %130, ptr %131, align 1
br label %132
132: ; preds = %128, %121
br label %133
133: ; preds = %132
%134 = load ptr, ptr %8, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %8, align 8
%136 = load ptr, ptr %9, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %9, align 8
br label %26, !llvm.loop !9
138: ; preds = %34
%139 = load ptr, ptr %8, align 8
%140 = load ptr, ptr %4, align 8
%141 = ptrtoint ptr %139 to i64
%142 = ptrtoint ptr %140 to i64
%143 = sub i64 %141, %142
%144 = trunc i64 %143 to i32
store i32 %144, ptr %3, align 4
br label %145
145: ; preds = %138, %94, %74, %65
%146 = load i32, ptr %3, align 4
ret i32 %146
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpszl82x35.c'
source_filename = "/tmp/tmpszl82x35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalbootstrap(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 float, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca float, align 4
%26 = alloca i32, align 4
%27 = alloca float, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca float, align 4
%31 = alloca i32, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca float, align 4
%39 = 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 %4, ptr %10, align 4
%40 = load i32, ptr %10, align 4
store i32 %40, ptr %11, align 4
store float 0.000000e+00, ptr %12, align 4
store float 0.000000e+00, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %41
41: ; preds = %53, %5
%42 = load i32, ptr %14, align 4
%43 = load i32, ptr %10, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %56
45: ; preds = %41
%46 = load float, ptr %12, align 4
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %14, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %47, i64 %49
%51 = load float, ptr %50, align 4
%52 = fadd float %46, %51
store float %52, ptr %12, align 4
br label %53
53: ; preds = %45
%54 = load i32, ptr %14, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %14, align 4
br label %41, !llvm.loop !6
56: ; preds = %41
%57 = load float, ptr %12, align 4
%58 = load i32, ptr %11, align 4
%59 = sitofp i32 %58 to float
%60 = fdiv float %57, %59
store float %60, ptr %12, align 4
store i32 0, ptr %15, align 4
br label %61
61: ; preds = %82, %56
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %10, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %85
65: ; preds = %61
%66 = load float, ptr %13, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %15, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %67, i64 %69
%71 = load float, ptr %70, align 4
%72 = load float, ptr %12, align 4
%73 = fsub float %71, %72
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %15, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds float, ptr %74, i64 %76
%78 = load float, ptr %77, align 4
%79 = load float, ptr %12, align 4
%80 = fsub float %78, %79
%81 = call float @llvm.fmuladd.f32(float %73, float %80, float %66)
store float %81, ptr %13, align 4
br label %82
82: ; preds = %65
%83 = load i32, ptr %15, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %15, align 4
br label %61, !llvm.loop !8
85: ; preds = %61
%86 = load float, ptr %13, align 4
%87 = load i32, ptr %11, align 4
%88 = sitofp i32 %87 to float
%89 = fdiv float %86, %88
store float %89, ptr %13, align 4
%90 = load i32, ptr %9, align 4
store i32 %90, ptr %16, align 4
%91 = load i32, ptr %16, align 4
%92 = zext i32 %91 to i64
%93 = load i32, ptr %11, align 4
%94 = zext i32 %93 to i64
%95 = call ptr @llvm.stacksave()
store ptr %95, ptr %17, align 8
%96 = mul nuw i64 %92, %94
%97 = alloca float, i64 %96, align 16
store i64 %92, ptr %18, align 8
store i64 %94, ptr %19, align 8
%98 = load i32, ptr %16, align 4
%99 = zext i32 %98 to i64
%100 = alloca float, i64 %99, align 16
store i64 %99, ptr %20, align 8
%101 = load i32, ptr %16, align 4
%102 = zext i32 %101 to i64
%103 = alloca float, i64 %102, align 16
store i64 %102, ptr %21, align 8
%104 = call i64 @time(ptr noundef %22)
%105 = trunc i64 %104 to i32
%106 = call i32 @srand(i32 noundef %105)
store i32 0, ptr %23, align 4
br label %107
107: ; preds = %136, %85
%108 = load i32, ptr %23, align 4
%109 = load i32, ptr %16, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %139
111: ; preds = %107
store i32 0, ptr %24, align 4
br label %112
112: ; preds = %132, %111
%113 = load i32, ptr %24, align 4
%114 = load i32, ptr %10, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %135
116: ; preds = %112
%117 = load ptr, ptr %6, align 8
%118 = call i32 (...) @rand()
%119 = load i32, ptr %11, align 4
%120 = srem i32 %118, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %117, i64 %121
%123 = load float, ptr %122, align 4
store float %123, ptr %25, align 4
%124 = load float, ptr %25, align 4
%125 = load i32, ptr %23, align 4
%126 = sext i32 %125 to i64
%127 = mul nsw i64 %126, %94
%128 = getelementptr inbounds float, ptr %97, i64 %127
%129 = load i32, ptr %24, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds float, ptr %128, i64 %130
store float %124, ptr %131, align 4
br label %132
132: ; preds = %116
%133 = load i32, ptr %24, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %24, align 4
br label %112, !llvm.loop !9
135: ; preds = %112
br label %136
136: ; preds = %135
%137 = load i32, ptr %23, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %23, align 4
br label %107, !llvm.loop !10
139: ; preds = %107
store i32 0, ptr %26, align 4
br label %140
140: ; preds = %172, %139
%141 = load i32, ptr %26, align 4
%142 = load i32, ptr %16, align 4
%143 = icmp slt i32 %141, %142
br i1 %143, label %144, label %175
144: ; preds = %140
store float 0.000000e+00, ptr %27, align 4
store i32 0, ptr %28, align 4
br label %145
145: ; preds = %160, %144
%146 = load i32, ptr %28, align 4
%147 = load i32, ptr %11, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %149, label %163
149: ; preds = %145
%150 = load float, ptr %27, align 4
%151 = load i32, ptr %26, align 4
%152 = sext i32 %151 to i64
%153 = mul nsw i64 %152, %94
%154 = getelementptr inbounds float, ptr %97, i64 %153
%155 = load i32, ptr %28, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds float, ptr %154, i64 %156
%158 = load float, ptr %157, align 4
%159 = fadd float %150, %158
store float %159, ptr %27, align 4
br label %160
160: ; preds = %149
%161 = load i32, ptr %28, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %28, align 4
br label %145, !llvm.loop !11
163: ; preds = %145
%164 = load float, ptr %27, align 4
%165 = load i32, ptr %11, align 4
%166 = sitofp i32 %165 to float
%167 = fdiv float %164, %166
store float %167, ptr %27, align 4
%168 = load float, ptr %27, align 4
%169 = load i32, ptr %26, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %100, i64 %170
store float %168, ptr %171, align 4
br label %172
172: ; preds = %163
%173 = load i32, ptr %26, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %26, align 4
br label %140, !llvm.loop !12
175: ; preds = %140
store i32 0, ptr %29, align 4
br label %176
176: ; preds = %226, %175
%177 = load i32, ptr %29, align 4
%178 = load i32, ptr %16, align 4
%179 = icmp slt i32 %177, %178
br i1 %179, label %180, label %229
180: ; preds = %176
store float 0.000000e+00, ptr %30, align 4
store i32 0, ptr %31, align 4
br label %181
181: ; preds = %214, %180
%182 = load i32, ptr %31, align 4
%183 = load i32, ptr %11, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %217
185: ; preds = %181
%186 = load float, ptr %30, align 4
%187 = load i32, ptr %29, align 4
%188 = sext i32 %187 to i64
%189 = mul nsw i64 %188, %94
%190 = getelementptr inbounds float, ptr %97, i64 %189
%191 = load i32, ptr %31, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds float, ptr %190, i64 %192
%194 = load float, ptr %193, align 4
%195 = load i32, ptr %29, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds float, ptr %100, i64 %196
%198 = load float, ptr %197, align 4
%199 = fsub float %194, %198
%200 = load i32, ptr %29, align 4
%201 = sext i32 %200 to i64
%202 = mul nsw i64 %201, %94
%203 = getelementptr inbounds float, ptr %97, i64 %202
%204 = load i32, ptr %31, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds float, ptr %203, i64 %205
%207 = load float, ptr %206, align 4
%208 = load i32, ptr %29, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds float, ptr %100, i64 %209
%211 = load float, ptr %210, align 4
%212 = fsub float %207, %211
%213 = call float @llvm.fmuladd.f32(float %199, float %212, float %186)
store float %213, ptr %30, align 4
br label %214
214: ; preds = %185
%215 = load i32, ptr %31, align 4
%216 = add nsw i32 %215, 1
store i32 %216, ptr %31, align 4
br label %181, !llvm.loop !13
217: ; preds = %181
%218 = load float, ptr %30, align 4
%219 = load i32, ptr %11, align 4
%220 = sitofp i32 %219 to float
%221 = fdiv float %218, %220
store float %221, ptr %30, align 4
%222 = load float, ptr %30, align 4
%223 = load i32, ptr %29, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds float, ptr %103, i64 %224
store float %222, ptr %225, align 4
br label %226
226: ; preds = %217
%227 = load i32, ptr %29, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %29, align 4
br label %176, !llvm.loop !14
229: ; preds = %176
store float 0.000000e+00, ptr %32, align 4
store float 0.000000e+00, ptr %33, align 4
store float 0.000000e+00, ptr %34, align 4
store float 0.000000e+00, ptr %35, align 4
store i32 0, ptr %36, align 4
br label %230
230: ; preds = %247, %229
%231 = load i32, ptr %36, align 4
%232 = load i32, ptr %16, align 4
%233 = icmp slt i32 %231, %232
br i1 %233, label %234, label %250
234: ; preds = %230
%235 = load float, ptr %32, align 4
%236 = load i32, ptr %36, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds float, ptr %100, i64 %237
%239 = load float, ptr %238, align 4
%240 = fadd float %235, %239
store float %240, ptr %32, align 4
%241 = load float, ptr %34, align 4
%242 = load i32, ptr %36, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds float, ptr %103, i64 %243
%245 = load float, ptr %244, align 4
%246 = fadd float %241, %245
store float %246, ptr %34, align 4
br label %247
247: ; preds = %234
%248 = load i32, ptr %36, align 4
%249 = add nsw i32 %248, 1
store i32 %249, ptr %36, align 4
br label %230, !llvm.loop !15
250: ; preds = %230
%251 = load float, ptr %32, align 4
%252 = load i32, ptr %16, align 4
%253 = sitofp i32 %252 to float
%254 = fdiv float %251, %253
store float %254, ptr %32, align 4
%255 = load float, ptr %34, align 4
%256 = load i32, ptr %16, align 4
%257 = sitofp i32 %256 to float
%258 = fdiv float %255, %257
store float %258, ptr %34, align 4
store i32 0, ptr %37, align 4
br label %259
259: ; preds = %292, %250
%260 = load i32, ptr %37, align 4
%261 = load i32, ptr %16, align 4
%262 = icmp slt i32 %260, %261
br i1 %262, label %263, label %295
263: ; preds = %259
%264 = load float, ptr %33, align 4
%265 = load i32, ptr %37, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds float, ptr %100, i64 %266
%268 = load float, ptr %267, align 4
%269 = load float, ptr %32, align 4
%270 = fsub float %268, %269
%271 = load i32, ptr %37, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds float, ptr %100, i64 %272
%274 = load float, ptr %273, align 4
%275 = load float, ptr %32, align 4
%276 = fsub float %274, %275
%277 = call float @llvm.fmuladd.f32(float %270, float %276, float %264)
store float %277, ptr %33, align 4
%278 = load float, ptr %35, align 4
%279 = load i32, ptr %37, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds float, ptr %103, i64 %280
%282 = load float, ptr %281, align 4
%283 = load float, ptr %34, align 4
%284 = fsub float %282, %283
%285 = load i32, ptr %37, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds float, ptr %103, i64 %286
%288 = load float, ptr %287, align 4
%289 = load float, ptr %34, align 4
%290 = fsub float %288, %289
%291 = call float @llvm.fmuladd.f32(float %284, float %290, float %278)
store float %291, ptr %35, align 4
br label %292
292: ; preds = %263
%293 = load i32, ptr %37, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %37, align 4
br label %259, !llvm.loop !16
295: ; preds = %259
%296 = load float, ptr %33, align 4
%297 = load i32, ptr %16, align 4
%298 = sitofp i32 %297 to float
%299 = fdiv float %296, %298
store float %299, ptr %33, align 4
%300 = load float, ptr %35, align 4
%301 = load i32, ptr %16, align 4
%302 = sitofp i32 %301 to float
%303 = fdiv float %300, %302
store float %303, ptr %35, align 4
%304 = load float, ptr %12, align 4
%305 = load float, ptr %32, align 4
%306 = fneg float %305
%307 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %304, float %306)
store float %307, ptr %38, align 4
%308 = load float, ptr %13, align 4
%309 = load float, ptr %34, align 4
%310 = fneg float %309
%311 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %308, float %310)
store float %311, ptr %39, align 4
%312 = load float, ptr %38, align 4
%313 = load ptr, ptr %8, align 8
%314 = getelementptr inbounds float, ptr %313, i64 0
store float %312, ptr %314, align 4
%315 = load float, ptr %39, align 4
%316 = load ptr, ptr %8, align 8
%317 = getelementptr inbounds float, ptr %316, i64 1
store float %315, ptr %317, align 4
%318 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %318)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @srand(i32 noundef) #3
declare i64 @time(ptr noundef) #3
declare i32 @rand(...) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpszl82x35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalbootstrap(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 float, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca float, align 4
%26 = alloca i32, align 4
%27 = alloca float, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca float, align 4
%31 = alloca i32, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca float, align 4
%39 = 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 %4, ptr %10, align 4
%40 = load i32, ptr %10, align 4
store i32 %40, ptr %11, align 4
store float 0.000000e+00, ptr %12, align 4
store float 0.000000e+00, ptr %13, align 4
store i32 0, ptr %14, align 4
%41 = load i32, ptr %14, align 4
%42 = load i32, ptr %10, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph, label %58
.lr.ph: ; preds = %5
br label %44
44: ; preds = %.lr.ph, %52
%45 = load float, ptr %12, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %14, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = fadd float %45, %50
store float %51, ptr %12, align 4
br label %52
52: ; preds = %44
%53 = load i32, ptr %14, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %14, align 4
%55 = load i32, ptr %14, align 4
%56 = load i32, ptr %10, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %5
%59 = load float, ptr %12, align 4
%60 = load i32, ptr %11, align 4
%61 = sitofp i32 %60 to float
%62 = fdiv float %59, %61
store float %62, ptr %12, align 4
store i32 0, ptr %15, align 4
%63 = load i32, ptr %15, align 4
%64 = load i32, ptr %10, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph2, label %89
.lr.ph2: ; preds = %58
br label %66
66: ; preds = %.lr.ph2, %83
%67 = load float, ptr %13, align 4
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %15, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, ptr %68, i64 %70
%72 = load float, ptr %71, align 4
%73 = load float, ptr %12, align 4
%74 = fsub float %72, %73
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %15, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %75, i64 %77
%79 = load float, ptr %78, align 4
%80 = load float, ptr %12, align 4
%81 = fsub float %79, %80
%82 = call float @llvm.fmuladd.f32(float %74, float %81, float %67)
store float %82, ptr %13, align 4
br label %83
83: ; preds = %66
%84 = load i32, ptr %15, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %15, align 4
%86 = load i32, ptr %15, align 4
%87 = load i32, ptr %10, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %66, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %89
89: ; preds = %._crit_edge3, %58
%90 = load float, ptr %13, align 4
%91 = load i32, ptr %11, align 4
%92 = sitofp i32 %91 to float
%93 = fdiv float %90, %92
store float %93, ptr %13, align 4
%94 = load i32, ptr %9, align 4
store i32 %94, ptr %16, align 4
%95 = load i32, ptr %16, align 4
%96 = zext i32 %95 to i64
%97 = load i32, ptr %11, align 4
%98 = zext i32 %97 to i64
%99 = call ptr @llvm.stacksave()
store ptr %99, ptr %17, align 8
%100 = mul nuw i64 %96, %98
%101 = alloca float, i64 %100, align 16
store i64 %96, ptr %18, align 8
store i64 %98, ptr %19, align 8
%102 = load i32, ptr %16, align 4
%103 = zext i32 %102 to i64
%104 = alloca float, i64 %103, align 16
store i64 %103, ptr %20, align 8
%105 = load i32, ptr %16, align 4
%106 = zext i32 %105 to i64
%107 = alloca float, i64 %106, align 16
store i64 %106, ptr %21, align 8
%108 = call i64 @time(ptr noundef %22)
%109 = trunc i64 %108 to i32
%110 = call i32 @srand(i32 noundef %109)
store i32 0, ptr %23, align 4
%111 = load i32, ptr %23, align 4
%112 = load i32, ptr %16, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %.lr.ph8, label %147
.lr.ph8: ; preds = %89
br label %114
114: ; preds = %.lr.ph8, %141
store i32 0, ptr %24, align 4
%115 = load i32, ptr %24, align 4
%116 = load i32, ptr %10, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %.lr.ph5, label %140
.lr.ph5: ; preds = %114
br label %118
118: ; preds = %.lr.ph5, %134
%119 = load ptr, ptr %6, align 8
%120 = call i32 (...) @rand()
%121 = load i32, ptr %11, align 4
%122 = srem i32 %120, %121
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %119, i64 %123
%125 = load float, ptr %124, align 4
store float %125, ptr %25, align 4
%126 = load float, ptr %25, align 4
%127 = load i32, ptr %23, align 4
%128 = sext i32 %127 to i64
%129 = mul nsw i64 %128, %98
%130 = getelementptr inbounds float, ptr %101, i64 %129
%131 = load i32, ptr %24, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
store float %126, ptr %133, align 4
br label %134
134: ; preds = %118
%135 = load i32, ptr %24, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %24, align 4
%137 = load i32, ptr %24, align 4
%138 = load i32, ptr %10, align 4
%139 = icmp slt i32 %137, %138
br i1 %139, label %118, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %134
br label %140
140: ; preds = %._crit_edge6, %114
br label %141
141: ; preds = %140
%142 = load i32, ptr %23, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %23, align 4
%144 = load i32, ptr %23, align 4
%145 = load i32, ptr %16, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %114, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %141
br label %147
147: ; preds = %._crit_edge9, %89
store i32 0, ptr %26, align 4
%148 = load i32, ptr %26, align 4
%149 = load i32, ptr %16, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %.lr.ph14, label %187
.lr.ph14: ; preds = %147
br label %151
151: ; preds = %.lr.ph14, %181
store float 0.000000e+00, ptr %27, align 4
store i32 0, ptr %28, align 4
%152 = load i32, ptr %28, align 4
%153 = load i32, ptr %11, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %.lr.ph11, label %172
.lr.ph11: ; preds = %151
br label %155
155: ; preds = %.lr.ph11, %166
%156 = load float, ptr %27, align 4
%157 = load i32, ptr %26, align 4
%158 = sext i32 %157 to i64
%159 = mul nsw i64 %158, %98
%160 = getelementptr inbounds float, ptr %101, i64 %159
%161 = load i32, ptr %28, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds float, ptr %160, i64 %162
%164 = load float, ptr %163, align 4
%165 = fadd float %156, %164
store float %165, ptr %27, align 4
br label %166
166: ; preds = %155
%167 = load i32, ptr %28, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %28, align 4
%169 = load i32, ptr %28, align 4
%170 = load i32, ptr %11, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %155, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %166
br label %172
172: ; preds = %._crit_edge12, %151
%173 = load float, ptr %27, align 4
%174 = load i32, ptr %11, align 4
%175 = sitofp i32 %174 to float
%176 = fdiv float %173, %175
store float %176, ptr %27, align 4
%177 = load float, ptr %27, align 4
%178 = load i32, ptr %26, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds float, ptr %104, i64 %179
store float %177, ptr %180, align 4
br label %181
181: ; preds = %172
%182 = load i32, ptr %26, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %26, align 4
%184 = load i32, ptr %26, align 4
%185 = load i32, ptr %16, align 4
%186 = icmp slt i32 %184, %185
br i1 %186, label %151, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %181
br label %187
187: ; preds = %._crit_edge15, %147
store i32 0, ptr %29, align 4
%188 = load i32, ptr %29, align 4
%189 = load i32, ptr %16, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %.lr.ph20, label %245
.lr.ph20: ; preds = %187
br label %191
191: ; preds = %.lr.ph20, %239
store float 0.000000e+00, ptr %30, align 4
store i32 0, ptr %31, align 4
%192 = load i32, ptr %31, align 4
%193 = load i32, ptr %11, align 4
%194 = icmp slt i32 %192, %193
br i1 %194, label %.lr.ph17, label %230
.lr.ph17: ; preds = %191
br label %195
195: ; preds = %.lr.ph17, %224
%196 = load float, ptr %30, align 4
%197 = load i32, ptr %29, align 4
%198 = sext i32 %197 to i64
%199 = mul nsw i64 %198, %98
%200 = getelementptr inbounds float, ptr %101, i64 %199
%201 = load i32, ptr %31, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds float, ptr %200, i64 %202
%204 = load float, ptr %203, align 4
%205 = load i32, ptr %29, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds float, ptr %104, i64 %206
%208 = load float, ptr %207, align 4
%209 = fsub float %204, %208
%210 = load i32, ptr %29, align 4
%211 = sext i32 %210 to i64
%212 = mul nsw i64 %211, %98
%213 = getelementptr inbounds float, ptr %101, i64 %212
%214 = load i32, ptr %31, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds float, ptr %213, i64 %215
%217 = load float, ptr %216, align 4
%218 = load i32, ptr %29, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds float, ptr %104, i64 %219
%221 = load float, ptr %220, align 4
%222 = fsub float %217, %221
%223 = call float @llvm.fmuladd.f32(float %209, float %222, float %196)
store float %223, ptr %30, align 4
br label %224
224: ; preds = %195
%225 = load i32, ptr %31, align 4
%226 = add nsw i32 %225, 1
store i32 %226, ptr %31, align 4
%227 = load i32, ptr %31, align 4
%228 = load i32, ptr %11, align 4
%229 = icmp slt i32 %227, %228
br i1 %229, label %195, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %224
br label %230
230: ; preds = %._crit_edge18, %191
%231 = load float, ptr %30, align 4
%232 = load i32, ptr %11, align 4
%233 = sitofp i32 %232 to float
%234 = fdiv float %231, %233
store float %234, ptr %30, align 4
%235 = load float, ptr %30, align 4
%236 = load i32, ptr %29, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds float, ptr %107, i64 %237
store float %235, ptr %238, align 4
br label %239
239: ; preds = %230
%240 = load i32, ptr %29, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %29, align 4
%242 = load i32, ptr %29, align 4
%243 = load i32, ptr %16, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %191, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %239
br label %245
245: ; preds = %._crit_edge21, %187
store float 0.000000e+00, ptr %32, align 4
store float 0.000000e+00, ptr %33, align 4
store float 0.000000e+00, ptr %34, align 4
store float 0.000000e+00, ptr %35, align 4
store i32 0, ptr %36, align 4
%246 = load i32, ptr %36, align 4
%247 = load i32, ptr %16, align 4
%248 = icmp slt i32 %246, %247
br i1 %248, label %.lr.ph23, label %268
.lr.ph23: ; preds = %245
br label %249
249: ; preds = %.lr.ph23, %262
%250 = load float, ptr %32, align 4
%251 = load i32, ptr %36, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds float, ptr %104, i64 %252
%254 = load float, ptr %253, align 4
%255 = fadd float %250, %254
store float %255, ptr %32, align 4
%256 = load float, ptr %34, align 4
%257 = load i32, ptr %36, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds float, ptr %107, i64 %258
%260 = load float, ptr %259, align 4
%261 = fadd float %256, %260
store float %261, ptr %34, align 4
br label %262
262: ; preds = %249
%263 = load i32, ptr %36, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %36, align 4
%265 = load i32, ptr %36, align 4
%266 = load i32, ptr %16, align 4
%267 = icmp slt i32 %265, %266
br i1 %267, label %249, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %262
br label %268
268: ; preds = %._crit_edge24, %245
%269 = load float, ptr %32, align 4
%270 = load i32, ptr %16, align 4
%271 = sitofp i32 %270 to float
%272 = fdiv float %269, %271
store float %272, ptr %32, align 4
%273 = load float, ptr %34, align 4
%274 = load i32, ptr %16, align 4
%275 = sitofp i32 %274 to float
%276 = fdiv float %273, %275
store float %276, ptr %34, align 4
store i32 0, ptr %37, align 4
%277 = load i32, ptr %37, align 4
%278 = load i32, ptr %16, align 4
%279 = icmp slt i32 %277, %278
br i1 %279, label %.lr.ph26, label %315
.lr.ph26: ; preds = %268
br label %280
280: ; preds = %.lr.ph26, %309
%281 = load float, ptr %33, align 4
%282 = load i32, ptr %37, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds float, ptr %104, i64 %283
%285 = load float, ptr %284, align 4
%286 = load float, ptr %32, align 4
%287 = fsub float %285, %286
%288 = load i32, ptr %37, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds float, ptr %104, i64 %289
%291 = load float, ptr %290, align 4
%292 = load float, ptr %32, align 4
%293 = fsub float %291, %292
%294 = call float @llvm.fmuladd.f32(float %287, float %293, float %281)
store float %294, ptr %33, align 4
%295 = load float, ptr %35, align 4
%296 = load i32, ptr %37, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds float, ptr %107, i64 %297
%299 = load float, ptr %298, align 4
%300 = load float, ptr %34, align 4
%301 = fsub float %299, %300
%302 = load i32, ptr %37, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds float, ptr %107, i64 %303
%305 = load float, ptr %304, align 4
%306 = load float, ptr %34, align 4
%307 = fsub float %305, %306
%308 = call float @llvm.fmuladd.f32(float %301, float %307, float %295)
store float %308, ptr %35, align 4
br label %309
309: ; preds = %280
%310 = load i32, ptr %37, align 4
%311 = add nsw i32 %310, 1
store i32 %311, ptr %37, align 4
%312 = load i32, ptr %37, align 4
%313 = load i32, ptr %16, align 4
%314 = icmp slt i32 %312, %313
br i1 %314, label %280, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %309
br label %315
315: ; preds = %._crit_edge27, %268
%316 = load float, ptr %33, align 4
%317 = load i32, ptr %16, align 4
%318 = sitofp i32 %317 to float
%319 = fdiv float %316, %318
store float %319, ptr %33, align 4
%320 = load float, ptr %35, align 4
%321 = load i32, ptr %16, align 4
%322 = sitofp i32 %321 to float
%323 = fdiv float %320, %322
store float %323, ptr %35, align 4
%324 = load float, ptr %12, align 4
%325 = load float, ptr %32, align 4
%326 = fneg float %325
%327 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %324, float %326)
store float %327, ptr %38, align 4
%328 = load float, ptr %13, align 4
%329 = load float, ptr %34, align 4
%330 = fneg float %329
%331 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %328, float %330)
store float %331, ptr %39, align 4
%332 = load float, ptr %38, align 4
%333 = load ptr, ptr %8, align 8
%334 = getelementptr inbounds float, ptr %333, i64 0
store float %332, ptr %334, align 4
%335 = load float, ptr %39, align 4
%336 = load ptr, ptr %8, align 8
%337 = getelementptr inbounds float, ptr %336, i64 1
store float %335, ptr %337, align 4
%338 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %338)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @srand(i32 noundef) #3
declare i64 @time(ptr noundef) #3
declare i32 @rand(...) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
|
; ModuleID = '/tmp/tmpfz96p8dl.c'
source_filename = "/tmp/tmpfz96p8dl.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.iovec, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
store i64 1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = load i64, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @vmsplice(i32 noundef %6, ptr noundef %3, i64 noundef %7, i32 noundef %8)
ret i32 %9
}
; 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 @vmsplice(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz96p8dl.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.iovec, align 4
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
store i64 1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = load i64, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @vmsplice(i32 noundef %6, ptr noundef %3, i64 noundef %7, i32 noundef %8)
ret i32 %9
}
; 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 @vmsplice(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplatpkv7o.c'
source_filename = "/tmp/tmplatpkv7o.c"
target datalayout = "e-m:e-p270: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/tmplatpkv7o.c"
target datalayout = "e-m:e-p270: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/tmp6yxzy3ma.c'
source_filename = "/tmp/tmp6yxzy3ma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %9, i32 noundef 0)
%11 = sext i32 %10 to i64
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %15, i32 noundef 1)
%17 = sext i32 %16 to i64
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %21, i32 noundef 23)
%23 = sext i32 %22 to i64
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %27, i32 noundef 4, i32 noundef 255)
%29 = load i32, ptr %2, align 4
%30 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %29, i32 noundef 4)
%31 = icmp eq i32 %30, 255
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load i32, ptr %2, align 4
%35 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %34)
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load i32, ptr %2, align 4
%40 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %39, i32 noundef 0)
%41 = sext i32 %40 to i64
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %45, i32 noundef 1)
%47 = sext i32 %46 to i64
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %51, i32 noundef 23)
%53 = sext i32 %52 to i64
%54 = icmp eq i64 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %57, i32 noundef 4, i32 noundef 254)
%59 = load i32, ptr %2, align 4
%60 = call i32 @hwloc_bitmap_set_ith_ulong(i32 noundef %59, i32 noundef 6, i32 noundef 239)
%61 = load i32, ptr %2, align 4
%62 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %61, i32 noundef 4)
%63 = icmp eq i32 %62, 254
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 noundef %64)
%66 = load i32, ptr %2, align 4
%67 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %66, i32 noundef 6)
%68 = icmp eq i32 %67, 239
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 noundef %69)
%71 = load i32, ptr %2, align 4
%72 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %71)
%73 = icmp eq i64 %72, 0
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 noundef %74)
%76 = load i32, ptr %2, align 4
%77 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %76, i32 noundef 0)
%78 = sext i32 %77 to i64
%79 = icmp eq i64 %78, 0
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 noundef %80)
%82 = load i32, ptr %2, align 4
%83 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %82, i32 noundef 1)
%84 = sext i32 %83 to i64
%85 = icmp eq i64 %84, 0
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
%88 = load i32, ptr %2, align 4
%89 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %88, i32 noundef 23)
%90 = sext i32 %89 to i64
%91 = icmp eq i64 %90, 0
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
%94 = load i32, ptr %2, align 4
%95 = call i32 @hwloc_bitmap_zero(i32 noundef %94)
%96 = load i32, ptr %2, align 4
%97 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %96)
%98 = icmp eq i64 %97, 0
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
%101 = load i32, ptr %2, align 4
%102 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %101, i32 noundef 0)
%103 = sext i32 %102 to i64
%104 = icmp eq i64 %103, 0
%105 = zext i1 %104 to i32
%106 = call i32 @assert(i32 noundef %105)
%107 = load i32, ptr %2, align 4
%108 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %107, i32 noundef 1)
%109 = sext i32 %108 to i64
%110 = icmp eq i64 %109, 0
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 noundef %111)
%113 = load i32, ptr %2, align 4
%114 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %113, i32 noundef 4)
%115 = sext i32 %114 to i64
%116 = icmp eq i64 %115, 0
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 noundef %117)
%119 = load i32, ptr %2, align 4
%120 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %119, i32 noundef 23)
%121 = sext i32 %120 to i64
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 noundef %123)
%125 = load i32, ptr %2, align 4
%126 = call i32 @hwloc_bitmap_free(i32 noundef %125)
%127 = call i32 (...) @hwloc_bitmap_alloc_full()
store i32 %127, ptr %2, align 4
%128 = load i32, ptr %2, align 4
%129 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %128)
%130 = icmp eq i64 %129, -1
%131 = zext i1 %130 to i32
%132 = call i32 @assert(i32 noundef %131)
%133 = load i32, ptr %2, align 4
%134 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %133, i32 noundef 0)
%135 = sext i32 %134 to i64
%136 = icmp eq i64 %135, -1
%137 = zext i1 %136 to i32
%138 = call i32 @assert(i32 noundef %137)
%139 = load i32, ptr %2, align 4
%140 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %139, i32 noundef 1)
%141 = sext i32 %140 to i64
%142 = icmp eq i64 %141, -1
%143 = zext i1 %142 to i32
%144 = call i32 @assert(i32 noundef %143)
%145 = load i32, ptr %2, align 4
%146 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %145, i32 noundef 23)
%147 = sext i32 %146 to i64
%148 = icmp eq i64 %147, -1
%149 = zext i1 %148 to i32
%150 = call i32 @assert(i32 noundef %149)
%151 = load i32, ptr %2, align 4
%152 = call i32 @hwloc_bitmap_set_ith_ulong(i32 noundef %151, i32 noundef 4, i32 noundef 255)
%153 = load i32, ptr %2, align 4
%154 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %153, i32 noundef 4)
%155 = icmp eq i32 %154, 255
%156 = zext i1 %155 to i32
%157 = call i32 @assert(i32 noundef %156)
%158 = load i32, ptr %2, align 4
%159 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %158)
%160 = icmp eq i64 %159, -1
%161 = zext i1 %160 to i32
%162 = call i32 @assert(i32 noundef %161)
%163 = load i32, ptr %2, align 4
%164 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %163, i32 noundef 0)
%165 = sext i32 %164 to i64
%166 = icmp eq i64 %165, -1
%167 = zext i1 %166 to i32
%168 = call i32 @assert(i32 noundef %167)
%169 = load i32, ptr %2, align 4
%170 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %169, i32 noundef 1)
%171 = sext i32 %170 to i64
%172 = icmp eq i64 %171, -1
%173 = zext i1 %172 to i32
%174 = call i32 @assert(i32 noundef %173)
%175 = load i32, ptr %2, align 4
%176 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %175, i32 noundef 23)
%177 = sext i32 %176 to i64
%178 = icmp eq i64 %177, -1
%179 = zext i1 %178 to i32
%180 = call i32 @assert(i32 noundef %179)
%181 = load i32, ptr %2, align 4
%182 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %181, i32 noundef 4, i32 noundef 255)
%183 = load i32, ptr %2, align 4
%184 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %183, i32 noundef 4)
%185 = icmp eq i32 %184, 255
%186 = zext i1 %185 to i32
%187 = call i32 @assert(i32 noundef %186)
%188 = load i32, ptr %2, align 4
%189 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %188)
%190 = icmp eq i64 %189, 0
%191 = zext i1 %190 to i32
%192 = call i32 @assert(i32 noundef %191)
%193 = load i32, ptr %2, align 4
%194 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %193, i32 noundef 0)
%195 = sext i32 %194 to i64
%196 = icmp eq i64 %195, 0
%197 = zext i1 %196 to i32
%198 = call i32 @assert(i32 noundef %197)
%199 = load i32, ptr %2, align 4
%200 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %199, i32 noundef 1)
%201 = sext i32 %200 to i64
%202 = icmp eq i64 %201, 0
%203 = zext i1 %202 to i32
%204 = call i32 @assert(i32 noundef %203)
%205 = load i32, ptr %2, align 4
%206 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %205, i32 noundef 23)
%207 = sext i32 %206 to i64
%208 = icmp eq i64 %207, 0
%209 = zext i1 %208 to i32
%210 = call i32 @assert(i32 noundef %209)
%211 = load i32, ptr %2, align 4
%212 = call i32 @hwloc_bitmap_free(i32 noundef %211)
%213 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %213, ptr %2, align 4
%214 = load i32, ptr %2, align 4
%215 = call i32 @hwloc_bitmap_weight(i32 noundef %214)
%216 = icmp eq i32 %215, 0
%217 = zext i1 %216 to i32
%218 = call i32 @assert(i32 noundef %217)
%219 = load i32, ptr %2, align 4
%220 = call i32 @hwloc_bitmap_set_range(i32 noundef %219, i32 noundef 23, i32 noundef 45)
%221 = load i32, ptr %2, align 4
%222 = call i32 @hwloc_bitmap_weight(i32 noundef %221)
%223 = icmp eq i32 %222, 23
%224 = zext i1 %223 to i32
%225 = call i32 @assert(i32 noundef %224)
%226 = load i32, ptr %2, align 4
%227 = call i32 @hwloc_bitmap_set_range(i32 noundef %226, i32 noundef 78, i32 noundef -1)
%228 = load i32, ptr %2, align 4
%229 = call i32 @hwloc_bitmap_weight(i32 noundef %228)
%230 = icmp eq i32 %229, -1
%231 = zext i1 %230 to i32
%232 = call i32 @assert(i32 noundef %231)
%233 = load i32, ptr %2, align 4
%234 = call i32 @hwloc_bitmap_set_range(i32 noundef %233, i32 noundef 44, i32 noundef 79)
%235 = load i32, ptr %2, align 4
%236 = call i32 @hwloc_bitmap_weight(i32 noundef %235)
%237 = icmp eq i32 %236, -1
%238 = zext i1 %237 to i32
%239 = call i32 @assert(i32 noundef %238)
%240 = load i32, ptr %2, align 4
%241 = call i32 @hwloc_bitmap_first(i32 noundef %240)
%242 = icmp eq i32 %241, 23
%243 = zext i1 %242 to i32
%244 = call i32 @assert(i32 noundef %243)
%245 = load i32, ptr %2, align 4
%246 = call i32 @hwloc_bitmap_isfull(i32 noundef %245)
%247 = icmp ne i32 %246, 0
%248 = xor i1 %247, true
%249 = zext i1 %248 to i32
%250 = call i32 @assert(i32 noundef %249)
%251 = load i32, ptr %2, align 4
%252 = call i32 @hwloc_bitmap_set_range(i32 noundef %251, i32 noundef 0, i32 noundef 22)
%253 = load i32, ptr %2, align 4
%254 = call i32 @hwloc_bitmap_weight(i32 noundef %253)
%255 = icmp eq i32 %254, -1
%256 = zext i1 %255 to i32
%257 = call i32 @assert(i32 noundef %256)
%258 = load i32, ptr %2, align 4
%259 = call i32 @hwloc_bitmap_isfull(i32 noundef %258)
%260 = call i32 @assert(i32 noundef %259)
%261 = load i32, ptr %2, align 4
%262 = call i32 @hwloc_bitmap_clr_range(i32 noundef %261, i32 noundef 35, i32 noundef 56)
%263 = load i32, ptr %2, align 4
%264 = call i32 @hwloc_bitmap_weight(i32 noundef %263)
%265 = icmp eq i32 %264, -1
%266 = zext i1 %265 to i32
%267 = call i32 @assert(i32 noundef %266)
%268 = load i32, ptr %2, align 4
%269 = call i32 @hwloc_bitmap_isfull(i32 noundef %268)
%270 = icmp ne i32 %269, 0
%271 = xor i1 %270, true
%272 = zext i1 %271 to i32
%273 = call i32 @assert(i32 noundef %272)
%274 = load i32, ptr %2, align 4
%275 = call i32 @hwloc_bitmap_clr_range(i32 noundef %274, i32 noundef 58, i32 noundef -1)
%276 = load i32, ptr %2, align 4
%277 = call i32 @hwloc_bitmap_weight(i32 noundef %276)
%278 = icmp eq i32 %277, 36
%279 = zext i1 %278 to i32
%280 = call i32 @assert(i32 noundef %279)
%281 = load i32, ptr %2, align 4
%282 = call i32 @hwloc_bitmap_last(i32 noundef %281)
%283 = icmp eq i32 %282, 57
%284 = zext i1 %283 to i32
%285 = call i32 @assert(i32 noundef %284)
%286 = load i32, ptr %2, align 4
%287 = call i32 @hwloc_bitmap_next(i32 noundef %286, i32 noundef 34)
%288 = icmp eq i32 %287, 57
%289 = zext i1 %288 to i32
%290 = call i32 @assert(i32 noundef %289)
%291 = load i32, ptr %2, align 4
%292 = call i32 @hwloc_bitmap_clr(i32 noundef %291, i32 noundef 57)
%293 = load i32, ptr %2, align 4
%294 = call i32 @hwloc_bitmap_weight(i32 noundef %293)
%295 = icmp eq i32 %294, 35
%296 = zext i1 %295 to i32
%297 = call i32 @assert(i32 noundef %296)
%298 = load i32, ptr %2, align 4
%299 = call i32 @hwloc_bitmap_last(i32 noundef %298)
%300 = icmp eq i32 %299, 34
%301 = zext i1 %300 to i32
%302 = call i32 @assert(i32 noundef %301)
%303 = load i32, ptr %2, align 4
%304 = call i32 @hwloc_bitmap_clr_range(i32 noundef %303, i32 noundef 0, i32 noundef 34)
%305 = load i32, ptr %2, align 4
%306 = call i32 @hwloc_bitmap_weight(i32 noundef %305)
%307 = icmp eq i32 %306, 0
%308 = zext i1 %307 to i32
%309 = call i32 @assert(i32 noundef %308)
%310 = load i32, ptr %2, align 4
%311 = call i32 @hwloc_bitmap_first(i32 noundef %310)
%312 = icmp eq i32 %311, -1
%313 = zext i1 %312 to i32
%314 = call i32 @assert(i32 noundef %313)
%315 = load i32, ptr %2, align 4
%316 = call i32 @hwloc_bitmap_free(i32 noundef %315)
%317 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %317, ptr %2, align 4
%318 = load i32, ptr %2, align 4
%319 = call i32 @hwloc_bitmap_from_ulong(i32 noundef %318, i32 noundef 4080)
%320 = load i32, ptr %2, align 4
%321 = call i32 @hwloc_bitmap_first(i32 noundef %320)
%322 = icmp eq i32 %321, 4
%323 = zext i1 %322 to i32
%324 = call i32 @assert(i32 noundef %323)
%325 = load i32, ptr %2, align 4
%326 = call i32 @hwloc_bitmap_last(i32 noundef %325)
%327 = icmp eq i32 %326, 11
%328 = zext i1 %327 to i32
%329 = call i32 @assert(i32 noundef %328)
%330 = load i32, ptr %2, align 4
%331 = call i32 @hwloc_bitmap_weight(i32 noundef %330)
%332 = icmp eq i32 %331, 8
%333 = zext i1 %332 to i32
%334 = call i32 @assert(i32 noundef %333)
%335 = load i32, ptr %2, align 4
%336 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %335, i32 noundef 0)
%337 = icmp eq i32 %336, 4080
%338 = zext i1 %337 to i32
%339 = call i32 @assert(i32 noundef %338)
%340 = load i32, ptr %2, align 4
%341 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %340, i32 noundef 1)
%342 = icmp eq i32 %341, 0
%343 = zext i1 %342 to i32
%344 = call i32 @assert(i32 noundef %343)
%345 = load i32, ptr %2, align 4
%346 = call i32 @hwloc_bitmap_zero(i32 noundef %345)
%347 = load i32, ptr %2, align 4
%348 = call i32 @hwloc_bitmap_weight(i32 noundef %347)
%349 = icmp eq i32 %348, 0
%350 = zext i1 %349 to i32
%351 = call i32 @assert(i32 noundef %350)
%352 = load i32, ptr %2, align 4
%353 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %352, i32 noundef 2, i32 noundef 65280)
%354 = load i32, ptr %2, align 4
%355 = call i32 @hwloc_bitmap_weight(i32 noundef %354)
%356 = icmp eq i32 %355, 8
%357 = zext i1 %356 to i32
%358 = call i32 @assert(i32 noundef %357)
%359 = load i32, ptr %2, align 4
%360 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %359, i32 noundef 0)
%361 = icmp eq i32 %360, 0
%362 = zext i1 %361 to i32
%363 = call i32 @assert(i32 noundef %362)
%364 = load i32, ptr %2, align 4
%365 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %364, i32 noundef 1)
%366 = icmp eq i32 %365, 0
%367 = zext i1 %366 to i32
%368 = call i32 @assert(i32 noundef %367)
%369 = load i32, ptr %2, align 4
%370 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %369, i32 noundef 2)
%371 = icmp eq i32 %370, 65280
%372 = zext i1 %371 to i32
%373 = call i32 @assert(i32 noundef %372)
%374 = load i32, ptr %2, align 4
%375 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %374, i32 noundef 3)
%376 = icmp eq i32 %375, 0
%377 = zext i1 %376 to i32
%378 = call i32 @assert(i32 noundef %377)
%379 = load i32, ptr %2, align 4
%380 = call i32 @hwloc_bitmap_allbut(i32 noundef %379, i32 noundef 153)
%381 = load i32, ptr %2, align 4
%382 = call i32 @hwloc_bitmap_weight(i32 noundef %381)
%383 = icmp eq i32 %382, -1
%384 = zext i1 %383 to i32
%385 = call i32 @assert(i32 noundef %384)
%386 = load i32, ptr %2, align 4
%387 = load i32, ptr %2, align 4
%388 = call i32 @hwloc_bitmap_not(i32 noundef %386, i32 noundef %387)
%389 = load i32, ptr %2, align 4
%390 = call i32 @hwloc_bitmap_weight(i32 noundef %389)
%391 = icmp eq i32 %390, 1
%392 = zext i1 %391 to i32
%393 = call i32 @assert(i32 noundef %392)
%394 = load i32, ptr %2, align 4
%395 = call i32 @hwloc_bitmap_first(i32 noundef %394)
%396 = icmp eq i32 %395, 153
%397 = zext i1 %396 to i32
%398 = call i32 @assert(i32 noundef %397)
%399 = load i32, ptr %2, align 4
%400 = call i32 @hwloc_bitmap_last(i32 noundef %399)
%401 = icmp eq i32 %400, 153
%402 = zext i1 %401 to i32
%403 = call i32 @assert(i32 noundef %402)
%404 = load i32, ptr %2, align 4
%405 = call i32 @hwloc_bitmap_fill(i32 noundef %404)
%406 = load i32, ptr %2, align 4
%407 = call i32 @hwloc_bitmap_clr_range(i32 noundef %406, i32 noundef 178, i32 noundef 3589)
%408 = load i32, ptr %2, align 4
%409 = load i32, ptr %2, align 4
%410 = call i32 @hwloc_bitmap_not(i32 noundef %408, i32 noundef %409)
%411 = load i32, ptr %2, align 4
%412 = call i32 @hwloc_bitmap_weight(i32 noundef %411)
%413 = icmp eq i32 %412, 3412
%414 = zext i1 %413 to i32
%415 = call i32 @assert(i32 noundef %414)
%416 = load i32, ptr %2, align 4
%417 = call i32 @hwloc_bitmap_first(i32 noundef %416)
%418 = icmp eq i32 %417, 178
%419 = zext i1 %418 to i32
%420 = call i32 @assert(i32 noundef %419)
%421 = load i32, ptr %2, align 4
%422 = call i32 @hwloc_bitmap_last(i32 noundef %421)
%423 = icmp eq i32 %422, 3589
%424 = zext i1 %423 to i32
%425 = call i32 @assert(i32 noundef %424)
%426 = load i32, ptr %2, align 4
%427 = call i32 @hwloc_bitmap_zero(i32 noundef %426)
%428 = load i32, ptr %2, align 4
%429 = call i32 @hwloc_bitmap_set_range(i32 noundef %428, i32 noundef 0, i32 noundef 127)
%430 = load i32, ptr %2, align 4
%431 = call i32 @hwloc_bitmap_weight(i32 noundef %430)
%432 = icmp eq i32 %431, 128
%433 = zext i1 %432 to i32
%434 = call i32 @assert(i32 noundef %433)
%435 = load i32, ptr %2, align 4
%436 = load i32, ptr %2, align 4
%437 = call i32 @hwloc_bitmap_not(i32 noundef %435, i32 noundef %436)
%438 = load i32, ptr %2, align 4
%439 = call i32 @hwloc_bitmap_weight(i32 noundef %438)
%440 = icmp eq i32 %439, -1
%441 = zext i1 %440 to i32
%442 = call i32 @assert(i32 noundef %441)
%443 = load i32, ptr %2, align 4
%444 = call i32 @hwloc_bitmap_singlify(i32 noundef %443)
%445 = load i32, ptr %2, align 4
%446 = call i32 @hwloc_bitmap_weight(i32 noundef %445)
%447 = icmp eq i32 %446, 1
%448 = zext i1 %447 to i32
%449 = call i32 @assert(i32 noundef %448)
%450 = load i32, ptr %2, align 4
%451 = call i32 @hwloc_bitmap_first(i32 noundef %450)
%452 = icmp eq i32 %451, 128
%453 = zext i1 %452 to i32
%454 = call i32 @assert(i32 noundef %453)
%455 = load i32, ptr %2, align 4
%456 = call i32 @hwloc_bitmap_last(i32 noundef %455)
%457 = icmp eq i32 %456, 128
%458 = zext i1 %457 to i32
%459 = call i32 @assert(i32 noundef %458)
%460 = load i32, ptr %2, align 4
%461 = call i32 @hwloc_bitmap_free(i32 noundef %460)
ret i32 0
}
declare i32 @hwloc_bitmap_alloc(...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @hwloc_bitmap_to_ulong(i32 noundef) #1
declare i32 @hwloc_bitmap_to_ith_ulong(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_from_ith_ulong(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_set_ith_ulong(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_zero(i32 noundef) #1
declare i32 @hwloc_bitmap_free(i32 noundef) #1
declare i32 @hwloc_bitmap_alloc_full(...) #1
declare i32 @hwloc_bitmap_weight(i32 noundef) #1
declare i32 @hwloc_bitmap_set_range(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_first(i32 noundef) #1
declare i32 @hwloc_bitmap_isfull(i32 noundef) #1
declare i32 @hwloc_bitmap_clr_range(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_last(i32 noundef) #1
declare i32 @hwloc_bitmap_next(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_clr(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_from_ulong(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_allbut(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_not(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_fill(i32 noundef) #1
declare i32 @hwloc_bitmap_singlify(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/tmp6yxzy3ma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %9, i32 noundef 0)
%11 = sext i32 %10 to i64
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %15, i32 noundef 1)
%17 = sext i32 %16 to i64
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %21, i32 noundef 23)
%23 = sext i32 %22 to i64
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %27, i32 noundef 4, i32 noundef 255)
%29 = load i32, ptr %2, align 4
%30 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %29, i32 noundef 4)
%31 = icmp eq i32 %30, 255
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load i32, ptr %2, align 4
%35 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %34)
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load i32, ptr %2, align 4
%40 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %39, i32 noundef 0)
%41 = sext i32 %40 to i64
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %45, i32 noundef 1)
%47 = sext i32 %46 to i64
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %51, i32 noundef 23)
%53 = sext i32 %52 to i64
%54 = icmp eq i64 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %57, i32 noundef 4, i32 noundef 254)
%59 = load i32, ptr %2, align 4
%60 = call i32 @hwloc_bitmap_set_ith_ulong(i32 noundef %59, i32 noundef 6, i32 noundef 239)
%61 = load i32, ptr %2, align 4
%62 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %61, i32 noundef 4)
%63 = icmp eq i32 %62, 254
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 noundef %64)
%66 = load i32, ptr %2, align 4
%67 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %66, i32 noundef 6)
%68 = icmp eq i32 %67, 239
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 noundef %69)
%71 = load i32, ptr %2, align 4
%72 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %71)
%73 = icmp eq i64 %72, 0
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 noundef %74)
%76 = load i32, ptr %2, align 4
%77 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %76, i32 noundef 0)
%78 = sext i32 %77 to i64
%79 = icmp eq i64 %78, 0
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 noundef %80)
%82 = load i32, ptr %2, align 4
%83 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %82, i32 noundef 1)
%84 = sext i32 %83 to i64
%85 = icmp eq i64 %84, 0
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
%88 = load i32, ptr %2, align 4
%89 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %88, i32 noundef 23)
%90 = sext i32 %89 to i64
%91 = icmp eq i64 %90, 0
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
%94 = load i32, ptr %2, align 4
%95 = call i32 @hwloc_bitmap_zero(i32 noundef %94)
%96 = load i32, ptr %2, align 4
%97 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %96)
%98 = icmp eq i64 %97, 0
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
%101 = load i32, ptr %2, align 4
%102 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %101, i32 noundef 0)
%103 = sext i32 %102 to i64
%104 = icmp eq i64 %103, 0
%105 = zext i1 %104 to i32
%106 = call i32 @assert(i32 noundef %105)
%107 = load i32, ptr %2, align 4
%108 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %107, i32 noundef 1)
%109 = sext i32 %108 to i64
%110 = icmp eq i64 %109, 0
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 noundef %111)
%113 = load i32, ptr %2, align 4
%114 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %113, i32 noundef 4)
%115 = sext i32 %114 to i64
%116 = icmp eq i64 %115, 0
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 noundef %117)
%119 = load i32, ptr %2, align 4
%120 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %119, i32 noundef 23)
%121 = sext i32 %120 to i64
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 noundef %123)
%125 = load i32, ptr %2, align 4
%126 = call i32 @hwloc_bitmap_free(i32 noundef %125)
%127 = call i32 (...) @hwloc_bitmap_alloc_full()
store i32 %127, ptr %2, align 4
%128 = load i32, ptr %2, align 4
%129 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %128)
%130 = icmp eq i64 %129, -1
%131 = zext i1 %130 to i32
%132 = call i32 @assert(i32 noundef %131)
%133 = load i32, ptr %2, align 4
%134 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %133, i32 noundef 0)
%135 = sext i32 %134 to i64
%136 = icmp eq i64 %135, -1
%137 = zext i1 %136 to i32
%138 = call i32 @assert(i32 noundef %137)
%139 = load i32, ptr %2, align 4
%140 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %139, i32 noundef 1)
%141 = sext i32 %140 to i64
%142 = icmp eq i64 %141, -1
%143 = zext i1 %142 to i32
%144 = call i32 @assert(i32 noundef %143)
%145 = load i32, ptr %2, align 4
%146 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %145, i32 noundef 23)
%147 = sext i32 %146 to i64
%148 = icmp eq i64 %147, -1
%149 = zext i1 %148 to i32
%150 = call i32 @assert(i32 noundef %149)
%151 = load i32, ptr %2, align 4
%152 = call i32 @hwloc_bitmap_set_ith_ulong(i32 noundef %151, i32 noundef 4, i32 noundef 255)
%153 = load i32, ptr %2, align 4
%154 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %153, i32 noundef 4)
%155 = icmp eq i32 %154, 255
%156 = zext i1 %155 to i32
%157 = call i32 @assert(i32 noundef %156)
%158 = load i32, ptr %2, align 4
%159 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %158)
%160 = icmp eq i64 %159, -1
%161 = zext i1 %160 to i32
%162 = call i32 @assert(i32 noundef %161)
%163 = load i32, ptr %2, align 4
%164 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %163, i32 noundef 0)
%165 = sext i32 %164 to i64
%166 = icmp eq i64 %165, -1
%167 = zext i1 %166 to i32
%168 = call i32 @assert(i32 noundef %167)
%169 = load i32, ptr %2, align 4
%170 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %169, i32 noundef 1)
%171 = sext i32 %170 to i64
%172 = icmp eq i64 %171, -1
%173 = zext i1 %172 to i32
%174 = call i32 @assert(i32 noundef %173)
%175 = load i32, ptr %2, align 4
%176 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %175, i32 noundef 23)
%177 = sext i32 %176 to i64
%178 = icmp eq i64 %177, -1
%179 = zext i1 %178 to i32
%180 = call i32 @assert(i32 noundef %179)
%181 = load i32, ptr %2, align 4
%182 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %181, i32 noundef 4, i32 noundef 255)
%183 = load i32, ptr %2, align 4
%184 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %183, i32 noundef 4)
%185 = icmp eq i32 %184, 255
%186 = zext i1 %185 to i32
%187 = call i32 @assert(i32 noundef %186)
%188 = load i32, ptr %2, align 4
%189 = call i64 @hwloc_bitmap_to_ulong(i32 noundef %188)
%190 = icmp eq i64 %189, 0
%191 = zext i1 %190 to i32
%192 = call i32 @assert(i32 noundef %191)
%193 = load i32, ptr %2, align 4
%194 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %193, i32 noundef 0)
%195 = sext i32 %194 to i64
%196 = icmp eq i64 %195, 0
%197 = zext i1 %196 to i32
%198 = call i32 @assert(i32 noundef %197)
%199 = load i32, ptr %2, align 4
%200 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %199, i32 noundef 1)
%201 = sext i32 %200 to i64
%202 = icmp eq i64 %201, 0
%203 = zext i1 %202 to i32
%204 = call i32 @assert(i32 noundef %203)
%205 = load i32, ptr %2, align 4
%206 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %205, i32 noundef 23)
%207 = sext i32 %206 to i64
%208 = icmp eq i64 %207, 0
%209 = zext i1 %208 to i32
%210 = call i32 @assert(i32 noundef %209)
%211 = load i32, ptr %2, align 4
%212 = call i32 @hwloc_bitmap_free(i32 noundef %211)
%213 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %213, ptr %2, align 4
%214 = load i32, ptr %2, align 4
%215 = call i32 @hwloc_bitmap_weight(i32 noundef %214)
%216 = icmp eq i32 %215, 0
%217 = zext i1 %216 to i32
%218 = call i32 @assert(i32 noundef %217)
%219 = load i32, ptr %2, align 4
%220 = call i32 @hwloc_bitmap_set_range(i32 noundef %219, i32 noundef 23, i32 noundef 45)
%221 = load i32, ptr %2, align 4
%222 = call i32 @hwloc_bitmap_weight(i32 noundef %221)
%223 = icmp eq i32 %222, 23
%224 = zext i1 %223 to i32
%225 = call i32 @assert(i32 noundef %224)
%226 = load i32, ptr %2, align 4
%227 = call i32 @hwloc_bitmap_set_range(i32 noundef %226, i32 noundef 78, i32 noundef -1)
%228 = load i32, ptr %2, align 4
%229 = call i32 @hwloc_bitmap_weight(i32 noundef %228)
%230 = icmp eq i32 %229, -1
%231 = zext i1 %230 to i32
%232 = call i32 @assert(i32 noundef %231)
%233 = load i32, ptr %2, align 4
%234 = call i32 @hwloc_bitmap_set_range(i32 noundef %233, i32 noundef 44, i32 noundef 79)
%235 = load i32, ptr %2, align 4
%236 = call i32 @hwloc_bitmap_weight(i32 noundef %235)
%237 = icmp eq i32 %236, -1
%238 = zext i1 %237 to i32
%239 = call i32 @assert(i32 noundef %238)
%240 = load i32, ptr %2, align 4
%241 = call i32 @hwloc_bitmap_first(i32 noundef %240)
%242 = icmp eq i32 %241, 23
%243 = zext i1 %242 to i32
%244 = call i32 @assert(i32 noundef %243)
%245 = load i32, ptr %2, align 4
%246 = call i32 @hwloc_bitmap_isfull(i32 noundef %245)
%247 = icmp ne i32 %246, 0
%248 = xor i1 %247, true
%249 = zext i1 %248 to i32
%250 = call i32 @assert(i32 noundef %249)
%251 = load i32, ptr %2, align 4
%252 = call i32 @hwloc_bitmap_set_range(i32 noundef %251, i32 noundef 0, i32 noundef 22)
%253 = load i32, ptr %2, align 4
%254 = call i32 @hwloc_bitmap_weight(i32 noundef %253)
%255 = icmp eq i32 %254, -1
%256 = zext i1 %255 to i32
%257 = call i32 @assert(i32 noundef %256)
%258 = load i32, ptr %2, align 4
%259 = call i32 @hwloc_bitmap_isfull(i32 noundef %258)
%260 = call i32 @assert(i32 noundef %259)
%261 = load i32, ptr %2, align 4
%262 = call i32 @hwloc_bitmap_clr_range(i32 noundef %261, i32 noundef 35, i32 noundef 56)
%263 = load i32, ptr %2, align 4
%264 = call i32 @hwloc_bitmap_weight(i32 noundef %263)
%265 = icmp eq i32 %264, -1
%266 = zext i1 %265 to i32
%267 = call i32 @assert(i32 noundef %266)
%268 = load i32, ptr %2, align 4
%269 = call i32 @hwloc_bitmap_isfull(i32 noundef %268)
%270 = icmp ne i32 %269, 0
%271 = xor i1 %270, true
%272 = zext i1 %271 to i32
%273 = call i32 @assert(i32 noundef %272)
%274 = load i32, ptr %2, align 4
%275 = call i32 @hwloc_bitmap_clr_range(i32 noundef %274, i32 noundef 58, i32 noundef -1)
%276 = load i32, ptr %2, align 4
%277 = call i32 @hwloc_bitmap_weight(i32 noundef %276)
%278 = icmp eq i32 %277, 36
%279 = zext i1 %278 to i32
%280 = call i32 @assert(i32 noundef %279)
%281 = load i32, ptr %2, align 4
%282 = call i32 @hwloc_bitmap_last(i32 noundef %281)
%283 = icmp eq i32 %282, 57
%284 = zext i1 %283 to i32
%285 = call i32 @assert(i32 noundef %284)
%286 = load i32, ptr %2, align 4
%287 = call i32 @hwloc_bitmap_next(i32 noundef %286, i32 noundef 34)
%288 = icmp eq i32 %287, 57
%289 = zext i1 %288 to i32
%290 = call i32 @assert(i32 noundef %289)
%291 = load i32, ptr %2, align 4
%292 = call i32 @hwloc_bitmap_clr(i32 noundef %291, i32 noundef 57)
%293 = load i32, ptr %2, align 4
%294 = call i32 @hwloc_bitmap_weight(i32 noundef %293)
%295 = icmp eq i32 %294, 35
%296 = zext i1 %295 to i32
%297 = call i32 @assert(i32 noundef %296)
%298 = load i32, ptr %2, align 4
%299 = call i32 @hwloc_bitmap_last(i32 noundef %298)
%300 = icmp eq i32 %299, 34
%301 = zext i1 %300 to i32
%302 = call i32 @assert(i32 noundef %301)
%303 = load i32, ptr %2, align 4
%304 = call i32 @hwloc_bitmap_clr_range(i32 noundef %303, i32 noundef 0, i32 noundef 34)
%305 = load i32, ptr %2, align 4
%306 = call i32 @hwloc_bitmap_weight(i32 noundef %305)
%307 = icmp eq i32 %306, 0
%308 = zext i1 %307 to i32
%309 = call i32 @assert(i32 noundef %308)
%310 = load i32, ptr %2, align 4
%311 = call i32 @hwloc_bitmap_first(i32 noundef %310)
%312 = icmp eq i32 %311, -1
%313 = zext i1 %312 to i32
%314 = call i32 @assert(i32 noundef %313)
%315 = load i32, ptr %2, align 4
%316 = call i32 @hwloc_bitmap_free(i32 noundef %315)
%317 = call i32 (...) @hwloc_bitmap_alloc()
store i32 %317, ptr %2, align 4
%318 = load i32, ptr %2, align 4
%319 = call i32 @hwloc_bitmap_from_ulong(i32 noundef %318, i32 noundef 4080)
%320 = load i32, ptr %2, align 4
%321 = call i32 @hwloc_bitmap_first(i32 noundef %320)
%322 = icmp eq i32 %321, 4
%323 = zext i1 %322 to i32
%324 = call i32 @assert(i32 noundef %323)
%325 = load i32, ptr %2, align 4
%326 = call i32 @hwloc_bitmap_last(i32 noundef %325)
%327 = icmp eq i32 %326, 11
%328 = zext i1 %327 to i32
%329 = call i32 @assert(i32 noundef %328)
%330 = load i32, ptr %2, align 4
%331 = call i32 @hwloc_bitmap_weight(i32 noundef %330)
%332 = icmp eq i32 %331, 8
%333 = zext i1 %332 to i32
%334 = call i32 @assert(i32 noundef %333)
%335 = load i32, ptr %2, align 4
%336 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %335, i32 noundef 0)
%337 = icmp eq i32 %336, 4080
%338 = zext i1 %337 to i32
%339 = call i32 @assert(i32 noundef %338)
%340 = load i32, ptr %2, align 4
%341 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %340, i32 noundef 1)
%342 = icmp eq i32 %341, 0
%343 = zext i1 %342 to i32
%344 = call i32 @assert(i32 noundef %343)
%345 = load i32, ptr %2, align 4
%346 = call i32 @hwloc_bitmap_zero(i32 noundef %345)
%347 = load i32, ptr %2, align 4
%348 = call i32 @hwloc_bitmap_weight(i32 noundef %347)
%349 = icmp eq i32 %348, 0
%350 = zext i1 %349 to i32
%351 = call i32 @assert(i32 noundef %350)
%352 = load i32, ptr %2, align 4
%353 = call i32 @hwloc_bitmap_from_ith_ulong(i32 noundef %352, i32 noundef 2, i32 noundef 65280)
%354 = load i32, ptr %2, align 4
%355 = call i32 @hwloc_bitmap_weight(i32 noundef %354)
%356 = icmp eq i32 %355, 8
%357 = zext i1 %356 to i32
%358 = call i32 @assert(i32 noundef %357)
%359 = load i32, ptr %2, align 4
%360 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %359, i32 noundef 0)
%361 = icmp eq i32 %360, 0
%362 = zext i1 %361 to i32
%363 = call i32 @assert(i32 noundef %362)
%364 = load i32, ptr %2, align 4
%365 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %364, i32 noundef 1)
%366 = icmp eq i32 %365, 0
%367 = zext i1 %366 to i32
%368 = call i32 @assert(i32 noundef %367)
%369 = load i32, ptr %2, align 4
%370 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %369, i32 noundef 2)
%371 = icmp eq i32 %370, 65280
%372 = zext i1 %371 to i32
%373 = call i32 @assert(i32 noundef %372)
%374 = load i32, ptr %2, align 4
%375 = call i32 @hwloc_bitmap_to_ith_ulong(i32 noundef %374, i32 noundef 3)
%376 = icmp eq i32 %375, 0
%377 = zext i1 %376 to i32
%378 = call i32 @assert(i32 noundef %377)
%379 = load i32, ptr %2, align 4
%380 = call i32 @hwloc_bitmap_allbut(i32 noundef %379, i32 noundef 153)
%381 = load i32, ptr %2, align 4
%382 = call i32 @hwloc_bitmap_weight(i32 noundef %381)
%383 = icmp eq i32 %382, -1
%384 = zext i1 %383 to i32
%385 = call i32 @assert(i32 noundef %384)
%386 = load i32, ptr %2, align 4
%387 = load i32, ptr %2, align 4
%388 = call i32 @hwloc_bitmap_not(i32 noundef %386, i32 noundef %387)
%389 = load i32, ptr %2, align 4
%390 = call i32 @hwloc_bitmap_weight(i32 noundef %389)
%391 = icmp eq i32 %390, 1
%392 = zext i1 %391 to i32
%393 = call i32 @assert(i32 noundef %392)
%394 = load i32, ptr %2, align 4
%395 = call i32 @hwloc_bitmap_first(i32 noundef %394)
%396 = icmp eq i32 %395, 153
%397 = zext i1 %396 to i32
%398 = call i32 @assert(i32 noundef %397)
%399 = load i32, ptr %2, align 4
%400 = call i32 @hwloc_bitmap_last(i32 noundef %399)
%401 = icmp eq i32 %400, 153
%402 = zext i1 %401 to i32
%403 = call i32 @assert(i32 noundef %402)
%404 = load i32, ptr %2, align 4
%405 = call i32 @hwloc_bitmap_fill(i32 noundef %404)
%406 = load i32, ptr %2, align 4
%407 = call i32 @hwloc_bitmap_clr_range(i32 noundef %406, i32 noundef 178, i32 noundef 3589)
%408 = load i32, ptr %2, align 4
%409 = load i32, ptr %2, align 4
%410 = call i32 @hwloc_bitmap_not(i32 noundef %408, i32 noundef %409)
%411 = load i32, ptr %2, align 4
%412 = call i32 @hwloc_bitmap_weight(i32 noundef %411)
%413 = icmp eq i32 %412, 3412
%414 = zext i1 %413 to i32
%415 = call i32 @assert(i32 noundef %414)
%416 = load i32, ptr %2, align 4
%417 = call i32 @hwloc_bitmap_first(i32 noundef %416)
%418 = icmp eq i32 %417, 178
%419 = zext i1 %418 to i32
%420 = call i32 @assert(i32 noundef %419)
%421 = load i32, ptr %2, align 4
%422 = call i32 @hwloc_bitmap_last(i32 noundef %421)
%423 = icmp eq i32 %422, 3589
%424 = zext i1 %423 to i32
%425 = call i32 @assert(i32 noundef %424)
%426 = load i32, ptr %2, align 4
%427 = call i32 @hwloc_bitmap_zero(i32 noundef %426)
%428 = load i32, ptr %2, align 4
%429 = call i32 @hwloc_bitmap_set_range(i32 noundef %428, i32 noundef 0, i32 noundef 127)
%430 = load i32, ptr %2, align 4
%431 = call i32 @hwloc_bitmap_weight(i32 noundef %430)
%432 = icmp eq i32 %431, 128
%433 = zext i1 %432 to i32
%434 = call i32 @assert(i32 noundef %433)
%435 = load i32, ptr %2, align 4
%436 = load i32, ptr %2, align 4
%437 = call i32 @hwloc_bitmap_not(i32 noundef %435, i32 noundef %436)
%438 = load i32, ptr %2, align 4
%439 = call i32 @hwloc_bitmap_weight(i32 noundef %438)
%440 = icmp eq i32 %439, -1
%441 = zext i1 %440 to i32
%442 = call i32 @assert(i32 noundef %441)
%443 = load i32, ptr %2, align 4
%444 = call i32 @hwloc_bitmap_singlify(i32 noundef %443)
%445 = load i32, ptr %2, align 4
%446 = call i32 @hwloc_bitmap_weight(i32 noundef %445)
%447 = icmp eq i32 %446, 1
%448 = zext i1 %447 to i32
%449 = call i32 @assert(i32 noundef %448)
%450 = load i32, ptr %2, align 4
%451 = call i32 @hwloc_bitmap_first(i32 noundef %450)
%452 = icmp eq i32 %451, 128
%453 = zext i1 %452 to i32
%454 = call i32 @assert(i32 noundef %453)
%455 = load i32, ptr %2, align 4
%456 = call i32 @hwloc_bitmap_last(i32 noundef %455)
%457 = icmp eq i32 %456, 128
%458 = zext i1 %457 to i32
%459 = call i32 @assert(i32 noundef %458)
%460 = load i32, ptr %2, align 4
%461 = call i32 @hwloc_bitmap_free(i32 noundef %460)
ret i32 0
}
declare i32 @hwloc_bitmap_alloc(...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @hwloc_bitmap_to_ulong(i32 noundef) #1
declare i32 @hwloc_bitmap_to_ith_ulong(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_from_ith_ulong(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_set_ith_ulong(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_zero(i32 noundef) #1
declare i32 @hwloc_bitmap_free(i32 noundef) #1
declare i32 @hwloc_bitmap_alloc_full(...) #1
declare i32 @hwloc_bitmap_weight(i32 noundef) #1
declare i32 @hwloc_bitmap_set_range(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_first(i32 noundef) #1
declare i32 @hwloc_bitmap_isfull(i32 noundef) #1
declare i32 @hwloc_bitmap_clr_range(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_last(i32 noundef) #1
declare i32 @hwloc_bitmap_next(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_clr(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_from_ulong(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_allbut(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_not(i32 noundef, i32 noundef) #1
declare i32 @hwloc_bitmap_fill(i32 noundef) #1
declare i32 @hwloc_bitmap_singlify(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/tmp7mz1r4dr.c'
source_filename = "/tmp/tmp7mz1r4dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_str_ltrim(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 i32, align 4
%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 ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
store i8 0, ptr %12, align 1
br label %61
13: ; preds = %3
br label %14
14: ; preds = %53, %13
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %8, align 8
br label %16
16: ; preds = %29, %14
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
br label %19
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 10
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br label %29
29: ; preds = %24, %19
%30 = phi i1 [ false, %19 ], [ %28, %24 ]
br i1 %30, label %16, label %31, !llvm.loop !6
31: ; preds = %29
%32 = load i64, ptr %6, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 %32
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %8, align 8
%37 = icmp ule ptr %35, %36
br i1 %37, label %38, label %39
38: ; preds = %31
br label %53
39: ; preds = %31
br label %40
40: ; preds = %46, %39
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
%43 = load i8, ptr %41, align 1
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
store i8 %43, ptr %44, align 1
br label %46
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %8, align 8
%49 = icmp ugt ptr %47, %48
br i1 %49, label %40, label %50, !llvm.loop !8
50: ; preds = %46
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
store i8 10, ptr %51, align 1
br label %53
53: ; preds = %50, %38
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
%56 = load i8, ptr %54, align 1
%57 = icmp ne i8 %56, 0
br i1 %57, label %14, label %58, !llvm.loop !9
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
store i8 0, ptr %59, align 1
br label %61
61: ; preds = %58, %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7mz1r4dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_str_ltrim(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 i32, align 4
%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 ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
store i8 0, ptr %12, align 1
br label %61
13: ; preds = %3
br label %14
14: ; preds = %53, %13
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %8, align 8
br label %16
16: ; preds = %29, %14
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
br label %19
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 10
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br label %29
29: ; preds = %24, %19
%30 = phi i1 [ false, %19 ], [ %28, %24 ]
br i1 %30, label %16, label %31, !llvm.loop !6
31: ; preds = %29
%32 = load i64, ptr %6, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 %32
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %8, align 8
%37 = icmp ule ptr %35, %36
br i1 %37, label %38, label %39
38: ; preds = %31
br label %53
39: ; preds = %31
br label %40
40: ; preds = %46, %39
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
%43 = load i8, ptr %41, align 1
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
store i8 %43, ptr %44, align 1
br label %46
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %8, align 8
%49 = icmp ugt ptr %47, %48
br i1 %49, label %40, label %50, !llvm.loop !8
50: ; preds = %46
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
store i8 10, ptr %51, align 1
br label %53
53: ; preds = %50, %38
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
%56 = load i8, ptr %54, align 1
%57 = icmp ne i8 %56, 0
br i1 %57, label %14, label %58, !llvm.loop !9
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
store i8 0, ptr %59, align 1
br label %61
61: ; preds = %58, %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpz0g2c8y9.c'
source_filename = "/tmp/tmpz0g2c8y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_prinstr(i32 noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef zeroext %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i16, align 2
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i16 %3, ptr %12, align 2
store i8 %4, ptr %13, align 1
store i8 %5, ptr %14, align 1
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i16, ptr %12, align 2
%21 = load i8, ptr %13, align 1
%22 = load i8, ptr %14, align 1
%23 = load ptr, ptr %15, align 8
%24 = load i32, ptr %16, align 4
%25 = call i32 @menu_prinstr_mesh(i32 noundef %17, i32 noundef %18, i32 noundef %19, i16 noundef zeroext %20, i8 noundef zeroext %21, i8 noundef zeroext %22, i32 noundef 0, i32 noundef 31, i32 noundef 0, ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @menu_prinstr_mesh(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz0g2c8y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_prinstr(i32 noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef zeroext %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i16, align 2
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i16 %3, ptr %12, align 2
store i8 %4, ptr %13, align 1
store i8 %5, ptr %14, align 1
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %11, align 4
%20 = load i16, ptr %12, align 2
%21 = load i8, ptr %13, align 1
%22 = load i8, ptr %14, align 1
%23 = load ptr, ptr %15, align 8
%24 = load i32, ptr %16, align 4
%25 = call i32 @menu_prinstr_mesh(i32 noundef %17, i32 noundef %18, i32 noundef %19, i16 noundef zeroext %20, i8 noundef zeroext %21, i8 noundef zeroext %22, i32 noundef 0, i32 noundef 31, i32 noundef 0, ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @menu_prinstr_mesh(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpino8wt7x.c'
source_filename = "/tmp/tmpino8wt7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_X_Init() #0 {
%1 = call i32 (...) @LCD_SET_CS()
%2 = call i32 (...) @LCD_SET_RD()
%3 = call i32 (...) @LCD_SET_WR()
%4 = call i32 (...) @LCD_CLR_RESET()
%5 = call i32 @LCD_DELAY(i32 noundef 2)
%6 = call i32 (...) @LCD_SET_RESET()
ret void
}
declare i32 @LCD_SET_CS(...) #1
declare i32 @LCD_SET_RD(...) #1
declare i32 @LCD_SET_WR(...) #1
declare i32 @LCD_CLR_RESET(...) #1
declare i32 @LCD_DELAY(i32 noundef) #1
declare i32 @LCD_SET_RESET(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpino8wt7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_X_Init() #0 {
%1 = call i32 (...) @LCD_SET_CS()
%2 = call i32 (...) @LCD_SET_RD()
%3 = call i32 (...) @LCD_SET_WR()
%4 = call i32 (...) @LCD_CLR_RESET()
%5 = call i32 @LCD_DELAY(i32 noundef 2)
%6 = call i32 (...) @LCD_SET_RESET()
ret void
}
declare i32 @LCD_SET_CS(...) #1
declare i32 @LCD_SET_RD(...) #1
declare i32 @LCD_SET_WR(...) #1
declare i32 @LCD_CLR_RESET(...) #1
declare i32 @LCD_DELAY(i32 noundef) #1
declare i32 @LCD_SET_RESET(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqs_szisn.c'
source_filename = "/tmp/tmpqs_szisn.c"
target datalayout = "e-m:e-p270: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/tmpqs_szisn.c"
target datalayout = "e-m:e-p270: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/tmpklsx7bjb.c'
source_filename = "/tmp/tmpklsx7bjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_3499444699_sub_11978925247593289562_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca [40 x i8], align 16
%15 = alloca [16 x i8], align 16
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
%36 = alloca i32, align 4
%37 = alloca ptr, align 8
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca i8, align 1
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca i8, align 1
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca i32, align 4
%61 = alloca ptr, align 8
%62 = alloca i32, align 4
%63 = alloca ptr, align 8
%64 = alloca i32, align 4
%65 = alloca ptr, align 8
%66 = alloca ptr, align 8
%67 = alloca i32, align 4
%68 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
br label %69
69: ; preds = %6
%70 = load ptr, ptr %10, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 12
store ptr %71, ptr %17, align 8
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %72, align 4
store i32 %73, ptr %18, align 4
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 12
store ptr %75, ptr %19, align 8
%76 = load ptr, ptr %19, align 8
%77 = load i32, ptr %76, align 4
store i32 %77, ptr %20, align 4
%78 = load i32, ptr %18, align 4
%79 = load i32, ptr %20, align 4
%80 = add i32 %78, %79
store i32 %80, ptr %21, align 4
%81 = load i32, ptr %21, align 4
%82 = sub nsw i32 %81, 1
store i32 %82, ptr %22, align 4
%83 = load i32, ptr %22, align 4
%84 = sub nsw i32 0, %83
store i32 %84, ptr %23, align 4
%85 = load i32, ptr %23, align 4
%86 = mul nsw i32 %85, -1
store i32 %86, ptr %24, align 4
%87 = load i32, ptr %24, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %24, align 4
%89 = load i32, ptr %24, align 4
%90 = mul i32 %89, 1
store i32 %90, ptr %24, align 4
%91 = load i32, ptr %24, align 4
%92 = call ptr @xsi_get_transient_memory(i32 noundef %91)
store ptr %92, ptr %25, align 8
%93 = load ptr, ptr %25, align 8
%94 = load i32, ptr %24, align 4
%95 = call i32 @memset(ptr noundef %93, i8 noundef zeroext 0, i32 noundef %94)
%96 = load ptr, ptr %25, align 8
store ptr %96, ptr %26, align 8
%97 = load ptr, ptr %26, align 8
%98 = load i32, ptr %24, align 4
%99 = call i32 @memset(ptr noundef %97, i8 noundef zeroext 1, i32 noundef %98)
%100 = load ptr, ptr %10, align 8
%101 = getelementptr inbounds i8, ptr %100, i64 12
store ptr %101, ptr %27, align 8
%102 = load ptr, ptr %27, align 8
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %28, align 4
%104 = load ptr, ptr %12, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 12
store ptr %105, ptr %29, align 8
%106 = load ptr, ptr %29, align 8
%107 = load i32, ptr %106, align 4
store i32 %107, ptr %30, align 4
%108 = load i32, ptr %28, align 4
%109 = load i32, ptr %30, align 4
%110 = add i32 %108, %109
store i32 %110, ptr %31, align 4
%111 = load i32, ptr %31, align 4
%112 = sub nsw i32 %111, 1
store i32 %112, ptr %32, align 4
%113 = load i32, ptr %32, align 4
%114 = sub nsw i32 0, %113
store i32 %114, ptr %33, align 4
%115 = load i32, ptr %33, align 4
%116 = mul nsw i32 %115, -1
store i32 %116, ptr %34, align 4
%117 = load i32, ptr %34, align 4
%118 = add i32 %117, 1
store i32 %118, ptr %34, align 4
%119 = load i32, ptr %34, align 4
%120 = mul i32 %119, 1
store i32 %120, ptr %34, align 4
%121 = load ptr, ptr %10, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 12
store ptr %122, ptr %35, align 8
%123 = load ptr, ptr %35, align 8
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %36, align 4
%125 = load ptr, ptr %12, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 12
store ptr %126, ptr %37, align 8
%127 = load ptr, ptr %37, align 8
%128 = load i32, ptr %127, align 4
store i32 %128, ptr %38, align 4
%129 = load i32, ptr %36, align 4
%130 = load i32, ptr %38, align 4
%131 = add i32 %129, %130
store i32 %131, ptr %39, align 4
%132 = load i32, ptr %39, align 4
%133 = sub nsw i32 %132, 1
store i32 %133, ptr %40, align 4
%134 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%135 = getelementptr inbounds i8, ptr %134, i64 0
store ptr %135, ptr %41, align 8
%136 = load ptr, ptr %41, align 8
%137 = getelementptr inbounds i8, ptr %136, i64 0
store ptr %137, ptr %42, align 8
%138 = load i32, ptr %40, align 4
%139 = load ptr, ptr %42, align 8
store i32 %138, ptr %139, align 4
%140 = load ptr, ptr %41, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 4
store ptr %141, ptr %42, align 8
%142 = load ptr, ptr %42, align 8
store i32 0, ptr %142, align 4
%143 = load ptr, ptr %41, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 8
store ptr %144, ptr %42, align 8
%145 = load ptr, ptr %42, align 8
store i32 -1, ptr %145, align 4
%146 = load i32, ptr %40, align 4
%147 = sub nsw i32 0, %146
store i32 %147, ptr %43, align 4
%148 = load i32, ptr %43, align 4
%149 = mul nsw i32 %148, -1
store i32 %149, ptr %44, align 4
%150 = load i32, ptr %44, align 4
%151 = add i32 %150, 1
store i32 %151, ptr %44, align 4
%152 = load ptr, ptr %41, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 12
store ptr %153, ptr %42, align 8
%154 = load i32, ptr %44, align 4
%155 = load ptr, ptr %42, align 8
store i32 %154, ptr %155, align 4
%156 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%157 = getelementptr inbounds i8, ptr %156, i64 4
store ptr %157, ptr %42, align 8
%158 = load ptr, ptr %7, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 2704
store ptr %159, ptr %45, align 8
%160 = load ptr, ptr %42, align 8
%161 = getelementptr inbounds i8, ptr %160, i64 88
store ptr %161, ptr %46, align 8
%162 = load ptr, ptr %45, align 8
%163 = load ptr, ptr %46, align 8
store ptr %162, ptr %163, align 8
%164 = load i32, ptr %34, align 4
%165 = call i64 @alloca(i32 noundef %164)
%166 = inttoptr i64 %165 to ptr
store ptr %166, ptr %47, align 8
%167 = load ptr, ptr %42, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 56
store ptr %168, ptr %48, align 8
%169 = load ptr, ptr %47, align 8
%170 = load ptr, ptr %48, align 8
store ptr %169, ptr %170, align 8
%171 = load ptr, ptr %47, align 8
%172 = load ptr, ptr %25, align 8
%173 = load i32, ptr %34, align 4
%174 = call i32 @memcpy(ptr noundef %171, ptr noundef %172, i32 noundef %173)
%175 = load ptr, ptr %42, align 8
%176 = getelementptr inbounds i8, ptr %175, i64 64
store ptr %176, ptr %49, align 8
%177 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%178 = load ptr, ptr %49, align 8
store ptr %177, ptr %178, align 8
%179 = load ptr, ptr %42, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 80
store ptr %180, ptr %50, align 8
%181 = load i32, ptr %34, align 4
%182 = load ptr, ptr %50, align 8
store i32 %181, ptr %182, align 4
%183 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%184 = getelementptr inbounds i8, ptr %183, i64 4
store ptr %184, ptr %51, align 8
%185 = load ptr, ptr %9, align 8
%186 = icmp ne ptr %185, null
%187 = zext i1 %186 to i32
%188 = trunc i32 %187 to i8
store i8 %188, ptr %52, align 1
%189 = load i8, ptr %52, align 1
%190 = zext i8 %189 to i32
%191 = icmp eq i32 %190, 1
br i1 %191, label %192, label %193
192: ; preds = %69
br label %271
193: ; preds = %69
br label %194
194: ; preds = %271, %193
%195 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%196 = getelementptr inbounds i8, ptr %195, i64 12
store ptr %196, ptr %53, align 8
%197 = load ptr, ptr %10, align 8
%198 = load ptr, ptr %53, align 8
store ptr %197, ptr %198, align 8
%199 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%200 = getelementptr inbounds i8, ptr %199, i64 20
store ptr %200, ptr %54, align 8
%201 = load ptr, ptr %11, align 8
%202 = icmp ne ptr %201, null
%203 = zext i1 %202 to i32
%204 = trunc i32 %203 to i8
store i8 %204, ptr %55, align 1
%205 = load i8, ptr %55, align 1
%206 = zext i8 %205 to i32
%207 = icmp eq i32 %206, 1
br i1 %207, label %208, label %209
208: ; preds = %194
br label %274
209: ; preds = %194
br label %210
210: ; preds = %274, %209
%211 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%212 = getelementptr inbounds i8, ptr %211, i64 28
store ptr %212, ptr %56, align 8
%213 = load ptr, ptr %12, align 8
%214 = load ptr, ptr %56, align 8
store ptr %213, ptr %214, align 8
%215 = load ptr, ptr %42, align 8
%216 = getelementptr inbounds i8, ptr %215, i64 56
store ptr %216, ptr %57, align 8
%217 = load ptr, ptr %57, align 8
%218 = load ptr, ptr %217, align 8
store ptr %218, ptr %58, align 8
%219 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%220 = getelementptr inbounds i8, ptr %219, i64 12
store ptr %220, ptr %57, align 8
%221 = load ptr, ptr %57, align 8
%222 = load i32, ptr %221, align 4
store i32 %222, ptr %44, align 4
%223 = load i32, ptr %44, align 4
%224 = mul i32 %223, 1
store i32 %224, ptr %44, align 4
%225 = load i32, ptr %44, align 4
%226 = call ptr @xsi_get_transient_memory(i32 noundef %225)
store ptr %226, ptr %16, align 8
%227 = load ptr, ptr %16, align 8
%228 = load ptr, ptr %58, align 8
%229 = load i32, ptr %44, align 4
%230 = call i32 @memcpy(ptr noundef %227, ptr noundef %228, i32 noundef %229)
%231 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%232 = getelementptr inbounds i8, ptr %231, i64 0
store ptr %232, ptr %59, align 8
%233 = load ptr, ptr %59, align 8
%234 = load i32, ptr %233, align 4
store i32 %234, ptr %60, align 4
%235 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%236 = getelementptr inbounds i8, ptr %235, i64 4
store ptr %236, ptr %61, align 8
%237 = load ptr, ptr %61, align 8
%238 = load i32, ptr %237, align 4
store i32 %238, ptr %62, align 4
%239 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%240 = getelementptr inbounds i8, ptr %239, i64 8
store ptr %240, ptr %63, align 8
%241 = load ptr, ptr %63, align 8
%242 = load i32, ptr %241, align 4
store i32 %242, ptr %64, align 4
%243 = load ptr, ptr %8, align 8
%244 = getelementptr inbounds i8, ptr %243, i64 0
store ptr %244, ptr %65, align 8
%245 = load ptr, ptr %65, align 8
%246 = getelementptr inbounds i8, ptr %245, i64 0
store ptr %246, ptr %66, align 8
%247 = load i32, ptr %60, align 4
%248 = load ptr, ptr %66, align 8
store i32 %247, ptr %248, align 4
%249 = load ptr, ptr %65, align 8
%250 = getelementptr inbounds i8, ptr %249, i64 4
store ptr %250, ptr %66, align 8
%251 = load i32, ptr %62, align 4
%252 = load ptr, ptr %66, align 8
store i32 %251, ptr %252, align 4
%253 = load ptr, ptr %65, align 8
%254 = getelementptr inbounds i8, ptr %253, i64 8
store ptr %254, ptr %66, align 8
%255 = load i32, ptr %64, align 4
%256 = load ptr, ptr %66, align 8
store i32 %255, ptr %256, align 4
%257 = load i32, ptr %62, align 4
%258 = load i32, ptr %60, align 4
%259 = sub nsw i32 %257, %258
store i32 %259, ptr %67, align 4
%260 = load i32, ptr %67, align 4
%261 = load i32, ptr %64, align 4
%262 = mul nsw i32 %260, %261
store i32 %262, ptr %68, align 4
%263 = load i32, ptr %68, align 4
%264 = add i32 %263, 1
store i32 %264, ptr %68, align 4
%265 = load ptr, ptr %65, align 8
%266 = getelementptr inbounds i8, ptr %265, i64 12
store ptr %266, ptr %66, align 8
%267 = load i32, ptr %68, align 4
%268 = load ptr, ptr %66, align 8
store i32 %267, ptr %268, align 4
br label %269
269: ; preds = %210
%270 = load ptr, ptr %16, align 8
br label %277
271: ; preds = %192
%272 = load ptr, ptr %9, align 8
%273 = load ptr, ptr %51, align 8
store ptr %272, ptr %273, align 8
br label %194
274: ; preds = %208
%275 = load ptr, ptr %11, align 8
%276 = load ptr, ptr %54, align 8
store ptr %275, ptr %276, align 8
br label %210
277: ; preds = %269
ret ptr %270
}
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpklsx7bjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_3499444699_sub_11978925247593289562_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca [40 x i8], align 16
%15 = alloca [16 x i8], align 16
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
%36 = alloca i32, align 4
%37 = alloca ptr, align 8
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca i8, align 1
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca i8, align 1
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca i32, align 4
%61 = alloca ptr, align 8
%62 = alloca i32, align 4
%63 = alloca ptr, align 8
%64 = alloca i32, align 4
%65 = alloca ptr, align 8
%66 = alloca ptr, align 8
%67 = alloca i32, align 4
%68 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
br label %69
69: ; preds = %6
%70 = load ptr, ptr %10, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 12
store ptr %71, ptr %17, align 8
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %72, align 4
store i32 %73, ptr %18, align 4
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 12
store ptr %75, ptr %19, align 8
%76 = load ptr, ptr %19, align 8
%77 = load i32, ptr %76, align 4
store i32 %77, ptr %20, align 4
%78 = load i32, ptr %18, align 4
%79 = load i32, ptr %20, align 4
%80 = add i32 %78, %79
store i32 %80, ptr %21, align 4
%81 = load i32, ptr %21, align 4
%82 = sub nsw i32 %81, 1
store i32 %82, ptr %22, align 4
%83 = load i32, ptr %22, align 4
%84 = sub nsw i32 0, %83
store i32 %84, ptr %23, align 4
%85 = load i32, ptr %23, align 4
%86 = mul nsw i32 %85, -1
store i32 %86, ptr %24, align 4
%87 = load i32, ptr %24, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %24, align 4
%89 = load i32, ptr %24, align 4
%90 = mul i32 %89, 1
store i32 %90, ptr %24, align 4
%91 = load i32, ptr %24, align 4
%92 = call ptr @xsi_get_transient_memory(i32 noundef %91)
store ptr %92, ptr %25, align 8
%93 = load ptr, ptr %25, align 8
%94 = load i32, ptr %24, align 4
%95 = call i32 @memset(ptr noundef %93, i8 noundef zeroext 0, i32 noundef %94)
%96 = load ptr, ptr %25, align 8
store ptr %96, ptr %26, align 8
%97 = load ptr, ptr %26, align 8
%98 = load i32, ptr %24, align 4
%99 = call i32 @memset(ptr noundef %97, i8 noundef zeroext 1, i32 noundef %98)
%100 = load ptr, ptr %10, align 8
%101 = getelementptr inbounds i8, ptr %100, i64 12
store ptr %101, ptr %27, align 8
%102 = load ptr, ptr %27, align 8
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %28, align 4
%104 = load ptr, ptr %12, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 12
store ptr %105, ptr %29, align 8
%106 = load ptr, ptr %29, align 8
%107 = load i32, ptr %106, align 4
store i32 %107, ptr %30, align 4
%108 = load i32, ptr %28, align 4
%109 = load i32, ptr %30, align 4
%110 = add i32 %108, %109
store i32 %110, ptr %31, align 4
%111 = load i32, ptr %31, align 4
%112 = sub nsw i32 %111, 1
store i32 %112, ptr %32, align 4
%113 = load i32, ptr %32, align 4
%114 = sub nsw i32 0, %113
store i32 %114, ptr %33, align 4
%115 = load i32, ptr %33, align 4
%116 = mul nsw i32 %115, -1
store i32 %116, ptr %34, align 4
%117 = load i32, ptr %34, align 4
%118 = add i32 %117, 1
store i32 %118, ptr %34, align 4
%119 = load i32, ptr %34, align 4
%120 = mul i32 %119, 1
store i32 %120, ptr %34, align 4
%121 = load ptr, ptr %10, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 12
store ptr %122, ptr %35, align 8
%123 = load ptr, ptr %35, align 8
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %36, align 4
%125 = load ptr, ptr %12, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 12
store ptr %126, ptr %37, align 8
%127 = load ptr, ptr %37, align 8
%128 = load i32, ptr %127, align 4
store i32 %128, ptr %38, align 4
%129 = load i32, ptr %36, align 4
%130 = load i32, ptr %38, align 4
%131 = add i32 %129, %130
store i32 %131, ptr %39, align 4
%132 = load i32, ptr %39, align 4
%133 = sub nsw i32 %132, 1
store i32 %133, ptr %40, align 4
%134 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%135 = getelementptr inbounds i8, ptr %134, i64 0
store ptr %135, ptr %41, align 8
%136 = load ptr, ptr %41, align 8
%137 = getelementptr inbounds i8, ptr %136, i64 0
store ptr %137, ptr %42, align 8
%138 = load i32, ptr %40, align 4
%139 = load ptr, ptr %42, align 8
store i32 %138, ptr %139, align 4
%140 = load ptr, ptr %41, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 4
store ptr %141, ptr %42, align 8
%142 = load ptr, ptr %42, align 8
store i32 0, ptr %142, align 4
%143 = load ptr, ptr %41, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 8
store ptr %144, ptr %42, align 8
%145 = load ptr, ptr %42, align 8
store i32 -1, ptr %145, align 4
%146 = load i32, ptr %40, align 4
%147 = sub nsw i32 0, %146
store i32 %147, ptr %43, align 4
%148 = load i32, ptr %43, align 4
%149 = mul nsw i32 %148, -1
store i32 %149, ptr %44, align 4
%150 = load i32, ptr %44, align 4
%151 = add i32 %150, 1
store i32 %151, ptr %44, align 4
%152 = load ptr, ptr %41, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 12
store ptr %153, ptr %42, align 8
%154 = load i32, ptr %44, align 4
%155 = load ptr, ptr %42, align 8
store i32 %154, ptr %155, align 4
%156 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%157 = getelementptr inbounds i8, ptr %156, i64 4
store ptr %157, ptr %42, align 8
%158 = load ptr, ptr %7, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 2704
store ptr %159, ptr %45, align 8
%160 = load ptr, ptr %42, align 8
%161 = getelementptr inbounds i8, ptr %160, i64 88
store ptr %161, ptr %46, align 8
%162 = load ptr, ptr %45, align 8
%163 = load ptr, ptr %46, align 8
store ptr %162, ptr %163, align 8
%164 = load i32, ptr %34, align 4
%165 = call i64 @alloca(i32 noundef %164)
%166 = inttoptr i64 %165 to ptr
store ptr %166, ptr %47, align 8
%167 = load ptr, ptr %42, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 56
store ptr %168, ptr %48, align 8
%169 = load ptr, ptr %47, align 8
%170 = load ptr, ptr %48, align 8
store ptr %169, ptr %170, align 8
%171 = load ptr, ptr %47, align 8
%172 = load ptr, ptr %25, align 8
%173 = load i32, ptr %34, align 4
%174 = call i32 @memcpy(ptr noundef %171, ptr noundef %172, i32 noundef %173)
%175 = load ptr, ptr %42, align 8
%176 = getelementptr inbounds i8, ptr %175, i64 64
store ptr %176, ptr %49, align 8
%177 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%178 = load ptr, ptr %49, align 8
store ptr %177, ptr %178, align 8
%179 = load ptr, ptr %42, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 80
store ptr %180, ptr %50, align 8
%181 = load i32, ptr %34, align 4
%182 = load ptr, ptr %50, align 8
store i32 %181, ptr %182, align 4
%183 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%184 = getelementptr inbounds i8, ptr %183, i64 4
store ptr %184, ptr %51, align 8
%185 = load ptr, ptr %9, align 8
%186 = icmp ne ptr %185, null
%187 = zext i1 %186 to i32
%188 = trunc i32 %187 to i8
store i8 %188, ptr %52, align 1
%189 = load i8, ptr %52, align 1
%190 = zext i8 %189 to i32
%191 = icmp eq i32 %190, 1
br i1 %191, label %192, label %193
192: ; preds = %69
br label %271
193: ; preds = %69
br label %194
194: ; preds = %271, %193
%195 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%196 = getelementptr inbounds i8, ptr %195, i64 12
store ptr %196, ptr %53, align 8
%197 = load ptr, ptr %10, align 8
%198 = load ptr, ptr %53, align 8
store ptr %197, ptr %198, align 8
%199 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%200 = getelementptr inbounds i8, ptr %199, i64 20
store ptr %200, ptr %54, align 8
%201 = load ptr, ptr %11, align 8
%202 = icmp ne ptr %201, null
%203 = zext i1 %202 to i32
%204 = trunc i32 %203 to i8
store i8 %204, ptr %55, align 1
%205 = load i8, ptr %55, align 1
%206 = zext i8 %205 to i32
%207 = icmp eq i32 %206, 1
br i1 %207, label %208, label %209
208: ; preds = %194
br label %274
209: ; preds = %194
br label %210
210: ; preds = %274, %209
%211 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0
%212 = getelementptr inbounds i8, ptr %211, i64 28
store ptr %212, ptr %56, align 8
%213 = load ptr, ptr %12, align 8
%214 = load ptr, ptr %56, align 8
store ptr %213, ptr %214, align 8
%215 = load ptr, ptr %42, align 8
%216 = getelementptr inbounds i8, ptr %215, i64 56
store ptr %216, ptr %57, align 8
%217 = load ptr, ptr %57, align 8
%218 = load ptr, ptr %217, align 8
store ptr %218, ptr %58, align 8
%219 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%220 = getelementptr inbounds i8, ptr %219, i64 12
store ptr %220, ptr %57, align 8
%221 = load ptr, ptr %57, align 8
%222 = load i32, ptr %221, align 4
store i32 %222, ptr %44, align 4
%223 = load i32, ptr %44, align 4
%224 = mul i32 %223, 1
store i32 %224, ptr %44, align 4
%225 = load i32, ptr %44, align 4
%226 = call ptr @xsi_get_transient_memory(i32 noundef %225)
store ptr %226, ptr %16, align 8
%227 = load ptr, ptr %16, align 8
%228 = load ptr, ptr %58, align 8
%229 = load i32, ptr %44, align 4
%230 = call i32 @memcpy(ptr noundef %227, ptr noundef %228, i32 noundef %229)
%231 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%232 = getelementptr inbounds i8, ptr %231, i64 0
store ptr %232, ptr %59, align 8
%233 = load ptr, ptr %59, align 8
%234 = load i32, ptr %233, align 4
store i32 %234, ptr %60, align 4
%235 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%236 = getelementptr inbounds i8, ptr %235, i64 4
store ptr %236, ptr %61, align 8
%237 = load ptr, ptr %61, align 8
%238 = load i32, ptr %237, align 4
store i32 %238, ptr %62, align 4
%239 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
%240 = getelementptr inbounds i8, ptr %239, i64 8
store ptr %240, ptr %63, align 8
%241 = load ptr, ptr %63, align 8
%242 = load i32, ptr %241, align 4
store i32 %242, ptr %64, align 4
%243 = load ptr, ptr %8, align 8
%244 = getelementptr inbounds i8, ptr %243, i64 0
store ptr %244, ptr %65, align 8
%245 = load ptr, ptr %65, align 8
%246 = getelementptr inbounds i8, ptr %245, i64 0
store ptr %246, ptr %66, align 8
%247 = load i32, ptr %60, align 4
%248 = load ptr, ptr %66, align 8
store i32 %247, ptr %248, align 4
%249 = load ptr, ptr %65, align 8
%250 = getelementptr inbounds i8, ptr %249, i64 4
store ptr %250, ptr %66, align 8
%251 = load i32, ptr %62, align 4
%252 = load ptr, ptr %66, align 8
store i32 %251, ptr %252, align 4
%253 = load ptr, ptr %65, align 8
%254 = getelementptr inbounds i8, ptr %253, i64 8
store ptr %254, ptr %66, align 8
%255 = load i32, ptr %64, align 4
%256 = load ptr, ptr %66, align 8
store i32 %255, ptr %256, align 4
%257 = load i32, ptr %62, align 4
%258 = load i32, ptr %60, align 4
%259 = sub nsw i32 %257, %258
store i32 %259, ptr %67, align 4
%260 = load i32, ptr %67, align 4
%261 = load i32, ptr %64, align 4
%262 = mul nsw i32 %260, %261
store i32 %262, ptr %68, align 4
%263 = load i32, ptr %68, align 4
%264 = add i32 %263, 1
store i32 %264, ptr %68, align 4
%265 = load ptr, ptr %65, align 8
%266 = getelementptr inbounds i8, ptr %265, i64 12
store ptr %266, ptr %66, align 8
%267 = load i32, ptr %68, align 4
%268 = load ptr, ptr %66, align 8
store i32 %267, ptr %268, align 4
br label %269
269: ; preds = %210
%270 = load ptr, ptr %16, align 8
br label %277
271: ; preds = %192
%272 = load ptr, ptr %9, align 8
%273 = load ptr, ptr %51, align 8
store ptr %272, ptr %273, align 8
br label %194
274: ; preds = %208
%275 = load ptr, ptr %11, align 8
%276 = load ptr, ptr %54, align 8
store ptr %275, ptr %276, align 8
br label %210
277: ; preds = %269
ret ptr %270
}
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpun290bz5.c'
source_filename = "/tmp/tmpun290bz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @print_licence_lfmm()
%7 = call i32 (...) @print_head_licence_lfmm()
%8 = call i32 (...) @print_head_lfmm()
%9 = call i32 (...) @print_help_lfmm()
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @print_options(i32 noundef %10, ptr noundef %11)
ret i32 0
}
declare i32 @print_licence_lfmm(...) #1
declare i32 @print_head_licence_lfmm(...) #1
declare i32 @print_head_lfmm(...) #1
declare i32 @print_help_lfmm(...) #1
declare i32 @print_options(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/tmpun290bz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @print_licence_lfmm()
%7 = call i32 (...) @print_head_licence_lfmm()
%8 = call i32 (...) @print_head_lfmm()
%9 = call i32 (...) @print_help_lfmm()
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @print_options(i32 noundef %10, ptr noundef %11)
ret i32 0
}
declare i32 @print_licence_lfmm(...) #1
declare i32 @print_head_licence_lfmm(...) #1
declare i32 @print_head_lfmm(...) #1
declare i32 @print_help_lfmm(...) #1
declare i32 @print_options(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/tmp3etpzlmv.c'
source_filename = "/tmp/tmp3etpzlmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3etpzlmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjzhmufb.c'
source_filename = "/tmp/tmpfjzhmufb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
; 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 (...) @getchar()
store i32 %3, ptr %2, align 4
br label %4
4: ; preds = %28, %0
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %30
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 9
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str)
br label %28
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 8
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
br label %27
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 92
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.2)
br label %26
23: ; preds = %18
%24 = load i32, ptr %2, align 4
%25 = call i32 @putchar(i32 noundef %24)
br label %26
26: ; preds = %23, %21
br label %27
27: ; preds = %26, %16
br label %28
28: ; preds = %27, %11
%29 = call i32 (...) @getchar()
store i32 %29, ptr %2, align 4
br label %4, !llvm.loop !6
30: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjzhmufb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
; 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 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %27
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 9
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str)
br label %27
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 8
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(ptr noundef @.str.1)
br label %26
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 92
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str.2)
br label %25
22: ; preds = %17
%23 = load i32, ptr %2, align 4
%24 = call i32 @putchar(i32 noundef %23)
br label %25
25: ; preds = %22, %20
br label %26
26: ; preds = %25, %15
br label %27
27: ; preds = %26, %10
%28 = call i32 (...) @getchar()
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr @EOF, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprqg02fe0.c'
source_filename = "/tmp/tmprqg02fe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argsplit_msgarg(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @argsplit(ptr noundef %10, ptr noundef %11, ptr noundef %7)
store ptr %12, ptr %9, align 8
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %25, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %28
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %9, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @app_msgarg(ptr noundef %18, ptr noundef %23)
br label %25
25: ; preds = %17
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load ptr, ptr %9, align 8
%30 = call i32 @free(ptr noundef %29)
ret void
}
declare ptr @argsplit(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @app_msgarg(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprqg02fe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argsplit_msgarg(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @argsplit(ptr noundef %10, ptr noundef %11, ptr noundef %7)
store ptr %12, ptr %9, align 8
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %24
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @app_msgarg(ptr noundef %17, ptr noundef %22)
br label %24
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %3
%31 = load ptr, ptr %9, align 8
%32 = call i32 @free(ptr noundef %31)
ret void
}
declare ptr @argsplit(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @app_msgarg(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf7978xb0.c'
source_filename = "/tmp/tmpf7978xb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [20 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
store ptr %6, ptr %2, align 8
store i32 17, ptr %4, align 4
store i32 31, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %28, %0
%8 = load i32, ptr %3, align 4
%9 = icmp ult i32 %8, 20
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = load i32, ptr %5, align 4
%12 = and i32 %11, 65535
%13 = mul i32 36969, %12
%14 = load i32, ptr %5, align 4
%15 = lshr i32 %14, 16
%16 = add i32 %13, %15
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = and i32 %17, 65535
%19 = mul i32 18000, %18
%20 = load i32, ptr %4, align 4
%21 = lshr i32 %20, 16
%22 = add i32 %19, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = shl i32 %23, 16
%25 = load i32, ptr %4, align 4
%26 = add i32 %24, %25
%27 = load ptr, ptr %2, align 8
store i32 %26, ptr %27, align 4
br label %28
28: ; preds = %10
%29 = load i32, ptr %3, align 4
%30 = add i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %2, align 8
br label %7, !llvm.loop !6
33: ; preds = %7
%34 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
%35 = call i32 @insertionSort(ptr noundef %34, i32 noundef 20)
%36 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
%37 = call i32 @myprint(ptr noundef %36, i32 noundef 20)
ret void
}
declare i32 @insertionSort(ptr noundef, i32 noundef) #1
declare i32 @myprint(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/tmpf7978xb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [20 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
store ptr %6, ptr %2, align 8
store i32 17, ptr %4, align 4
store i32 31, ptr %5, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ult i32 %7, 20
br i1 %8, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %5, align 4
%11 = and i32 %10, 65535
%12 = mul i32 36969, %11
%13 = load i32, ptr %5, align 4
%14 = lshr i32 %13, 16
%15 = add i32 %12, %14
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = and i32 %16, 65535
%18 = mul i32 18000, %17
%19 = load i32, ptr %4, align 4
%20 = lshr i32 %19, 16
%21 = add i32 %18, %20
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = shl i32 %22, 16
%24 = load i32, ptr %4, align 4
%25 = add i32 %23, %24
%26 = load ptr, ptr %2, align 8
store i32 %25, ptr %26, align 4
br label %27
27: ; preds = %9
%28 = load i32, ptr %3, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i32, ptr %30, i32 1
store ptr %31, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = icmp ult i32 %32, 20
br i1 %33, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %0
%35 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
%36 = call i32 @insertionSort(ptr noundef %35, i32 noundef 20)
%37 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 0
%38 = call i32 @myprint(ptr noundef %37, i32 noundef 20)
ret void
}
declare i32 @insertionSort(ptr noundef, i32 noundef) #1
declare i32 @myprint(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/tmpw6lqv0qx.c'
source_filename = "/tmp/tmpw6lqv0qx.c"
target datalayout = "e-m:e-p270: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_theta.coeff = private unnamed_addr constant [21 x float] [float 0xBEB4EDA780000000, float 0xBF911E1320000000, float 0xBFAC09D700000000, float 0x3F9A6CC440000000, float 0x3FB0A41680000000, float 0xBEF7DF8DC0000000, float 0x3EE8891760000000, float 0x3F1437E2E0000000, float 0x3EACAE7B00000000, float 0x3F0E1476C0000000, float 0x3F12D44F60000000, float 0x3EFEFDCFE0000000, float 0xBF19F295A0000000, float 0x3EDA502760000000, float 0x3EE7318F80000000, float 0xBF0D993960000000, float 0xBF114BEE00000000, float 0xBEBC626F20000000, float 0x3EE1D93FE0000000, float 0xBEE78E1FA0000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_theta(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 [21 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
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = 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 20, ptr %7, align 4
store float 0x3F938F62C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %39, align 16
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %40, align 4
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC032010620000000, ptr %41, align 8
%42 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032018940000000, ptr %42, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %43, align 16
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %44, align 4
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x403200C4A0000000, ptr %45, align 8
%46 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032004180000000, ptr %46, 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_theta.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %85
49: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %50
50: ; preds = %81, %49
%51 = load i32, ptr %14, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %84
54: ; preds = %50
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %56
%58 = load float, ptr %57, align 4
%59 = load i32, ptr %14, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %60
%62 = load float, ptr %61, align 4
%63 = fcmp oeq float %58, %62
br i1 %63, label %64, label %65
64: ; preds = %54
br label %81
65: ; preds = %54
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %67
%69 = load float, ptr %68, align 4
%70 = load i32, ptr %14, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %71
%73 = load float, ptr %72, align 4
%74 = fsub float %69, %73
%75 = fpext float %74 to double
%76 = fdiv double 2.000000e+00, %75
%77 = fptrunc double %76 to float
%78 = load i32, ptr %14, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %79
store float %77, ptr %80, align 4
br label %81
81: ; preds = %65, %64
%82 = load i32, ptr %14, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %14, align 4
br label %50, !llvm.loop !6
84: ; preds = %50
br label %85
85: ; preds = %84, %3
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds float, ptr %86, i64 0
%88 = load float, ptr %87, align 4
%89 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%90 = load float, ptr %89, align 16
%91 = fsub float %88, %90
%92 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%93 = load float, ptr %92, align 16
%94 = fmul float %91, %93
%95 = fpext float %94 to double
%96 = fadd double 1.000000e+00, %95
%97 = fptrunc double %96 to float
store float %97, ptr %15, align 4
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds float, ptr %98, i64 0
%100 = load float, ptr %99, align 4
%101 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%102 = load float, ptr %101, align 16
%103 = fmul float %100, %102
store float %103, ptr %16, align 4
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds float, ptr %104, i64 1
%106 = load float, ptr %105, align 4
%107 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%108 = load float, ptr %107, align 4
%109 = fsub float %106, %108
%110 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%111 = load float, ptr %110, align 4
%112 = fmul float %109, %111
%113 = fpext float %112 to double
%114 = fadd double 1.000000e+00, %113
%115 = fptrunc double %114 to float
store float %115, ptr %17, align 4
%116 = load ptr, ptr %5, align 8
%117 = getelementptr inbounds float, ptr %116, i64 1
%118 = load float, ptr %117, align 4
%119 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%120 = load float, ptr %119, align 4
%121 = fmul float %118, %120
store float %121, ptr %18, align 4
%122 = load ptr, ptr %4, align 8
%123 = getelementptr inbounds float, ptr %122, i64 2
%124 = load float, ptr %123, align 4
%125 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%126 = load float, ptr %125, align 8
%127 = fsub float %124, %126
%128 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%129 = load float, ptr %128, align 8
%130 = fmul float %127, %129
%131 = fpext float %130 to double
%132 = fadd double 1.000000e+00, %131
%133 = fptrunc double %132 to float
store float %133, ptr %19, align 4
%134 = load ptr, ptr %5, align 8
%135 = getelementptr inbounds float, ptr %134, i64 2
%136 = load float, ptr %135, align 4
%137 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%138 = load float, ptr %137, align 8
%139 = fmul float %136, %138
store float %139, ptr %20, align 4
%140 = load ptr, ptr %4, align 8
%141 = getelementptr inbounds float, ptr %140, i64 3
%142 = load float, ptr %141, align 4
%143 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%144 = load float, ptr %143, align 4
%145 = fsub float %142, %144
%146 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%147 = load float, ptr %146, align 4
%148 = fmul float %145, %147
%149 = fpext float %148 to double
%150 = fadd double 1.000000e+00, %149
%151 = fptrunc double %150 to float
store float %151, ptr %21, align 4
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds float, ptr %152, i64 3
%154 = load float, ptr %153, align 4
%155 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%156 = load float, ptr %155, align 4
%157 = fmul float %154, %156
store float %157, ptr %22, align 4
%158 = load float, ptr %15, align 4
store float %158, ptr %23, align 4
%159 = load float, ptr %23, align 4
%160 = load float, ptr %15, align 4
%161 = fmul float %159, %160
store float %161, ptr %24, align 4
%162 = load float, ptr %24, align 4
%163 = load float, ptr %15, align 4
%164 = fmul float %162, %163
store float %164, ptr %25, align 4
%165 = load float, ptr %25, align 4
%166 = load float, ptr %15, align 4
%167 = fmul float %165, %166
store float %167, ptr %26, align 4
%168 = load float, ptr %17, align 4
store float %168, ptr %27, align 4
%169 = load float, ptr %27, align 4
%170 = load float, ptr %17, align 4
%171 = fmul float %169, %170
store float %171, ptr %28, align 4
%172 = load float, ptr %19, align 4
store float %172, ptr %29, align 4
%173 = load float, ptr %29, align 4
%174 = load float, ptr %19, align 4
%175 = fmul float %173, %174
store float %175, ptr %30, align 4
%176 = load float, ptr %30, align 4
%177 = load float, ptr %19, align 4
%178 = fmul float %176, %177
store float %178, ptr %31, align 4
%179 = load float, ptr %31, align 4
%180 = load float, ptr %19, align 4
%181 = fmul float %179, %180
store float %181, ptr %32, align 4
%182 = load float, ptr %21, align 4
store float %182, ptr %33, align 4
%183 = load float, ptr %33, align 4
%184 = load float, ptr %21, align 4
%185 = fmul float %183, %184
store float %185, ptr %34, align 4
%186 = load float, ptr %34, align 4
%187 = load float, ptr %21, align 4
%188 = fmul float %186, %187
store float %188, ptr %35, align 4
%189 = load float, ptr %8, align 4
%190 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%191 = load float, ptr %190, align 16
%192 = fadd float %189, %191
%193 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%194 = load float, ptr %193, align 4
%195 = load float, ptr %23, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %192)
%197 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%198 = load float, ptr %197, align 8
%199 = load float, ptr %27, align 4
%200 = call float @llvm.fmuladd.f32(float %198, float %199, float %196)
%201 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%202 = load float, ptr %201, align 4
%203 = load float, ptr %29, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %200)
%205 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%206 = load float, ptr %205, align 16
%207 = load float, ptr %33, align 4
%208 = call float @llvm.fmuladd.f32(float %206, float %207, float %204)
%209 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%210 = load float, ptr %209, align 4
%211 = load float, ptr %29, align 4
%212 = fmul float %210, %211
%213 = load float, ptr %33, align 4
%214 = call float @llvm.fmuladd.f32(float %212, float %213, float %208)
%215 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%216 = load float, ptr %215, align 8
%217 = load float, ptr %23, align 4
%218 = fmul float %216, %217
%219 = load float, ptr %27, align 4
%220 = call float @llvm.fmuladd.f32(float %218, float %219, float %214)
%221 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%222 = load float, ptr %221, align 4
%223 = load float, ptr %30, align 4
%224 = call float @llvm.fmuladd.f32(float %222, float %223, float %220)
store float %224, ptr %36, align 4
%225 = load float, ptr %36, align 4
%226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%227 = load float, ptr %226, align 16
%228 = load float, ptr %26, align 4
%229 = call float @llvm.fmuladd.f32(float %227, float %228, float %225)
%230 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%231 = load float, ptr %230, align 4
%232 = load float, ptr %23, align 4
%233 = fmul float %231, %232
%234 = load float, ptr %32, align 4
%235 = call float @llvm.fmuladd.f32(float %233, float %234, float %229)
%236 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%237 = load float, ptr %236, align 8
%238 = load float, ptr %31, align 4
%239 = fmul float %237, %238
%240 = load float, ptr %34, align 4
%241 = call float @llvm.fmuladd.f32(float %239, float %240, float %235)
%242 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%243 = load float, ptr %242, align 4
%244 = load float, ptr %24, align 4
%245 = call float @llvm.fmuladd.f32(float %243, float %244, float %241)
%246 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%247 = load float, ptr %246, align 16
%248 = load float, ptr %23, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %29, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %245)
%252 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%253 = load float, ptr %252, align 4
%254 = load float, ptr %25, align 4
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %251)
%256 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%257 = load float, ptr %256, align 8
%258 = load float, ptr %25, align 4
%259 = fmul float %257, %258
%260 = load float, ptr %28, align 4
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %255)
%262 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%263 = load float, ptr %262, align 4
%264 = load float, ptr %24, align 4
%265 = fmul float %263, %264
%266 = load float, ptr %31, align 4
%267 = call float @llvm.fmuladd.f32(float %265, float %266, float %261)
%268 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%269 = load float, ptr %268, align 16
%270 = load float, ptr %23, align 4
%271 = fmul float %269, %270
%272 = load float, ptr %27, align 4
%273 = fmul float %271, %272
%274 = load float, ptr %30, align 4
%275 = fmul float %273, %274
%276 = load float, ptr %33, align 4
%277 = call float @llvm.fmuladd.f32(float %275, float %276, float %267)
store float %277, ptr %36, align 4
%278 = load float, ptr %36, align 4
%279 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%280 = load float, ptr %279, align 4
%281 = load float, ptr %27, align 4
%282 = fmul float %280, %281
%283 = load float, ptr %30, align 4
%284 = call float @llvm.fmuladd.f32(float %282, float %283, float %278)
%285 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%286 = load float, ptr %285, align 8
%287 = load float, ptr %27, align 4
%288 = fmul float %286, %287
%289 = load float, ptr %34, align 4
%290 = call float @llvm.fmuladd.f32(float %288, float %289, float %284)
%291 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%292 = load float, ptr %291, align 4
%293 = load float, ptr %35, align 4
%294 = call float @llvm.fmuladd.f32(float %292, float %293, float %290)
store float %294, ptr %36, align 4
%295 = load float, ptr %16, align 4
%296 = fadd float 0.000000e+00, %295
%297 = load float, ptr %18, align 4
%298 = fadd float %296, %297
%299 = load float, ptr %20, align 4
%300 = fadd float %298, %299
%301 = load float, ptr %22, align 4
%302 = fadd float %300, %301
store float %302, ptr %37, align 4
%303 = load float, ptr %37, align 4
%304 = fcmp oeq float %303, 0.000000e+00
br i1 %304, label %305, label %306
305: ; preds = %85
br label %499
306: ; preds = %85
%307 = load float, ptr %16, align 4
%308 = load float, ptr %16, align 4
%309 = fmul float %307, %308
%310 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%311 = load float, ptr %310, align 4
%312 = fadd float 0.000000e+00, %311
%313 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%314 = load float, ptr %313, align 8
%315 = load float, ptr %27, align 4
%316 = call float @llvm.fmuladd.f32(float %314, float %315, float %312)
%317 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%318 = load float, ptr %317, align 16
%319 = fmul float 4.000000e+00, %318
%320 = load float, ptr %25, align 4
%321 = call float @llvm.fmuladd.f32(float %319, float %320, float %316)
%322 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%323 = load float, ptr %322, align 4
%324 = load float, ptr %32, align 4
%325 = call float @llvm.fmuladd.f32(float %323, float %324, float %321)
%326 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%327 = load float, ptr %326, align 4
%328 = fmul float 2.000000e+00, %327
%329 = load float, ptr %23, align 4
%330 = call float @llvm.fmuladd.f32(float %328, float %329, float %325)
%331 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%332 = load float, ptr %331, align 16
%333 = load float, ptr %29, align 4
%334 = call float @llvm.fmuladd.f32(float %332, float %333, float %330)
%335 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%336 = load float, ptr %335, align 4
%337 = fmul float 3.000000e+00, %336
%338 = load float, ptr %24, align 4
%339 = call float @llvm.fmuladd.f32(float %337, float %338, float %334)
%340 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%341 = load float, ptr %340, align 8
%342 = fmul float 3.000000e+00, %341
%343 = load float, ptr %24, align 4
%344 = fmul float %342, %343
%345 = load float, ptr %28, align 4
%346 = call float @llvm.fmuladd.f32(float %344, float %345, float %339)
%347 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%348 = load float, ptr %347, align 4
%349 = fmul float 2.000000e+00, %348
%350 = load float, ptr %23, align 4
%351 = fmul float %349, %350
%352 = load float, ptr %31, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %346)
%354 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%355 = load float, ptr %354, align 16
%356 = load float, ptr %27, align 4
%357 = fmul float %355, %356
%358 = load float, ptr %30, align 4
%359 = fmul float %357, %358
%360 = load float, ptr %33, align 4
%361 = call float @llvm.fmuladd.f32(float %359, float %360, float %353)
%362 = call float @pow(float noundef %361, i32 noundef 2)
%363 = load float, ptr %18, align 4
%364 = load float, ptr %18, align 4
%365 = fmul float %363, %364
%366 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%367 = load float, ptr %366, align 8
%368 = fadd float 0.000000e+00, %367
%369 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%370 = load float, ptr %369, align 8
%371 = load float, ptr %23, align 4
%372 = call float @llvm.fmuladd.f32(float %370, float %371, float %368)
%373 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%374 = load float, ptr %373, align 8
%375 = fmul float 2.000000e+00, %374
%376 = load float, ptr %27, align 4
%377 = fmul float %375, %376
%378 = load float, ptr %25, align 4
%379 = call float @llvm.fmuladd.f32(float %377, float %378, float %372)
%380 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%381 = load float, ptr %380, align 16
%382 = load float, ptr %23, align 4
%383 = fmul float %381, %382
%384 = load float, ptr %30, align 4
%385 = fmul float %383, %384
%386 = load float, ptr %33, align 4
%387 = call float @llvm.fmuladd.f32(float %385, float %386, float %379)
%388 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%389 = load float, ptr %388, align 4
%390 = load float, ptr %30, align 4
%391 = call float @llvm.fmuladd.f32(float %389, float %390, float %387)
%392 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%393 = load float, ptr %392, align 8
%394 = load float, ptr %34, align 4
%395 = call float @llvm.fmuladd.f32(float %393, float %394, float %391)
%396 = call float @pow(float noundef %395, i32 noundef 2)
%397 = fmul float %365, %396
%398 = call float @llvm.fmuladd.f32(float %309, float %362, float %397)
%399 = load float, ptr %20, align 4
%400 = load float, ptr %20, align 4
%401 = fmul float %399, %400
%402 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%403 = load float, ptr %402, align 4
%404 = fadd float 0.000000e+00, %403
%405 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%406 = load float, ptr %405, align 4
%407 = load float, ptr %33, align 4
%408 = call float @llvm.fmuladd.f32(float %406, float %407, float %404)
%409 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%410 = load float, ptr %409, align 4
%411 = fmul float 2.000000e+00, %410
%412 = load float, ptr %29, align 4
%413 = call float @llvm.fmuladd.f32(float %411, float %412, float %408)
%414 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%415 = load float, ptr %414, align 4
%416 = fmul float 4.000000e+00, %415
%417 = load float, ptr %31, align 4
%418 = fmul float %416, %417
%419 = load float, ptr %23, align 4
%420 = call float @llvm.fmuladd.f32(float %418, float %419, float %413)
%421 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%422 = load float, ptr %421, align 8
%423 = fmul float 3.000000e+00, %422
%424 = load float, ptr %30, align 4
%425 = fmul float %423, %424
%426 = load float, ptr %34, align 4
%427 = call float @llvm.fmuladd.f32(float %425, float %426, float %420)
%428 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%429 = load float, ptr %428, align 16
%430 = load float, ptr %23, align 4
%431 = call float @llvm.fmuladd.f32(float %429, float %430, float %427)
%432 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%433 = load float, ptr %432, align 4
%434 = fmul float 3.000000e+00, %433
%435 = load float, ptr %30, align 4
%436 = fmul float %434, %435
%437 = load float, ptr %24, align 4
%438 = call float @llvm.fmuladd.f32(float %436, float %437, float %431)
%439 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%440 = load float, ptr %439, align 16
%441 = fmul float 2.000000e+00, %440
%442 = load float, ptr %29, align 4
%443 = fmul float %441, %442
%444 = load float, ptr %23, align 4
%445 = fmul float %443, %444
%446 = load float, ptr %27, align 4
%447 = fmul float %445, %446
%448 = load float, ptr %33, align 4
%449 = call float @llvm.fmuladd.f32(float %447, float %448, float %438)
%450 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%451 = load float, ptr %450, align 4
%452 = fmul float 2.000000e+00, %451
%453 = load float, ptr %29, align 4
%454 = fmul float %452, %453
%455 = load float, ptr %27, align 4
%456 = call float @llvm.fmuladd.f32(float %454, float %455, float %449)
%457 = call float @pow(float noundef %456, i32 noundef 2)
%458 = call float @llvm.fmuladd.f32(float %401, float %457, float %398)
%459 = load float, ptr %22, align 4
%460 = load float, ptr %22, align 4
%461 = fmul float %459, %460
%462 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%463 = load float, ptr %462, align 16
%464 = fadd float 0.000000e+00, %463
%465 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%466 = load float, ptr %465, align 4
%467 = load float, ptr %29, align 4
%468 = call float @llvm.fmuladd.f32(float %466, float %467, float %464)
%469 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%470 = load float, ptr %469, align 8
%471 = fmul float 2.000000e+00, %470
%472 = load float, ptr %33, align 4
%473 = fmul float %471, %472
%474 = load float, ptr %31, align 4
%475 = call float @llvm.fmuladd.f32(float %473, float %474, float %468)
%476 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%477 = load float, ptr %476, align 16
%478 = load float, ptr %23, align 4
%479 = fmul float %477, %478
%480 = load float, ptr %27, align 4
%481 = fmul float %479, %480
%482 = load float, ptr %30, align 4
%483 = call float @llvm.fmuladd.f32(float %481, float %482, float %475)
%484 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%485 = load float, ptr %484, align 8
%486 = fmul float 2.000000e+00, %485
%487 = load float, ptr %33, align 4
%488 = fmul float %486, %487
%489 = load float, ptr %27, align 4
%490 = call float @llvm.fmuladd.f32(float %488, float %489, float %483)
%491 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%492 = load float, ptr %491, align 4
%493 = fmul float 3.000000e+00, %492
%494 = load float, ptr %34, align 4
%495 = call float @llvm.fmuladd.f32(float %493, float %494, float %490)
%496 = call float @pow(float noundef %495, i32 noundef 2)
%497 = call float @llvm.fmuladd.f32(float %461, float %496, float %458)
%498 = call float @sqrt(float noundef %497)
br label %499
499: ; preds = %306, %305
%500 = phi float [ 0.000000e+00, %305 ], [ %498, %306 ]
store float %500, ptr %38, align 4
%501 = load float, ptr %38, align 4
%502 = load ptr, ptr %5, align 8
%503 = getelementptr inbounds float, ptr %502, i64 0
store float %501, ptr %503, align 4
%504 = load float, ptr %36, align 4
ret float %504
}
; 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/tmpw6lqv0qx.c"
target datalayout = "e-m:e-p270: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_theta.coeff = private unnamed_addr constant [21 x float] [float 0xBEB4EDA780000000, float 0xBF911E1320000000, float 0xBFAC09D700000000, float 0x3F9A6CC440000000, float 0x3FB0A41680000000, float 0xBEF7DF8DC0000000, float 0x3EE8891760000000, float 0x3F1437E2E0000000, float 0x3EACAE7B00000000, float 0x3F0E1476C0000000, float 0x3F12D44F60000000, float 0x3EFEFDCFE0000000, float 0xBF19F295A0000000, float 0x3EDA502760000000, float 0x3EE7318F80000000, float 0xBF0D993960000000, float 0xBF114BEE00000000, float 0xBEBC626F20000000, float 0x3EE1D93FE0000000, float 0xBEE78E1FA0000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_theta(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 [21 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
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = 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 20, ptr %7, align 4
store float 0x3F938F62C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %39, align 16
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %40, align 4
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC032010620000000, ptr %41, align 8
%42 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032018940000000, ptr %42, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %43, align 16
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %44, align 4
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x403200C4A0000000, ptr %45, align 8
%46 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032004180000000, ptr %46, 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_theta.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %87
49: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph, label %86
.lr.ph: ; preds = %49
br label %53
53: ; preds = %.lr.ph, %80
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %59
%61 = load float, ptr %60, align 4
%62 = fcmp oeq float %57, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %80
64: ; preds = %53
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %70
%72 = load float, ptr %71, align 4
%73 = fsub float %68, %72
%74 = fpext float %73 to double
%75 = fdiv double 2.000000e+00, %74
%76 = fptrunc double %75 to float
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %80
80: ; preds = %64, %63
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %6, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %86
86: ; preds = %._crit_edge, %49
br label %87
87: ; preds = %86, %3
%88 = load ptr, ptr %4, align 8
%89 = getelementptr inbounds float, ptr %88, i64 0
%90 = load float, ptr %89, align 4
%91 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fsub float %90, %92
%94 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%95 = load float, ptr %94, align 16
%96 = fmul float %93, %95
%97 = fpext float %96 to double
%98 = fadd double 1.000000e+00, %97
%99 = fptrunc double %98 to float
store float %99, ptr %15, align 4
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds float, ptr %100, i64 0
%102 = load float, ptr %101, align 4
%103 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%104 = load float, ptr %103, align 16
%105 = fmul float %102, %104
store float %105, ptr %16, align 4
%106 = load ptr, ptr %4, align 8
%107 = getelementptr inbounds float, ptr %106, i64 1
%108 = load float, ptr %107, align 4
%109 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fsub float %108, %110
%112 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%113 = load float, ptr %112, align 4
%114 = fmul float %111, %113
%115 = fpext float %114 to double
%116 = fadd double 1.000000e+00, %115
%117 = fptrunc double %116 to float
store float %117, ptr %17, align 4
%118 = load ptr, ptr %5, align 8
%119 = getelementptr inbounds float, ptr %118, i64 1
%120 = load float, ptr %119, align 4
%121 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%122 = load float, ptr %121, align 4
%123 = fmul float %120, %122
store float %123, ptr %18, align 4
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds float, ptr %124, i64 2
%126 = load float, ptr %125, align 4
%127 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fsub float %126, %128
%130 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%131 = load float, ptr %130, align 8
%132 = fmul float %129, %131
%133 = fpext float %132 to double
%134 = fadd double 1.000000e+00, %133
%135 = fptrunc double %134 to float
store float %135, ptr %19, align 4
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds float, ptr %136, i64 2
%138 = load float, ptr %137, align 4
%139 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%140 = load float, ptr %139, align 8
%141 = fmul float %138, %140
store float %141, ptr %20, align 4
%142 = load ptr, ptr %4, align 8
%143 = getelementptr inbounds float, ptr %142, i64 3
%144 = load float, ptr %143, align 4
%145 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fsub float %144, %146
%148 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%149 = load float, ptr %148, align 4
%150 = fmul float %147, %149
%151 = fpext float %150 to double
%152 = fadd double 1.000000e+00, %151
%153 = fptrunc double %152 to float
store float %153, ptr %21, align 4
%154 = load ptr, ptr %5, align 8
%155 = getelementptr inbounds float, ptr %154, i64 3
%156 = load float, ptr %155, align 4
%157 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%158 = load float, ptr %157, align 4
%159 = fmul float %156, %158
store float %159, ptr %22, align 4
%160 = load float, ptr %15, align 4
store float %160, ptr %23, align 4
%161 = load float, ptr %23, align 4
%162 = load float, ptr %15, align 4
%163 = fmul float %161, %162
store float %163, ptr %24, align 4
%164 = load float, ptr %24, align 4
%165 = load float, ptr %15, align 4
%166 = fmul float %164, %165
store float %166, ptr %25, align 4
%167 = load float, ptr %25, align 4
%168 = load float, ptr %15, align 4
%169 = fmul float %167, %168
store float %169, ptr %26, align 4
%170 = load float, ptr %17, align 4
store float %170, ptr %27, align 4
%171 = load float, ptr %27, align 4
%172 = load float, ptr %17, align 4
%173 = fmul float %171, %172
store float %173, ptr %28, align 4
%174 = load float, ptr %19, align 4
store float %174, ptr %29, align 4
%175 = load float, ptr %29, align 4
%176 = load float, ptr %19, align 4
%177 = fmul float %175, %176
store float %177, ptr %30, align 4
%178 = load float, ptr %30, align 4
%179 = load float, ptr %19, align 4
%180 = fmul float %178, %179
store float %180, ptr %31, align 4
%181 = load float, ptr %31, align 4
%182 = load float, ptr %19, align 4
%183 = fmul float %181, %182
store float %183, ptr %32, align 4
%184 = load float, ptr %21, align 4
store float %184, ptr %33, align 4
%185 = load float, ptr %33, align 4
%186 = load float, ptr %21, align 4
%187 = fmul float %185, %186
store float %187, ptr %34, align 4
%188 = load float, ptr %34, align 4
%189 = load float, ptr %21, align 4
%190 = fmul float %188, %189
store float %190, ptr %35, align 4
%191 = load float, ptr %8, align 4
%192 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%193 = load float, ptr %192, align 16
%194 = fadd float %191, %193
%195 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%196 = load float, ptr %195, align 4
%197 = load float, ptr %23, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%200 = load float, ptr %199, align 8
%201 = load float, ptr %27, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%204 = load float, ptr %203, align 4
%205 = load float, ptr %29, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%208 = load float, ptr %207, align 16
%209 = load float, ptr %33, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %206)
%211 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%212 = load float, ptr %211, align 4
%213 = load float, ptr %29, align 4
%214 = fmul float %212, %213
%215 = load float, ptr %33, align 4
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %210)
%217 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%218 = load float, ptr %217, align 8
%219 = load float, ptr %23, align 4
%220 = fmul float %218, %219
%221 = load float, ptr %27, align 4
%222 = call float @llvm.fmuladd.f32(float %220, float %221, float %216)
%223 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%224 = load float, ptr %223, align 4
%225 = load float, ptr %30, align 4
%226 = call float @llvm.fmuladd.f32(float %224, float %225, float %222)
store float %226, ptr %36, align 4
%227 = load float, ptr %36, align 4
%228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%229 = load float, ptr %228, align 16
%230 = load float, ptr %26, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %227)
%232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%233 = load float, ptr %232, align 4
%234 = load float, ptr %23, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %32, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231)
%238 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%239 = load float, ptr %238, align 8
%240 = load float, ptr %31, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %34, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%245 = load float, ptr %244, align 4
%246 = load float, ptr %24, align 4
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %243)
%248 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%249 = load float, ptr %248, align 16
%250 = load float, ptr %23, align 4
%251 = fmul float %249, %250
%252 = load float, ptr %29, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %247)
%254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%255 = load float, ptr %254, align 4
%256 = load float, ptr %25, align 4
%257 = call float @llvm.fmuladd.f32(float %255, float %256, float %253)
%258 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%259 = load float, ptr %258, align 8
%260 = load float, ptr %25, align 4
%261 = fmul float %259, %260
%262 = load float, ptr %28, align 4
%263 = call float @llvm.fmuladd.f32(float %261, float %262, float %257)
%264 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%265 = load float, ptr %264, align 4
%266 = load float, ptr %24, align 4
%267 = fmul float %265, %266
%268 = load float, ptr %31, align 4
%269 = call float @llvm.fmuladd.f32(float %267, float %268, float %263)
%270 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%271 = load float, ptr %270, align 16
%272 = load float, ptr %23, align 4
%273 = fmul float %271, %272
%274 = load float, ptr %27, align 4
%275 = fmul float %273, %274
%276 = load float, ptr %30, align 4
%277 = fmul float %275, %276
%278 = load float, ptr %33, align 4
%279 = call float @llvm.fmuladd.f32(float %277, float %278, float %269)
store float %279, ptr %36, align 4
%280 = load float, ptr %36, align 4
%281 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%282 = load float, ptr %281, align 4
%283 = load float, ptr %27, align 4
%284 = fmul float %282, %283
%285 = load float, ptr %30, align 4
%286 = call float @llvm.fmuladd.f32(float %284, float %285, float %280)
%287 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%288 = load float, ptr %287, align 8
%289 = load float, ptr %27, align 4
%290 = fmul float %288, %289
%291 = load float, ptr %34, align 4
%292 = call float @llvm.fmuladd.f32(float %290, float %291, float %286)
%293 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%294 = load float, ptr %293, align 4
%295 = load float, ptr %35, align 4
%296 = call float @llvm.fmuladd.f32(float %294, float %295, float %292)
store float %296, ptr %36, align 4
%297 = load float, ptr %16, align 4
%298 = fadd float 0.000000e+00, %297
%299 = load float, ptr %18, align 4
%300 = fadd float %298, %299
%301 = load float, ptr %20, align 4
%302 = fadd float %300, %301
%303 = load float, ptr %22, align 4
%304 = fadd float %302, %303
store float %304, ptr %37, align 4
%305 = load float, ptr %37, align 4
%306 = fcmp oeq float %305, 0.000000e+00
br i1 %306, label %307, label %308
307: ; preds = %87
br label %501
308: ; preds = %87
%309 = load float, ptr %16, align 4
%310 = load float, ptr %16, align 4
%311 = fmul float %309, %310
%312 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%313 = load float, ptr %312, align 4
%314 = fadd float 0.000000e+00, %313
%315 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%316 = load float, ptr %315, align 8
%317 = load float, ptr %27, align 4
%318 = call float @llvm.fmuladd.f32(float %316, float %317, float %314)
%319 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%320 = load float, ptr %319, align 16
%321 = fmul float 4.000000e+00, %320
%322 = load float, ptr %25, align 4
%323 = call float @llvm.fmuladd.f32(float %321, float %322, float %318)
%324 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%325 = load float, ptr %324, align 4
%326 = load float, ptr %32, align 4
%327 = call float @llvm.fmuladd.f32(float %325, float %326, float %323)
%328 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%329 = load float, ptr %328, align 4
%330 = fmul float 2.000000e+00, %329
%331 = load float, ptr %23, align 4
%332 = call float @llvm.fmuladd.f32(float %330, float %331, float %327)
%333 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%334 = load float, ptr %333, align 16
%335 = load float, ptr %29, align 4
%336 = call float @llvm.fmuladd.f32(float %334, float %335, float %332)
%337 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%338 = load float, ptr %337, align 4
%339 = fmul float 3.000000e+00, %338
%340 = load float, ptr %24, align 4
%341 = call float @llvm.fmuladd.f32(float %339, float %340, float %336)
%342 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%343 = load float, ptr %342, align 8
%344 = fmul float 3.000000e+00, %343
%345 = load float, ptr %24, align 4
%346 = fmul float %344, %345
%347 = load float, ptr %28, align 4
%348 = call float @llvm.fmuladd.f32(float %346, float %347, float %341)
%349 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%350 = load float, ptr %349, align 4
%351 = fmul float 2.000000e+00, %350
%352 = load float, ptr %23, align 4
%353 = fmul float %351, %352
%354 = load float, ptr %31, align 4
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %348)
%356 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%357 = load float, ptr %356, align 16
%358 = load float, ptr %27, align 4
%359 = fmul float %357, %358
%360 = load float, ptr %30, align 4
%361 = fmul float %359, %360
%362 = load float, ptr %33, align 4
%363 = call float @llvm.fmuladd.f32(float %361, float %362, float %355)
%364 = call float @pow(float noundef %363, i32 noundef 2)
%365 = load float, ptr %18, align 4
%366 = load float, ptr %18, align 4
%367 = fmul float %365, %366
%368 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%369 = load float, ptr %368, align 8
%370 = fadd float 0.000000e+00, %369
%371 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%372 = load float, ptr %371, align 8
%373 = load float, ptr %23, align 4
%374 = call float @llvm.fmuladd.f32(float %372, float %373, float %370)
%375 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%376 = load float, ptr %375, align 8
%377 = fmul float 2.000000e+00, %376
%378 = load float, ptr %27, align 4
%379 = fmul float %377, %378
%380 = load float, ptr %25, align 4
%381 = call float @llvm.fmuladd.f32(float %379, float %380, float %374)
%382 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%383 = load float, ptr %382, align 16
%384 = load float, ptr %23, align 4
%385 = fmul float %383, %384
%386 = load float, ptr %30, align 4
%387 = fmul float %385, %386
%388 = load float, ptr %33, align 4
%389 = call float @llvm.fmuladd.f32(float %387, float %388, float %381)
%390 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%391 = load float, ptr %390, align 4
%392 = load float, ptr %30, align 4
%393 = call float @llvm.fmuladd.f32(float %391, float %392, float %389)
%394 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%395 = load float, ptr %394, align 8
%396 = load float, ptr %34, align 4
%397 = call float @llvm.fmuladd.f32(float %395, float %396, float %393)
%398 = call float @pow(float noundef %397, i32 noundef 2)
%399 = fmul float %367, %398
%400 = call float @llvm.fmuladd.f32(float %311, float %364, float %399)
%401 = load float, ptr %20, align 4
%402 = load float, ptr %20, align 4
%403 = fmul float %401, %402
%404 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%405 = load float, ptr %404, align 4
%406 = fadd float 0.000000e+00, %405
%407 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%408 = load float, ptr %407, align 4
%409 = load float, ptr %33, align 4
%410 = call float @llvm.fmuladd.f32(float %408, float %409, float %406)
%411 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%412 = load float, ptr %411, align 4
%413 = fmul float 2.000000e+00, %412
%414 = load float, ptr %29, align 4
%415 = call float @llvm.fmuladd.f32(float %413, float %414, float %410)
%416 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%417 = load float, ptr %416, align 4
%418 = fmul float 4.000000e+00, %417
%419 = load float, ptr %31, align 4
%420 = fmul float %418, %419
%421 = load float, ptr %23, align 4
%422 = call float @llvm.fmuladd.f32(float %420, float %421, float %415)
%423 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%424 = load float, ptr %423, align 8
%425 = fmul float 3.000000e+00, %424
%426 = load float, ptr %30, align 4
%427 = fmul float %425, %426
%428 = load float, ptr %34, align 4
%429 = call float @llvm.fmuladd.f32(float %427, float %428, float %422)
%430 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%431 = load float, ptr %430, align 16
%432 = load float, ptr %23, align 4
%433 = call float @llvm.fmuladd.f32(float %431, float %432, float %429)
%434 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%435 = load float, ptr %434, align 4
%436 = fmul float 3.000000e+00, %435
%437 = load float, ptr %30, align 4
%438 = fmul float %436, %437
%439 = load float, ptr %24, align 4
%440 = call float @llvm.fmuladd.f32(float %438, float %439, float %433)
%441 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%442 = load float, ptr %441, align 16
%443 = fmul float 2.000000e+00, %442
%444 = load float, ptr %29, align 4
%445 = fmul float %443, %444
%446 = load float, ptr %23, align 4
%447 = fmul float %445, %446
%448 = load float, ptr %27, align 4
%449 = fmul float %447, %448
%450 = load float, ptr %33, align 4
%451 = call float @llvm.fmuladd.f32(float %449, float %450, float %440)
%452 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%453 = load float, ptr %452, align 4
%454 = fmul float 2.000000e+00, %453
%455 = load float, ptr %29, align 4
%456 = fmul float %454, %455
%457 = load float, ptr %27, align 4
%458 = call float @llvm.fmuladd.f32(float %456, float %457, float %451)
%459 = call float @pow(float noundef %458, i32 noundef 2)
%460 = call float @llvm.fmuladd.f32(float %403, float %459, float %400)
%461 = load float, ptr %22, align 4
%462 = load float, ptr %22, align 4
%463 = fmul float %461, %462
%464 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%465 = load float, ptr %464, align 16
%466 = fadd float 0.000000e+00, %465
%467 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%468 = load float, ptr %467, align 4
%469 = load float, ptr %29, align 4
%470 = call float @llvm.fmuladd.f32(float %468, float %469, float %466)
%471 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%472 = load float, ptr %471, align 8
%473 = fmul float 2.000000e+00, %472
%474 = load float, ptr %33, align 4
%475 = fmul float %473, %474
%476 = load float, ptr %31, align 4
%477 = call float @llvm.fmuladd.f32(float %475, float %476, float %470)
%478 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%479 = load float, ptr %478, align 16
%480 = load float, ptr %23, align 4
%481 = fmul float %479, %480
%482 = load float, ptr %27, align 4
%483 = fmul float %481, %482
%484 = load float, ptr %30, align 4
%485 = call float @llvm.fmuladd.f32(float %483, float %484, float %477)
%486 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%487 = load float, ptr %486, align 8
%488 = fmul float 2.000000e+00, %487
%489 = load float, ptr %33, align 4
%490 = fmul float %488, %489
%491 = load float, ptr %27, align 4
%492 = call float @llvm.fmuladd.f32(float %490, float %491, float %485)
%493 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%494 = load float, ptr %493, align 4
%495 = fmul float 3.000000e+00, %494
%496 = load float, ptr %34, align 4
%497 = call float @llvm.fmuladd.f32(float %495, float %496, float %492)
%498 = call float @pow(float noundef %497, i32 noundef 2)
%499 = call float @llvm.fmuladd.f32(float %463, float %498, float %460)
%500 = call float @sqrt(float noundef %499)
br label %501
501: ; preds = %308, %307
%502 = phi float [ 0.000000e+00, %307 ], [ %500, %308 ]
store float %502, ptr %38, align 4
%503 = load float, ptr %38, align 4
%504 = load ptr, ptr %5, align 8
%505 = getelementptr inbounds float, ptr %504, i64 0
store float %503, ptr %505, align 4
%506 = load float, ptr %36, align 4
ret float %506
}
; 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/tmprtbu4wab.c'
source_filename = "/tmp/tmprtbu4wab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PRIO_PGRP = dso_local global i32 0, align 4
@PRIO_USER = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtbu4wab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PRIO_PGRP = dso_local global i32 0, align 4
@PRIO_USER = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwo9gni2.c'
source_filename = "/tmp/tmprwo9gni2.c"
target datalayout = "e-m:e-p270: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.A = private unnamed_addr constant [11 x i32] [i32 1, i32 1, i32 1, i32 2, i32 3, i32 4, i32 4, i32 4, i32 5, i32 6, i32 1], align 16
@__const.main.B = private unnamed_addr constant [9 x i32] [i32 5, i32 6, i32 6, i32 8, i32 0, i32 1, i32 2, i32 3, i32 4], align 16
@__const.main.C = private unnamed_addr constant [12 x i32] [i32 3, i32 3, i32 4, i32 5, i32 6, i32 0, i32 0, i32 1, i32 1, i32 1, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [13 x i8] c"Index is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [11 x i32], align 16
%7 = alloca [9 x i32], align 16
%8 = alloca [12 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.A, i64 44, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.B, i64 36, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.C, i64 48, i1 false)
%9 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @search(ptr noundef %9, i32 noundef 9, i32 noundef 7)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 0
%13 = call i32 @search(ptr noundef %12, i32 noundef 12, i32 noundef 3)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @search(ptr noundef %15, i32 noundef 12, i32 noundef 7)
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @search(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwo9gni2.c"
target datalayout = "e-m:e-p270: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.A = private unnamed_addr constant [11 x i32] [i32 1, i32 1, i32 1, i32 2, i32 3, i32 4, i32 4, i32 4, i32 5, i32 6, i32 1], align 16
@__const.main.B = private unnamed_addr constant [9 x i32] [i32 5, i32 6, i32 6, i32 8, i32 0, i32 1, i32 2, i32 3, i32 4], align 16
@__const.main.C = private unnamed_addr constant [12 x i32] [i32 3, i32 3, i32 4, i32 5, i32 6, i32 0, i32 0, i32 1, i32 1, i32 1, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [13 x i8] c"Index is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [11 x i32], align 16
%7 = alloca [9 x i32], align 16
%8 = alloca [12 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.A, i64 44, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.B, i64 36, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.C, i64 48, i1 false)
%9 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @search(ptr noundef %9, i32 noundef 9, i32 noundef 7)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 0
%13 = call i32 @search(ptr noundef %12, i32 noundef 12, i32 noundef 3)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @search(ptr noundef %15, i32 noundef 12, i32 noundef 7)
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @search(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf43_f75z.c'
source_filename = "/tmp/tmpf43_f75z.c"
target datalayout = "e-m:e-p270: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/tmpf43_f75z.c"
target datalayout = "e-m:e-p270: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/tmpimc2jg3b.c'
source_filename = "/tmp/tmpimc2jg3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indirect2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @print_string(ptr noundef %3)
ret void
}
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpimc2jg3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indirect2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @print_string(ptr noundef %3)
ret void
}
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8mpz44fn.c'
source_filename = "/tmp/tmp8mpz44fn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\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 [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %67
16: ; preds = %0
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %30, %16
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %33
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = sub nsw i32 %25, 48
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %28
store i32 %26, ptr %29, align 4
br label %30
30: ; preds = %20
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %17, !llvm.loop !6
33: ; preds = %17
%34 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 2
%35 = load i32, ptr %34, align 8
%36 = mul nsw i32 %35, 10
%37 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 3
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %36, %38
store i32 %39, ptr %5, align 4
%40 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 5
%41 = load i32, ptr %40, align 4
%42 = mul nsw i32 %41, 10
%43 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 6
%44 = load i32, ptr %43, align 8
%45 = add nsw i32 %42, %44
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = call i32 @is_month_legit(i32 noundef %46)
%48 = icmp ne i32 %47, 0
br i1 %48, label %56, label %49
49: ; preds = %33
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @is_day_legit(i32 noundef %50, i32 noundef %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %67
56: ; preds = %49, %33
%57 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 9
%58 = load i32, ptr %57, align 4
%59 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%60 = call i32 @last_dig(ptr noundef %59)
%61 = icmp eq i32 %58, %60
br i1 %61, label %62, label %64
62: ; preds = %56
%63 = call i32 @printf(ptr noundef @.str.2)
br label %66
64: ; preds = %56
%65 = call i32 @printf(ptr noundef @.str.1)
br label %66
66: ; preds = %64, %62
store i32 0, ptr %1, align 4
br label %67
67: ; preds = %66, %54, %14
%68 = load i32, ptr %1, align 4
ret i32 %68
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @is_month_legit(i32 noundef) #2
declare i32 @is_day_legit(i32 noundef, i32 noundef) #2
declare i32 @last_dig(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mpz44fn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\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 [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %68
16: ; preds = %0
store i32 0, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %.lr.ph, label %34
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %29
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [12 x i8], ptr %2, i64 0, 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 %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %27
store i32 %25, ptr %28, align 4
br label %29
29: ; preds = %19
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %32, 10
br i1 %33, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %16
%35 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 2
%36 = load i32, ptr %35, align 8
%37 = mul nsw i32 %36, 10
%38 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 3
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %37, %39
store i32 %40, ptr %5, align 4
%41 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 5
%42 = load i32, ptr %41, align 4
%43 = mul nsw i32 %42, 10
%44 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 6
%45 = load i32, ptr %44, align 8
%46 = add nsw i32 %43, %45
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %5, align 4
%48 = call i32 @is_month_legit(i32 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %57, label %50
50: ; preds = %34
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %5, align 4
%53 = call i32 @is_day_legit(i32 noundef %51, i32 noundef %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %57, label %55
55: ; preds = %50
%56 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %68
57: ; preds = %50, %34
%58 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 9
%59 = load i32, ptr %58, align 4
%60 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%61 = call i32 @last_dig(ptr noundef %60)
%62 = icmp eq i32 %59, %61
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 @printf(ptr noundef @.str.2)
br label %67
65: ; preds = %57
%66 = call i32 @printf(ptr noundef @.str.1)
br label %67
67: ; preds = %65, %63
store i32 0, ptr %1, align 4
br label %68
68: ; preds = %67, %55, %14
%69 = load i32, ptr %1, align 4
ret i32 %69
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @is_month_legit(i32 noundef) #2
declare i32 @is_day_legit(i32 noundef, i32 noundef) #2
declare i32 @last_dig(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpspnum1a0.c'
source_filename = "/tmp/tmpspnum1a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_aligned_seqs(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 float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
br label %10
10: ; preds = %40, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
%14 = zext i1 %13 to i32
%15 = load float, ptr %7, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 2
%18 = sitofp i32 %17 to float
%19 = fcmp ogt float %15, %18
%20 = zext i1 %19 to i32
%21 = and i32 %14, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %43
23: ; preds = %10
%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 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %29, %35
br i1 %36, label %37, label %40
37: ; preds = %23
%38 = load float, ptr %7, align 4
%39 = fadd float %38, 1.000000e+00
store float %39, ptr %7, align 4
br label %40
40: ; preds = %37, %23
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %10, !llvm.loop !6
43: ; preds = %10
%44 = load float, ptr %7, align 4
%45 = load i32, ptr %6, align 4
%46 = sitofp i32 %45 to float
%47 = fdiv float %44, %46
store float %47, ptr %7, align 4
%48 = load float, ptr %7, align 4
ret float %48
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpspnum1a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_aligned_seqs(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 float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
%13 = zext i1 %12 to i32
%14 = load float, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 2
%17 = sitofp i32 %16 to float
%18 = fcmp ogt float %14, %17
%19 = zext i1 %18 to i32
%20 = and i32 %13, %19
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph, label %54
.lr.ph: ; preds = %2
br label %22
22: ; preds = %.lr.ph, %39
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %28, %34
br i1 %35, label %36, label %39
36: ; preds = %22
%37 = load float, ptr %7, align 4
%38 = fadd float %37, 1.000000e+00
store float %38, ptr %7, align 4
br label %39
39: ; preds = %36, %22
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
%45 = zext i1 %44 to i32
%46 = load float, ptr %7, align 4
%47 = load i32, ptr %5, align 4
%48 = sub nsw i32 %47, 2
%49 = sitofp i32 %48 to float
%50 = fcmp ogt float %46, %49
%51 = zext i1 %50 to i32
%52 = and i32 %45, %51
%53 = icmp ne i32 %52, 0
br i1 %53, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %54
54: ; preds = %._crit_edge, %2
%55 = load float, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = sitofp i32 %56 to float
%58 = fdiv float %55, %57
store float %58, ptr %7, align 4
%59 = load float, ptr %7, align 4
ret float %59
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc6xpf2fo.c'
source_filename = "/tmp/tmpc6xpf2fo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"My name is Abdullah Alshubaili\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc6xpf2fo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"My name is Abdullah Alshubaili\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8o30vvfs.c'
source_filename = "/tmp/tmp8o30vvfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Introdueix un enter positiu: \00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"\0AT'he dit un enter positiu!!\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0AHas introdu\C3\AFt un %d\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @demanarValor(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1, i32 noundef 100000000)
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %10
}
declare i32 @demanarValor(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8o30vvfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Introdueix un enter positiu: \00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"\0AT'he dit un enter positiu!!\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0AHas introdu\C3\AFt un %d\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @demanarValor(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1, i32 noundef 100000000)
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %10
}
declare i32 @demanarValor(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplzr8fwzn.c'
source_filename = "/tmp/tmplzr8fwzn.c"
target datalayout = "e-m:e-p270: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/tmplzr8fwzn.c"
target datalayout = "e-m:e-p270: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/tmp4pjaxtm4.c'
source_filename = "/tmp/tmp4pjaxtm4.c"
target datalayout = "e-m:e-p270: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.sizes = private unnamed_addr constant [16 x i64] [i64 1, i64 2, i64 7, i64 8, i64 9, i64 15, i64 16, i64 17, i64 31, i64 32, i64 33, i64 63, i64 64, i64 65, i64 1024, i64 2048], align 16
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [16 x i64], align 16
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.sizes, i64 128, i1 false)
store ptr null, ptr %7, align 8
%8 = call ptr @malloc(i64 noundef 4096)
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %2, align 8
store i64 0, ptr @errno, align 8
%14 = load ptr, ptr %2, align 8
%15 = call ptr @memzero(ptr noundef %14, i64 noundef 0)
%16 = load ptr, ptr %2, align 8
%17 = icmp eq ptr %15, %16
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i64, ptr @errno, align 8
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = call i32 @fillrand(ptr noundef %24, i32 noundef 8)
store i64 16, ptr %6, align 8
store i64 0, ptr %4, align 8
br label %26
26: ; preds = %130, %0
%27 = load i64, ptr %4, align 8
%28 = load i64, ptr %6, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %30, label %133
30: ; preds = %26
store i64 0, ptr @errno, align 8
%31 = load i64, ptr %4, align 8
%32 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %31
%33 = load i64, ptr %32, align 8
%34 = call ptr @malloc(i64 noundef %33)
store ptr %34, ptr %2, align 8
%35 = icmp ne ptr %34, null
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
%38 = load i64, ptr @errno, align 8
%39 = icmp eq i64 %38, 0
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 noundef %40)
store i64 0, ptr %5, align 8
br label %42
42: ; preds = %56, %30
%43 = load i64, ptr %5, align 8
%44 = load i64, ptr %4, align 8
%45 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %44
%46 = load i64, ptr %45, align 8
%47 = icmp ult i64 %43, %46
br i1 %47, label %48, label %59
48: ; preds = %42
%49 = load ptr, ptr %7, align 8
%50 = load i64, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %49, i64 %50
%52 = load i8, ptr %51, align 1
%53 = load ptr, ptr %2, align 8
%54 = load i64, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
store i8 %52, ptr %55, align 1
br label %56
56: ; preds = %48
%57 = load i64, ptr %5, align 8
%58 = add i64 %57, 1
store i64 %58, ptr %5, align 8
br label %42, !llvm.loop !6
59: ; preds = %42
%60 = load ptr, ptr %2, align 8
%61 = load i64, ptr %4, align 8
%62 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %61
%63 = load i64, ptr %62, align 8
%64 = call ptr @memzero(ptr noundef %60, i64 noundef %63)
%65 = load i64, ptr %4, align 8
%66 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %65
%67 = load i64, ptr %66, align 8
%68 = icmp ugt i64 %67, 8
br i1 %68, label %69, label %119
69: ; preds = %59
%70 = load ptr, ptr %2, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 1
%72 = load i64, ptr %4, align 8
%73 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %72
%74 = load i64, ptr %73, align 8
%75 = sub i64 %74, 1
%76 = call ptr @memzero(ptr noundef %71, i64 noundef %75)
%77 = load ptr, ptr %2, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 2
%79 = load i64, ptr %4, align 8
%80 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %79
%81 = load i64, ptr %80, align 8
%82 = sub i64 %81, 2
%83 = call ptr @memzero(ptr noundef %78, i64 noundef %82)
%84 = load ptr, ptr %2, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 3
%86 = load i64, ptr %4, align 8
%87 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %86
%88 = load i64, ptr %87, align 8
%89 = sub i64 %88, 3
%90 = call ptr @memzero(ptr noundef %85, i64 noundef %89)
%91 = load ptr, ptr %2, align 8
%92 = getelementptr inbounds i8, ptr %91, i64 4
%93 = load i64, ptr %4, align 8
%94 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %93
%95 = load i64, ptr %94, align 8
%96 = sub i64 %95, 4
%97 = call ptr @memzero(ptr noundef %92, i64 noundef %96)
%98 = load ptr, ptr %2, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 5
%100 = load i64, ptr %4, align 8
%101 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %100
%102 = load i64, ptr %101, align 8
%103 = sub i64 %102, 5
%104 = call ptr @memzero(ptr noundef %99, i64 noundef %103)
%105 = load ptr, ptr %2, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 6
%107 = load i64, ptr %4, align 8
%108 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %107
%109 = load i64, ptr %108, align 8
%110 = sub i64 %109, 6
%111 = call ptr @memzero(ptr noundef %106, i64 noundef %110)
%112 = load ptr, ptr %2, align 8
%113 = getelementptr inbounds i8, ptr %112, i64 7
%114 = load i64, ptr %4, align 8
%115 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %114
%116 = load i64, ptr %115, align 8
%117 = sub i64 %116, 7
%118 = call ptr @memzero(ptr noundef %113, i64 noundef %117)
br label %119
119: ; preds = %69, %59
%120 = load ptr, ptr %2, align 8
%121 = load i64, ptr %4, align 8
%122 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %121
%123 = load i64, ptr %122, align 8
%124 = call i64 @nonzero(ptr noundef %120, i64 noundef %123)
%125 = icmp eq i64 %124, 0
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 noundef %126)
%128 = load ptr, ptr %2, align 8
%129 = call i32 @free(ptr noundef %128)
br label %130
130: ; preds = %119
%131 = load i64, ptr %4, align 8
%132 = add i64 %131, 1
store i64 %132, ptr %4, align 8
br label %26, !llvm.loop !8
133: ; preds = %26
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 ptr @malloc(i64 noundef) #2
declare i32 @assert(i32 noundef) #2
declare ptr @memzero(ptr noundef, i64 noundef) #2
declare i32 @fillrand(ptr noundef, i32 noundef) #2
declare i64 @nonzero(ptr noundef, i64 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pjaxtm4.c"
target datalayout = "e-m:e-p270: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.sizes = private unnamed_addr constant [16 x i64] [i64 1, i64 2, i64 7, i64 8, i64 9, i64 15, i64 16, i64 17, i64 31, i64 32, i64 33, i64 63, i64 64, i64 65, i64 1024, i64 2048], align 16
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [16 x i64], align 16
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.sizes, i64 128, i1 false)
store ptr null, ptr %7, align 8
%8 = call ptr @malloc(i64 noundef 4096)
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %2, align 8
store i64 0, ptr @errno, align 8
%14 = load ptr, ptr %2, align 8
%15 = call ptr @memzero(ptr noundef %14, i64 noundef 0)
%16 = load ptr, ptr %2, align 8
%17 = icmp eq ptr %15, %16
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i64, ptr @errno, align 8
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = call i32 @fillrand(ptr noundef %24, i32 noundef 8)
store i64 16, ptr %6, align 8
store i64 0, ptr %4, align 8
%26 = load i64, ptr %4, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %.lr.ph2, label %139
.lr.ph2: ; preds = %0
br label %29
29: ; preds = %.lr.ph2, %133
store i64 0, ptr @errno, align 8
%30 = load i64, ptr %4, align 8
%31 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %30
%32 = load i64, ptr %31, align 8
%33 = call ptr @malloc(i64 noundef %32)
store ptr %33, ptr %2, align 8
%34 = icmp ne ptr %33, null
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load i64, ptr @errno, align 8
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
store i64 0, ptr %5, align 8
%41 = load i64, ptr %5, align 8
%42 = load i64, ptr %4, align 8
%43 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %42
%44 = load i64, ptr %43, align 8
%45 = icmp ult i64 %41, %44
br i1 %45, label %.lr.ph, label %62
.lr.ph: ; preds = %29
br label %46
46: ; preds = %.lr.ph, %54
%47 = load ptr, ptr %7, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
%50 = load i8, ptr %49, align 1
%51 = load ptr, ptr %2, align 8
%52 = load i64, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store i8 %50, ptr %53, align 1
br label %54
54: ; preds = %46
%55 = load i64, ptr %5, align 8
%56 = add i64 %55, 1
store i64 %56, ptr %5, align 8
%57 = load i64, ptr %5, align 8
%58 = load i64, ptr %4, align 8
%59 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %58
%60 = load i64, ptr %59, align 8
%61 = icmp ult i64 %57, %60
br i1 %61, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %62
62: ; preds = %._crit_edge, %29
%63 = load ptr, ptr %2, align 8
%64 = load i64, ptr %4, align 8
%65 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %64
%66 = load i64, ptr %65, align 8
%67 = call ptr @memzero(ptr noundef %63, i64 noundef %66)
%68 = load i64, ptr %4, align 8
%69 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %68
%70 = load i64, ptr %69, align 8
%71 = icmp ugt i64 %70, 8
br i1 %71, label %72, label %122
72: ; preds = %62
%73 = load ptr, ptr %2, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 1
%75 = load i64, ptr %4, align 8
%76 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %75
%77 = load i64, ptr %76, align 8
%78 = sub i64 %77, 1
%79 = call ptr @memzero(ptr noundef %74, i64 noundef %78)
%80 = load ptr, ptr %2, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 2
%82 = load i64, ptr %4, align 8
%83 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %82
%84 = load i64, ptr %83, align 8
%85 = sub i64 %84, 2
%86 = call ptr @memzero(ptr noundef %81, i64 noundef %85)
%87 = load ptr, ptr %2, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 3
%89 = load i64, ptr %4, align 8
%90 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %89
%91 = load i64, ptr %90, align 8
%92 = sub i64 %91, 3
%93 = call ptr @memzero(ptr noundef %88, i64 noundef %92)
%94 = load ptr, ptr %2, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 4
%96 = load i64, ptr %4, align 8
%97 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %96
%98 = load i64, ptr %97, align 8
%99 = sub i64 %98, 4
%100 = call ptr @memzero(ptr noundef %95, i64 noundef %99)
%101 = load ptr, ptr %2, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 5
%103 = load i64, ptr %4, align 8
%104 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %103
%105 = load i64, ptr %104, align 8
%106 = sub i64 %105, 5
%107 = call ptr @memzero(ptr noundef %102, i64 noundef %106)
%108 = load ptr, ptr %2, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 6
%110 = load i64, ptr %4, align 8
%111 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %110
%112 = load i64, ptr %111, align 8
%113 = sub i64 %112, 6
%114 = call ptr @memzero(ptr noundef %109, i64 noundef %113)
%115 = load ptr, ptr %2, align 8
%116 = getelementptr inbounds i8, ptr %115, i64 7
%117 = load i64, ptr %4, align 8
%118 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %117
%119 = load i64, ptr %118, align 8
%120 = sub i64 %119, 7
%121 = call ptr @memzero(ptr noundef %116, i64 noundef %120)
br label %122
122: ; preds = %72, %62
%123 = load ptr, ptr %2, align 8
%124 = load i64, ptr %4, align 8
%125 = getelementptr inbounds [16 x i64], ptr %3, i64 0, i64 %124
%126 = load i64, ptr %125, align 8
%127 = call i64 @nonzero(ptr noundef %123, i64 noundef %126)
%128 = icmp eq i64 %127, 0
%129 = zext i1 %128 to i32
%130 = call i32 @assert(i32 noundef %129)
%131 = load ptr, ptr %2, align 8
%132 = call i32 @free(ptr noundef %131)
br label %133
133: ; preds = %122
%134 = load i64, ptr %4, align 8
%135 = add i64 %134, 1
store i64 %135, ptr %4, align 8
%136 = load i64, ptr %4, align 8
%137 = load i64, ptr %6, align 8
%138 = icmp ult i64 %136, %137
br i1 %138, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %133
br label %139
139: ; preds = %._crit_edge3, %0
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 ptr @malloc(i64 noundef) #2
declare i32 @assert(i32 noundef) #2
declare ptr @memzero(ptr noundef, i64 noundef) #2
declare i32 @fillrand(ptr noundef, i32 noundef) #2
declare i64 @nonzero(ptr noundef, i64 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqhbv2e_m.c'
source_filename = "/tmp/tmpqhbv2e_m.c"
target datalayout = "e-m:e-p270: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/tmpqhbv2e_m.c"
target datalayout = "e-m:e-p270: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/tmpf8crz98o.c'
source_filename = "/tmp/tmpf8crz98o.c"
target datalayout = "e-m:e-p270: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.list = private unnamed_addr constant [10 x i32] [i32 10, i32 8, i32 6, i32 4, i32 3, i32 5, i32 7, i32 9, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [12 x i8] c"orig list: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"sorted list: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 40, i1 false)
store i32 10, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %3, align 4
%22 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%23 = call i32 @sorting_w_stacks(i32 noundef %21, ptr noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %35, %19
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33)
br label %35
35: ; preds = %29
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %25, !llvm.loop !8
38: ; preds = %25
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @sorting_w_stacks(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/tmpf8crz98o.c"
target datalayout = "e-m:e-p270: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.list = private unnamed_addr constant [10 x i32] [i32 10, i32 8, i32 6, i32 4, i32 3, i32 5, i32 7, i32 9, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [12 x i8] c"orig list: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"sorted list: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 40, i1 false)
store i32 10, ptr %3, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %9
%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 %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%25 = call i32 @sorting_w_stacks(i32 noundef %23, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph2, label %42
.lr.ph2: ; preds = %21
br label %30
30: ; preds = %.lr.ph2, %36
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %21
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @sorting_w_stacks(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/tmp7u6gstvu.c'
source_filename = "/tmp/tmp7u6gstvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7u6gstvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4go6nl7f.c'
source_filename = "/tmp/tmp4go6nl7f.c"
target datalayout = "e-m:e-p270: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.compiler.used = appending global [1 x ptr] [ptr @__Tales_atol], section "llvm.metadata"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define available_externally i64 @__Tales_atol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
ret i64 %4
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4go6nl7f.c"
target datalayout = "e-m:e-p270: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.compiler.used = appending global [1 x ptr] [ptr @__Tales_atol], section "llvm.metadata"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define available_externally i64 @__Tales_atol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
ret i64 %4
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7iiy2zcc.c'
source_filename = "/tmp/tmp7iiy2zcc.c"
target datalayout = "e-m:e-p270: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/tmp7iiy2zcc.c"
target datalayout = "e-m:e-p270: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/tmpftjy4d4j.c'
source_filename = "/tmp/tmpftjy4d4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr %2, align 8
%5 = call i32 @palindrome_check(i64 noundef %4)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @palindrome_check(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpftjy4d4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr %2, align 8
%5 = call i32 @palindrome_check(i64 noundef %4)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @palindrome_check(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp4e7b4a8.c'
source_filename = "/tmp/tmpp4e7b4a8.c"
target datalayout = "e-m:e-p270: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/tmpp4e7b4a8.c"
target datalayout = "e-m:e-p270: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/tmpm4jo29m7.c'
source_filename = "/tmp/tmpm4jo29m7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug.log\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @log_init(ptr noundef @.str, i32 noundef 1)
%7 = call i32 (...) @testSkipList()
%8 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %8
}
declare i32 @log_init(ptr noundef, i32 noundef) #1
declare i32 @testSkipList(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4jo29m7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug.log\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @log_init(ptr noundef @.str, i32 noundef 1)
%7 = call i32 (...) @testSkipList()
%8 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %8
}
declare i32 @log_init(ptr noundef, i32 noundef) #1
declare i32 @testSkipList(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwos6esan.c'
source_filename = "/tmp/tmpwos6esan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strUpper(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %22, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call zeroext i8 @toupper(i8 noundef zeroext %16)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %11
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
ret void
}
declare i32 @strlen(ptr noundef) #1
declare zeroext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwos6esan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strUpper(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %21
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call zeroext i8 @toupper(i8 noundef zeroext %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
br label %21
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
declare zeroext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqzeeia7m.c'
source_filename = "/tmp/tmpqzeeia7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_trunctable_prime(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %60
15: ; preds = %2
%16 = load i32, ptr %5, align 4
%17 = call i32 @nr_of_digits(i32 noundef %16)
store i32 %17, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %35, %15
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %38
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = call i64 @pow(i32 noundef 10, i32 noundef %25)
%27 = trunc i64 %26 to i32
%28 = sdiv i32 %24, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %23, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %22
store i32 0, ptr %3, align 4
br label %60
34: ; preds = %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %18, !llvm.loop !6
38: ; preds = %18
store i32 1, ptr %7, align 4
br label %39
39: ; preds = %56, %38
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %59
43: ; preds = %39
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %7, align 4
%47 = call i64 @pow(i32 noundef 10, i32 noundef %46)
%48 = trunc i64 %47 to i32
%49 = srem i32 %45, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %44, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %43
store i32 0, ptr %3, align 4
br label %60
55: ; preds = %43
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %39, !llvm.loop !8
59: ; preds = %39
store i32 1, ptr %3, align 4
br label %60
60: ; preds = %59, %54, %33, %14
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @nr_of_digits(i32 noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqzeeia7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_trunctable_prime(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %64
15: ; preds = %2
%16 = load i32, ptr %5, align 4
%17 = call i32 @nr_of_digits(i32 noundef %16)
store i32 %17, ptr %6, align 4
store i32 1, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %40
.lr.ph: ; preds = %15
br label %21
21: ; preds = %.lr.ph, %34
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %7, align 4
%25 = call i64 @pow(i32 noundef 10, i32 noundef %24)
%26 = trunc i64 %25 to i32
%27 = sdiv i32 %23, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %22, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %21
store i32 0, ptr %3, align 4
br label %64
33: ; preds = %21
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %15
store i32 1, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %63
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %57
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %7, align 4
%48 = call i64 @pow(i32 noundef 10, i32 noundef %47)
%49 = trunc i64 %48 to i32
%50 = srem i32 %46, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %45, i64 %51
%53 = load i32, ptr %52, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %44
store i32 0, ptr %3, align 4
br label %64
56: ; preds = %44
br label %57
57: ; preds = %56
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %40
store i32 1, ptr %3, align 4
br label %64
64: ; preds = %63, %55, %32, %14
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @nr_of_digits(i32 noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpifmxxn5w.c'
source_filename = "/tmp/tmpifmxxn5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpifmxxn5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw72olhhu.c'
source_filename = "/tmp/tmpw72olhhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"**************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"* Welcome to BBS system! *\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"RW.numberOfAccesses\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Error: can't read %s property.\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"RW.numberOfReaders\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Readers count: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"RW.numberOfWriters\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Writers count: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"RW.server\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Starting RMI registry on %s...\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"/usr/local/bin/bbs_release\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"Executing rmiregistry...\0A\00", align 1
@.str.13 = private unnamed_addr constant [31 x i8] c"CLASSPATH=/usr/local/share/bbs\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"rmiregistry\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"/usr/local/bin/bbs_acquire\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Starting BBS server on %s...\0A\00", align 1
@.str.17 = private unnamed_addr constant [26 x i8] c"/usr/local/bin/bbs_server\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"sleep 15\00", align 1
@.str.19 = private unnamed_addr constant [10 x i8] c"RW.reader\00", align 1
@.str.20 = private unnamed_addr constant [34 x i8] c"Error: can't read %s%d property.\0A\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"SSH reader %d on %s\0A\00", align 1
@.str.22 = private unnamed_addr constant [5 x i8] c"java\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"-classpath\00", align 1
@.str.24 = private unnamed_addr constant [21 x i8] c"/usr/local/share/bbs\00", align 1
@.str.25 = private unnamed_addr constant [7 x i8] c"Reader\00", align 1
@.str.26 = private unnamed_addr constant [10 x i8] c"RW.writer\00", align 1
@.str.27 = private unnamed_addr constant [21 x i8] c"SSH writer %d on %s\0A\00", align 1
@.str.28 = private unnamed_addr constant [7 x i8] c"Writer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [20 x i8], align 16
%8 = alloca [20 x i8], align 16
%9 = alloca [20 x i8], align 16
%10 = alloca [20 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 (...) @read_conf()
%17 = call i32 @get_val_int(ptr noundef @.str.2, i32 noundef -1)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %0
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %144
23: ; preds = %0
%24 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%25 = load i32, ptr %5, align 4
%26 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.4, i32 noundef %25)
%27 = call i32 @get_val_int(ptr noundef @.str.5, i32 noundef -1)
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr @stderr, align 4
%32 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.3, ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %144
33: ; preds = %23
%34 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%35 = load i32, ptr %3, align 4
%36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.4, i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %37)
%39 = call i32 @get_val_int(ptr noundef @.str.7, i32 noundef -1)
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %33
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef @.str.7)
store i32 -1, ptr %1, align 4
br label %144
45: ; preds = %33
%46 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%47 = load i32, ptr %4, align 4
%48 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.4, i32 noundef %47)
%49 = load i32, ptr %4, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %49)
%51 = call ptr @get_val_str(ptr noundef @.str.9, i32 noundef -1)
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %57, label %54
54: ; preds = %45
%55 = load i32, ptr @stderr, align 4
%56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.3, ptr noundef @.str.9)
store i32 -1, ptr %1, align 4
br label %144
57: ; preds = %45
%58 = load ptr, ptr %6, align 8
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %60, ptr noundef @.str.11, ptr noundef null)
%62 = call i64 @wait(ptr noundef null)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%64 = load ptr, ptr %6, align 8
%65 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %64, ptr noundef @.str.13, ptr noundef @.str.14, ptr noundef null)
%66 = load ptr, ptr %6, align 8
%67 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %66, ptr noundef @.str.15, ptr noundef null)
%68 = call i64 @wait(ptr noundef null)
%69 = load ptr, ptr %6, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %69)
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%73 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%74 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%75 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %71, ptr noundef @.str.17, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef null)
%76 = call i32 @system(ptr noundef @.str.18)
store i32 0, ptr %2, align 4
br label %77
77: ; preds = %102, %57
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr %3, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %105
81: ; preds = %77
%82 = load i32, ptr %2, align 4
%83 = call ptr @get_val_str(ptr noundef @.str.19, i32 noundef %82)
store ptr %83, ptr %11, align 8
%84 = load ptr, ptr %11, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %90, label %86
86: ; preds = %81
%87 = load i32, ptr @stderr, align 4
%88 = load i32, ptr %2, align 4
%89 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.20, ptr noundef @.str.19, i32 noundef %88)
store i32 -1, ptr %1, align 4
br label %144
90: ; preds = %81
%91 = load i32, ptr %2, align 4
%92 = load ptr, ptr %11, align 8
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %91, ptr noundef %92)
%94 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%95 = load i32, ptr %2, align 4
%96 = call i32 @sprintf(ptr noundef %94, ptr noundef @.str.4, i32 noundef %95)
%97 = load ptr, ptr %11, align 8
%98 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%99 = load ptr, ptr %6, align 8
%100 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%101 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %97, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef @.str.25, ptr noundef %98, ptr noundef %99, ptr noundef %100, ptr noundef null)
br label %102
102: ; preds = %90
%103 = load i32, ptr %2, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %2, align 4
br label %77, !llvm.loop !6
105: ; preds = %77
store i32 0, ptr %2, align 4
br label %106
106: ; preds = %135, %105
%107 = load i32, ptr %2, align 4
%108 = load i32, ptr %4, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %110, label %138
110: ; preds = %106
%111 = load i32, ptr %2, align 4
%112 = call ptr @get_val_str(ptr noundef @.str.26, i32 noundef %111)
store ptr %112, ptr %12, align 8
%113 = load ptr, ptr %12, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %119, label %115
115: ; preds = %110
%116 = load i32, ptr @stderr, align 4
%117 = load i32, ptr %2, align 4
%118 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.20, ptr noundef @.str.26, i32 noundef %117)
store i32 -1, ptr %1, align 4
br label %144
119: ; preds = %110
%120 = load i32, ptr %2, align 4
%121 = load i32, ptr %3, align 4
%122 = add nsw i32 %120, %121
%123 = load ptr, ptr %12, align 8
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %122, ptr noundef %123)
%125 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%126 = load i32, ptr %2, align 4
%127 = load i32, ptr %3, align 4
%128 = add nsw i32 %126, %127
%129 = call i32 @sprintf(ptr noundef %125, ptr noundef @.str.4, i32 noundef %128)
%130 = load ptr, ptr %12, align 8
%131 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%132 = load ptr, ptr %6, align 8
%133 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%134 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %130, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef @.str.28, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef null)
br label %135
135: ; preds = %119
%136 = load i32, ptr %2, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %2, align 4
br label %106, !llvm.loop !8
138: ; preds = %106
br label %139
139: ; preds = %142, %138
%140 = call i64 @wait(ptr noundef null)
%141 = icmp sgt i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %139
br label %139, !llvm.loop !9
143: ; preds = %139
store i32 0, ptr %1, align 4
br label %144
144: ; preds = %143, %115, %86, %54, %42, %30, %20
%145 = load i32, ptr %1, align 4
ret i32 %145
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_conf(...) #1
declare i32 @get_val_int(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @get_val_str(ptr noundef, i32 noundef) #1
declare i32 @exec_ssh(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw72olhhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"**************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"* Welcome to BBS system! *\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"RW.numberOfAccesses\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Error: can't read %s property.\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"RW.numberOfReaders\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Readers count: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"RW.numberOfWriters\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Writers count: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"RW.server\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Starting RMI registry on %s...\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"/usr/local/bin/bbs_release\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"Executing rmiregistry...\0A\00", align 1
@.str.13 = private unnamed_addr constant [31 x i8] c"CLASSPATH=/usr/local/share/bbs\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"rmiregistry\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"/usr/local/bin/bbs_acquire\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Starting BBS server on %s...\0A\00", align 1
@.str.17 = private unnamed_addr constant [26 x i8] c"/usr/local/bin/bbs_server\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"sleep 15\00", align 1
@.str.19 = private unnamed_addr constant [10 x i8] c"RW.reader\00", align 1
@.str.20 = private unnamed_addr constant [34 x i8] c"Error: can't read %s%d property.\0A\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"SSH reader %d on %s\0A\00", align 1
@.str.22 = private unnamed_addr constant [5 x i8] c"java\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"-classpath\00", align 1
@.str.24 = private unnamed_addr constant [21 x i8] c"/usr/local/share/bbs\00", align 1
@.str.25 = private unnamed_addr constant [7 x i8] c"Reader\00", align 1
@.str.26 = private unnamed_addr constant [10 x i8] c"RW.writer\00", align 1
@.str.27 = private unnamed_addr constant [21 x i8] c"SSH writer %d on %s\0A\00", align 1
@.str.28 = private unnamed_addr constant [7 x i8] c"Writer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [20 x i8], align 16
%8 = alloca [20 x i8], align 16
%9 = alloca [20 x i8], align 16
%10 = alloca [20 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 (...) @read_conf()
%17 = call i32 @get_val_int(ptr noundef @.str.2, i32 noundef -1)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %0
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %147
23: ; preds = %0
%24 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%25 = load i32, ptr %5, align 4
%26 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.4, i32 noundef %25)
%27 = call i32 @get_val_int(ptr noundef @.str.5, i32 noundef -1)
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr @stderr, align 4
%32 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.3, ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %147
33: ; preds = %23
%34 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%35 = load i32, ptr %3, align 4
%36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.4, i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %37)
%39 = call i32 @get_val_int(ptr noundef @.str.7, i32 noundef -1)
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %33
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef @.str.7)
store i32 -1, ptr %1, align 4
br label %147
45: ; preds = %33
%46 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%47 = load i32, ptr %4, align 4
%48 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.4, i32 noundef %47)
%49 = load i32, ptr %4, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %49)
%51 = call ptr @get_val_str(ptr noundef @.str.9, i32 noundef -1)
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %57, label %54
54: ; preds = %45
%55 = load i32, ptr @stderr, align 4
%56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.3, ptr noundef @.str.9)
store i32 -1, ptr %1, align 4
br label %147
57: ; preds = %45
%58 = load ptr, ptr %6, align 8
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %60, ptr noundef @.str.11, ptr noundef null)
%62 = call i64 @wait(ptr noundef null)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%64 = load ptr, ptr %6, align 8
%65 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %64, ptr noundef @.str.13, ptr noundef @.str.14, ptr noundef null)
%66 = load ptr, ptr %6, align 8
%67 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %66, ptr noundef @.str.15, ptr noundef null)
%68 = call i64 @wait(ptr noundef null)
%69 = load ptr, ptr %6, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %69)
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%73 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%74 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%75 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %71, ptr noundef @.str.17, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef null)
%76 = call i32 @system(ptr noundef @.str.18)
store i32 0, ptr %2, align 4
%77 = load i32, ptr %2, align 4
%78 = load i32, ptr %3, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %.lr.ph, label %107
.lr.ph: ; preds = %57
br label %80
80: ; preds = %.lr.ph, %101
%81 = load i32, ptr %2, align 4
%82 = call ptr @get_val_str(ptr noundef @.str.19, i32 noundef %81)
store ptr %82, ptr %11, align 8
%83 = load ptr, ptr %11, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %89, label %85
85: ; preds = %80
%86 = load i32, ptr @stderr, align 4
%87 = load i32, ptr %2, align 4
%88 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.20, ptr noundef @.str.19, i32 noundef %87)
store i32 -1, ptr %1, align 4
br label %147
89: ; preds = %80
%90 = load i32, ptr %2, align 4
%91 = load ptr, ptr %11, align 8
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %90, ptr noundef %91)
%93 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%94 = load i32, ptr %2, align 4
%95 = call i32 @sprintf(ptr noundef %93, ptr noundef @.str.4, i32 noundef %94)
%96 = load ptr, ptr %11, align 8
%97 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%98 = load ptr, ptr %6, align 8
%99 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%100 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %96, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef @.str.25, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef null)
br label %101
101: ; preds = %89
%102 = load i32, ptr %2, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %2, align 4
%104 = load i32, ptr %2, align 4
%105 = load i32, ptr %3, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %80, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %107
107: ; preds = %._crit_edge, %57
store i32 0, ptr %2, align 4
%108 = load i32, ptr %2, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %.lr.ph2, label %142
.lr.ph2: ; preds = %107
br label %111
111: ; preds = %.lr.ph2, %136
%112 = load i32, ptr %2, align 4
%113 = call ptr @get_val_str(ptr noundef @.str.26, i32 noundef %112)
store ptr %113, ptr %12, align 8
%114 = load ptr, ptr %12, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %120, label %116
116: ; preds = %111
%117 = load i32, ptr @stderr, align 4
%118 = load i32, ptr %2, align 4
%119 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.20, ptr noundef @.str.26, i32 noundef %118)
store i32 -1, ptr %1, align 4
br label %147
120: ; preds = %111
%121 = load i32, ptr %2, align 4
%122 = load i32, ptr %3, align 4
%123 = add nsw i32 %121, %122
%124 = load ptr, ptr %12, align 8
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %123, ptr noundef %124)
%126 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%127 = load i32, ptr %2, align 4
%128 = load i32, ptr %3, align 4
%129 = add nsw i32 %127, %128
%130 = call i32 @sprintf(ptr noundef %126, ptr noundef @.str.4, i32 noundef %129)
%131 = load ptr, ptr %12, align 8
%132 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%133 = load ptr, ptr %6, align 8
%134 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0
%135 = call i32 (ptr, ptr, ptr, ...) @exec_ssh(ptr noundef %131, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef @.str.28, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef null)
br label %136
136: ; preds = %120
%137 = load i32, ptr %2, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %2, align 4
%139 = load i32, ptr %2, align 4
%140 = load i32, ptr %4, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %111, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %136
br label %142
142: ; preds = %._crit_edge3, %107
br label %143
143: ; preds = %143, %142
%144 = call i64 @wait(ptr noundef null)
%145 = icmp sgt i64 %144, 0
br i1 %145, label %143, label %146, !llvm.loop !9
146: ; preds = %143
store i32 0, ptr %1, align 4
br label %147
147: ; preds = %146, %116, %85, %54, %42, %30, %20
%148 = load i32, ptr %1, align 4
ret i32 %148
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_conf(...) #1
declare i32 @get_val_int(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @get_val_str(ptr noundef, i32 noundef) #1
declare i32 @exec_ssh(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmph9u3ysge.c'
source_filename = "/tmp/tmph9u3ysge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [27 x i8] c"failed: %s does not exist\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"test-\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\0A%d of %d failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"%d succeeded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @runtests(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %4, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %66
19: ; preds = %2
br label %20
20: ; preds = %51, %19
%21 = load ptr, ptr %7, align 8
%22 = call ptr @readdir(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %52
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
store ptr %27, ptr %10, align 8
%28 = call i32 @rmtempdir(ptr noundef @.str.1, i32 noundef 0)
%29 = load ptr, ptr %10, align 8
%30 = call i64 @startswith(ptr noundef %29, ptr noundef @.str.2)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %51
32: ; preds = %24
%33 = load ptr, ptr %10, align 8
%34 = call i32 @endswith(ptr noundef %33, ptr noundef @.str.3)
%35 = icmp ne i32 %34, 0
br i1 %35, label %51, label %36
36: ; preds = %32
%37 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %10, align 8
%40 = call i32 @sprintf(ptr noundef %37, ptr noundef @.str.4, ptr noundef %38, ptr noundef %39)
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%44 = load ptr, ptr %5, align 8
%45 = call i64 @runtest(ptr noundef %43, ptr noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %36
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
br label %50
50: ; preds = %47, %36
br label %51
51: ; preds = %50, %32, %24
br label %20, !llvm.loop !6
52: ; preds = %20
%53 = load ptr, ptr %7, align 8
%54 = call i32 @closedir(ptr noundef %53)
%55 = load i32, ptr %9, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %52
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %8, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %58, i32 noundef %59)
br label %64
61: ; preds = %52
%62 = load i32, ptr %8, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %62)
br label %64
64: ; preds = %61, %57
%65 = load i32, ptr %9, align 4
store i32 %65, ptr %3, align 4
br label %66
66: ; preds = %64, %16
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @rmtempdir(ptr noundef, i32 noundef) #1
declare i64 @startswith(ptr noundef, ptr noundef) #1
declare i32 @endswith(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @runtest(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmph9u3ysge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [27 x i8] c"failed: %s does not exist\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"test-\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\0A%d of %d failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"%d succeeded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @runtests(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %4, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %68
19: ; preds = %2
%20 = load ptr, ptr %7, align 8
%21 = call ptr @readdir(ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %.lr.ph, label %54
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %50
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %10, align 8
%27 = call i32 @rmtempdir(ptr noundef @.str.1, i32 noundef 0)
%28 = load ptr, ptr %10, align 8
%29 = call i64 @startswith(ptr noundef %28, ptr noundef @.str.2)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %50
31: ; preds = %23
%32 = load ptr, ptr %10, align 8
%33 = call i32 @endswith(ptr noundef %32, ptr noundef @.str.3)
%34 = icmp ne i32 %33, 0
br i1 %34, label %50, label %35
35: ; preds = %31
%36 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.4, ptr noundef %37, ptr noundef %38)
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%43 = load ptr, ptr %5, align 8
%44 = call i64 @runtest(ptr noundef %42, ptr noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %35
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
br label %49
49: ; preds = %46, %35
br label %50
50: ; preds = %49, %31, %23
%51 = load ptr, ptr %7, align 8
%52 = call ptr @readdir(ptr noundef %51)
store ptr %52, ptr %6, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %54
54: ; preds = %._crit_edge, %19
%55 = load ptr, ptr %7, align 8
%56 = call i32 @closedir(ptr noundef %55)
%57 = load i32, ptr %9, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %54
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %8, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %60, i32 noundef %61)
br label %66
63: ; preds = %54
%64 = load i32, ptr %8, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %64)
br label %66
66: ; preds = %63, %59
%67 = load i32, ptr %9, align 4
store i32 %67, ptr %3, align 4
br label %68
68: ; preds = %66, %16
%69 = load i32, ptr %3, align 4
ret i32 %69
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @rmtempdir(ptr noundef, i32 noundef) #1
declare i64 @startswith(ptr noundef, ptr noundef) #1
declare i32 @endswith(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @runtest(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4znxcyzn.c'
source_filename = "/tmp/tmp4znxcyzn.c"
target datalayout = "e-m:e-p270: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/tmp4znxcyzn.c"
target datalayout = "e-m:e-p270: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/tmpqlo4qyjj.c'
source_filename = "/tmp/tmpqlo4qyjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_spikes(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%18 = load i32, ptr %13, align 4
%19 = load i32, ptr %14, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %15, align 4
store i32 0, ptr %16, align 4
br label %21
21: ; preds = %62, %7
%22 = load i32, ptr %16, align 4
%23 = load i32, ptr %12, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %65
25: ; preds = %21
%26 = load ptr, ptr %11, align 8
%27 = load i32, ptr %16, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %17, align 4
%31 = load i32, ptr %17, align 4
%32 = load i32, ptr %13, align 4
%33 = sub nsw i32 %31, %32
%34 = icmp slt i32 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %25
%36 = load i32, ptr %17, align 4
%37 = load i32, ptr %14, align 4
%38 = add nsw i32 %36, %37
%39 = load i32, ptr %10, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %35, %25
br label %62
42: ; preds = %35
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %16, align 4
%45 = load i32, ptr %15, align 4
%46 = mul nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %43, i64 %47
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %17, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = sub i64 0, %54
%56 = getelementptr inbounds double, ptr %52, i64 %55
%57 = load i32, ptr %15, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call i32 @memcpy(ptr noundef %48, ptr noundef %56, i32 noundef %60)
br label %62
62: ; preds = %42, %41
%63 = load i32, ptr %16, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %16, align 4
br label %21, !llvm.loop !6
65: ; preds = %21
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqlo4qyjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_spikes(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%18 = load i32, ptr %13, align 4
%19 = load i32, ptr %14, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %15, align 4
store i32 0, ptr %16, align 4
%21 = load i32, ptr %16, align 4
%22 = load i32, ptr %12, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %67
.lr.ph: ; preds = %7
br label %24
24: ; preds = %.lr.ph, %61
%25 = load ptr, ptr %11, align 8
%26 = load i32, ptr %16, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %17, align 4
%30 = load i32, ptr %17, align 4
%31 = load i32, ptr %13, align 4
%32 = sub nsw i32 %30, %31
%33 = icmp slt i32 %32, 0
br i1 %33, label %40, label %34
34: ; preds = %24
%35 = load i32, ptr %17, align 4
%36 = load i32, ptr %14, align 4
%37 = add nsw i32 %35, %36
%38 = load i32, ptr %10, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %34, %24
br label %61
41: ; preds = %34
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %16, align 4
%44 = load i32, ptr %15, align 4
%45 = mul nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %17, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = sub i64 0, %53
%55 = getelementptr inbounds double, ptr %51, i64 %54
%56 = load i32, ptr %15, align 4
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 8
%59 = trunc i64 %58 to i32
%60 = call i32 @memcpy(ptr noundef %47, ptr noundef %55, i32 noundef %59)
br label %61
61: ; preds = %41, %40
%62 = load i32, ptr %16, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %16, align 4
%64 = load i32, ptr %16, align 4
%65 = load i32, ptr %12, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %67
67: ; preds = %._crit_edge, %7
ret void
}
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"}
|
; ModuleID = '/tmp/tmpksjcde03.c'
source_filename = "/tmp/tmpksjcde03.c"
target datalayout = "e-m:e-p270: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/tmpksjcde03.c"
target datalayout = "e-m:e-p270: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/tmp8oemstc4.c'
source_filename = "/tmp/tmp8oemstc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: hot noinline nounwind sspstrong uwtable
define dso_local i32 @fn1() #0 {
%1 = call i32 (...) @dispatch()
ret i32 %1
}
declare i32 @dispatch(...) #1
attributes #0 = { hot noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8oemstc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: hot noinline nounwind sspstrong uwtable
define dso_local i32 @fn1() #0 {
%1 = call i32 (...) @dispatch()
ret i32 %1
}
declare i32 @dispatch(...) #1
attributes #0 = { hot noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbujvs0or.c'
source_filename = "/tmp/tmpbujvs0or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"malloc failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strpack(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = add nsw i32 %14, 1
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load ptr, ptr %11, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %3
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str)
br label %77
26: ; preds = %3
%27 = load ptr, ptr %11, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i32, ptr %10, align 4
%33 = call i32 @strncpy(ptr noundef %27, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i32, ptr %10, align 4
%39 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef %38)
store i32 0, ptr %7, align 4
br label %40
40: ; preds = %48, %26
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 32
br i1 %47, label %48, label %51
48: ; preds = %40
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
br label %40, !llvm.loop !6
51: ; preds = %40
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %8, align 4
br label %53
53: ; preds = %71, %51
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %10, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %74
57: ; preds = %53
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %63, i64 %67
store i8 %62, ptr %68, align 1
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
br label %71
71: ; preds = %57
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
br label %53, !llvm.loop !8
74: ; preds = %53
%75 = load ptr, ptr %11, align 8
%76 = call i32 @free(ptr noundef %75)
br label %77
77: ; preds = %74, %23
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbujvs0or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"malloc failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strpack(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = add nsw i32 %14, 1
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load ptr, ptr %11, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %3
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str)
br label %85
26: ; preds = %3
%27 = load ptr, ptr %11, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i32, ptr %10, align 4
%33 = call i32 @strncpy(ptr noundef %27, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i32, ptr %10, align 4
%39 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef %38)
store i32 0, ptr %7, align 4
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 32
br i1 %46, label %.lr.ph, label %57
.lr.ph: ; preds = %26
br label %47
47: ; preds = %.lr.ph, %47
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
%50 = load ptr, ptr %11, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 32
br i1 %56, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %57
57: ; preds = %._crit_edge, %26
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%58 = load i32, ptr %7, align 4
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph2, label %82
.lr.ph2: ; preds = %57
br label %62
62: ; preds = %.lr.ph2, %76
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %5, align 4
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
store i8 %67, ptr %73, align 1
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
br label %76
76: ; preds = %62
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %10, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %57
%83 = load ptr, ptr %11, align 8
%84 = call i32 @free(ptr noundef %83)
br label %85
85: ; preds = %82, %23
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpubakk4v2.c'
source_filename = "/tmp/tmpubakk4v2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ralloc_strdup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %27
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %6, align 8
%16 = add i64 %15, 1
%17 = call i64 @ralloc_array_size(ptr noundef %14, i32 noundef 1, i64 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %6, align 8
%22 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %7, align 8
store ptr %26, ptr %3, align 8
br label %27
27: ; preds = %11, %10
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i64 @strlen(ptr noundef) #1
declare i64 @ralloc_array_size(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpubakk4v2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ralloc_strdup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %27
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %6, align 8
%16 = add i64 %15, 1
%17 = call i64 @ralloc_array_size(ptr noundef %14, i32 noundef 1, i64 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %6, align 8
%22 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %7, align 8
store ptr %26, ptr %3, align 8
br label %27
27: ; preds = %11, %10
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i64 @strlen(ptr noundef) #1
declare i64 @ralloc_array_size(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc1pplyx6.c'
source_filename = "/tmp/tmpc1pplyx6.c"
target datalayout = "e-m:e-p270: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/tmpc1pplyx6.c"
target datalayout = "e-m:e-p270: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/tmpqs3_llyj.c'
source_filename = "/tmp/tmpqs3_llyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You need to enter some arguments!\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Here are your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"You entered too many arguments.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %39
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %36
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %36
18: ; preds = %15
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %7, align 4
br label %20
20: ; preds = %31, %18
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %34
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29)
br label %31
31: ; preds = %24
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %38
36: ; preds = %15, %12
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %38
38: ; preds = %36, %34
br label %39
39: ; preds = %38, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqs3_llyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You need to enter some arguments!\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Here are your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"You entered too many arguments.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %41
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %38
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %38
18: ; preds = %15
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %36
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %30
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %23
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %18
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %40
38: ; preds = %15, %12
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %40
40: ; preds = %38, %36
br label %41
41: ; preds = %40, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb4d_d6g_.c'
source_filename = "/tmp/tmpb4d_d6g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Crawlers\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_crawler(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [13 x i8], align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9, %1
store i32 0, ptr %2, align 4
br label %33
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = call ptr @xstrdup(ptr noundef %16)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%20 = call ptr @verify_browser(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = call i32 @free(ptr noundef %23)
br label %25
25: ; preds = %22, %15
%26 = load ptr, ptr %6, align 8
%27 = call i32 @free(ptr noundef %26)
%28 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str)
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i64
%32 = select i1 %30, i32 1, i32 0
store i32 %32, ptr %2, align 4
br label %33
33: ; preds = %25, %14
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare ptr @xstrdup(ptr noundef) #1
declare ptr @verify_browser(ptr noundef, ptr noundef) #1
declare i32 @free(ptr 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/tmpb4d_d6g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Crawlers\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_crawler(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [13 x i8], align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9, %1
store i32 0, ptr %2, align 4
br label %33
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = call ptr @xstrdup(ptr noundef %16)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%20 = call ptr @verify_browser(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = call i32 @free(ptr noundef %23)
br label %25
25: ; preds = %22, %15
%26 = load ptr, ptr %6, align 8
%27 = call i32 @free(ptr noundef %26)
%28 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str)
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i64
%32 = select i1 %30, i32 1, i32 0
store i32 %32, ptr %2, align 4
br label %33
33: ; preds = %25, %14
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare ptr @xstrdup(ptr noundef) #1
declare ptr @verify_browser(ptr noundef, ptr noundef) #1
declare i32 @free(ptr 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/tmpzp5elqu7.c'
source_filename = "/tmp/tmpzp5elqu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswgraph_l(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @iswgraph(i32 noundef %5)
ret i32 %6
}
declare i32 @iswgraph(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/tmpzp5elqu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswgraph_l(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @iswgraph(i32 noundef %5)
ret i32 %6
}
declare i32 @iswgraph(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/tmpakxiet62.c'
source_filename = "/tmp/tmpakxiet62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"receive a SIGUSR1!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGUSR1, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpakxiet62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"receive a SIGUSR1!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGUSR1, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp15bkqifp.c'
source_filename = "/tmp/tmp15bkqifp.c"
target datalayout = "e-m:e-p270: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.myglInit.light0_position = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 2.000000e-01, double 1.000000e+00, double 0.000000e+00], align 16
@__const.myglInit.light1_position = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.light1_diffuse = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.light1_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.lm_ambient = private unnamed_addr constant [4 x double] [double 2.000000e-01, double 2.000000e-01, double 2.000000e-01, double 1.000000e+00], align 16
@GL_NORMALIZE = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_LIGHT1 = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_LINEAR_ATTENUATION = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myglInit() #0 {
%1 = alloca [4 x double], align 16
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.myglInit.light0_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myglInit.light1_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myglInit.light1_diffuse, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.myglInit.light1_specular, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myglInit.lm_ambient, i64 32, i1 false)
%6 = load i32, ptr @GL_NORMALIZE, align 4
%7 = call i32 @glEnable(i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr @GL_MODELVIEW, align 4
%12 = call i32 @glMatrixMode(i32 noundef %11)
%13 = call i32 (...) @glLoadIdentity()
%14 = load i32, ptr @GL_LIGHT0, align 4
%15 = load i32, ptr @GL_POSITION, align 4
%16 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0
%17 = call i32 @glLightfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @GL_LIGHT1, align 4
%19 = load i32, ptr @GL_POSITION, align 4
%20 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%21 = call i32 @glLightfv(i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = load i32, ptr @GL_LIGHT1, align 4
%23 = load i32, ptr @GL_DIFFUSE, align 4
%24 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%25 = call i32 @glLightfv(i32 noundef %22, i32 noundef %23, ptr noundef %24)
%26 = load i32, ptr @GL_LIGHT1, align 4
%27 = load i32, ptr @GL_SPECULAR, align 4
%28 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%29 = call i32 @glLightfv(i32 noundef %26, i32 noundef %27, ptr noundef %28)
%30 = load i32, ptr @GL_LIGHT1, align 4
%31 = load i32, ptr @GL_LINEAR_ATTENUATION, align 4
%32 = call i32 @glLightf(i32 noundef %30, i32 noundef %31, double noundef 2.000000e-01)
%33 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%34 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%35 = call i32 @glLightModelfv(i32 noundef %33, ptr noundef %34)
%36 = load i32, ptr @GL_LIGHTING, align 4
%37 = call i32 @glEnable(i32 noundef %36)
%38 = load i32, ptr @GL_LIGHT0, align 4
%39 = call i32 @glEnable(i32 noundef %38)
%40 = load i32, ptr @GL_LIGHT1, align 4
%41 = call i32 @glEnable(i32 noundef %40)
%42 = load i32, ptr @GL_LESS, align 4
%43 = call i32 @glDepthFunc(i32 noundef %42)
%44 = load i32, ptr @GL_DEPTH_TEST, align 4
%45 = call i32 @glEnable(i32 noundef %44)
%46 = call i32 (...) @glFlush()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @glEnable(i32 noundef) #2
declare i32 @glMatrixMode(i32 noundef) #2
declare i32 @glLoadIdentity(...) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightf(i32 noundef, i32 noundef, double noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glDepthFunc(i32 noundef) #2
declare i32 @glFlush(...) #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/tmp15bkqifp.c"
target datalayout = "e-m:e-p270: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.myglInit.light0_position = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 2.000000e-01, double 1.000000e+00, double 0.000000e+00], align 16
@__const.myglInit.light1_position = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.light1_diffuse = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.light1_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myglInit.lm_ambient = private unnamed_addr constant [4 x double] [double 2.000000e-01, double 2.000000e-01, double 2.000000e-01, double 1.000000e+00], align 16
@GL_NORMALIZE = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_LIGHT1 = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_LINEAR_ATTENUATION = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myglInit() #0 {
%1 = alloca [4 x double], align 16
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.myglInit.light0_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myglInit.light1_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myglInit.light1_diffuse, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.myglInit.light1_specular, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myglInit.lm_ambient, i64 32, i1 false)
%6 = load i32, ptr @GL_NORMALIZE, align 4
%7 = call i32 @glEnable(i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr @GL_MODELVIEW, align 4
%12 = call i32 @glMatrixMode(i32 noundef %11)
%13 = call i32 (...) @glLoadIdentity()
%14 = load i32, ptr @GL_LIGHT0, align 4
%15 = load i32, ptr @GL_POSITION, align 4
%16 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0
%17 = call i32 @glLightfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = load i32, ptr @GL_LIGHT1, align 4
%19 = load i32, ptr @GL_POSITION, align 4
%20 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%21 = call i32 @glLightfv(i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = load i32, ptr @GL_LIGHT1, align 4
%23 = load i32, ptr @GL_DIFFUSE, align 4
%24 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%25 = call i32 @glLightfv(i32 noundef %22, i32 noundef %23, ptr noundef %24)
%26 = load i32, ptr @GL_LIGHT1, align 4
%27 = load i32, ptr @GL_SPECULAR, align 4
%28 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%29 = call i32 @glLightfv(i32 noundef %26, i32 noundef %27, ptr noundef %28)
%30 = load i32, ptr @GL_LIGHT1, align 4
%31 = load i32, ptr @GL_LINEAR_ATTENUATION, align 4
%32 = call i32 @glLightf(i32 noundef %30, i32 noundef %31, double noundef 2.000000e-01)
%33 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%34 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%35 = call i32 @glLightModelfv(i32 noundef %33, ptr noundef %34)
%36 = load i32, ptr @GL_LIGHTING, align 4
%37 = call i32 @glEnable(i32 noundef %36)
%38 = load i32, ptr @GL_LIGHT0, align 4
%39 = call i32 @glEnable(i32 noundef %38)
%40 = load i32, ptr @GL_LIGHT1, align 4
%41 = call i32 @glEnable(i32 noundef %40)
%42 = load i32, ptr @GL_LESS, align 4
%43 = call i32 @glDepthFunc(i32 noundef %42)
%44 = load i32, ptr @GL_DEPTH_TEST, align 4
%45 = call i32 @glEnable(i32 noundef %44)
%46 = call i32 (...) @glFlush()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @glEnable(i32 noundef) #2
declare i32 @glMatrixMode(i32 noundef) #2
declare i32 @glLoadIdentity(...) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightf(i32 noundef, i32 noundef, double noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glDepthFunc(i32 noundef) #2
declare i32 @glFlush(...) #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/tmp2qdrl87r.c'
source_filename = "/tmp/tmp2qdrl87r.c"
target datalayout = "e-m:e-p270: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/tmp2qdrl87r.c"
target datalayout = "e-m:e-p270: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/tmpsimh45n4.c'
source_filename = "/tmp/tmpsimh45n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @abs_dollar(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @abs_float(double noundef %3)
%5 = call double @round_float(i32 noundef %4)
ret double %5
}
declare double @round_float(i32 noundef) #1
declare i32 @abs_float(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsimh45n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @abs_dollar(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @abs_float(double noundef %3)
%5 = call double @round_float(i32 noundef %4)
ret double %5
}
declare double @round_float(i32 noundef) #1
declare i32 @abs_float(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.