llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpuyd4lxen.c'
source_filename = "/tmp/tmpuyd4lxen.c"
target datalayout = "e-m:e-p270: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/tmpuyd4lxen.c"
target datalayout = "e-m:e-p270: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/tmp2w6zlaut.c'
source_filename = "/tmp/tmp2w6zlaut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xkey_y(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2w6zlaut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xkey_y(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm87oqaws.c'
source_filename = "/tmp/tmpm87oqaws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_game() #0 {
%1 = call i32 (...) @init_board()
%2 = call i32 (...) @start_game()
ret void
}
declare i32 @init_board(...) #1
declare i32 @start_game(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm87oqaws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_game() #0 {
%1 = call i32 (...) @init_board()
%2 = call i32 (...) @start_game()
ret void
}
declare i32 @init_board(...) #1
declare i32 @start_game(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp15si4di8.c'
source_filename = "/tmp/tmp15si4di8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TRUE\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"FALSE\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 [100 x i8], align 16
%7 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false)
%8 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 0
store i8 67, ptr %8, align 16
%9 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 1
store i8 65, ptr %9, align 1
%10 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 2
store i8 84, ptr %10, align 2
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%11 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 99, ptr %11, align 16
%12 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 1
store i8 97, ptr %12, align 1
%13 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 2
store i8 116, ptr %13, align 2
%14 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%16 = call i64 @equalIgnoringCase(ptr noundef %14, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @printf(ptr noundef @.str)
br label %22
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %18
%23 = phi i32 [ %19, %18 ], [ %21, %20 ]
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @equalIgnoringCase(ptr noundef, ptr 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: 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/tmp15si4di8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TRUE\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"FALSE\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 [100 x i8], align 16
%7 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false)
%8 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 0
store i8 67, ptr %8, align 16
%9 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 1
store i8 65, ptr %9, align 1
%10 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 2
store i8 84, ptr %10, align 2
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%11 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 99, ptr %11, align 16
%12 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 1
store i8 97, ptr %12, align 1
%13 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 2
store i8 116, ptr %13, align 2
%14 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%16 = call i64 @equalIgnoringCase(ptr noundef %14, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @printf(ptr noundef @.str)
br label %22
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %18
%23 = phi i32 [ %19, %18 ], [ %21, %20 ]
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @equalIgnoringCase(ptr noundef, ptr 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: 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/tmpn_ectbxa.c'
source_filename = "/tmp/tmpn_ectbxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn_ectbxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7zo7p61.c'
source_filename = "/tmp/tmpg7zo7p61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.17g,%e,%e,%e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errorTestCase(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load double, ptr %5, align 8
%13 = call double @era_sinh(double noundef %12)
store double %13, ptr %9, align 8
%14 = load double, ptr %5, align 8
%15 = call double @sinh(double noundef %14) #3
store double %15, ptr %10, align 8
%16 = load double, ptr %9, align 8
%17 = load double, ptr %10, align 8
%18 = fdiv double %16, %17
%19 = fsub double 1.000000e+00, %18
store double %19, ptr %11, align 8
%20 = load double, ptr %11, align 8
%21 = load ptr, ptr %6, align 8
%22 = load double, ptr %21, align 8
%23 = fcmp ogt double %20, %22
br i1 %23, label %24, label %29
24: ; preds = %4
%25 = load double, ptr %11, align 8
%26 = load ptr, ptr %6, align 8
store double %25, ptr %26, align 8
%27 = load double, ptr %5, align 8
%28 = load ptr, ptr %7, align 8
store double %27, ptr %28, align 8
br label %29
29: ; preds = %24, %4
%30 = load ptr, ptr %8, align 8
%31 = load double, ptr %5, align 8
%32 = load double, ptr %9, align 8
%33 = load double, ptr %10, align 8
%34 = load double, ptr %11, align 8
%35 = call i32 @fprintf(ptr noundef %30, ptr noundef @.str, double noundef %31, double noundef %32, double noundef %33, double noundef %34)
ret void
}
declare double @era_sinh(double noundef) #1
; Function Attrs: nounwind
declare double @sinh(double noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7zo7p61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.17g,%e,%e,%e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errorTestCase(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load double, ptr %5, align 8
%13 = call double @era_sinh(double noundef %12)
store double %13, ptr %9, align 8
%14 = load double, ptr %5, align 8
%15 = call double @sinh(double noundef %14) #3
store double %15, ptr %10, align 8
%16 = load double, ptr %9, align 8
%17 = load double, ptr %10, align 8
%18 = fdiv double %16, %17
%19 = fsub double 1.000000e+00, %18
store double %19, ptr %11, align 8
%20 = load double, ptr %11, align 8
%21 = load ptr, ptr %6, align 8
%22 = load double, ptr %21, align 8
%23 = fcmp ogt double %20, %22
br i1 %23, label %24, label %29
24: ; preds = %4
%25 = load double, ptr %11, align 8
%26 = load ptr, ptr %6, align 8
store double %25, ptr %26, align 8
%27 = load double, ptr %5, align 8
%28 = load ptr, ptr %7, align 8
store double %27, ptr %28, align 8
br label %29
29: ; preds = %24, %4
%30 = load ptr, ptr %8, align 8
%31 = load double, ptr %5, align 8
%32 = load double, ptr %9, align 8
%33 = load double, ptr %10, align 8
%34 = load double, ptr %11, align 8
%35 = call i32 @fprintf(ptr noundef %30, ptr noundef @.str, double noundef %31, double noundef %32, double noundef %33, double noundef %34)
ret void
}
declare double @era_sinh(double noundef) #1
; Function Attrs: nounwind
declare double @sinh(double noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgxqdihyd.c'
source_filename = "/tmp/tmpgxqdihyd.c"
target datalayout = "e-m:e-p270: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/tmpgxqdihyd.c"
target datalayout = "e-m:e-p270: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/tmpo00vnpav.c'
source_filename = "/tmp/tmpo00vnpav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tp_scheme_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 58)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = ptrtoint ptr %9 to i64
%12 = ptrtoint ptr %10 to i64
%13 = sub i64 %11, %12
br label %15
14: ; preds = %1
br label %15
15: ; preds = %14, %8
%16 = phi i64 [ %13, %8 ], [ 0, %14 ]
%17 = trunc i64 %16 to i32
ret i32 %17
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo00vnpav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tp_scheme_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 58)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = ptrtoint ptr %9 to i64
%12 = ptrtoint ptr %10 to i64
%13 = sub i64 %11, %12
br label %15
14: ; preds = %1
br label %15
15: ; preds = %14, %8
%16 = phi i64 [ %13, %8 ], [ 0, %14 ]
%17 = trunc i64 %16 to i32
ret i32 %17
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp58hy5udf.c'
source_filename = "/tmp/tmp58hy5udf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_CIPHER_CTX_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @EVP_CIPHER_CTX_cleanup(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @OPENSSL_free(ptr noundef %8)
br label %10
10: ; preds = %5, %1
ret void
}
declare i32 @EVP_CIPHER_CTX_cleanup(ptr noundef) #1
declare i32 @OPENSSL_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/tmp58hy5udf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_CIPHER_CTX_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @EVP_CIPHER_CTX_cleanup(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @OPENSSL_free(ptr noundef %8)
br label %10
10: ; preds = %5, %1
ret void
}
declare i32 @EVP_CIPHER_CTX_cleanup(ptr noundef) #1
declare i32 @OPENSSL_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/tmp7nc4x5nt.c'
source_filename = "/tmp/tmp7nc4x5nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %6, align 8
store i32 0, ptr %10, align 4
store i64 0, ptr %7, align 8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %9, align 1
br label %18
18: ; preds = %29, %1
%19 = load i8, ptr %9, align 1
%20 = call i64 @is_whitespace(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = load i64, ptr %6, align 8
%26 = icmp ult i64 %24, %25
br label %27
27: ; preds = %22, %18
%28 = phi i1 [ false, %18 ], [ %26, %22 ]
br i1 %28, label %29, label %39
29: ; preds = %27
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
%32 = load i64, ptr %7, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %7, align 8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
store i8 %38, ptr %9, align 1
br label %18, !llvm.loop !6
39: ; preds = %27
%40 = load i32, ptr %10, align 4
store i32 %40, ptr %11, align 4
store i64 0, ptr %8, align 8
%41 = load i64, ptr %6, align 8
%42 = sub i64 %41, 1
%43 = trunc i64 %42 to i32
store i32 %43, ptr %10, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
store i8 %48, ptr %9, align 1
br label %49
49: ; preds = %58, %39
%50 = load i8, ptr %9, align 1
%51 = call i64 @is_whitespace(i8 noundef signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = icmp sge i32 %54, 0
br label %56
56: ; preds = %53, %49
%57 = phi i1 [ false, %49 ], [ %55, %53 ]
br i1 %57, label %58, label %68
58: ; preds = %56
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %10, align 4
%61 = load i64, ptr %8, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %8, align 8
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %9, align 1
br label %49, !llvm.loop !8
68: ; preds = %56
%69 = load i64, ptr %7, align 8
%70 = load i64, ptr %8, align 8
%71 = add i64 %69, %70
%72 = load i64, ptr %6, align 8
%73 = icmp uge i64 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %68
store ptr null, ptr %2, align 8
br label %115
75: ; preds = %68
%76 = load i64, ptr %6, align 8
%77 = load i64, ptr %7, align 8
%78 = sub i64 %76, %77
%79 = load i64, ptr %8, align 8
%80 = sub i64 %78, %79
store i64 %80, ptr %5, align 8
%81 = load i64, ptr %5, align 8
%82 = add i64 %81, 1
%83 = call ptr @malloc(i64 noundef %82)
store ptr %83, ptr %4, align 8
%84 = load ptr, ptr %4, align 8
%85 = load i64, ptr %5, align 8
%86 = add i64 %85, 1
%87 = call i32 @memset(ptr noundef %84, i32 noundef 0, i64 noundef %86)
%88 = load i32, ptr %11, align 4
store i32 %88, ptr %12, align 4
br label %89
89: ; preds = %110, %75
%90 = load i32, ptr %12, align 4
%91 = sext i32 %90 to i64
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = load i64, ptr %5, align 8
%95 = add i64 %93, %94
%96 = icmp ult i64 %91, %95
br i1 %96, label %97, label %113
97: ; preds = %89
%98 = load ptr, ptr %3, align 8
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
store i8 %102, ptr %9, align 1
%103 = load i8, ptr %9, align 1
%104 = load ptr, ptr %4, align 8
%105 = load i32, ptr %12, align 4
%106 = load i32, ptr %11, align 4
%107 = sub nsw i32 %105, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, ptr %104, i64 %108
store i8 %103, ptr %109, align 1
br label %110
110: ; preds = %97
%111 = load i32, ptr %12, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %12, align 4
br label %89, !llvm.loop !9
113: ; preds = %89
%114 = load ptr, ptr %4, align 8
store ptr %114, ptr %2, align 8
br label %115
115: ; preds = %113, %74
%116 = load ptr, ptr %2, align 8
ret ptr %116
}
declare i64 @strlen(ptr noundef) #1
declare i64 @is_whitespace(i8 noundef signext) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7nc4x5nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %6, align 8
store i32 0, ptr %10, align 4
store i64 0, ptr %7, align 8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %9, align 1
br label %18
18: ; preds = %29, %1
%19 = load i8, ptr %9, align 1
%20 = call i64 @is_whitespace(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = load i64, ptr %6, align 8
%26 = icmp ult i64 %24, %25
br label %27
27: ; preds = %22, %18
%28 = phi i1 [ false, %18 ], [ %26, %22 ]
br i1 %28, label %29, label %39
29: ; preds = %27
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
%32 = load i64, ptr %7, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %7, align 8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
store i8 %38, ptr %9, align 1
br label %18, !llvm.loop !6
39: ; preds = %27
%40 = load i32, ptr %10, align 4
store i32 %40, ptr %11, align 4
store i64 0, ptr %8, align 8
%41 = load i64, ptr %6, align 8
%42 = sub i64 %41, 1
%43 = trunc i64 %42 to i32
store i32 %43, ptr %10, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
store i8 %48, ptr %9, align 1
br label %49
49: ; preds = %58, %39
%50 = load i8, ptr %9, align 1
%51 = call i64 @is_whitespace(i8 noundef signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = icmp sge i32 %54, 0
br label %56
56: ; preds = %53, %49
%57 = phi i1 [ false, %49 ], [ %55, %53 ]
br i1 %57, label %58, label %68
58: ; preds = %56
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %10, align 4
%61 = load i64, ptr %8, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %8, align 8
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %9, align 1
br label %49, !llvm.loop !8
68: ; preds = %56
%69 = load i64, ptr %7, align 8
%70 = load i64, ptr %8, align 8
%71 = add i64 %69, %70
%72 = load i64, ptr %6, align 8
%73 = icmp uge i64 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %68
store ptr null, ptr %2, align 8
br label %121
75: ; preds = %68
%76 = load i64, ptr %6, align 8
%77 = load i64, ptr %7, align 8
%78 = sub i64 %76, %77
%79 = load i64, ptr %8, align 8
%80 = sub i64 %78, %79
store i64 %80, ptr %5, align 8
%81 = load i64, ptr %5, align 8
%82 = add i64 %81, 1
%83 = call ptr @malloc(i64 noundef %82)
store ptr %83, ptr %4, align 8
%84 = load ptr, ptr %4, align 8
%85 = load i64, ptr %5, align 8
%86 = add i64 %85, 1
%87 = call i32 @memset(ptr noundef %84, i32 noundef 0, i64 noundef %86)
%88 = load i32, ptr %11, align 4
store i32 %88, ptr %12, align 4
%89 = load i32, ptr %12, align 4
%90 = sext i32 %89 to i64
%91 = load i32, ptr %11, align 4
%92 = sext i32 %91 to i64
%93 = load i64, ptr %5, align 8
%94 = add i64 %92, %93
%95 = icmp ult i64 %90, %94
br i1 %95, label %.lr.ph, label %119
.lr.ph: ; preds = %75
br label %96
96: ; preds = %.lr.ph, %109
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
store i8 %101, ptr %9, align 1
%102 = load i8, ptr %9, align 1
%103 = load ptr, ptr %4, align 8
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %11, align 4
%106 = sub nsw i32 %104, %105
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %103, i64 %107
store i8 %102, ptr %108, align 1
br label %109
109: ; preds = %96
%110 = load i32, ptr %12, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %12, align 4
%112 = load i32, ptr %12, align 4
%113 = sext i32 %112 to i64
%114 = load i32, ptr %11, align 4
%115 = sext i32 %114 to i64
%116 = load i64, ptr %5, align 8
%117 = add i64 %115, %116
%118 = icmp ult i64 %113, %117
br i1 %118, label %96, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %109
br label %119
119: ; preds = %._crit_edge, %75
%120 = load ptr, ptr %4, align 8
store ptr %120, ptr %2, align 8
br label %121
121: ; preds = %119, %74
%122 = load ptr, ptr %2, align 8
ret ptr %122
}
declare i64 @strlen(ptr noundef) #1
declare i64 @is_whitespace(i8 noundef signext) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpsidawy_7.c'
source_filename = "/tmp/tmpsidawy_7.c"
target datalayout = "e-m:e-p270: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/tmpsidawy_7.c"
target datalayout = "e-m:e-p270: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/tmphkepa1rt.c'
source_filename = "/tmp/tmphkepa1rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s.%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @def_import(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %6
%18 = load ptr, ptr %10, align 8
store ptr %18, ptr %13, align 8
br label %26
19: ; preds = %6
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = load ptr, ptr %7, align 8
store ptr %23, ptr %13, align 8
br label %25
24: ; preds = %19
store ptr @.str, ptr %13, align 8
br label %25
25: ; preds = %24, %22
br label %26
26: ; preds = %25, %17
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %43
29: ; preds = %26
%30 = load ptr, ptr %8, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = call i64 @strlen(ptr noundef %32)
%34 = add nsw i64 %31, %33
%35 = add nsw i64 %34, 2
%36 = call i64 @alloca(i64 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %14, align 8
%38 = load ptr, ptr %14, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str.1, ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %14, align 8
store ptr %42, ptr %8, align 8
br label %43
43: ; preds = %29, %26
%44 = load ptr, ptr %13, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %11, align 4
%47 = load ptr, ptr %12, align 8
%48 = call i32 @append_import(ptr noundef %44, ptr noundef %45, i32 noundef %46, ptr noundef %47)
ret void
}
declare i64 @alloca(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @append_import(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphkepa1rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s.%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @def_import(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %6
%18 = load ptr, ptr %10, align 8
store ptr %18, ptr %13, align 8
br label %26
19: ; preds = %6
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = load ptr, ptr %7, align 8
store ptr %23, ptr %13, align 8
br label %25
24: ; preds = %19
store ptr @.str, ptr %13, align 8
br label %25
25: ; preds = %24, %22
br label %26
26: ; preds = %25, %17
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %43
29: ; preds = %26
%30 = load ptr, ptr %8, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = call i64 @strlen(ptr noundef %32)
%34 = add nsw i64 %31, %33
%35 = add nsw i64 %34, 2
%36 = call i64 @alloca(i64 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %14, align 8
%38 = load ptr, ptr %14, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str.1, ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %14, align 8
store ptr %42, ptr %8, align 8
br label %43
43: ; preds = %29, %26
%44 = load ptr, ptr %13, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %11, align 4
%47 = load ptr, ptr %12, align 8
%48 = call i32 @append_import(ptr noundef %44, ptr noundef %45, i32 noundef %46, ptr noundef %47)
ret void
}
declare i64 @alloca(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @append_import(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo4u78mpt.c'
source_filename = "/tmp/tmpo4u78mpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_start_running_lassert.old = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_start_running_lassert(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @_start_running_lassert.old, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @_in_case_lassert(i32 noundef 1)
%9 = load i32, ptr %2, align 4
store i32 %9, ptr @_start_running_lassert.old, align 4
br label %27
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr @_start_running_lassert.old, align 4
br label %26
14: ; preds = %10
%15 = load i32, ptr @_start_running_lassert.old, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @_start_running_lassert.old, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr @_start_running_lassert.old, align 4
br label %20
20: ; preds = %17, %14
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = call i32 @_in_case_lassert(i32 noundef 0)
br label %25
25: ; preds = %23, %20
br label %26
26: ; preds = %25, %13
br label %27
27: ; preds = %26, %7
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @_in_case_lassert(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/tmpo4u78mpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_start_running_lassert.old = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_start_running_lassert(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @_start_running_lassert.old, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @_in_case_lassert(i32 noundef 1)
%9 = load i32, ptr %2, align 4
store i32 %9, ptr @_start_running_lassert.old, align 4
br label %27
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr @_start_running_lassert.old, align 4
br label %26
14: ; preds = %10
%15 = load i32, ptr @_start_running_lassert.old, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @_start_running_lassert.old, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr @_start_running_lassert.old, align 4
br label %20
20: ; preds = %17, %14
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = call i32 @_in_case_lassert(i32 noundef 0)
br label %25
25: ; preds = %23, %20
br label %26
26: ; preds = %25, %13
br label %27
27: ; preds = %26, %7
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @_in_case_lassert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ek12dgq.c'
source_filename = "/tmp/tmp_ek12dgq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mx_set_imap_bit(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 @mx_set_clear_imap_bit(i32 noundef %5, i32 noundef %6, i32 noundef 1)
ret void
}
declare i32 @mx_set_clear_imap_bit(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/tmp_ek12dgq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mx_set_imap_bit(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 @mx_set_clear_imap_bit(i32 noundef %5, i32 noundef %6, i32 noundef 1)
ret void
}
declare i32 @mx_set_clear_imap_bit(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/tmpune005st.c'
source_filename = "/tmp/tmpune005st.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_strlen(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 @strlen(ptr noundef %3)
ret i32 %4
}
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/tmpune005st.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_strlen(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 @strlen(ptr noundef %3)
ret i32 %4
}
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/tmpnctnv9_x.c'
source_filename = "/tmp/tmpnctnv9_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"Garmin IMG/ADM Splitter, (c) 2013 by Bernhard R. Fischer, <bf@abenteuerland.at>\0Ausage: %s [OPTIONS]\0A -d <dir> ..... Directory to extract files to.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnctnv9_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"Garmin IMG/ADM Splitter, (c) 2013 by Bernhard R. Fischer, <bf@abenteuerland.at>\0Ausage: %s [OPTIONS]\0A -d <dir> ..... Directory to extract files to.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7zb5fgv8.c'
source_filename = "/tmp/tmp7zb5fgv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @potential_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @potential(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret void
}
declare i32 @potential(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zb5fgv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @potential_(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @potential(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret void
}
declare i32 @potential(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6vdbod6l.c'
source_filename = "/tmp/tmp6vdbod6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%2 = call i32 @gluOrtho2D(i32 noundef -200, i32 noundef 200, i32 noundef -200, i32 noundef 200)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @gluOrtho2D(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vdbod6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%2 = call i32 @gluOrtho2D(i32 noundef -200, i32 noundef 200, i32 noundef -200, i32 noundef 200)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @gluOrtho2D(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5rchn8pl.c'
source_filename = "/tmp/tmp5rchn8pl.c"
target datalayout = "e-m:e-p270: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/tmp5rchn8pl.c"
target datalayout = "e-m:e-p270: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/tmpao20myhj.c'
source_filename = "/tmp/tmpao20myhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_next_line.buff = internal global [31 x i8] zeroinitializer, align 16
@get_next_line.rd = internal global i32 0, align 4
@get_next_line.j = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_next_line(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %1, %42
%7 = load i32, ptr @get_next_line.j, align 4
%8 = load i32, ptr @get_next_line.rd, align 4
%9 = icmp sge i32 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
store i32 0, ptr @get_next_line.j, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @read(i32 noundef %11, ptr noundef @get_next_line.buff, i32 noundef 30)
store i32 %12, ptr @get_next_line.rd, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %2, align 8
br label %45
16: ; preds = %10
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %16, %6
%18 = load i32, ptr @get_next_line.j, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [31 x i8], ptr @get_next_line.buff, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = call ptr @my_strcat(ptr noundef %27, ptr noundef @get_next_line.buff, i32 noundef %28, ptr noundef @get_next_line.j)
store ptr %29, ptr %2, align 8
br label %45
30: ; preds = %17
%31 = load i32, ptr @get_next_line.j, align 4
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %31, %32
%34 = load i32, ptr @get_next_line.rd, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %42
37: ; preds = %30
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
%41 = call ptr @my_strcat(ptr noundef %38, ptr noundef @get_next_line.buff, i32 noundef %40, ptr noundef @get_next_line.j)
store ptr %41, ptr %4, align 8
br label %42
42: ; preds = %37, %30
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %6
45: ; preds = %26, %14
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @my_strcat(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpao20myhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_next_line.buff = internal global [31 x i8] zeroinitializer, align 16
@get_next_line.rd = internal global i32 0, align 4
@get_next_line.j = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_next_line(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %42, %1
%7 = load i32, ptr @get_next_line.j, align 4
%8 = load i32, ptr @get_next_line.rd, align 4
%9 = icmp sge i32 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
store i32 0, ptr @get_next_line.j, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @read(i32 noundef %11, ptr noundef @get_next_line.buff, i32 noundef 30)
store i32 %12, ptr @get_next_line.rd, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %2, align 8
br label %45
16: ; preds = %10
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %16, %6
%18 = load i32, ptr @get_next_line.j, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [31 x i8], ptr @get_next_line.buff, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = call ptr @my_strcat(ptr noundef %27, ptr noundef @get_next_line.buff, i32 noundef %28, ptr noundef @get_next_line.j)
store ptr %29, ptr %2, align 8
br label %45
30: ; preds = %17
%31 = load i32, ptr @get_next_line.j, align 4
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %31, %32
%34 = load i32, ptr @get_next_line.rd, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %42
37: ; preds = %30
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
%41 = call ptr @my_strcat(ptr noundef %38, ptr noundef @get_next_line.buff, i32 noundef %40, ptr noundef @get_next_line.j)
store ptr %41, ptr %4, align 8
br label %42
42: ; preds = %37, %30
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %6
45: ; preds = %26, %14
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @my_strcat(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcqsv1_z7.c'
source_filename = "/tmp/tmpcqsv1_z7.c"
target datalayout = "e-m:e-p270: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/tmpcqsv1_z7.c"
target datalayout = "e-m:e-p270: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/tmp5w9dcmf5.c'
source_filename = "/tmp/tmp5w9dcmf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @less(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 i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @trim_new(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @trim_new(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = call i32 @string_length(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @string_length(ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %2
store i32 2, ptr %3, align 4
br label %66
25: ; preds = %2
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 1, ptr %3, align 4
br label %66
30: ; preds = %25
store i32 0, ptr %8, align 4
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %9, align 8
%32 = load ptr, ptr %5, align 8
store ptr %32, ptr %10, align 8
br label %33
33: ; preds = %56, %30
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %63
37: ; preds = %33
%38 = load ptr, ptr %9, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %10, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp sgt i32 %40, %43
br i1 %44, label %45, label %46
45: ; preds = %37
store i32 2, ptr %3, align 4
br label %66
46: ; preds = %37
%47 = load ptr, ptr %9, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = load ptr, ptr %10, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp slt i32 %49, %52
br i1 %53, label %54, label %55
54: ; preds = %46
store i32 1, ptr %3, align 4
br label %66
55: ; preds = %46
br label %56
56: ; preds = %55
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %8, align 4
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %9, align 8
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %10, align 8
br label %33, !llvm.loop !6
63: ; preds = %33
br label %64
64: ; preds = %63
br label %65
65: ; preds = %64
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %65, %54, %45, %29, %24
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @trim_new(ptr noundef, ptr noundef) #1
declare i32 @string_length(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5w9dcmf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @less(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 i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @trim_new(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @trim_new(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = call i32 @string_length(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @string_length(ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %2
store i32 2, ptr %3, align 4
br label %68
25: ; preds = %2
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 1, ptr %3, align 4
br label %68
30: ; preds = %25
store i32 0, ptr %8, align 4
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %9, align 8
%32 = load ptr, ptr %5, align 8
store ptr %32, ptr %10, align 8
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %65
.lr.ph: ; preds = %30
br label %36
36: ; preds = %.lr.ph, %55
%37 = load ptr, ptr %9, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %10, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp sgt i32 %39, %42
br i1 %43, label %44, label %45
44: ; preds = %36
store i32 2, ptr %3, align 4
br label %68
45: ; preds = %36
%46 = load ptr, ptr %9, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = load ptr, ptr %10, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp slt i32 %48, %51
br i1 %52, label %53, label %54
53: ; preds = %45
store i32 1, ptr %3, align 4
br label %68
54: ; preds = %45
br label %55
55: ; preds = %54
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %9, align 8
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %10, align 8
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %65
65: ; preds = %._crit_edge, %30
br label %66
66: ; preds = %65
br label %67
67: ; preds = %66
store i32 0, ptr %3, align 4
br label %68
68: ; preds = %67, %53, %44, %29, %24
%69 = load i32, ptr %3, align 4
ret i32 %69
}
declare i32 @trim_new(ptr noundef, ptr noundef) #1
declare i32 @string_length(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpi_eswcpd.c'
source_filename = "/tmp/tmpi_eswcpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Line \22%s\22 contains an unknown symbol at %d and was dropped.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @findSymbols(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 1, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 0
store i32 %15, ptr %17, align 4
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %108, %4
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %111
26: ; preds = %18
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
br label %27
27: ; preds = %85, %26
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %13, align 4
%33 = icmp eq i32 %32, 0
br label %34
34: ; preds = %31, %27
%35 = phi i1 [ false, %27 ], [ %33, %31 ]
br i1 %35, label %36, label %88
36: ; preds = %34
store i32 1, ptr %13, align 4
store i32 0, ptr %12, align 4
br label %37
37: ; preds = %81, %36
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %84
49: ; preds = %37
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %11, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %10, align 4
%62 = load i32, ptr %12, align 4
%63 = add nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %60, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %59, %67
br i1 %68, label %79, label %69
69: ; preds = %49
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %71, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %70, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %69, %49
store i32 0, ptr %13, align 4
br label %84
80: ; preds = %69
br label %81
81: ; preds = %80
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %12, align 4
br label %37, !llvm.loop !6
84: ; preds = %79, %37
br label %85
85: ; preds = %84
%86 = load i32, ptr %11, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %11, align 4
br label %27, !llvm.loop !8
88: ; preds = %34
%89 = load i32, ptr %13, align 4
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %95
91: ; preds = %88
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %10, align 4
%94 = call i32 @printf(ptr noundef @.str, ptr noundef %92, i32 noundef %93)
store i32 0, ptr %5, align 4
br label %113
95: ; preds = %88
%96 = load i32, ptr %11, align 4
%97 = sub nsw i32 %96, 1
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %14, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %14, align 4
%101 = sext i32 %99 to i64
%102 = getelementptr inbounds i32, ptr %98, i64 %101
store i32 %97, ptr %102, align 4
%103 = load i32, ptr %12, align 4
%104 = sub nsw i32 %103, 1
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, %104
store i32 %106, ptr %10, align 4
br label %107
107: ; preds = %95
br label %108
108: ; preds = %107
%109 = load i32, ptr %10, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %10, align 4
br label %18, !llvm.loop !9
111: ; preds = %18
%112 = load i32, ptr %14, align 4
store i32 %112, ptr %5, align 4
br label %113
113: ; preds = %111, %91
%114 = load i32, ptr %5, align 4
ret i32 %114
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi_eswcpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Line \22%s\22 contains an unknown symbol at %d and was dropped.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @findSymbols(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 1, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 0
store i32 %15, ptr %17, align 4
store i32 0, ptr %10, align 4
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %10, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph1, label %127
.lr.ph1: ; preds = %4
br label %25
25: ; preds = %.lr.ph1, %117
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
br label %26
26: ; preds = %94, %25
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, ptr %13, align 4
%32 = icmp eq i32 %31, 0
br label %33
33: ; preds = %30, %26
%34 = phi i1 [ false, %26 ], [ %32, %30 ]
br i1 %34, label %35, label %97
35: ; preds = %33
store i32 1, ptr %13, align 4
store i32 0, ptr %12, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %12, 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 ne i32 %45, 0
br i1 %46, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %35
br label %47
47: ; preds = %.lr.ph, %79
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %12, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %12, align 4
%61 = add nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %58, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %57, %65
br i1 %66, label %77, label %67
67: ; preds = %47
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %12, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %67, %47
store i32 0, ptr %13, align 4
br label %93
78: ; preds = %67
br label %79
79: ; preds = %78
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %11, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp ne i32 %91, 0
br i1 %92, label %47, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %79
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %35
br label %93
93: ; preds = %.loopexit, %77
br label %94
94: ; preds = %93
%95 = load i32, ptr %11, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %11, align 4
br label %26, !llvm.loop !8
97: ; preds = %33
%98 = load i32, ptr %13, align 4
%99 = icmp eq i32 %98, 0
br i1 %99, label %100, label %104
100: ; preds = %97
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %10, align 4
%103 = call i32 @printf(ptr noundef @.str, ptr noundef %101, i32 noundef %102)
store i32 0, ptr %5, align 4
br label %129
104: ; preds = %97
%105 = load i32, ptr %11, align 4
%106 = sub nsw i32 %105, 1
%107 = load ptr, ptr %9, align 8
%108 = load i32, ptr %14, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %14, align 4
%110 = sext i32 %108 to i64
%111 = getelementptr inbounds i32, ptr %107, i64 %110
store i32 %106, ptr %111, align 4
%112 = load i32, ptr %12, align 4
%113 = sub nsw i32 %112, 1
%114 = load i32, ptr %10, align 4
%115 = add nsw i32 %114, %113
store i32 %115, ptr %10, align 4
br label %116
116: ; preds = %104
br label %117
117: ; preds = %116
%118 = load i32, ptr %10, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %10, align 4
%120 = load ptr, ptr %6, align 8
%121 = load i32, ptr %10, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp ne i32 %125, 0
br i1 %126, label %25, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %117
br label %127
127: ; preds = %._crit_edge, %4
%128 = load i32, ptr %14, align 4
store i32 %128, ptr %5, align 4
br label %129
129: ; preds = %127, %100
%130 = load i32, ptr %5, align 4
ret i32 %130
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8jftdpwj.c'
source_filename = "/tmp/tmp8jftdpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"#################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"# ESIPE Algorithme #\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"# #\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"# Algoritme de Compression #\0A\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"# FORET Gael COLLOMB J\C3\A9r\C3\A9mie #\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"# Version 1.0 #\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Compress [-c|-d] input output\0A\00", align 1
@.str.8 = private unnamed_addr constant [56 x i8] c"\09 -c is to compress the input file to the output file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c"\09 -d is to uncompress the input file into the output file.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getHelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = call i32 @printf(ptr noundef @.str.8)
%12 = call i32 @printf(ptr noundef @.str.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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8jftdpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"#################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"# ESIPE Algorithme #\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"# #\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"# Algoritme de Compression #\0A\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"# FORET Gael COLLOMB J\C3\A9r\C3\A9mie #\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"# Version 1.0 #\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Compress [-c|-d] input output\0A\00", align 1
@.str.8 = private unnamed_addr constant [56 x i8] c"\09 -c is to compress the input file to the output file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c"\09 -d is to uncompress the input file into the output file.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getHelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = call i32 @printf(ptr noundef @.str.8)
%12 = call i32 @printf(ptr noundef @.str.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"}
|
; ModuleID = '/tmp/tmp7fsnwuj2.c'
source_filename = "/tmp/tmp7fsnwuj2.c"
target datalayout = "e-m:e-p270: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/tmp7fsnwuj2.c"
target datalayout = "e-m:e-p270: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/tmpzqiuhdb1.c'
source_filename = "/tmp/tmpzqiuhdb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"write(%s/%s, %s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmd_write_h(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 10)
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @clickos_domid(ptr noundef %17)
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %14, %2
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 3
%25 = load ptr, ptr %24, align 8
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 4
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %8, align 8
%29 = load i32, ptr %5, align 4
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %8, align 8
%33 = call i32 @clickos_write_handler(i32 noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %34, ptr noundef %35, ptr noundef %36)
ret i32 0
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @clickos_domid(ptr noundef) #1
declare i32 @clickos_write_handler(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqiuhdb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"write(%s/%s, %s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmd_write_h(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 10)
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @clickos_domid(ptr noundef %17)
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %14, %2
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 3
%25 = load ptr, ptr %24, align 8
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 4
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %8, align 8
%29 = load i32, ptr %5, align 4
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %8, align 8
%33 = call i32 @clickos_write_handler(i32 noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %34, ptr noundef %35, ptr noundef %36)
ret i32 0
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @clickos_domid(ptr noundef) #1
declare i32 @clickos_write_handler(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9zd51do.c'
source_filename = "/tmp/tmp_9zd51do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Can't open file in fwrite_uimatrix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fwrite_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load i64, ptr %11, align 8
%17 = load i64, ptr %10, align 8
%18 = sub nsw i64 %16, %17
%19 = add nsw i64 %18, 1
store i64 %19, ptr %14, align 8
%20 = load ptr, ptr %12, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %15, align 8
%22 = load ptr, ptr %15, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = call i32 @nrerror(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %6
%27 = load i64, ptr %8, align 8
store i64 %27, ptr %13, align 8
br label %28
28: ; preds = %42, %26
%29 = load i64, ptr %13, align 8
%30 = load i64, ptr %9, align 8
%31 = icmp sle i64 %29, %30
br i1 %31, label %32, label %45
32: ; preds = %28
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %13, align 8
%35 = getelementptr inbounds ptr, ptr %33, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i64, ptr %8, align 8
%38 = getelementptr inbounds i32, ptr %36, i64 %37
%39 = load i64, ptr %14, align 8
%40 = load ptr, ptr %15, align 8
%41 = call i32 @fwrite(ptr noundef %38, i32 noundef 4, i64 noundef %39, ptr noundef %40)
br label %42
42: ; preds = %32
%43 = load i64, ptr %13, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %13, align 8
br label %28, !llvm.loop !6
45: ; preds = %28
%46 = load ptr, ptr %15, align 8
%47 = call i32 @fclose(ptr noundef %46)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9zd51do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Can't open file in fwrite_uimatrix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fwrite_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load i64, ptr %11, align 8
%17 = load i64, ptr %10, align 8
%18 = sub nsw i64 %16, %17
%19 = add nsw i64 %18, 1
store i64 %19, ptr %14, align 8
%20 = load ptr, ptr %12, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %15, align 8
%22 = load ptr, ptr %15, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = call i32 @nrerror(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %6
%27 = load i64, ptr %8, align 8
store i64 %27, ptr %13, align 8
%28 = load i64, ptr %13, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp sle i64 %28, %29
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %41
%32 = load ptr, ptr %7, align 8
%33 = load i64, ptr %13, align 8
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i64, ptr %8, align 8
%37 = getelementptr inbounds i32, ptr %35, i64 %36
%38 = load i64, ptr %14, align 8
%39 = load ptr, ptr %15, align 8
%40 = call i32 @fwrite(ptr noundef %37, i32 noundef 4, i64 noundef %38, ptr noundef %39)
br label %41
41: ; preds = %31
%42 = load i64, ptr %13, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %13, align 8
%44 = load i64, ptr %13, align 8
%45 = load i64, ptr %9, align 8
%46 = icmp sle i64 %44, %45
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %26
%48 = load ptr, ptr %15, align 8
%49 = call i32 @fclose(ptr noundef %48)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdrc6abbv.c'
source_filename = "/tmp/tmpdrc6abbv.c"
target datalayout = "e-m:e-p270: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/tmpdrc6abbv.c"
target datalayout = "e-m:e-p270: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/tmp6v6who8g.c'
source_filename = "/tmp/tmp6v6who8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_CHARTEXT = dso_local global i32 0, align 4
@A_STANDOUT = 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/tmp6v6who8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_CHARTEXT = dso_local global i32 0, align 4
@A_STANDOUT = 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/tmp04bupbaz.c'
source_filename = "/tmp/tmp04bupbaz.c"
target datalayout = "e-m:e-p270: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/tmp04bupbaz.c"
target datalayout = "e-m:e-p270: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/tmpk9btevpj.c'
source_filename = "/tmp/tmpk9btevpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"0001\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"0010\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0011\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"0100\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"0101\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"0110\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"0111\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"1000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @single_digit_bin_to_dec(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 49, ptr %2, align 1
br label %44
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i8 50, ptr %2, align 1
br label %44
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i8 51, ptr %2, align 1
br label %44
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i8 52, ptr %2, align 1
br label %44
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i8 53, ptr %2, align 1
br label %44
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i8 54, ptr %2, align 1
br label %44
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i8 55, ptr %2, align 1
br label %44
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i8 56, ptr %2, align 1
br label %44
43: ; preds = %38
store i8 57, ptr %2, align 1
br label %44
44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7
%45 = load i8, ptr %2, align 1
ret i8 %45
}
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/tmpk9btevpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"0001\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"0010\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0011\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"0100\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"0101\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"0110\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"0111\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"1000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @single_digit_bin_to_dec(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 49, ptr %2, align 1
br label %44
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i8 50, ptr %2, align 1
br label %44
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i8 51, ptr %2, align 1
br label %44
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i8 52, ptr %2, align 1
br label %44
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i8 53, ptr %2, align 1
br label %44
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i8 54, ptr %2, align 1
br label %44
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i8 55, ptr %2, align 1
br label %44
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i8 56, ptr %2, align 1
br label %44
43: ; preds = %38
store i8 57, ptr %2, align 1
br label %44
44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7
%45 = load i8, ptr %2, align 1
ret i8 %45
}
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/tmpduhklprh.c'
source_filename = "/tmp/tmpduhklprh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Inside bar %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @longjmp(i32 noundef %7, i32 noundef %8) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @longjmp(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpduhklprh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Inside bar %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @longjmp(i32 noundef %7, i32 noundef %8) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @longjmp(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppix8417r.c'
source_filename = "/tmp/tmppix8417r.c"
target datalayout = "e-m:e-p270: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/tmppix8417r.c"
target datalayout = "e-m:e-p270: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/tmp8pbnizhd.c'
source_filename = "/tmp/tmp8pbnizhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fistp_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 223)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 56, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmp8pbnizhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fistp_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 223)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 56, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmp8nl5nf1h.c'
source_filename = "/tmp/tmp8nl5nf1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearbuff() #0 {
%1 = alloca [2 x i8], align 1
%2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @getline(ptr noundef %2, i32 noundef 2)
ret void
}
declare i32 @getline(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/tmp8nl5nf1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearbuff() #0 {
%1 = alloca [2 x i8], align 1
%2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @getline(ptr noundef %2, i32 noundef 2)
ret void
}
declare i32 @getline(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/tmpq3dk5nkb.c'
source_filename = "/tmp/tmpq3dk5nkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E: Need a filename as an argument.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"E: Can not make a buffer\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"E: Can not open input file\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"E: Error reading input file\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"E: Can not close input file\00", align 1
@LC_ALL = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"\0AFile size: %'zi\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 4096, ptr %8, align 8
store i64 0, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %71
16: ; preds = %2
%17 = load i64, ptr %8, align 8
%18 = call i64 @malloc(i64 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.2)
store ptr %29, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = call i32 @perror(ptr noundef @.str.3)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %25
br label %36
36: ; preds = %57, %35
%37 = load ptr, ptr %7, align 8
%38 = load i64, ptr %8, align 8
%39 = load ptr, ptr %6, align 8
%40 = call i64 @fread(ptr noundef %37, i32 noundef 1, i64 noundef %38, ptr noundef %39)
store i64 %40, ptr %9, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i64 @ferror(ptr noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %36
%45 = call i32 @perror(ptr noundef @.str.4)
%46 = load i32, ptr @EXIT_FAILURE, align 4
%47 = call i32 @exit(i32 noundef %46) #3
unreachable
48: ; preds = %36
%49 = load i64, ptr %9, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %48
br label %58
52: ; preds = %48
%53 = load i64, ptr %9, align 8
%54 = load i64, ptr %10, align 8
%55 = add i64 %54, %53
store i64 %55, ptr %10, align 8
br label %56
56: ; preds = %52
br label %57
57: ; preds = %56
br label %36
58: ; preds = %51
%59 = load ptr, ptr %6, align 8
%60 = call i64 @fclose(ptr noundef %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.5)
%64 = load i32, ptr @EXIT_FAILURE, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
66: ; preds = %58
%67 = load i32, ptr @LC_ALL, align 4
%68 = call i32 @setlocale(i32 noundef %67, ptr noundef @.str.6)
%69 = load i64, ptr %10, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %69)
store i32 %70, ptr %3, align 4
br label %71
71: ; preds = %66, %13
%72 = load i32, ptr %3, align 4
ret i32 %72
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
declare i32 @setlocale(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3dk5nkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E: Need a filename as an argument.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"E: Can not make a buffer\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"E: Can not open input file\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"E: Error reading input file\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"E: Can not close input file\00", align 1
@LC_ALL = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"\0AFile size: %'zi\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 4096, ptr %8, align 8
store i64 0, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %77
16: ; preds = %2
%17 = load i64, ptr %8, align 8
%18 = call i64 @malloc(i64 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.2)
store ptr %29, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = call i32 @perror(ptr noundef @.str.3)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %25
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %8, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i64 @fread(ptr noundef %36, i32 noundef 1, i64 noundef %37, ptr noundef %38)
store i64 %39, ptr %9, align 8
%40 = load ptr, ptr %6, align 8
%41 = call i64 @ferror(ptr noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %.lr.ph
.lr.ph: ; preds = %35
br label %47
._crit_edge: ; preds = %56
br label %43
43: ; preds = %._crit_edge, %35
%44 = call i32 @perror(ptr noundef @.str.4)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %.lr.ph, %56
%48 = load i64, ptr %9, align 8
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %47
br label %64
51: ; preds = %47
%52 = load i64, ptr %9, align 8
%53 = load i64, ptr %10, align 8
%54 = add i64 %53, %52
store i64 %54, ptr %10, align 8
br label %55
55: ; preds = %51
br label %56
56: ; preds = %55
%57 = load ptr, ptr %7, align 8
%58 = load i64, ptr %8, align 8
%59 = load ptr, ptr %6, align 8
%60 = call i64 @fread(ptr noundef %57, i32 noundef 1, i64 noundef %58, ptr noundef %59)
store i64 %60, ptr %9, align 8
%61 = load ptr, ptr %6, align 8
%62 = call i64 @ferror(ptr noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %._crit_edge, label %47
64: ; preds = %50
%65 = load ptr, ptr %6, align 8
%66 = call i64 @fclose(ptr noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = call i32 @perror(ptr noundef @.str.5)
%70 = load i32, ptr @EXIT_FAILURE, align 4
%71 = call i32 @exit(i32 noundef %70) #3
unreachable
72: ; preds = %64
%73 = load i32, ptr @LC_ALL, align 4
%74 = call i32 @setlocale(i32 noundef %73, ptr noundef @.str.6)
%75 = load i64, ptr %10, align 8
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %75)
store i32 %76, ptr %3, align 4
br label %77
77: ; preds = %72, %13
%78 = load i32, ptr %3, align 4
ret i32 %78
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
declare i32 @setlocale(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg5n8e9dd.c'
source_filename = "/tmp/tmpg5n8e9dd.c"
target datalayout = "e-m:e-p270: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/tmpg5n8e9dd.c"
target datalayout = "e-m:e-p270: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/tmp80no1sck.c'
source_filename = "/tmp/tmp80no1sck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_timeout(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca %struct.timeval, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = sdiv i64 %14, 1000
%16 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
store i64 %15, ptr %16, align 8
%17 = load i64, ptr %9, align 8
%18 = srem i64 %17, 1000
%19 = mul nsw i64 %18, 1000
%20 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 %19, ptr %20, align 8
br label %21
21: ; preds = %4, %42
%22 = call i32 @FD_ZERO(ptr noundef %12)
%23 = load i32, ptr %6, align 4
%24 = call i32 @FD_SET(i32 noundef %23, ptr noundef %12)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %10, i64 16, i1 false)
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 @select(i32 noundef %26, ptr noundef null, ptr noundef %12, ptr noundef null, ptr noundef %11)
store i32 %27, ptr %13, align 4
%28 = load i32, ptr %13, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %21
store i32 -2, ptr %5, align 4
br label %49
31: ; preds = %21
%32 = load i32, ptr %13, align 4
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i64, ptr @errno, align 8
%36 = load i64, ptr @EINTR, align 8
%37 = icmp eq i64 %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i64, ptr @errno, align 8
%40 = load i64, ptr @EAGAIN, align 8
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %34
br label %21
43: ; preds = %38
store i32 -1, ptr %5, align 4
br label %49
44: ; preds = %31
%45 = load i32, ptr %6, align 4
%46 = load ptr, ptr %7, align 8
%47 = load i64, ptr %8, align 8
%48 = call i32 @write(i32 noundef %45, ptr noundef %46, i64 noundef %47)
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %44, %43, %30
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80no1sck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_timeout(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca %struct.timeval, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = sdiv i64 %14, 1000
%16 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
store i64 %15, ptr %16, align 8
%17 = load i64, ptr %9, align 8
%18 = srem i64 %17, 1000
%19 = mul nsw i64 %18, 1000
%20 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 %19, ptr %20, align 8
br label %21
21: ; preds = %42, %4
%22 = call i32 @FD_ZERO(ptr noundef %12)
%23 = load i32, ptr %6, align 4
%24 = call i32 @FD_SET(i32 noundef %23, ptr noundef %12)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %10, i64 16, i1 false)
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 @select(i32 noundef %26, ptr noundef null, ptr noundef %12, ptr noundef null, ptr noundef %11)
store i32 %27, ptr %13, align 4
%28 = load i32, ptr %13, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %21
store i32 -2, ptr %5, align 4
br label %49
31: ; preds = %21
%32 = load i32, ptr %13, align 4
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i64, ptr @errno, align 8
%36 = load i64, ptr @EINTR, align 8
%37 = icmp eq i64 %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i64, ptr @errno, align 8
%40 = load i64, ptr @EAGAIN, align 8
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %34
br label %21
43: ; preds = %38
store i32 -1, ptr %5, align 4
br label %49
44: ; preds = %31
%45 = load i32, ptr %6, align 4
%46 = load ptr, ptr %7, align 8
%47 = load i64, ptr %8, align 8
%48 = call i32 @write(i32 noundef %45, ptr noundef %46, i64 noundef %47)
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %44, %43, %30
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpalt9f4dp.c'
source_filename = "/tmp/tmpalt9f4dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frameRate() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = call i64 (...) @GpHClkGet()
store i64 %17, ptr %12, align 8
store ptr inttoptr (i64 346030080 to ptr), ptr %13, align 8
store ptr inttoptr (i64 346030084 to ptr), ptr %14, align 8
store ptr inttoptr (i64 346030088 to ptr), ptr %15, align 8
store ptr inttoptr (i64 346030092 to ptr), ptr %16, align 8
%18 = load ptr, ptr %13, align 8
%19 = load volatile i64, ptr %18, align 8
%20 = ashr i64 %19, 8
%21 = and i64 %20, 1023
%22 = trunc i64 %21 to i32
store i32 %22, ptr %10, align 4
%23 = load ptr, ptr %14, align 8
%24 = load volatile i64, ptr %23, align 8
store i64 %24, ptr %1, align 8
%25 = load i64, ptr %1, align 8
%26 = ashr i64 %25, 24
%27 = trunc i64 %26 to i32
store i32 %27, ptr %3, align 4
%28 = load i64, ptr %1, align 8
%29 = ashr i64 %28, 6
%30 = and i64 %29, 255
%31 = trunc i64 %30 to i32
store i32 %31, ptr %4, align 4
%32 = load i64, ptr %1, align 8
%33 = and i64 %32, 63
%34 = trunc i64 %33 to i32
store i32 %34, ptr %2, align 4
%35 = load i64, ptr %1, align 8
%36 = ashr i64 %35, 14
%37 = and i64 %36, 1023
%38 = trunc i64 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load ptr, ptr %15, align 8
%40 = load volatile i64, ptr %39, align 8
store i64 %40, ptr %1, align 8
%41 = load i64, ptr %1, align 8
%42 = ashr i64 %41, 19
%43 = and i64 %42, 127
%44 = trunc i64 %43 to i32
store i32 %44, ptr %6, align 4
%45 = load i64, ptr %1, align 8
%46 = ashr i64 %45, 8
%47 = and i64 %46, 2047
%48 = trunc i64 %47 to i32
store i32 %48, ptr %9, align 4
%49 = load i64, ptr %1, align 8
%50 = and i64 %49, 255
%51 = trunc i64 %50 to i32
store i32 %51, ptr %7, align 4
%52 = load ptr, ptr %16, align 8
%53 = load volatile i64, ptr %52, align 8
%54 = and i64 %53, 255
%55 = trunc i64 %54 to i32
store i32 %55, ptr %5, align 4
%56 = load i64, ptr %12, align 8
%57 = sitofp i64 %56 to double
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 1
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
%62 = add nsw i32 %59, %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
%65 = add nsw i32 %62, %64
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
%68 = add nsw i32 %65, %67
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
%73 = add nsw i32 %70, %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
%76 = add nsw i32 %73, %75
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
%79 = add nsw i32 %76, %78
%80 = mul nsw i32 %68, %79
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
%83 = mul nsw i32 2, %82
%84 = mul nsw i32 %80, %83
%85 = sitofp i32 %84 to double
%86 = fdiv double %57, %85
store double %86, ptr %11, align 8
%87 = load double, ptr %11, align 8
ret double %87
}
declare i64 @GpHClkGet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpalt9f4dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frameRate() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = call i64 (...) @GpHClkGet()
store i64 %17, ptr %12, align 8
store ptr inttoptr (i64 346030080 to ptr), ptr %13, align 8
store ptr inttoptr (i64 346030084 to ptr), ptr %14, align 8
store ptr inttoptr (i64 346030088 to ptr), ptr %15, align 8
store ptr inttoptr (i64 346030092 to ptr), ptr %16, align 8
%18 = load ptr, ptr %13, align 8
%19 = load volatile i64, ptr %18, align 8
%20 = ashr i64 %19, 8
%21 = and i64 %20, 1023
%22 = trunc i64 %21 to i32
store i32 %22, ptr %10, align 4
%23 = load ptr, ptr %14, align 8
%24 = load volatile i64, ptr %23, align 8
store i64 %24, ptr %1, align 8
%25 = load i64, ptr %1, align 8
%26 = ashr i64 %25, 24
%27 = trunc i64 %26 to i32
store i32 %27, ptr %3, align 4
%28 = load i64, ptr %1, align 8
%29 = ashr i64 %28, 6
%30 = and i64 %29, 255
%31 = trunc i64 %30 to i32
store i32 %31, ptr %4, align 4
%32 = load i64, ptr %1, align 8
%33 = and i64 %32, 63
%34 = trunc i64 %33 to i32
store i32 %34, ptr %2, align 4
%35 = load i64, ptr %1, align 8
%36 = ashr i64 %35, 14
%37 = and i64 %36, 1023
%38 = trunc i64 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load ptr, ptr %15, align 8
%40 = load volatile i64, ptr %39, align 8
store i64 %40, ptr %1, align 8
%41 = load i64, ptr %1, align 8
%42 = ashr i64 %41, 19
%43 = and i64 %42, 127
%44 = trunc i64 %43 to i32
store i32 %44, ptr %6, align 4
%45 = load i64, ptr %1, align 8
%46 = ashr i64 %45, 8
%47 = and i64 %46, 2047
%48 = trunc i64 %47 to i32
store i32 %48, ptr %9, align 4
%49 = load i64, ptr %1, align 8
%50 = and i64 %49, 255
%51 = trunc i64 %50 to i32
store i32 %51, ptr %7, align 4
%52 = load ptr, ptr %16, align 8
%53 = load volatile i64, ptr %52, align 8
%54 = and i64 %53, 255
%55 = trunc i64 %54 to i32
store i32 %55, ptr %5, align 4
%56 = load i64, ptr %12, align 8
%57 = sitofp i64 %56 to double
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 1
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
%62 = add nsw i32 %59, %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
%65 = add nsw i32 %62, %64
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
%68 = add nsw i32 %65, %67
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
%73 = add nsw i32 %70, %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
%76 = add nsw i32 %73, %75
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
%79 = add nsw i32 %76, %78
%80 = mul nsw i32 %68, %79
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
%83 = mul nsw i32 2, %82
%84 = mul nsw i32 %80, %83
%85 = sitofp i32 %84 to double
%86 = fdiv double %57, %85
store double %86, ptr %11, align 8
%87 = load double, ptr %11, align 8
ret double %87
}
declare i64 @GpHClkGet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39i2d4l1.c'
source_filename = "/tmp/tmp39i2d4l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [102 x i8] c"Converter ADF (GTA Vice City) to MP3 and back.\0AVersion: 1.0.0\0A\0AUsage: adfconv <source> <destination>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmp39i2d4l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [102 x i8] c"Converter ADF (GTA Vice City) to MP3 and back.\0AVersion: 1.0.0\0A\0AUsage: adfconv <source> <destination>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmp88qsev36.c'
source_filename = "/tmp/tmp88qsev36.c"
target datalayout = "e-m:e-p270: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/tmp88qsev36.c"
target datalayout = "e-m:e-p270: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/tmpxo755a3m.c'
source_filename = "/tmp/tmpxo755a3m.c"
target datalayout = "e-m:e-p270: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/tmpxo755a3m.c"
target datalayout = "e-m:e-p270: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/tmpza_uyqbf.c'
source_filename = "/tmp/tmpza_uyqbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reading from a pointer: %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Writing to a pointer: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Testing casts: %d %g %g %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test1() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
store ptr %1, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
store i32 4, ptr %9, align 4
%10 = load i32, ptr %1, align 4
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 3, double noundef 3.000000e+00, double noundef 4.500000e+00, i32 noundef 4)
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/tmpza_uyqbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reading from a pointer: %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Writing to a pointer: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Testing casts: %d %g %g %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test1() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
store ptr %1, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
store i32 4, ptr %9, align 4
%10 = load i32, ptr %1, align 4
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 3, double noundef 3.000000e+00, double noundef 4.500000e+00, i32 noundef 4)
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/tmpo6ufopdt.c'
source_filename = "/tmp/tmpo6ufopdt.c"
target datalayout = "e-m:e-p270: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/tmpo6ufopdt.c"
target datalayout = "e-m:e-p270: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/tmpu3r583u_.c'
source_filename = "/tmp/tmpu3r583u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecrobot_read_bt_packet(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = call zeroext i8 (...) @__VERIFIER_nondet_U8()
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 %5, ptr %7, align 1
%8 = call zeroext i8 (...) @__VERIFIER_nondet_U8()
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
store i8 %8, ptr %10, align 1
ret void
}
declare zeroext i8 @__VERIFIER_nondet_U8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu3r583u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecrobot_read_bt_packet(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = call zeroext i8 (...) @__VERIFIER_nondet_U8()
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 %5, ptr %7, align 1
%8 = call zeroext i8 (...) @__VERIFIER_nondet_U8()
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
store i8 %8, ptr %10, align 1
ret void
}
declare zeroext i8 @__VERIFIER_nondet_U8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphzvp_7jn.c'
source_filename = "/tmp/tmphzvp_7jn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"cd ~ && ls\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"freshplayerplugin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FRESHPLAYERPLUGIN() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
store ptr null, ptr %2, align 8
%4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, ptr noundef %6)
br label %8
8: ; preds = %18, %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @feof(ptr noundef %9)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
br i1 %12, label %13, label %22
13: ; preds = %8
%14 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %1, align 4
br label %25
18: ; preds = %13
%19 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%20 = load ptr, ptr %2, align 8
%21 = call i32 @fgets(ptr noundef %19, i32 noundef 1000, ptr noundef %20)
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load ptr, ptr %2, align 8
%24 = call i32 @pclose(ptr noundef %23)
store i32 0, ptr %1, align 4
br label %25
25: ; preds = %22, %17
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphzvp_7jn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"cd ~ && ls\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"freshplayerplugin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FRESHPLAYERPLUGIN() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
store ptr null, ptr %2, align 8
%4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @feof(ptr noundef %8)
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%14 = call ptr @strstr(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 1, ptr %1, align 4
br label %28
17: ; preds = %12
%18 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @feof(ptr noundef %21)
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %25
25: ; preds = %._crit_edge, %0
%26 = load ptr, ptr %2, align 8
%27 = call i32 @pclose(ptr noundef %26)
store i32 0, ptr %1, align 4
br label %28
28: ; preds = %25, %16
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmptu2qiy9_.c'
source_filename = "/tmp/tmptu2qiy9_.c"
target datalayout = "e-m:e-p270: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 @aio_suspend(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
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/tmptu2qiy9_.c"
target datalayout = "e-m:e-p270: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 @aio_suspend(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
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/tmptsup5adi.c'
source_filename = "/tmp/tmptsup5adi.c"
target datalayout = "e-m:e-p270: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/tmptsup5adi.c"
target datalayout = "e-m:e-p270: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/tmp7s60uima.c'
source_filename = "/tmp/tmp7s60uima.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [7 x i8] c"\08\10\18\0D A\FE", align 1
@.str = private unnamed_addr constant [29 x i8] c"%3d - is a power of two? %d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.arr, i64 7, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = icmp ult i64 %6, 7
br i1 %7, label %8, label %22
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @power_of_two(i8 noundef zeroext %16)
%18 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %12, i32 noundef %17)
br label %19
19: ; preds = %8
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
%23 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %23
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, i32 noundef) #2
declare i32 @power_of_two(i8 noundef zeroext) #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/tmp7s60uima.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [7 x i8] c"\08\10\18\0D A\FE", align 1
@.str = private unnamed_addr constant [29 x i8] c"%3d - is a power of two? %d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.arr, i64 7, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sext i32 %4 to i64
%6 = icmp ult i64 %5, 7
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %18
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @power_of_two(i8 noundef zeroext %15)
%17 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %11, i32 noundef %16)
br label %18
18: ; preds = %7
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = icmp ult i64 %22, 7
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr @EXIT_SUCCESS, 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 @printf(ptr noundef, i8 noundef zeroext, i32 noundef) #2
declare i32 @power_of_two(i8 noundef zeroext) #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/tmphbmqlplw.c'
source_filename = "/tmp/tmphbmqlplw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inline_replace(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
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %10, align 4
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %65
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %65
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %65
25: ; preds = %22
%26 = load i32, ptr %10, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %65
28: ; preds = %25
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp sge i32 %29, %30
br i1 %31, label %32, label %65
32: ; preds = %28
br label %33
33: ; preds = %62, %32
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %37, label %63
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %10, align 4
%41 = call i64 @strncmp(ptr noundef %38, ptr noundef %39, i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %37
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
%46 = load i8, ptr %44, align 1
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %8, align 8
store i8 %46, ptr %47, align 1
br label %62
49: ; preds = %37
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %9, align 4
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load i32, ptr %9, align 4
%55 = load ptr, ptr %8, align 8
%56 = sext i32 %54 to i64
%57 = getelementptr inbounds i8, ptr %55, i64 %56
store ptr %57, ptr %8, align 8
%58 = load i32, ptr %10, align 4
%59 = load ptr, ptr %4, align 8
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %59, i64 %60
store ptr %61, ptr %4, align 8
br label %62
62: ; preds = %49, %43
br label %33, !llvm.loop !6
63: ; preds = %33
%64 = load ptr, ptr %8, align 8
store i8 0, ptr %64, align 1
br label %65
65: ; preds = %63, %28, %25, %22, %19, %3
%66 = load ptr, ptr %7, align 8
ret ptr %66
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbmqlplw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inline_replace(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
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %10, align 4
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %67
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %67
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %67
25: ; preds = %22
%26 = load i32, ptr %10, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %67
28: ; preds = %25
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp sge i32 %29, %30
br i1 %31, label %32, label %67
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %.lr.ph, label %65
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %61
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %10, align 4
%40 = call i64 @strncmp(ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %36
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %4, align 8
%45 = load i8, ptr %43, align 1
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %8, align 8
store i8 %45, ptr %46, align 1
br label %61
48: ; preds = %36
%49 = load ptr, ptr %8, align 8
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %9, align 4
%52 = call i32 @strncpy(ptr noundef %49, ptr noundef %50, i32 noundef %51)
%53 = load i32, ptr %9, align 4
%54 = load ptr, ptr %8, align 8
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, ptr %54, i64 %55
store ptr %56, ptr %8, align 8
%57 = load i32, ptr %10, align 4
%58 = load ptr, ptr %4, align 8
%59 = sext i32 %57 to i64
%60 = getelementptr inbounds i8, ptr %58, i64 %59
store ptr %60, ptr %4, align 8
br label %61
61: ; preds = %48, %42
%62 = load ptr, ptr %4, align 8
%63 = load i8, ptr %62, align 1
%64 = icmp ne i8 %63, 0
br i1 %64, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %65
65: ; preds = %._crit_edge, %32
%66 = load ptr, ptr %8, align 8
store i8 0, ptr %66, align 1
br label %67
67: ; preds = %65, %28, %25, %22, %19, %3
%68 = load ptr, ptr %7, align 8
ret ptr %68
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8a7aoec4.c'
source_filename = "/tmp/tmp8a7aoec4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"---------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Start Parsing AT >>>>>>>>> %s <<<<<<<<<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @startParsing(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @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/tmp8a7aoec4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"---------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Start Parsing AT >>>>>>>>> %s <<<<<<<<<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @startParsing(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @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/tmprthljmhd.c'
source_filename = "/tmp/tmprthljmhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"callback2 called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callback2() #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/tmprthljmhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"callback2 called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callback2() #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/tmpsj6pmd12.c'
source_filename = "/tmp/tmpsj6pmd12.c"
target datalayout = "e-m:e-p270: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/tmpsj6pmd12.c"
target datalayout = "e-m:e-p270: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/tmpmbo40t6v.c'
source_filename = "/tmp/tmpmbo40t6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT64_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = load i64, ptr @UINT64_MAX, align 8
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = add nsw i64 %3, 1
store i64 %4, ptr %1, align 8
%5 = load i64, ptr %1, align 8
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @__VERIFIER_assert(i32 noundef %7)
ret i32 0
}
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmbo40t6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT64_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = load i64, ptr @UINT64_MAX, align 8
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = add nsw i64 %3, 1
store i64 %4, ptr %1, align 8
%5 = load i64, ptr %1, align 8
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @__VERIFIER_assert(i32 noundef %7)
ret i32 0
}
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7askkryy.c'
source_filename = "/tmp/tmp7askkryy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [5000 x i8], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %23, %0
%7 = load i64, ptr %2, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %6
%10 = load i64, ptr %2, align 8
%11 = and i64 %10, 1
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = sext i32 %14 to i64
%17 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %16
store i8 53, ptr %17, align 1
br label %23
18: ; preds = %9
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %21
store i8 54, ptr %22, align 1
br label %23
23: ; preds = %18, %13
%24 = load i64, ptr %2, align 8
%25 = sub i64 %24, 1
%26 = udiv i64 %25, 2
store i64 %26, ptr %2, align 8
br label %6, !llvm.loop !6
27: ; preds = %6
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %40, %27
%31 = load i32, ptr %4, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %30
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38)
br label %40
40: ; preds = %33
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %4, align 4
br label %30, !llvm.loop !8
43: ; preds = %30
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7askkryy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [5000 x i8], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %22
%9 = load i64, ptr %2, align 8
%10 = and i64 %9, 1
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %15
store i8 53, ptr %16, align 1
br label %22
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %20
store i8 54, ptr %21, align 1
br label %22
22: ; preds = %17, %12
%23 = load i64, ptr %2, align 8
%24 = sub i64 %23, 1
%25 = udiv i64 %24, 2
store i64 %25, ptr %2, align 8
%26 = load i64, ptr %2, align 8
%27 = icmp ne i64 %26, 0
br i1 %27, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %.lr.ph2, label %45
.lr.ph2: ; preds = %28
br label %33
33: ; preds = %.lr.ph2, %40
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5000 x i8], ptr %3, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38)
br label %40
40: ; preds = %33
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp sge i32 %43, 0
br i1 %44, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %28
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu_nsu9q1.c'
source_filename = "/tmp/tmpu_nsu9q1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genP(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%17 = load i32, ptr %5, align 4
%18 = ashr i32 %17, 1
store i32 %18, ptr %11, align 4
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = fadd double %19, %20
%22 = fmul double 0x400921FB54442D18, %21
store double %22, ptr %12, align 8
%23 = load double, ptr %12, align 8
%24 = fsub double 0x400921FB54442D18, %23
%25 = fmul double 2.000000e+00, %24
store double %25, ptr %13, align 8
store double 0x3D06849B86A12B9B, ptr %14, align 8
store i32 0, ptr %9, align 4
br label %26
26: ; preds = %131, %4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %11, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %134
30: ; preds = %26
%31 = load double, ptr %13, align 8
%32 = load double, ptr %12, align 8
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
%35 = mul nsw i32 2, %34
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %35, %36
%38 = sub nsw i32 %37, 1
%39 = sitofp i32 %38 to double
%40 = fmul double %32, %39
%41 = call double @sin(double noundef %40) #2
%42 = fmul double 2.000000e+00, %41
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
%45 = mul nsw i32 2, %44
%46 = load i32, ptr %5, align 4
%47 = sub nsw i32 %45, %46
%48 = sub nsw i32 %47, 1
%49 = sitofp i32 %48 to double
%50 = fdiv double %42, %49
%51 = fsub double %31, %50
%52 = fadd double %51, 0x3D06849B86A12B9B
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %11, align 4
%56 = mul nsw i32 %54, %55
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %53, i64 %59
store double %52, ptr %60, align 8
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
br label %63
63: ; preds = %127, %30
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %11, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %130
67: ; preds = %63
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = load i32, ptr %10, align 4
%71 = add nsw i32 %70, 1
%72 = sub nsw i32 %69, %71
%73 = sitofp i32 %72 to double
store double %73, ptr %15, align 8
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
%78 = add nsw i32 %75, %77
%79 = sitofp i32 %78 to double
store double %79, ptr %16, align 8
%80 = load double, ptr %12, align 8
%81 = load double, ptr %15, align 8
%82 = fmul double %80, %81
%83 = call double @sin(double noundef %82) #2
%84 = load double, ptr %15, align 8
%85 = fdiv double %83, %84
%86 = load double, ptr %12, align 8
%87 = load double, ptr %16, align 8
%88 = load i32, ptr %5, align 4
%89 = sitofp i32 %88 to double
%90 = fsub double %87, %89
%91 = fsub double %90, 1.000000e+00
%92 = fmul double %86, %91
%93 = call double @sin(double noundef %92) #2
%94 = load double, ptr %16, align 8
%95 = load i32, ptr %5, align 4
%96 = sitofp i32 %95 to double
%97 = fsub double %94, %96
%98 = fsub double %97, 1.000000e+00
%99 = fdiv double %93, %98
%100 = fadd double %85, %99
%101 = fmul double -2.000000e+00, %100
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %9, align 4
%104 = load i32, ptr %11, align 4
%105 = mul nsw i32 %103, %104
%106 = load i32, ptr %10, align 4
%107 = add nsw i32 %105, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %102, i64 %108
store double %101, ptr %109, align 8
%110 = load ptr, ptr %8, align 8
%111 = load i32, ptr %9, align 4
%112 = load i32, ptr %11, align 4
%113 = mul nsw i32 %111, %112
%114 = load i32, ptr %10, align 4
%115 = add nsw i32 %113, %114
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %110, i64 %116
%118 = load double, ptr %117, align 8
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %10, align 4
%121 = load i32, ptr %11, align 4
%122 = mul nsw i32 %120, %121
%123 = load i32, ptr %9, align 4
%124 = add nsw i32 %122, %123
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %119, i64 %125
store double %118, ptr %126, align 8
br label %127
127: ; preds = %67
%128 = load i32, ptr %10, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %10, align 4
br label %63, !llvm.loop !6
130: ; preds = %63
br label %131
131: ; preds = %130
%132 = load i32, ptr %9, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %9, align 4
br label %26, !llvm.loop !8
134: ; preds = %26
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu_nsu9q1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genP(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%17 = load i32, ptr %5, align 4
%18 = ashr i32 %17, 1
store i32 %18, ptr %11, align 4
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = fadd double %19, %20
%22 = fmul double 0x400921FB54442D18, %21
store double %22, ptr %12, align 8
%23 = load double, ptr %12, align 8
%24 = fsub double 0x400921FB54442D18, %23
%25 = fmul double 2.000000e+00, %24
store double %25, ptr %13, align 8
store double 0x3D06849B86A12B9B, ptr %14, align 8
store i32 0, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %11, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %138
.lr.ph2: ; preds = %4
br label %29
29: ; preds = %.lr.ph2, %132
%30 = load double, ptr %13, align 8
%31 = load double, ptr %12, align 8
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
%34 = mul nsw i32 2, %33
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 1
%38 = sitofp i32 %37 to double
%39 = fmul double %31, %38
%40 = call double @sin(double noundef %39) #2
%41 = fmul double 2.000000e+00, %40
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
%44 = mul nsw i32 2, %43
%45 = load i32, ptr %5, align 4
%46 = sub nsw i32 %44, %45
%47 = sub nsw i32 %46, 1
%48 = sitofp i32 %47 to double
%49 = fdiv double %41, %48
%50 = fsub double %30, %49
%51 = fadd double %50, 0x3D06849B86A12B9B
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %11, align 4
%55 = mul nsw i32 %53, %54
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %52, i64 %58
store double %51, ptr %59, align 8
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = load i32, ptr %11, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %131
.lr.ph: ; preds = %29
br label %65
65: ; preds = %.lr.ph, %125
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, 1
%70 = sub nsw i32 %67, %69
%71 = sitofp i32 %70 to double
store double %71, ptr %15, align 8
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
%76 = add nsw i32 %73, %75
%77 = sitofp i32 %76 to double
store double %77, ptr %16, align 8
%78 = load double, ptr %12, align 8
%79 = load double, ptr %15, align 8
%80 = fmul double %78, %79
%81 = call double @sin(double noundef %80) #2
%82 = load double, ptr %15, align 8
%83 = fdiv double %81, %82
%84 = load double, ptr %12, align 8
%85 = load double, ptr %16, align 8
%86 = load i32, ptr %5, align 4
%87 = sitofp i32 %86 to double
%88 = fsub double %85, %87
%89 = fsub double %88, 1.000000e+00
%90 = fmul double %84, %89
%91 = call double @sin(double noundef %90) #2
%92 = load double, ptr %16, align 8
%93 = load i32, ptr %5, align 4
%94 = sitofp i32 %93 to double
%95 = fsub double %92, %94
%96 = fsub double %95, 1.000000e+00
%97 = fdiv double %91, %96
%98 = fadd double %83, %97
%99 = fmul double -2.000000e+00, %98
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %9, align 4
%102 = load i32, ptr %11, align 4
%103 = mul nsw i32 %101, %102
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %100, i64 %106
store double %99, ptr %107, align 8
%108 = load ptr, ptr %8, align 8
%109 = load i32, ptr %9, align 4
%110 = load i32, ptr %11, align 4
%111 = mul nsw i32 %109, %110
%112 = load i32, ptr %10, align 4
%113 = add nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %108, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %8, align 8
%118 = load i32, ptr %10, align 4
%119 = load i32, ptr %11, align 4
%120 = mul nsw i32 %118, %119
%121 = load i32, ptr %9, align 4
%122 = add nsw i32 %120, %121
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %117, i64 %123
store double %116, ptr %124, align 8
br label %125
125: ; preds = %65
%126 = load i32, ptr %10, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %10, align 4
%128 = load i32, ptr %10, align 4
%129 = load i32, ptr %11, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %125
br label %131
131: ; preds = %._crit_edge, %29
br label %132
132: ; preds = %131
%133 = load i32, ptr %9, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %9, align 4
%135 = load i32, ptr %9, align 4
%136 = load i32, ptr %11, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %132
br label %138
138: ; preds = %._crit_edge3, %4
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwokgq7fc.c'
source_filename = "/tmp/tmpwokgq7fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Reading input file %s...\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"ERROR: Could not open %s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Processing blocks...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readCharset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store ptr null, ptr %12, align 8
%13 = load i32, ptr %10, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %5
%16 = load ptr, ptr %9, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %15, %5
%19 = load ptr, ptr %9, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load ptr, ptr %9, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23)
store i32 21, ptr %11, align 4
br label %44
25: ; preds = %18
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @pcxReaderRead(ptr noundef %26, ptr noundef %27)
store i32 %28, ptr %11, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
br label %44
31: ; preds = %25
%32 = load i32, ptr %10, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @charsetProcessorRead(ptr noundef %37, ptr noundef %38, ptr noundef %39)
store i32 %40, ptr %11, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %36
br label %44
43: ; preds = %36
br label %44
44: ; preds = %43, %42, %30, %22
%45 = load ptr, ptr %12, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr %12, align 8
%49 = call i32 @fclose(ptr noundef %48)
br label %50
50: ; preds = %47, %44
%51 = load i32, ptr %11, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @pcxReaderRead(ptr noundef, ptr noundef) #1
declare i32 @charsetProcessorRead(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwokgq7fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Reading input file %s...\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"ERROR: Could not open %s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Processing blocks...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readCharset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store ptr null, ptr %12, align 8
%13 = load i32, ptr %10, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %5
%16 = load ptr, ptr %9, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %15, %5
%19 = load ptr, ptr %9, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load ptr, ptr %9, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23)
store i32 21, ptr %11, align 4
br label %44
25: ; preds = %18
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @pcxReaderRead(ptr noundef %26, ptr noundef %27)
store i32 %28, ptr %11, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
br label %44
31: ; preds = %25
%32 = load i32, ptr %10, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @charsetProcessorRead(ptr noundef %37, ptr noundef %38, ptr noundef %39)
store i32 %40, ptr %11, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %36
br label %44
43: ; preds = %36
br label %44
44: ; preds = %43, %42, %30, %22
%45 = load ptr, ptr %12, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr %12, align 8
%49 = call i32 @fclose(ptr noundef %48)
br label %50
50: ; preds = %47, %44
%51 = load i32, ptr %11, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @pcxReaderRead(ptr noundef, ptr noundef) #1
declare i32 @charsetProcessorRead(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8dyc7tnt.c'
source_filename = "/tmp/tmp8dyc7tnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @usleep(i32 noundef 10)
ret void
}
declare i32 @usleep(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/tmp8dyc7tnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @usleep(i32 noundef 10)
ret void
}
declare i32 @usleep(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/tmpuv3slnld.c'
source_filename = "/tmp/tmpuv3slnld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_get_shm(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = load i64, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @shmget(i32 noundef %10, i64 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store ptr null, ptr %4, align 8
br label %25
17: ; preds = %3
%18 = load i32, ptr %8, align 4
%19 = call ptr @shmat(i32 noundef %18, ptr noundef null, i32 noundef 0)
store ptr %19, ptr %9, align 8
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, inttoptr (i64 -1 to ptr)
br i1 %21, label %22, label %23
22: ; preds = %17
store ptr null, ptr %4, align 8
br label %25
23: ; preds = %17
%24 = load ptr, ptr %9, align 8
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %23, %22, %16
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare i32 @shmget(i32 noundef, i64 noundef, i32 noundef) #1
declare ptr @shmat(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/tmpuv3slnld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_get_shm(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = load i64, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @shmget(i32 noundef %10, i64 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store ptr null, ptr %4, align 8
br label %25
17: ; preds = %3
%18 = load i32, ptr %8, align 4
%19 = call ptr @shmat(i32 noundef %18, ptr noundef null, i32 noundef 0)
store ptr %19, ptr %9, align 8
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, inttoptr (i64 -1 to ptr)
br i1 %21, label %22, label %23
22: ; preds = %17
store ptr null, ptr %4, align 8
br label %25
23: ; preds = %17
%24 = load ptr, ptr %9, align 8
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %23, %22, %16
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare i32 @shmget(i32 noundef, i64 noundef, i32 noundef) #1
declare ptr @shmat(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/tmp4qsz7c1p.c'
source_filename = "/tmp/tmp4qsz7c1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Message for sendto.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute_sendto() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr @AF_INET, align 4
%5 = load i32, ptr @SOCK_DGRAM, align 4
%6 = load i32, ptr @IPPROTO_UDP, align 4
%7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %1, align 4
%8 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = call i32 @htons(i32 noundef 25588)
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
store i32 %15, ptr %16, align 4
store ptr @.str, ptr %3, align 8
%17 = load i32, ptr %1, align 4
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = add nsw i64 %20, 1
%22 = call i32 @sendto(i32 noundef %17, ptr noundef %18, i64 noundef %21, i32 noundef 0, ptr noundef %2, i32 noundef 12)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4qsz7c1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Message for sendto.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute_sendto() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr @AF_INET, align 4
%5 = load i32, ptr @SOCK_DGRAM, align 4
%6 = load i32, ptr @IPPROTO_UDP, align 4
%7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %1, align 4
%8 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = call i32 @htons(i32 noundef 25588)
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
store i32 %15, ptr %16, align 4
store ptr @.str, ptr %3, align 8
%17 = load i32, ptr %1, align 4
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = add nsw i64 %20, 1
%22 = call i32 @sendto(i32 noundef %17, ptr noundef %18, i64 noundef %21, i32 noundef 0, ptr noundef %2, i32 noundef 12)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpufzmq5gv.c'
source_filename = "/tmp/tmpufzmq5gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DNF\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"OTL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @enumeratePlacement(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %16
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @atoi(ptr noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %12, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @strcmp(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpufzmq5gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DNF\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"OTL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @enumeratePlacement(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %16
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @atoi(ptr noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %12, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @strcmp(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"}
|
; ModuleID = '/tmp/tmpxqop47av.c'
source_filename = "/tmp/tmpxqop47av.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Teste de par\C3\A2metros.\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Nosso programa recebeu %i argumentos.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Par\C3\A2metro %i tem valor %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %22, %2
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, ptr noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %10, !llvm.loop !6
25: ; preds = %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/tmpxqop47av.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Teste de par\C3\A2metros.\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Nosso programa recebeu %i argumentos.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Par\C3\A2metro %i tem valor %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
ret 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/tmpavsgz35e.c'
source_filename = "/tmp/tmpavsgz35e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a card: \00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"Bad card; ignored.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Duplicate card; ignored.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_cards(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [13 x [4 x i32]], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %35, %2
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %14, 13
br i1 %15, label %16, label %38
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 0, ptr %20, align 4
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %31, %16
%22 = load i32, ptr %10, align 4
%23 = icmp slt i32 %22, 4
br i1 %23, label %24, label %34
24: ; preds = %21
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %26
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x i32], ptr %27, i64 0, i64 %29
store i32 0, ptr %30, align 4
br label %31
31: ; preds = %24
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %21, !llvm.loop !6
34: ; preds = %21
br label %35
35: ; preds = %34
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %13, !llvm.loop !8
38: ; preds = %13
store i32 0, ptr %10, align 4
br label %39
39: ; preds = %47, %38
%40 = load i32, ptr %10, align 4
%41 = icmp slt i32 %40, 4
br i1 %41, label %42, label %50
42: ; preds = %39
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 0, ptr %46, align 4
br label %47
47: ; preds = %42
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
br label %39, !llvm.loop !9
50: ; preds = %39
br label %51
51: ; preds = %130, %50
%52 = load i32, ptr %12, align 4
%53 = icmp slt i32 %52, 5
br i1 %53, label %54, label %131
54: ; preds = %51
store i32 0, ptr %11, align 4
%55 = call i32 @printf(ptr noundef @.str)
%56 = call i32 (...) @getchar()
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
switch i32 %57, label %74 [
i32 48, label %58
i32 50, label %61
i32 51, label %62
i32 52, label %63
i32 53, label %64
i32 54, label %65
i32 55, label %66
i32 56, label %67
i32 57, label %68
i32 116, label %69
i32 84, label %69
i32 106, label %70
i32 74, label %70
i32 113, label %71
i32 81, label %71
i32 107, label %72
i32 75, label %72
i32 97, label %73
i32 65, label %73
]
58: ; preds = %54
%59 = load i32, ptr @EXIT_SUCCESS, align 4
%60 = call i32 @exit(i32 noundef %59) #3
unreachable
61: ; preds = %54
store i32 0, ptr %9, align 4
br label %75
62: ; preds = %54
store i32 1, ptr %9, align 4
br label %75
63: ; preds = %54
store i32 2, ptr %9, align 4
br label %75
64: ; preds = %54
store i32 3, ptr %9, align 4
br label %75
65: ; preds = %54
store i32 4, ptr %9, align 4
br label %75
66: ; preds = %54
store i32 5, ptr %9, align 4
br label %75
67: ; preds = %54
store i32 6, ptr %9, align 4
br label %75
68: ; preds = %54
store i32 7, ptr %9, align 4
br label %75
69: ; preds = %54, %54
store i32 8, ptr %9, align 4
br label %75
70: ; preds = %54, %54
store i32 9, ptr %9, align 4
br label %75
71: ; preds = %54, %54
store i32 10, ptr %9, align 4
br label %75
72: ; preds = %54, %54
store i32 11, ptr %9, align 4
br label %75
73: ; preds = %54, %54
store i32 12, ptr %9, align 4
br label %75
74: ; preds = %54
store i32 1, ptr %11, align 4
br label %75
75: ; preds = %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61
%76 = call i32 (...) @getchar()
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
switch i32 %77, label %82 [
i32 99, label %78
i32 67, label %78
i32 100, label %79
i32 68, label %79
i32 104, label %80
i32 72, label %80
i32 115, label %81
i32 83, label %81
]
78: ; preds = %75, %75
store i32 0, ptr %10, align 4
br label %83
79: ; preds = %75, %75
store i32 1, ptr %10, align 4
br label %83
80: ; preds = %75, %75
store i32 2, ptr %10, align 4
br label %83
81: ; preds = %75, %75
store i32 3, ptr %10, align 4
br label %83
82: ; preds = %75
store i32 1, ptr %11, align 4
br label %83
83: ; preds = %82, %81, %80, %79, %78
br label %84
84: ; preds = %91, %83
%85 = call i32 (...) @getchar()
store i32 %85, ptr %6, align 4
%86 = icmp ne i32 %85, 10
br i1 %86, label %87, label %92
87: ; preds = %84
%88 = load i32, ptr %6, align 4
%89 = icmp ne i32 %88, 32
br i1 %89, label %90, label %91
90: ; preds = %87
store i32 1, ptr %11, align 4
br label %91
91: ; preds = %90, %87
br label %84, !llvm.loop !10
92: ; preds = %84
%93 = load i32, ptr %11, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %92
%96 = call i32 @printf(ptr noundef @.str.1)
br label %130
97: ; preds = %92
%98 = load i32, ptr %9, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %99
%101 = load i32, ptr %10, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [4 x i32], ptr %100, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %97
%107 = call i32 @printf(ptr noundef @.str.2)
br label %129
108: ; preds = %97
%109 = load ptr, ptr %3, align 8
%110 = load i32, ptr %9, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
%113 = load i32, ptr %112, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %112, align 4
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %10, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %115, i64 %117
%119 = load i32, ptr %118, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %118, align 4
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %122
%124 = load i32, ptr %10, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [4 x i32], ptr %123, i64 0, i64 %125
store i32 1, ptr %126, align 4
%127 = load i32, ptr %12, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %12, align 4
br label %129
129: ; preds = %108, %106
br label %130
130: ; preds = %129, %95
br label %51, !llvm.loop !11
131: ; preds = %51
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpavsgz35e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a card: \00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"Bad card; ignored.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Duplicate card; ignored.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_cards(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [13 x [4 x i32]], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 13
br i1 %14, label %.lr.ph2, label %40
.lr.ph2: ; preds = %2
br label %15
15: ; preds = %.lr.ph2, %35
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 0, ptr %19, align 4
store i32 0, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %20, 4
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %29
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %24
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 %27
store i32 0, ptr %28, align 4
br label %29
29: ; preds = %22
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp slt i32 %32, 4
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %15
br label %35
35: ; preds = %34
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp slt i32 %38, 13
br i1 %39, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %40
40: ; preds = %._crit_edge3, %2
store i32 0, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = icmp slt i32 %41, 4
br i1 %42, label %.lr.ph5, label %53
.lr.ph5: ; preds = %40
br label %43
43: ; preds = %.lr.ph5, %48
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 0, ptr %47, align 4
br label %48
48: ; preds = %43
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp slt i32 %51, 4
br i1 %52, label %43, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %48
br label %53
53: ; preds = %._crit_edge6, %40
%54 = load i32, ptr %12, align 4
%55 = icmp slt i32 %54, 5
br i1 %55, label %.lr.ph11, label %136
.lr.ph11: ; preds = %53
br label %56
56: ; preds = %.lr.ph11, %133
store i32 0, ptr %11, align 4
%57 = call i32 @printf(ptr noundef @.str)
%58 = call i32 (...) @getchar()
store i32 %58, ptr %7, align 4
%59 = load i32, ptr %7, align 4
switch i32 %59, label %76 [
i32 48, label %60
i32 50, label %63
i32 51, label %64
i32 52, label %65
i32 53, label %66
i32 54, label %67
i32 55, label %68
i32 56, label %69
i32 57, label %70
i32 116, label %71
i32 84, label %71
i32 106, label %72
i32 74, label %72
i32 113, label %73
i32 81, label %73
i32 107, label %74
i32 75, label %74
i32 97, label %75
i32 65, label %75
]
60: ; preds = %56
%61 = load i32, ptr @EXIT_SUCCESS, align 4
%62 = call i32 @exit(i32 noundef %61) #3
unreachable
63: ; preds = %56
store i32 0, ptr %9, align 4
br label %77
64: ; preds = %56
store i32 1, ptr %9, align 4
br label %77
65: ; preds = %56
store i32 2, ptr %9, align 4
br label %77
66: ; preds = %56
store i32 3, ptr %9, align 4
br label %77
67: ; preds = %56
store i32 4, ptr %9, align 4
br label %77
68: ; preds = %56
store i32 5, ptr %9, align 4
br label %77
69: ; preds = %56
store i32 6, ptr %9, align 4
br label %77
70: ; preds = %56
store i32 7, ptr %9, align 4
br label %77
71: ; preds = %56, %56
store i32 8, ptr %9, align 4
br label %77
72: ; preds = %56, %56
store i32 9, ptr %9, align 4
br label %77
73: ; preds = %56, %56
store i32 10, ptr %9, align 4
br label %77
74: ; preds = %56, %56
store i32 11, ptr %9, align 4
br label %77
75: ; preds = %56, %56
store i32 12, ptr %9, align 4
br label %77
76: ; preds = %56
store i32 1, ptr %11, align 4
br label %77
77: ; preds = %76, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63
%78 = call i32 (...) @getchar()
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
switch i32 %79, label %84 [
i32 99, label %80
i32 67, label %80
i32 100, label %81
i32 68, label %81
i32 104, label %82
i32 72, label %82
i32 115, label %83
i32 83, label %83
]
80: ; preds = %77, %77
store i32 0, ptr %10, align 4
br label %85
81: ; preds = %77, %77
store i32 1, ptr %10, align 4
br label %85
82: ; preds = %77, %77
store i32 2, ptr %10, align 4
br label %85
83: ; preds = %77, %77
store i32 3, ptr %10, align 4
br label %85
84: ; preds = %77
store i32 1, ptr %11, align 4
br label %85
85: ; preds = %84, %83, %82, %81, %80
%86 = call i32 (...) @getchar()
store i32 %86, ptr %6, align 4
%87 = icmp ne i32 %86, 10
br i1 %87, label %.lr.ph8, label %95
.lr.ph8: ; preds = %85
br label %88
88: ; preds = %.lr.ph8, %92
%89 = load i32, ptr %6, align 4
%90 = icmp ne i32 %89, 32
br i1 %90, label %91, label %92
91: ; preds = %88
store i32 1, ptr %11, align 4
br label %92
92: ; preds = %91, %88
%93 = call i32 (...) @getchar()
store i32 %93, ptr %6, align 4
%94 = icmp ne i32 %93, 10
br i1 %94, label %88, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %92
br label %95
95: ; preds = %._crit_edge9, %85
%96 = load i32, ptr %11, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = call i32 @printf(ptr noundef @.str.1)
br label %133
100: ; preds = %95
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %102
%104 = load i32, ptr %10, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [4 x i32], ptr %103, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %111
109: ; preds = %100
%110 = call i32 @printf(ptr noundef @.str.2)
br label %132
111: ; preds = %100
%112 = load ptr, ptr %3, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %115, align 4
%118 = load ptr, ptr %4, align 8
%119 = load i32, ptr %10, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
%122 = load i32, ptr %121, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %121, align 4
%124 = load i32, ptr %9, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [13 x [4 x i32]], ptr %5, i64 0, i64 %125
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [4 x i32], ptr %126, i64 0, i64 %128
store i32 1, ptr %129, align 4
%130 = load i32, ptr %12, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %12, align 4
br label %132
132: ; preds = %111, %109
br label %133
133: ; preds = %132, %98
%134 = load i32, ptr %12, align 4
%135 = icmp slt i32 %134, 5
br i1 %135, label %56, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %133
br label %136
136: ; preds = %._crit_edge12, %53
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpw9cprrk2.c'
source_filename = "/tmp/tmpw9cprrk2.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"<%s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
store ptr null, ptr %15, align 8
%16 = load ptr, ptr %14, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %7
%19 = load ptr, ptr %14, align 8
store ptr %19, ptr %15, align 8
br label %22
20: ; preds = %7
%21 = load ptr, ptr @stderr, align 8
store ptr %21, ptr %15, align 8
br label %22
22: ; preds = %20, %18
%23 = load ptr, ptr %15, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str, ptr noundef %24)
ret i32 0
}
declare i32 @fprintf(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/tmpw9cprrk2.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"<%s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
store ptr null, ptr %15, align 8
%16 = load ptr, ptr %14, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %7
%19 = load ptr, ptr %14, align 8
store ptr %19, ptr %15, align 8
br label %22
20: ; preds = %7
%21 = load ptr, ptr @stderr, align 8
store ptr %21, ptr %15, align 8
br label %22
22: ; preds = %20, %18
%23 = load ptr, ptr %15, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str, ptr noundef %24)
ret i32 0
}
declare i32 @fprintf(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/tmplikwffyk.c'
source_filename = "/tmp/tmplikwffyk.c"
target datalayout = "e-m:e-p270: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/tmplikwffyk.c"
target datalayout = "e-m:e-p270: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/tmpud93tqfl.c'
source_filename = "/tmp/tmpud93tqfl.c"
target datalayout = "e-m:e-p270: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/tmpud93tqfl.c"
target datalayout = "e-m:e-p270: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/tmpcxqeey8s.c'
source_filename = "/tmp/tmpcxqeey8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Usage: %s [options] g1 g2 ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c" %s -m r:m\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c" %s -F file\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"For more information type: %s -h \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcxqeey8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Usage: %s [options] g1 g2 ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c" %s -m r:m\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c" %s -F file\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"For more information type: %s -h \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsbjcmzcp.c'
source_filename = "/tmp/tmpsbjcmzcp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 1
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbjcmzcp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 1
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyl9ej_vj.c'
source_filename = "/tmp/tmpyl9ej_vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaDpav(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 0
%16 = load double, ptr %15, align 8
store double %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds double, ptr %17, i64 1
%19 = load double, ptr %18, align 8
store double %19, ptr %6, align 8
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds double, ptr %20, i64 2
%22 = load double, ptr %21, align 8
store double %22, ptr %7, align 8
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %6, align 8
%26 = load double, ptr %6, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
%29 = load double, ptr %7, align 8
%30 = load double, ptr %7, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @sqrt(double noundef %31) #3
store double %32, ptr %8, align 8
%33 = load double, ptr %8, align 8
%34 = fcmp une double %33, 0.000000e+00
br i1 %34, label %35, label %45
35: ; preds = %2
%36 = load double, ptr %8, align 8
%37 = load double, ptr %5, align 8
%38 = fdiv double %37, %36
store double %38, ptr %5, align 8
%39 = load double, ptr %8, align 8
%40 = load double, ptr %6, align 8
%41 = fdiv double %40, %39
store double %41, ptr %6, align 8
%42 = load double, ptr %8, align 8
%43 = load double, ptr %7, align 8
%44 = fdiv double %43, %42
store double %44, ptr %7, align 8
br label %45
45: ; preds = %35, %2
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
store double %48, ptr %9, align 8
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds double, ptr %49, i64 1
%51 = load double, ptr %50, align 8
store double %51, ptr %10, align 8
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds double, ptr %52, i64 2
%54 = load double, ptr %53, align 8
store double %54, ptr %11, align 8
%55 = load double, ptr %10, align 8
%56 = load double, ptr %5, align 8
%57 = load double, ptr %9, align 8
%58 = load double, ptr %6, align 8
%59 = fmul double %57, %58
%60 = fneg double %59
%61 = call double @llvm.fmuladd.f64(double %55, double %56, double %60)
store double %61, ptr %12, align 8
%62 = load double, ptr %11, align 8
%63 = load double, ptr %5, align 8
%64 = load double, ptr %5, align 8
%65 = load double, ptr %6, align 8
%66 = load double, ptr %6, align 8
%67 = fmul double %65, %66
%68 = call double @llvm.fmuladd.f64(double %63, double %64, double %67)
%69 = load double, ptr %7, align 8
%70 = load double, ptr %9, align 8
%71 = load double, ptr %5, align 8
%72 = load double, ptr %10, align 8
%73 = load double, ptr %6, align 8
%74 = fmul double %72, %73
%75 = call double @llvm.fmuladd.f64(double %70, double %71, double %74)
%76 = fmul double %69, %75
%77 = fneg double %76
%78 = call double @llvm.fmuladd.f64(double %62, double %68, double %77)
store double %78, ptr %13, align 8
%79 = load double, ptr %12, align 8
%80 = fcmp une double %79, 0.000000e+00
br i1 %80, label %84, label %81
81: ; preds = %45
%82 = load double, ptr %13, align 8
%83 = fcmp une double %82, 0.000000e+00
br i1 %83, label %84, label %88
84: ; preds = %81, %45
%85 = load double, ptr %12, align 8
%86 = load double, ptr %13, align 8
%87 = call double @atan2(double noundef %85, double noundef %86) #3
br label %89
88: ; preds = %81
br label %89
89: ; preds = %88, %84
%90 = phi double [ %87, %84 ], [ 0.000000e+00, %88 ]
ret double %90
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyl9ej_vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaDpav(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 0
%16 = load double, ptr %15, align 8
store double %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds double, ptr %17, i64 1
%19 = load double, ptr %18, align 8
store double %19, ptr %6, align 8
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds double, ptr %20, i64 2
%22 = load double, ptr %21, align 8
store double %22, ptr %7, align 8
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = load double, ptr %6, align 8
%26 = load double, ptr %6, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
%29 = load double, ptr %7, align 8
%30 = load double, ptr %7, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @sqrt(double noundef %31) #3
store double %32, ptr %8, align 8
%33 = load double, ptr %8, align 8
%34 = fcmp une double %33, 0.000000e+00
br i1 %34, label %35, label %45
35: ; preds = %2
%36 = load double, ptr %8, align 8
%37 = load double, ptr %5, align 8
%38 = fdiv double %37, %36
store double %38, ptr %5, align 8
%39 = load double, ptr %8, align 8
%40 = load double, ptr %6, align 8
%41 = fdiv double %40, %39
store double %41, ptr %6, align 8
%42 = load double, ptr %8, align 8
%43 = load double, ptr %7, align 8
%44 = fdiv double %43, %42
store double %44, ptr %7, align 8
br label %45
45: ; preds = %35, %2
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
store double %48, ptr %9, align 8
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds double, ptr %49, i64 1
%51 = load double, ptr %50, align 8
store double %51, ptr %10, align 8
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds double, ptr %52, i64 2
%54 = load double, ptr %53, align 8
store double %54, ptr %11, align 8
%55 = load double, ptr %10, align 8
%56 = load double, ptr %5, align 8
%57 = load double, ptr %9, align 8
%58 = load double, ptr %6, align 8
%59 = fmul double %57, %58
%60 = fneg double %59
%61 = call double @llvm.fmuladd.f64(double %55, double %56, double %60)
store double %61, ptr %12, align 8
%62 = load double, ptr %11, align 8
%63 = load double, ptr %5, align 8
%64 = load double, ptr %5, align 8
%65 = load double, ptr %6, align 8
%66 = load double, ptr %6, align 8
%67 = fmul double %65, %66
%68 = call double @llvm.fmuladd.f64(double %63, double %64, double %67)
%69 = load double, ptr %7, align 8
%70 = load double, ptr %9, align 8
%71 = load double, ptr %5, align 8
%72 = load double, ptr %10, align 8
%73 = load double, ptr %6, align 8
%74 = fmul double %72, %73
%75 = call double @llvm.fmuladd.f64(double %70, double %71, double %74)
%76 = fmul double %69, %75
%77 = fneg double %76
%78 = call double @llvm.fmuladd.f64(double %62, double %68, double %77)
store double %78, ptr %13, align 8
%79 = load double, ptr %12, align 8
%80 = fcmp une double %79, 0.000000e+00
br i1 %80, label %84, label %81
81: ; preds = %45
%82 = load double, ptr %13, align 8
%83 = fcmp une double %82, 0.000000e+00
br i1 %83, label %84, label %88
84: ; preds = %81, %45
%85 = load double, ptr %12, align 8
%86 = load double, ptr %13, align 8
%87 = call double @atan2(double noundef %85, double noundef %86) #3
br label %89
88: ; preds = %81
br label %89
89: ; preds = %88, %84
%90 = phi double [ %87, %84 ], [ 0.000000e+00, %88 ]
ret double %90
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8fvp413x.c'
source_filename = "/tmp/tmp8fvp413x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%s: no input files\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"--repeat\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"file '%s' can not be fully validated\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca 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 1, ptr %7, align 4
store i32 1, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13, %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1)
%23 = icmp ne i32 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %24, %18
%32 = load i32, ptr %7, align 4
store i32 %32, ptr %6, align 4
br label %33
33: ; preds = %52, %31
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %55
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %9, align 8
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %8, align 4
%45 = call i32 @ValidateFile(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %37
%49 = load ptr, ptr %9, align 8
%50 = call i32 @printf(ptr noundef @.str.2, ptr noundef %49)
store i32 1, ptr %3, align 4
br label %56
51: ; preds = %37
br label %52
52: ; preds = %51
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
br label %33, !llvm.loop !6
55: ; preds = %33
store i32 0, ptr %3, align 4
br label %56
56: ; preds = %55, %48
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @ValidateFile(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/tmp8fvp413x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%s: no input files\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"--repeat\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"file '%s' can not be fully validated\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca 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 1, ptr %7, align 4
store i32 1, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13, %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1)
%23 = icmp ne i32 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %24, %18
%32 = load i32, ptr %7, align 4
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %57
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %51
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @ValidateFile(ptr noundef %42, i32 noundef %43)
store i32 %44, ptr %10, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %36
%48 = load ptr, ptr %9, align 8
%49 = call i32 @printf(ptr noundef @.str.2, ptr noundef %48)
store i32 1, ptr %3, align 4
br label %58
50: ; preds = %36
br label %51
51: ; preds = %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %31
store i32 0, ptr %3, align 4
br label %58
58: ; preds = %57, %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @ValidateFile(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/tmpsji5_6nu.c'
source_filename = "/tmp/tmpsji5_6nu.c"
target datalayout = "e-m:e-p270: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/tmpsji5_6nu.c"
target datalayout = "e-m:e-p270: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/tmpvl8pgvt_.c'
source_filename = "/tmp/tmpvl8pgvt_.c"
target datalayout = "e-m:e-p270: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/tmpvl8pgvt_.c"
target datalayout = "e-m:e-p270: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/tmp1p5ur25q.c'
source_filename = "/tmp/tmp1p5ur25q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCenter() #0 {
%1 = call i32 (...) @getMaxH()
%2 = sdiv i32 %1, 2
%3 = call i32 (...) @getMaxW()
%4 = sdiv i32 %3, 2
%5 = call i32 @getCoor(i32 noundef %2, i32 noundef %4)
ret i32 %5
}
declare i32 @getCoor(i32 noundef, i32 noundef) #1
declare i32 @getMaxH(...) #1
declare i32 @getMaxW(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1p5ur25q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCenter() #0 {
%1 = call i32 (...) @getMaxH()
%2 = sdiv i32 %1, 2
%3 = call i32 (...) @getMaxW()
%4 = sdiv i32 %3, 2
%5 = call i32 @getCoor(i32 noundef %2, i32 noundef %4)
ret i32 %5
}
declare i32 @getCoor(i32 noundef, i32 noundef) #1
declare i32 @getMaxH(...) #1
declare i32 @getMaxW(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuqcdh95k.c'
source_filename = "/tmp/tmpuqcdh95k.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: ./test ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %9, align 8
store i32 0, ptr %6, align 4
br label %26
26: ; preds = %42, %18
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %45
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %31, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @atoi(ptr noundef %36)
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
br label %42
42: ; preds = %30
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %26, !llvm.loop !6
45: ; preds = %26
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %4, align 4
%48 = sub nsw i32 %47, 1
%49 = call ptr @permute(ptr noundef %46, i32 noundef %48, ptr noundef %8, ptr noundef %10)
store ptr %49, ptr %11, align 8
store i32 0, ptr %6, align 4
br label %50
50: ; preds = %76, %45
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %79
54: ; preds = %50
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %71, %54
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %4, align 4
%58 = sub nsw i32 %57, 1
%59 = icmp slt i32 %56, %58
br i1 %59, label %60, label %74
60: ; preds = %55
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @printf(ptr noundef @.str.1, i32 noundef %69)
br label %71
71: ; preds = %60
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %7, align 4
br label %55, !llvm.loop !8
74: ; preds = %55
%75 = call i32 @putchar(i8 noundef signext 10)
br label %76
76: ; preds = %74
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
br label %50, !llvm.loop !9
79: ; preds = %50
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @permute(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuqcdh95k.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: ./test ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %9, align 8
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %47
.lr.ph: ; preds = %18
br label %29
29: ; preds = %.lr.ph, %41
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %30, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i32 @atoi(ptr noundef %35)
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %36, ptr %40, align 4
br label %41
41: ; preds = %29
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %18
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 1
%51 = call ptr @permute(ptr noundef %48, i32 noundef %50, ptr noundef %8, ptr noundef %10)
store ptr %51, ptr %11, align 8
store i32 0, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph5, label %86
.lr.ph5: ; preds = %47
br label %55
55: ; preds = %.lr.ph5, %80
store i32 0, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %4, align 4
%58 = sub nsw i32 %57, 1
%59 = icmp slt i32 %56, %58
br i1 %59, label %.lr.ph2, label %78
.lr.ph2: ; preds = %55
br label %60
60: ; preds = %.lr.ph2, %71
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @printf(ptr noundef @.str.1, i32 noundef %69)
br label %71
71: ; preds = %60
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %4, align 4
%76 = sub nsw i32 %75, 1
%77 = icmp slt i32 %74, %76
br i1 %77, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %78
78: ; preds = %._crit_edge3, %55
%79 = call i32 @putchar(i8 noundef signext 10)
br label %80
80: ; preds = %78
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %80
br label %86
86: ; preds = %._crit_edge6, %47
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @permute(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpmmsvzhl9.c'
source_filename = "/tmp/tmpmmsvzhl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compose_flipped(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %8, align 4
%12 = sub nsw i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %14, %15
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmmsvzhl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compose_flipped(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %8, align 4
%12 = sub nsw i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %14, %15
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8fl_44ut.c'
source_filename = "/tmp/tmp8fl_44ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOBUFS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fl_44ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOBUFS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9w6azkee.c'
source_filename = "/tmp/tmp9w6azkee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@S_IWUSR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_print_permission_info(i32 %0) #0 {
%2 = alloca %struct.stat, align 4
%3 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
store i32 %0, ptr %3, align 4
%4 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i64 @S_ISDIR(i32 noundef %5)
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str, ptr @.str.1
%10 = call i32 @printf(ptr noundef %9)
%11 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr @S_IRUSR, align 4
%14 = and i32 %12, %13
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.2, ptr @.str.1
%18 = call i32 @printf(ptr noundef %17)
%19 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @S_IWUSR, align 4
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
%24 = zext i1 %23 to i64
%25 = select i1 %23, ptr @.str.3, ptr @.str.1
%26 = call i32 @printf(ptr noundef %25)
%27 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr @S_IXUSR, align 4
%30 = and i32 %28, %29
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, ptr @.str.4, ptr @.str.1
%34 = call i32 @printf(ptr noundef %33)
%35 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr @S_IRGRP, align 4
%38 = and i32 %36, %37
%39 = icmp ne i32 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.2, ptr @.str.1
%42 = call i32 @printf(ptr noundef %41)
%43 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = load i32, ptr @S_IWGRP, align 4
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, ptr @.str.3, ptr @.str.1
%50 = call i32 @printf(ptr noundef %49)
%51 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @S_IXGRP, align 4
%54 = and i32 %52, %53
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i64
%57 = select i1 %55, ptr @.str.4, ptr @.str.1
%58 = call i32 @printf(ptr noundef %57)
%59 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr @S_IROTH, align 4
%62 = and i32 %60, %61
%63 = icmp ne i32 %62, 0
%64 = zext i1 %63 to i64
%65 = select i1 %63, ptr @.str.2, ptr @.str.1
%66 = call i32 @printf(ptr noundef %65)
%67 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr @S_IWOTH, align 4
%70 = and i32 %68, %69
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, ptr @.str.3, ptr @.str.1
%74 = call i32 @printf(ptr noundef %73)
%75 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @S_IXOTH, align 4
%78 = and i32 %76, %77
%79 = icmp ne i32 %78, 0
%80 = zext i1 %79 to i64
%81 = select i1 %79, ptr @.str.4, ptr @.str.1
%82 = call i32 @printf(ptr noundef %81)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w6azkee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@S_IWUSR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_print_permission_info(i32 %0) #0 {
%2 = alloca %struct.stat, align 4
%3 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
store i32 %0, ptr %3, align 4
%4 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i64 @S_ISDIR(i32 noundef %5)
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str, ptr @.str.1
%10 = call i32 @printf(ptr noundef %9)
%11 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr @S_IRUSR, align 4
%14 = and i32 %12, %13
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.2, ptr @.str.1
%18 = call i32 @printf(ptr noundef %17)
%19 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @S_IWUSR, align 4
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
%24 = zext i1 %23 to i64
%25 = select i1 %23, ptr @.str.3, ptr @.str.1
%26 = call i32 @printf(ptr noundef %25)
%27 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr @S_IXUSR, align 4
%30 = and i32 %28, %29
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, ptr @.str.4, ptr @.str.1
%34 = call i32 @printf(ptr noundef %33)
%35 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr @S_IRGRP, align 4
%38 = and i32 %36, %37
%39 = icmp ne i32 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.2, ptr @.str.1
%42 = call i32 @printf(ptr noundef %41)
%43 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = load i32, ptr @S_IWGRP, align 4
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, ptr @.str.3, ptr @.str.1
%50 = call i32 @printf(ptr noundef %49)
%51 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @S_IXGRP, align 4
%54 = and i32 %52, %53
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i64
%57 = select i1 %55, ptr @.str.4, ptr @.str.1
%58 = call i32 @printf(ptr noundef %57)
%59 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr @S_IROTH, align 4
%62 = and i32 %60, %61
%63 = icmp ne i32 %62, 0
%64 = zext i1 %63 to i64
%65 = select i1 %63, ptr @.str.2, ptr @.str.1
%66 = call i32 @printf(ptr noundef %65)
%67 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr @S_IWOTH, align 4
%70 = and i32 %68, %69
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, ptr @.str.3, ptr @.str.1
%74 = call i32 @printf(ptr noundef %73)
%75 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @S_IXOTH, align 4
%78 = and i32 %76, %77
%79 = icmp ne i32 %78, 0
%80 = zext i1 %79 to i64
%81 = select i1 %79, ptr @.str.4, ptr @.str.1
%82 = call i32 @printf(ptr noundef %81)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptj86cuwd.c'
source_filename = "/tmp/tmptj86cuwd.c"
target datalayout = "e-m:e-p270: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.gradeBook = private unnamed_addr constant [3 x float] [float 0x404E1999A0000000, float 9.450000e+01, float 0x4054466660000000], align 4
@.str = private unnamed_addr constant [16 x i8] c"Average = %.2f\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 [3 x float], align 4
%7 = alloca float, 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 4 %6, ptr align 4 @__const.main.gradeBook, i64 12, i1 false)
%8 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%9 = call float @averageFloats(ptr noundef %8, i32 noundef 3)
store float %9, ptr %7, align 4
%10 = load float, ptr %7, align 4
%11 = call i32 @printf(ptr noundef @.str, float noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @averageFloats(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptj86cuwd.c"
target datalayout = "e-m:e-p270: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.gradeBook = private unnamed_addr constant [3 x float] [float 0x404E1999A0000000, float 9.450000e+01, float 0x4054466660000000], align 4
@.str = private unnamed_addr constant [16 x i8] c"Average = %.2f\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 [3 x float], align 4
%7 = alloca float, 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 4 %6, ptr align 4 @__const.main.gradeBook, i64 12, i1 false)
%8 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%9 = call float @averageFloats(ptr noundef %8, i32 noundef 3)
store float %9, ptr %7, align 4
%10 = load float, ptr %7, align 4
%11 = call i32 @printf(ptr noundef @.str, float noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @averageFloats(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1_lkbpgr.c'
source_filename = "/tmp/tmp1_lkbpgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fp_reg_read(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @c2_addr_write(i32 noundef 180)
%4 = call i32 @fpdat_write(i32 noundef 9)
%5 = call i32 (...) @check_status()
%6 = load i32, ptr %2, align 4
%7 = call i32 @fpdat_write(i32 noundef %6)
%8 = call i32 @fpdat_write(i32 noundef 1)
%9 = call i32 (...) @fpdat_read()
ret i32 %9
}
declare i32 @c2_addr_write(i32 noundef) #1
declare i32 @fpdat_write(i32 noundef) #1
declare i32 @check_status(...) #1
declare i32 @fpdat_read(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_lkbpgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fp_reg_read(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @c2_addr_write(i32 noundef 180)
%4 = call i32 @fpdat_write(i32 noundef 9)
%5 = call i32 (...) @check_status()
%6 = load i32, ptr %2, align 4
%7 = call i32 @fpdat_write(i32 noundef %6)
%8 = call i32 @fpdat_write(i32 noundef 1)
%9 = call i32 (...) @fpdat_read()
ret i32 %9
}
declare i32 @c2_addr_write(i32 noundef) #1
declare i32 @fpdat_write(i32 noundef) #1
declare i32 @check_status(...) #1
declare i32 @fpdat_read(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1j3lgfv1.c'
source_filename = "/tmp/tmp1j3lgfv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %6, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %10, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1j3lgfv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %6, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %10, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr4rshruu.c'
source_filename = "/tmp/tmpr4rshruu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca 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 i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%22 = load i32, ptr %11, align 4
%23 = mul nsw i32 %22, 2
store i32 %23, ptr %17, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %26, label %36
26: ; preds = %6
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %15, align 4
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %15, align 4
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %15, align 4
%35 = call i32 @bn_mul_normal(ptr noundef %30, ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34)
br label %456
36: ; preds = %6
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i32, ptr %11, align 4
%43 = call i32 @bn_cmp_words(ptr noundef %37, ptr noundef %41, i32 noundef %42)
store i32 %43, ptr %13, align 4
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %11, align 4
%50 = call i32 @bn_cmp_words(ptr noundef %47, ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %14, align 4
store i32 0, ptr %18, align 4
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %51, 3
%53 = load i32, ptr %14, align 4
%54 = add nsw i32 %52, %53
switch i32 %54, label %135 [
i32 -4, label %55
i32 -3, label %75
i32 -2, label %75
i32 -1, label %95
i32 0, label %95
i32 1, label %95
i32 2, label %95
i32 3, label %115
i32 4, label %115
]
55: ; preds = %36
%56 = load ptr, ptr %12, align 8
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i64, ptr %57, i64 %59
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %11, align 4
%63 = call i64 @bn_sub_words(ptr noundef %56, ptr noundef %60, ptr noundef %61, i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i64, ptr %64, i64 %66
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %11, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i64, ptr %69, i64 %71
%73 = load i32, ptr %11, align 4
%74 = call i64 @bn_sub_words(ptr noundef %67, ptr noundef %68, ptr noundef %72, i32 noundef %73)
br label %135
75: ; preds = %36, %36
%76 = load ptr, ptr %12, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %11, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i64, ptr %77, i64 %79
%81 = load ptr, ptr %8, align 8
%82 = load i32, ptr %11, align 4
%83 = call i64 @bn_sub_words(ptr noundef %76, ptr noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %11, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i64, ptr %84, i64 %86
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %11, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i64, ptr %88, i64 %90
%92 = load ptr, ptr %9, align 8
%93 = load i32, ptr %11, align 4
%94 = call i64 @bn_sub_words(ptr noundef %87, ptr noundef %91, ptr noundef %92, i32 noundef %93)
store i32 1, ptr %18, align 4
br label %135
95: ; preds = %36, %36, %36, %36
%96 = load ptr, ptr %12, align 8
%97 = load ptr, ptr %8, align 8
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i64, ptr %98, i64 %100
%102 = load i32, ptr %11, align 4
%103 = call i64 @bn_sub_words(ptr noundef %96, ptr noundef %97, ptr noundef %101, i32 noundef %102)
%104 = load ptr, ptr %12, align 8
%105 = load i32, ptr %11, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i64, ptr %104, i64 %106
%108 = load ptr, ptr %9, align 8
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %11, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i64, ptr %109, i64 %111
%113 = load i32, ptr %11, align 4
%114 = call i64 @bn_sub_words(ptr noundef %107, ptr noundef %108, ptr noundef %112, i32 noundef %113)
store i32 1, ptr %18, align 4
br label %135
115: ; preds = %36, %36
%116 = load ptr, ptr %12, align 8
%117 = load ptr, ptr %8, align 8
%118 = load ptr, ptr %8, align 8
%119 = load i32, ptr %11, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i64, ptr %118, i64 %120
%122 = load i32, ptr %11, align 4
%123 = call i64 @bn_sub_words(ptr noundef %116, ptr noundef %117, ptr noundef %121, i32 noundef %122)
%124 = load ptr, ptr %12, align 8
%125 = load i32, ptr %11, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i64, ptr %124, i64 %126
%128 = load ptr, ptr %9, align 8
%129 = load i32, ptr %11, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %128, i64 %130
%132 = load ptr, ptr %9, align 8
%133 = load i32, ptr %11, align 4
%134 = call i64 @bn_sub_words(ptr noundef %127, ptr noundef %131, ptr noundef %132, i32 noundef %133)
br label %135
135: ; preds = %36, %115, %95, %75, %55
%136 = load i32, ptr %11, align 4
%137 = icmp eq i32 %136, 8
br i1 %137, label %138, label %183
138: ; preds = %135
%139 = load ptr, ptr %12, align 8
%140 = load i32, ptr %17, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i64, ptr %139, i64 %141
%143 = load ptr, ptr %12, align 8
%144 = load ptr, ptr %12, align 8
%145 = load i32, ptr %11, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i64, ptr %144, i64 %146
%148 = call i32 @bn_mul_comba8(ptr noundef %142, ptr noundef %143, ptr noundef %147)
%149 = load ptr, ptr %7, align 8
%150 = load ptr, ptr %8, align 8
%151 = load ptr, ptr %9, align 8
%152 = call i32 @bn_mul_comba8(ptr noundef %149, ptr noundef %150, ptr noundef %151)
%153 = load ptr, ptr %7, align 8
%154 = load i32, ptr %17, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i64, ptr %153, i64 %155
%157 = load ptr, ptr %8, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i64, ptr %157, i64 %159
%161 = load i32, ptr %10, align 4
%162 = load ptr, ptr %9, align 8
%163 = load i32, ptr %11, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i64, ptr %162, i64 %164
%166 = load i32, ptr %10, align 4
%167 = call i32 @bn_mul_normal(ptr noundef %156, ptr noundef %160, i32 noundef %161, ptr noundef %165, i32 noundef %166)
%168 = load ptr, ptr %7, align 8
%169 = load i32, ptr %17, align 4
%170 = load i32, ptr %10, align 4
%171 = mul nsw i32 %170, 2
%172 = add nsw i32 %169, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i64, ptr %168, i64 %173
%175 = load i32, ptr %17, align 4
%176 = load i32, ptr %10, align 4
%177 = mul nsw i32 %176, 2
%178 = sub nsw i32 %175, %177
%179 = sext i32 %178 to i64
%180 = mul i64 8, %179
%181 = trunc i64 %180 to i32
%182 = call i32 @memset(ptr noundef %174, i32 noundef 0, i32 noundef %181)
br label %358
183: ; preds = %135
%184 = load ptr, ptr %12, align 8
%185 = load i32, ptr %17, align 4
%186 = mul nsw i32 %185, 2
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i64, ptr %184, i64 %187
store ptr %188, ptr %21, align 8
%189 = load ptr, ptr %12, align 8
%190 = load i32, ptr %17, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i64, ptr %189, i64 %191
%193 = load ptr, ptr %12, align 8
%194 = load ptr, ptr %12, align 8
%195 = load i32, ptr %11, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i64, ptr %194, i64 %196
%198 = load i32, ptr %11, align 4
%199 = load ptr, ptr %21, align 8
%200 = call i32 @bn_mul_recursive(ptr noundef %192, ptr noundef %193, ptr noundef %197, i32 noundef %198, ptr noundef %199)
%201 = load ptr, ptr %7, align 8
%202 = load ptr, ptr %8, align 8
%203 = load ptr, ptr %9, align 8
%204 = load i32, ptr %11, align 4
%205 = load ptr, ptr %21, align 8
%206 = call i32 @bn_mul_recursive(ptr noundef %201, ptr noundef %202, ptr noundef %203, i32 noundef %204, ptr noundef %205)
%207 = load i32, ptr %11, align 4
%208 = sdiv i32 %207, 2
store i32 %208, ptr %15, align 4
%209 = load i32, ptr %10, align 4
%210 = load i32, ptr %15, align 4
%211 = sub nsw i32 %209, %210
store i32 %211, ptr %16, align 4
%212 = load i32, ptr %16, align 4
%213 = icmp eq i32 %212, 0
br i1 %213, label %214, label %245
214: ; preds = %183
%215 = load ptr, ptr %7, align 8
%216 = load i32, ptr %17, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i64, ptr %215, i64 %217
%219 = load ptr, ptr %8, align 8
%220 = load i32, ptr %11, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds i64, ptr %219, i64 %221
%223 = load ptr, ptr %9, align 8
%224 = load i32, ptr %11, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds i64, ptr %223, i64 %225
%227 = load i32, ptr %15, align 4
%228 = load ptr, ptr %21, align 8
%229 = call i32 @bn_mul_recursive(ptr noundef %218, ptr noundef %222, ptr noundef %226, i32 noundef %227, ptr noundef %228)
%230 = load ptr, ptr %7, align 8
%231 = load i32, ptr %17, align 4
%232 = load i32, ptr %15, align 4
%233 = mul nsw i32 %232, 2
%234 = add nsw i32 %231, %233
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i64, ptr %230, i64 %235
%237 = load i32, ptr %17, align 4
%238 = load i32, ptr %15, align 4
%239 = mul nsw i32 %238, 2
%240 = sub nsw i32 %237, %239
%241 = sext i32 %240 to i64
%242 = mul i64 8, %241
%243 = trunc i64 %242 to i32
%244 = call i32 @memset(ptr noundef %236, i32 noundef 0, i32 noundef %243)
br label %357
245: ; preds = %183
%246 = load i32, ptr %16, align 4
%247 = icmp sgt i32 %246, 0
br i1 %247, label %248, label %279
248: ; preds = %245
%249 = load ptr, ptr %7, align 8
%250 = load i32, ptr %17, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i64, ptr %249, i64 %251
%253 = load ptr, ptr %8, align 8
%254 = load i32, ptr %11, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i64, ptr %253, i64 %255
%257 = load ptr, ptr %9, align 8
%258 = load i32, ptr %11, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i64, ptr %257, i64 %259
%261 = load i32, ptr %16, align 4
%262 = load i32, ptr %15, align 4
%263 = load ptr, ptr %21, align 8
call void @bn_mul_part_recursive(ptr noundef %252, ptr noundef %256, ptr noundef %260, i32 noundef %261, i32 noundef %262, ptr noundef %263)
%264 = load ptr, ptr %7, align 8
%265 = load i32, ptr %17, align 4
%266 = load i32, ptr %10, align 4
%267 = mul nsw i32 %266, 2
%268 = add nsw i32 %265, %267
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds i64, ptr %264, i64 %269
%271 = load i32, ptr %17, align 4
%272 = load i32, ptr %10, align 4
%273 = mul nsw i32 %272, 2
%274 = sub nsw i32 %271, %273
%275 = sext i32 %274 to i64
%276 = mul i64 8, %275
%277 = trunc i64 %276 to i32
%278 = call i32 @memset(ptr noundef %270, i32 noundef 0, i32 noundef %277)
br label %356
279: ; preds = %245
%280 = load ptr, ptr %7, align 8
%281 = load i32, ptr %17, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds i64, ptr %280, i64 %282
%284 = load i32, ptr %17, align 4
%285 = sext i32 %284 to i64
%286 = mul i64 8, %285
%287 = trunc i64 %286 to i32
%288 = call i32 @memset(ptr noundef %283, i32 noundef 0, i32 noundef %287)
%289 = load i32, ptr %10, align 4
%290 = icmp slt i32 %289, 16
br i1 %290, label %291, label %307
291: ; preds = %279
%292 = load ptr, ptr %7, align 8
%293 = load i32, ptr %17, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds i64, ptr %292, i64 %294
%296 = load ptr, ptr %8, align 8
%297 = load i32, ptr %11, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds i64, ptr %296, i64 %298
%300 = load i32, ptr %10, align 4
%301 = load ptr, ptr %9, align 8
%302 = load i32, ptr %11, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i64, ptr %301, i64 %303
%305 = load i32, ptr %10, align 4
%306 = call i32 @bn_mul_normal(ptr noundef %295, ptr noundef %299, i32 noundef %300, ptr noundef %304, i32 noundef %305)
br label %355
307: ; preds = %279
br label %308
308: ; preds = %353, %307
%309 = load i32, ptr %15, align 4
%310 = sdiv i32 %309, 2
store i32 %310, ptr %15, align 4
%311 = load i32, ptr %15, align 4
%312 = load i32, ptr %10, align 4
%313 = icmp slt i32 %311, %312
br i1 %313, label %314, label %332
314: ; preds = %308
%315 = load ptr, ptr %7, align 8
%316 = load i32, ptr %17, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i64, ptr %315, i64 %317
%319 = load ptr, ptr %8, align 8
%320 = load i32, ptr %11, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds i64, ptr %319, i64 %321
%323 = load ptr, ptr %9, align 8
%324 = load i32, ptr %11, align 4
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds i64, ptr %323, i64 %325
%327 = load i32, ptr %10, align 4
%328 = load i32, ptr %15, align 4
%329 = sub nsw i32 %327, %328
%330 = load i32, ptr %15, align 4
%331 = load ptr, ptr %21, align 8
call void @bn_mul_part_recursive(ptr noundef %318, ptr noundef %322, ptr noundef %326, i32 noundef %329, i32 noundef %330, ptr noundef %331)
br label %354
332: ; preds = %308
%333 = load i32, ptr %15, align 4
%334 = load i32, ptr %10, align 4
%335 = icmp eq i32 %333, %334
br i1 %335, label %336, label %352
336: ; preds = %332
%337 = load ptr, ptr %7, align 8
%338 = load i32, ptr %17, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds i64, ptr %337, i64 %339
%341 = load ptr, ptr %8, align 8
%342 = load i32, ptr %11, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i64, ptr %341, i64 %343
%345 = load ptr, ptr %9, align 8
%346 = load i32, ptr %11, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds i64, ptr %345, i64 %347
%349 = load i32, ptr %15, align 4
%350 = load ptr, ptr %21, align 8
%351 = call i32 @bn_mul_recursive(ptr noundef %340, ptr noundef %344, ptr noundef %348, i32 noundef %349, ptr noundef %350)
br label %354
352: ; preds = %332
br label %353
353: ; preds = %352
br label %308
354: ; preds = %336, %314
br label %355
355: ; preds = %354, %291
br label %356
356: ; preds = %355, %248
br label %357
357: ; preds = %356, %214
br label %358
358: ; preds = %357, %138
%359 = load ptr, ptr %12, align 8
%360 = load ptr, ptr %7, align 8
%361 = load ptr, ptr %7, align 8
%362 = load i32, ptr %17, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds i64, ptr %361, i64 %363
%365 = load i32, ptr %17, align 4
%366 = call i64 @bn_add_words(ptr noundef %359, ptr noundef %360, ptr noundef %364, i32 noundef %365)
%367 = trunc i64 %366 to i32
store i32 %367, ptr %13, align 4
%368 = load i32, ptr %18, align 4
%369 = icmp ne i32 %368, 0
br i1 %369, label %370, label %385
370: ; preds = %358
%371 = load ptr, ptr %12, align 8
%372 = load i32, ptr %17, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds i64, ptr %371, i64 %373
%375 = load ptr, ptr %12, align 8
%376 = load ptr, ptr %12, align 8
%377 = load i32, ptr %17, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds i64, ptr %376, i64 %378
%380 = load i32, ptr %17, align 4
%381 = call i64 @bn_sub_words(ptr noundef %374, ptr noundef %375, ptr noundef %379, i32 noundef %380)
%382 = trunc i64 %381 to i32
%383 = load i32, ptr %13, align 4
%384 = sub nsw i32 %383, %382
store i32 %384, ptr %13, align 4
br label %400
385: ; preds = %358
%386 = load ptr, ptr %12, align 8
%387 = load i32, ptr %17, align 4
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds i64, ptr %386, i64 %388
%390 = load ptr, ptr %12, align 8
%391 = load i32, ptr %17, align 4
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds i64, ptr %390, i64 %392
%394 = load ptr, ptr %12, align 8
%395 = load i32, ptr %17, align 4
%396 = call i64 @bn_add_words(ptr noundef %389, ptr noundef %393, ptr noundef %394, i32 noundef %395)
%397 = trunc i64 %396 to i32
%398 = load i32, ptr %13, align 4
%399 = add nsw i32 %398, %397
store i32 %399, ptr %13, align 4
br label %400
400: ; preds = %385, %370
%401 = load ptr, ptr %7, align 8
%402 = load i32, ptr %11, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds i64, ptr %401, i64 %403
%405 = load ptr, ptr %7, align 8
%406 = load i32, ptr %11, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i64, ptr %405, i64 %407
%409 = load ptr, ptr %12, align 8
%410 = load i32, ptr %17, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds i64, ptr %409, i64 %411
%413 = load i32, ptr %17, align 4
%414 = call i64 @bn_add_words(ptr noundef %404, ptr noundef %408, ptr noundef %412, i32 noundef %413)
%415 = trunc i64 %414 to i32
%416 = load i32, ptr %13, align 4
%417 = add nsw i32 %416, %415
store i32 %417, ptr %13, align 4
%418 = load i32, ptr %13, align 4
%419 = icmp ne i32 %418, 0
br i1 %419, label %420, label %456
420: ; preds = %400
%421 = load ptr, ptr %7, align 8
%422 = load i32, ptr %11, align 4
%423 = load i32, ptr %17, align 4
%424 = add nsw i32 %422, %423
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds i64, ptr %421, i64 %425
store ptr %426, ptr %21, align 8
%427 = load ptr, ptr %21, align 8
%428 = load i64, ptr %427, align 8
store i64 %428, ptr %20, align 8
%429 = load i64, ptr %20, align 8
%430 = load i32, ptr %13, align 4
%431 = sext i32 %430 to i64
%432 = add i64 %429, %431
%433 = and i64 %432, -1
store i64 %433, ptr %19, align 8
%434 = load i64, ptr %19, align 8
%435 = load ptr, ptr %21, align 8
store i64 %434, ptr %435, align 8
%436 = load i64, ptr %19, align 8
%437 = load i32, ptr %13, align 4
%438 = sext i32 %437 to i64
%439 = icmp ult i64 %436, %438
br i1 %439, label %440, label %455
440: ; preds = %420
br label %441
441: ; preds = %451, %440
%442 = load ptr, ptr %21, align 8
%443 = getelementptr inbounds i64, ptr %442, i32 1
store ptr %443, ptr %21, align 8
%444 = load ptr, ptr %21, align 8
%445 = load i64, ptr %444, align 8
store i64 %445, ptr %20, align 8
%446 = load i64, ptr %20, align 8
%447 = add i64 %446, 1
%448 = and i64 %447, -1
store i64 %448, ptr %19, align 8
%449 = load i64, ptr %19, align 8
%450 = load ptr, ptr %21, align 8
store i64 %449, ptr %450, align 8
br label %451
451: ; preds = %441
%452 = load i64, ptr %19, align 8
%453 = icmp eq i64 %452, 0
br i1 %453, label %441, label %454, !llvm.loop !6
454: ; preds = %451
br label %455
455: ; preds = %454, %420
br label %456
456: ; preds = %26, %455, %400
ret void
}
declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @bn_add_words(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr4rshruu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca 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 i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%22 = load i32, ptr %11, align 4
%23 = mul nsw i32 %22, 2
store i32 %23, ptr %17, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %26, label %36
26: ; preds = %6
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %15, align 4
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %15, align 4
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %15, align 4
%35 = call i32 @bn_mul_normal(ptr noundef %30, ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34)
br label %460
36: ; preds = %6
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i32, ptr %11, align 4
%43 = call i32 @bn_cmp_words(ptr noundef %37, ptr noundef %41, i32 noundef %42)
store i32 %43, ptr %13, align 4
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %11, align 4
%50 = call i32 @bn_cmp_words(ptr noundef %47, ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %14, align 4
store i32 0, ptr %18, align 4
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %51, 3
%53 = load i32, ptr %14, align 4
%54 = add nsw i32 %52, %53
switch i32 %54, label %135 [
i32 -4, label %55
i32 -3, label %75
i32 -2, label %75
i32 -1, label %95
i32 0, label %95
i32 1, label %95
i32 2, label %95
i32 3, label %115
i32 4, label %115
]
55: ; preds = %36
%56 = load ptr, ptr %12, align 8
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i64, ptr %57, i64 %59
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %11, align 4
%63 = call i64 @bn_sub_words(ptr noundef %56, ptr noundef %60, ptr noundef %61, i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i64, ptr %64, i64 %66
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %11, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i64, ptr %69, i64 %71
%73 = load i32, ptr %11, align 4
%74 = call i64 @bn_sub_words(ptr noundef %67, ptr noundef %68, ptr noundef %72, i32 noundef %73)
br label %135
75: ; preds = %36, %36
%76 = load ptr, ptr %12, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %11, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i64, ptr %77, i64 %79
%81 = load ptr, ptr %8, align 8
%82 = load i32, ptr %11, align 4
%83 = call i64 @bn_sub_words(ptr noundef %76, ptr noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %11, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i64, ptr %84, i64 %86
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %11, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i64, ptr %88, i64 %90
%92 = load ptr, ptr %9, align 8
%93 = load i32, ptr %11, align 4
%94 = call i64 @bn_sub_words(ptr noundef %87, ptr noundef %91, ptr noundef %92, i32 noundef %93)
store i32 1, ptr %18, align 4
br label %135
95: ; preds = %36, %36, %36, %36
%96 = load ptr, ptr %12, align 8
%97 = load ptr, ptr %8, align 8
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i64, ptr %98, i64 %100
%102 = load i32, ptr %11, align 4
%103 = call i64 @bn_sub_words(ptr noundef %96, ptr noundef %97, ptr noundef %101, i32 noundef %102)
%104 = load ptr, ptr %12, align 8
%105 = load i32, ptr %11, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i64, ptr %104, i64 %106
%108 = load ptr, ptr %9, align 8
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %11, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i64, ptr %109, i64 %111
%113 = load i32, ptr %11, align 4
%114 = call i64 @bn_sub_words(ptr noundef %107, ptr noundef %108, ptr noundef %112, i32 noundef %113)
store i32 1, ptr %18, align 4
br label %135
115: ; preds = %36, %36
%116 = load ptr, ptr %12, align 8
%117 = load ptr, ptr %8, align 8
%118 = load ptr, ptr %8, align 8
%119 = load i32, ptr %11, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i64, ptr %118, i64 %120
%122 = load i32, ptr %11, align 4
%123 = call i64 @bn_sub_words(ptr noundef %116, ptr noundef %117, ptr noundef %121, i32 noundef %122)
%124 = load ptr, ptr %12, align 8
%125 = load i32, ptr %11, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i64, ptr %124, i64 %126
%128 = load ptr, ptr %9, align 8
%129 = load i32, ptr %11, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %128, i64 %130
%132 = load ptr, ptr %9, align 8
%133 = load i32, ptr %11, align 4
%134 = call i64 @bn_sub_words(ptr noundef %127, ptr noundef %131, ptr noundef %132, i32 noundef %133)
br label %135
135: ; preds = %115, %95, %75, %55, %36
%136 = load i32, ptr %11, align 4
%137 = icmp eq i32 %136, 8
br i1 %137, label %138, label %183
138: ; preds = %135
%139 = load ptr, ptr %12, align 8
%140 = load i32, ptr %17, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i64, ptr %139, i64 %141
%143 = load ptr, ptr %12, align 8
%144 = load ptr, ptr %12, align 8
%145 = load i32, ptr %11, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i64, ptr %144, i64 %146
%148 = call i32 @bn_mul_comba8(ptr noundef %142, ptr noundef %143, ptr noundef %147)
%149 = load ptr, ptr %7, align 8
%150 = load ptr, ptr %8, align 8
%151 = load ptr, ptr %9, align 8
%152 = call i32 @bn_mul_comba8(ptr noundef %149, ptr noundef %150, ptr noundef %151)
%153 = load ptr, ptr %7, align 8
%154 = load i32, ptr %17, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i64, ptr %153, i64 %155
%157 = load ptr, ptr %8, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i64, ptr %157, i64 %159
%161 = load i32, ptr %10, align 4
%162 = load ptr, ptr %9, align 8
%163 = load i32, ptr %11, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i64, ptr %162, i64 %164
%166 = load i32, ptr %10, align 4
%167 = call i32 @bn_mul_normal(ptr noundef %156, ptr noundef %160, i32 noundef %161, ptr noundef %165, i32 noundef %166)
%168 = load ptr, ptr %7, align 8
%169 = load i32, ptr %17, align 4
%170 = load i32, ptr %10, align 4
%171 = mul nsw i32 %170, 2
%172 = add nsw i32 %169, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i64, ptr %168, i64 %173
%175 = load i32, ptr %17, align 4
%176 = load i32, ptr %10, align 4
%177 = mul nsw i32 %176, 2
%178 = sub nsw i32 %175, %177
%179 = sext i32 %178 to i64
%180 = mul i64 8, %179
%181 = trunc i64 %180 to i32
%182 = call i32 @memset(ptr noundef %174, i32 noundef 0, i32 noundef %181)
br label %362
183: ; preds = %135
%184 = load ptr, ptr %12, align 8
%185 = load i32, ptr %17, align 4
%186 = mul nsw i32 %185, 2
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i64, ptr %184, i64 %187
store ptr %188, ptr %21, align 8
%189 = load ptr, ptr %12, align 8
%190 = load i32, ptr %17, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i64, ptr %189, i64 %191
%193 = load ptr, ptr %12, align 8
%194 = load ptr, ptr %12, align 8
%195 = load i32, ptr %11, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i64, ptr %194, i64 %196
%198 = load i32, ptr %11, align 4
%199 = load ptr, ptr %21, align 8
%200 = call i32 @bn_mul_recursive(ptr noundef %192, ptr noundef %193, ptr noundef %197, i32 noundef %198, ptr noundef %199)
%201 = load ptr, ptr %7, align 8
%202 = load ptr, ptr %8, align 8
%203 = load ptr, ptr %9, align 8
%204 = load i32, ptr %11, align 4
%205 = load ptr, ptr %21, align 8
%206 = call i32 @bn_mul_recursive(ptr noundef %201, ptr noundef %202, ptr noundef %203, i32 noundef %204, ptr noundef %205)
%207 = load i32, ptr %11, align 4
%208 = sdiv i32 %207, 2
store i32 %208, ptr %15, align 4
%209 = load i32, ptr %10, align 4
%210 = load i32, ptr %15, align 4
%211 = sub nsw i32 %209, %210
store i32 %211, ptr %16, align 4
%212 = load i32, ptr %16, align 4
%213 = icmp eq i32 %212, 0
br i1 %213, label %214, label %245
214: ; preds = %183
%215 = load ptr, ptr %7, align 8
%216 = load i32, ptr %17, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i64, ptr %215, i64 %217
%219 = load ptr, ptr %8, align 8
%220 = load i32, ptr %11, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds i64, ptr %219, i64 %221
%223 = load ptr, ptr %9, align 8
%224 = load i32, ptr %11, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds i64, ptr %223, i64 %225
%227 = load i32, ptr %15, align 4
%228 = load ptr, ptr %21, align 8
%229 = call i32 @bn_mul_recursive(ptr noundef %218, ptr noundef %222, ptr noundef %226, i32 noundef %227, ptr noundef %228)
%230 = load ptr, ptr %7, align 8
%231 = load i32, ptr %17, align 4
%232 = load i32, ptr %15, align 4
%233 = mul nsw i32 %232, 2
%234 = add nsw i32 %231, %233
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i64, ptr %230, i64 %235
%237 = load i32, ptr %17, align 4
%238 = load i32, ptr %15, align 4
%239 = mul nsw i32 %238, 2
%240 = sub nsw i32 %237, %239
%241 = sext i32 %240 to i64
%242 = mul i64 8, %241
%243 = trunc i64 %242 to i32
%244 = call i32 @memset(ptr noundef %236, i32 noundef 0, i32 noundef %243)
br label %361
245: ; preds = %183
%246 = load i32, ptr %16, align 4
%247 = icmp sgt i32 %246, 0
br i1 %247, label %248, label %279
248: ; preds = %245
%249 = load ptr, ptr %7, align 8
%250 = load i32, ptr %17, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i64, ptr %249, i64 %251
%253 = load ptr, ptr %8, align 8
%254 = load i32, ptr %11, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i64, ptr %253, i64 %255
%257 = load ptr, ptr %9, align 8
%258 = load i32, ptr %11, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i64, ptr %257, i64 %259
%261 = load i32, ptr %16, align 4
%262 = load i32, ptr %15, align 4
%263 = load ptr, ptr %21, align 8
call void @bn_mul_part_recursive(ptr noundef %252, ptr noundef %256, ptr noundef %260, i32 noundef %261, i32 noundef %262, ptr noundef %263)
%264 = load ptr, ptr %7, align 8
%265 = load i32, ptr %17, align 4
%266 = load i32, ptr %10, align 4
%267 = mul nsw i32 %266, 2
%268 = add nsw i32 %265, %267
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds i64, ptr %264, i64 %269
%271 = load i32, ptr %17, align 4
%272 = load i32, ptr %10, align 4
%273 = mul nsw i32 %272, 2
%274 = sub nsw i32 %271, %273
%275 = sext i32 %274 to i64
%276 = mul i64 8, %275
%277 = trunc i64 %276 to i32
%278 = call i32 @memset(ptr noundef %270, i32 noundef 0, i32 noundef %277)
br label %360
279: ; preds = %245
%280 = load ptr, ptr %7, align 8
%281 = load i32, ptr %17, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds i64, ptr %280, i64 %282
%284 = load i32, ptr %17, align 4
%285 = sext i32 %284 to i64
%286 = mul i64 8, %285
%287 = trunc i64 %286 to i32
%288 = call i32 @memset(ptr noundef %283, i32 noundef 0, i32 noundef %287)
%289 = load i32, ptr %10, align 4
%290 = icmp slt i32 %289, 16
br i1 %290, label %291, label %307
291: ; preds = %279
%292 = load ptr, ptr %7, align 8
%293 = load i32, ptr %17, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds i64, ptr %292, i64 %294
%296 = load ptr, ptr %8, align 8
%297 = load i32, ptr %11, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds i64, ptr %296, i64 %298
%300 = load i32, ptr %10, align 4
%301 = load ptr, ptr %9, align 8
%302 = load i32, ptr %11, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i64, ptr %301, i64 %303
%305 = load i32, ptr %10, align 4
%306 = call i32 @bn_mul_normal(ptr noundef %295, ptr noundef %299, i32 noundef %300, ptr noundef %304, i32 noundef %305)
br label %359
307: ; preds = %279
%308 = load i32, ptr %15, align 4
%309 = sdiv i32 %308, 2
store i32 %309, ptr %15, align 4
%310 = load i32, ptr %15, align 4
%311 = load i32, ptr %10, align 4
%312 = icmp slt i32 %310, %311
br i1 %312, label %313, label %.lr.ph
.lr.ph: ; preds = %307
br label %331
._crit_edge: ; preds = %352
br label %313
313: ; preds = %._crit_edge, %307
%314 = load ptr, ptr %7, align 8
%315 = load i32, ptr %17, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds i64, ptr %314, i64 %316
%318 = load ptr, ptr %8, align 8
%319 = load i32, ptr %11, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds i64, ptr %318, i64 %320
%322 = load ptr, ptr %9, align 8
%323 = load i32, ptr %11, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds i64, ptr %322, i64 %324
%326 = load i32, ptr %10, align 4
%327 = load i32, ptr %15, align 4
%328 = sub nsw i32 %326, %327
%329 = load i32, ptr %15, align 4
%330 = load ptr, ptr %21, align 8
call void @bn_mul_part_recursive(ptr noundef %317, ptr noundef %321, ptr noundef %325, i32 noundef %328, i32 noundef %329, ptr noundef %330)
br label %358
331: ; preds = %.lr.ph, %352
%332 = load i32, ptr %15, align 4
%333 = load i32, ptr %10, align 4
%334 = icmp eq i32 %332, %333
br i1 %334, label %335, label %351
335: ; preds = %331
%336 = load ptr, ptr %7, align 8
%337 = load i32, ptr %17, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds i64, ptr %336, i64 %338
%340 = load ptr, ptr %8, align 8
%341 = load i32, ptr %11, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds i64, ptr %340, i64 %342
%344 = load ptr, ptr %9, align 8
%345 = load i32, ptr %11, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds i64, ptr %344, i64 %346
%348 = load i32, ptr %15, align 4
%349 = load ptr, ptr %21, align 8
%350 = call i32 @bn_mul_recursive(ptr noundef %339, ptr noundef %343, ptr noundef %347, i32 noundef %348, ptr noundef %349)
br label %358
351: ; preds = %331
br label %352
352: ; preds = %351
%353 = load i32, ptr %15, align 4
%354 = sdiv i32 %353, 2
store i32 %354, ptr %15, align 4
%355 = load i32, ptr %15, align 4
%356 = load i32, ptr %10, align 4
%357 = icmp slt i32 %355, %356
br i1 %357, label %._crit_edge, label %331
358: ; preds = %335, %313
br label %359
359: ; preds = %358, %291
br label %360
360: ; preds = %359, %248
br label %361
361: ; preds = %360, %214
br label %362
362: ; preds = %361, %138
%363 = load ptr, ptr %12, align 8
%364 = load ptr, ptr %7, align 8
%365 = load ptr, ptr %7, align 8
%366 = load i32, ptr %17, align 4
%367 = sext i32 %366 to i64
%368 = getelementptr inbounds i64, ptr %365, i64 %367
%369 = load i32, ptr %17, align 4
%370 = call i64 @bn_add_words(ptr noundef %363, ptr noundef %364, ptr noundef %368, i32 noundef %369)
%371 = trunc i64 %370 to i32
store i32 %371, ptr %13, align 4
%372 = load i32, ptr %18, align 4
%373 = icmp ne i32 %372, 0
br i1 %373, label %374, label %389
374: ; preds = %362
%375 = load ptr, ptr %12, align 8
%376 = load i32, ptr %17, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds i64, ptr %375, i64 %377
%379 = load ptr, ptr %12, align 8
%380 = load ptr, ptr %12, align 8
%381 = load i32, ptr %17, align 4
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds i64, ptr %380, i64 %382
%384 = load i32, ptr %17, align 4
%385 = call i64 @bn_sub_words(ptr noundef %378, ptr noundef %379, ptr noundef %383, i32 noundef %384)
%386 = trunc i64 %385 to i32
%387 = load i32, ptr %13, align 4
%388 = sub nsw i32 %387, %386
store i32 %388, ptr %13, align 4
br label %404
389: ; preds = %362
%390 = load ptr, ptr %12, align 8
%391 = load i32, ptr %17, align 4
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds i64, ptr %390, i64 %392
%394 = load ptr, ptr %12, align 8
%395 = load i32, ptr %17, align 4
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds i64, ptr %394, i64 %396
%398 = load ptr, ptr %12, align 8
%399 = load i32, ptr %17, align 4
%400 = call i64 @bn_add_words(ptr noundef %393, ptr noundef %397, ptr noundef %398, i32 noundef %399)
%401 = trunc i64 %400 to i32
%402 = load i32, ptr %13, align 4
%403 = add nsw i32 %402, %401
store i32 %403, ptr %13, align 4
br label %404
404: ; preds = %389, %374
%405 = load ptr, ptr %7, align 8
%406 = load i32, ptr %11, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i64, ptr %405, i64 %407
%409 = load ptr, ptr %7, align 8
%410 = load i32, ptr %11, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds i64, ptr %409, i64 %411
%413 = load ptr, ptr %12, align 8
%414 = load i32, ptr %17, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds i64, ptr %413, i64 %415
%417 = load i32, ptr %17, align 4
%418 = call i64 @bn_add_words(ptr noundef %408, ptr noundef %412, ptr noundef %416, i32 noundef %417)
%419 = trunc i64 %418 to i32
%420 = load i32, ptr %13, align 4
%421 = add nsw i32 %420, %419
store i32 %421, ptr %13, align 4
%422 = load i32, ptr %13, align 4
%423 = icmp ne i32 %422, 0
br i1 %423, label %424, label %460
424: ; preds = %404
%425 = load ptr, ptr %7, align 8
%426 = load i32, ptr %11, align 4
%427 = load i32, ptr %17, align 4
%428 = add nsw i32 %426, %427
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds i64, ptr %425, i64 %429
store ptr %430, ptr %21, align 8
%431 = load ptr, ptr %21, align 8
%432 = load i64, ptr %431, align 8
store i64 %432, ptr %20, align 8
%433 = load i64, ptr %20, align 8
%434 = load i32, ptr %13, align 4
%435 = sext i32 %434 to i64
%436 = add i64 %433, %435
%437 = and i64 %436, -1
store i64 %437, ptr %19, align 8
%438 = load i64, ptr %19, align 8
%439 = load ptr, ptr %21, align 8
store i64 %438, ptr %439, align 8
%440 = load i64, ptr %19, align 8
%441 = load i32, ptr %13, align 4
%442 = sext i32 %441 to i64
%443 = icmp ult i64 %440, %442
br i1 %443, label %444, label %459
444: ; preds = %424
br label %445
445: ; preds = %455, %444
%446 = load ptr, ptr %21, align 8
%447 = getelementptr inbounds i64, ptr %446, i32 1
store ptr %447, ptr %21, align 8
%448 = load ptr, ptr %21, align 8
%449 = load i64, ptr %448, align 8
store i64 %449, ptr %20, align 8
%450 = load i64, ptr %20, align 8
%451 = add i64 %450, 1
%452 = and i64 %451, -1
store i64 %452, ptr %19, align 8
%453 = load i64, ptr %19, align 8
%454 = load ptr, ptr %21, align 8
store i64 %453, ptr %454, align 8
br label %455
455: ; preds = %445
%456 = load i64, ptr %19, align 8
%457 = icmp eq i64 %456, 0
br i1 %457, label %445, label %458, !llvm.loop !6
458: ; preds = %455
br label %459
459: ; preds = %458, %424
br label %460
460: ; preds = %459, %404, %26
ret void
}
declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @bn_add_words(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpis54_cq8.c'
source_filename = "/tmp/tmpis54_cq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AReading a witness set ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0AThe ambient dimension : %d.\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"The dimension of the solution set : %d.\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"The degree of the solution set : %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"\0ADo you want to see the embedded system ? (y/n) \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"\0ADo you want to see the solutions ? (y/n) \00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"\0AThe solutions read :\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"\0AGive the number of tasks : \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"\0AReading the coordinates of the test point x ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @quaddobl_membership_test() #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 i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 @read_quaddobl_witness_set(ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = sub nsw i32 %17, %18
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 121
br i1 %30, label %31, label %34
31: ; preds = %0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%33 = call i32 (...) @syscon_write_quaddobl_system()
store i32 %33, ptr %1, align 4
br label %34
34: ; preds = %31, %0
%35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%38 = load i8, ptr %6, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 121
br i1 %40, label %41, label %44
41: ; preds = %34
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%43 = call i32 (...) @solcon_write_quaddobl_solutions()
store i32 %43, ptr %1, align 4
br label %44
44: ; preds = %41, %34
%45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
store i32 0, ptr %10, align 4
%46 = load i32, ptr %5, align 4
%47 = mul nsw i32 8, %46
%48 = zext i32 %47 to i64
%49 = call ptr @llvm.stacksave()
store ptr %49, ptr %11, align 8
%50 = alloca double, i64 %48, align 16
store i64 %48, ptr %12, align 8
store double 1.000000e-08, ptr %13, align 8
store double 0x3EB0C6F7A0B5ED8D, ptr %14, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%52 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %10)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%54 = load i32, ptr %5, align 4
%55 = call i32 @quaddobl_read_point(i32 noundef %54, ptr noundef %50)
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @quaddobl_homotopy_membership_test(i32 noundef 1, i32 noundef %56, i32 noundef %57, double noundef 1.000000e-08, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef %50, ptr noundef %8, ptr noundef %9, i32 noundef %58)
store i32 %59, ptr %7, align 4
%60 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %60)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_quaddobl_witness_set(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @syscon_write_quaddobl_system(...) #1
declare i32 @solcon_write_quaddobl_solutions(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @quaddobl_read_point(i32 noundef, ptr noundef) #1
declare i32 @quaddobl_homotopy_membership_test(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpis54_cq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AReading a witness set ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0AThe ambient dimension : %d.\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"The dimension of the solution set : %d.\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"The degree of the solution set : %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"\0ADo you want to see the embedded system ? (y/n) \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"\0ADo you want to see the solutions ? (y/n) \00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"\0AThe solutions read :\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"\0AGive the number of tasks : \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"\0AReading the coordinates of the test point x ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @quaddobl_membership_test() #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 i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 @read_quaddobl_witness_set(ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = sub nsw i32 %17, %18
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 121
br i1 %30, label %31, label %34
31: ; preds = %0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%33 = call i32 (...) @syscon_write_quaddobl_system()
store i32 %33, ptr %1, align 4
br label %34
34: ; preds = %31, %0
%35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
%38 = load i8, ptr %6, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 121
br i1 %40, label %41, label %44
41: ; preds = %34
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%43 = call i32 (...) @solcon_write_quaddobl_solutions()
store i32 %43, ptr %1, align 4
br label %44
44: ; preds = %41, %34
%45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6)
store i32 0, ptr %10, align 4
%46 = load i32, ptr %5, align 4
%47 = mul nsw i32 8, %46
%48 = zext i32 %47 to i64
%49 = call ptr @llvm.stacksave()
store ptr %49, ptr %11, align 8
%50 = alloca double, i64 %48, align 16
store i64 %48, ptr %12, align 8
store double 1.000000e-08, ptr %13, align 8
store double 0x3EB0C6F7A0B5ED8D, ptr %14, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%52 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %10)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%54 = load i32, ptr %5, align 4
%55 = call i32 @quaddobl_read_point(i32 noundef %54, ptr noundef %50)
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @quaddobl_homotopy_membership_test(i32 noundef 1, i32 noundef %56, i32 noundef %57, double noundef 1.000000e-08, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef %50, ptr noundef %8, ptr noundef %9, i32 noundef %58)
store i32 %59, ptr %7, align 4
%60 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %60)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_quaddobl_witness_set(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @syscon_write_quaddobl_system(...) #1
declare i32 @solcon_write_quaddobl_solutions(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @quaddobl_read_point(i32 noundef, ptr noundef) #1
declare i32 @quaddobl_homotopy_membership_test(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpspne5m7m.c'
source_filename = "/tmp/tmpspne5m7m.c"
target datalayout = "e-m:e-p270: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/tmpspne5m7m.c"
target datalayout = "e-m:e-p270: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/tmp3b4u94_v.c'
source_filename = "/tmp/tmp3b4u94_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LADO A: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"LADO B: \00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"LADO C: \00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"SEU TRIANGULO E EQUILATERO.\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"SEU TRIANGULO E ISOCELES.\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"SEU TRIANGULO E ESCALENO.\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"SEUS VALORES NAO FORMAM UM TRIANGULO.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = call i32 @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %73
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %17, %18
%20 = load i32, ptr %3, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %73
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %23, %24
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %73
28: ; preds = %22
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %42
32: ; preds = %28
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(ptr noundef @.str.4)
br label %72
42: ; preds = %36, %32, %28
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %54, label %46
46: ; preds = %42
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %54, label %50
50: ; preds = %46
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50, %46, %42
%55 = call i32 @printf(ptr noundef @.str.5)
br label %71
56: ; preds = %50
%57 = load i32, ptr %2, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp ne i32 %57, %58
br i1 %59, label %60, label %70
60: ; preds = %56
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %70
64: ; preds = %60
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @printf(ptr noundef @.str.6)
br label %70
70: ; preds = %68, %64, %60, %56
br label %71
71: ; preds = %70, %54
br label %72
72: ; preds = %71, %40
br label %75
73: ; preds = %22, %16, %0
%74 = call i32 @printf(ptr noundef @.str.7)
br label %75
75: ; preds = %73, %72
%76 = load i32, ptr %1, align 4
ret i32 %76
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3b4u94_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LADO A: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"LADO B: \00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"LADO C: \00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"SEU TRIANGULO E EQUILATERO.\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"SEU TRIANGULO E ISOCELES.\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"SEU TRIANGULO E ESCALENO.\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"SEUS VALORES NAO FORMAM UM TRIANGULO.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = call i32 @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %73
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %17, %18
%20 = load i32, ptr %3, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %73
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %23, %24
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %73
28: ; preds = %22
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %42
32: ; preds = %28
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(ptr noundef @.str.4)
br label %72
42: ; preds = %36, %32, %28
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %54, label %46
46: ; preds = %42
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %54, label %50
50: ; preds = %46
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50, %46, %42
%55 = call i32 @printf(ptr noundef @.str.5)
br label %71
56: ; preds = %50
%57 = load i32, ptr %2, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp ne i32 %57, %58
br i1 %59, label %60, label %70
60: ; preds = %56
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %70
64: ; preds = %60
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @printf(ptr noundef @.str.6)
br label %70
70: ; preds = %68, %64, %60, %56
br label %71
71: ; preds = %70, %54
br label %72
72: ; preds = %71, %40
br label %75
73: ; preds = %22, %16, %0
%74 = call i32 @printf(ptr noundef @.str.7)
br label %75
75: ; preds = %73, %72
%76 = load i32, ptr %1, align 4
ret i32 %76
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_vdykpgr.c'
source_filename = "/tmp/tmp_vdykpgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @separation(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%16 = load double, ptr %7, align 8
%17 = load double, ptr %10, align 8
%18 = fsub double %16, %17
store double %18, ptr %13, align 8
%19 = load double, ptr %8, align 8
%20 = load double, ptr %11, align 8
%21 = fsub double %19, %20
store double %21, ptr %14, align 8
%22 = load double, ptr %9, align 8
%23 = load double, ptr %12, align 8
%24 = fsub double %22, %23
store double %24, ptr %15, align 8
%25 = load double, ptr %13, align 8
%26 = load double, ptr %13, align 8
%27 = load double, ptr %14, align 8
%28 = load double, ptr %14, align 8
%29 = fmul double %27, %28
%30 = call double @llvm.fmuladd.f64(double %25, double %26, double %29)
%31 = load double, ptr %15, align 8
%32 = load double, ptr %15, align 8
%33 = call double @llvm.fmuladd.f64(double %31, double %32, double %30)
%34 = call double @sqrt(double noundef %33) #3
%35 = fmul double 5.000000e-01, %34
%36 = call double @asin(double noundef %35) #3
%37 = fmul double 0x405CA5DC1A5D2372, %36
ret double %37
}
; Function Attrs: nounwind
declare double @asin(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vdykpgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @separation(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%16 = load double, ptr %7, align 8
%17 = load double, ptr %10, align 8
%18 = fsub double %16, %17
store double %18, ptr %13, align 8
%19 = load double, ptr %8, align 8
%20 = load double, ptr %11, align 8
%21 = fsub double %19, %20
store double %21, ptr %14, align 8
%22 = load double, ptr %9, align 8
%23 = load double, ptr %12, align 8
%24 = fsub double %22, %23
store double %24, ptr %15, align 8
%25 = load double, ptr %13, align 8
%26 = load double, ptr %13, align 8
%27 = load double, ptr %14, align 8
%28 = load double, ptr %14, align 8
%29 = fmul double %27, %28
%30 = call double @llvm.fmuladd.f64(double %25, double %26, double %29)
%31 = load double, ptr %15, align 8
%32 = load double, ptr %15, align 8
%33 = call double @llvm.fmuladd.f64(double %31, double %32, double %30)
%34 = call double @sqrt(double noundef %33) #3
%35 = fmul double 5.000000e-01, %34
%36 = call double @asin(double noundef %35) #3
%37 = fmul double 0x405CA5DC1A5D2372, %36
ret double %37
}
; Function Attrs: nounwind
declare double @asin(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8hqtfzsf.c'
source_filename = "/tmp/tmp8hqtfzsf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load i32, ptr @stdout, align 4
%11 = call i64 @fputc(i8 noundef signext 10, i32 noundef %10)
%12 = load i64, ptr @EOF, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %9, %1
%15 = load i64, ptr @EOF, align 8
%16 = trunc i64 %15 to i32
store i32 %16, ptr %2, align 4
br label %18
17: ; preds = %9
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %14
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @fputs(ptr noundef, i32 noundef) #1
declare i64 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hqtfzsf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load i32, ptr @stdout, align 4
%11 = call i64 @fputc(i8 noundef signext 10, i32 noundef %10)
%12 = load i64, ptr @EOF, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %9, %1
%15 = load i64, ptr @EOF, align 8
%16 = trunc i64 %15 to i32
store i32 %16, ptr %2, align 4
br label %18
17: ; preds = %9
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %14
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @fputs(ptr noundef, i32 noundef) #1
declare i64 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwfwsf_hd.c'
source_filename = "/tmp/tmpwfwsf_hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"1.1.1.1\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"255.255.255.255\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"0.255.255.0\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"255.0.0.255\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c" 1.1.1.1\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c" 255.0.0.1\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"1.1.1.1 \00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"1.0.0.255 \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c" 255.1.1.255 \00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"256.0.0.0\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"0.0.0.256\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"x.0.0.1\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"1.0.0.x\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"x 1.1.1.1\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"1.1.1.1 x\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"x1.1.1.1\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"1.1.1.1x\00", align 1
@.str.18 = private unnamed_addr constant [18 x i8] c"00:00:00:00:00:00\00", align 1
@.str.19 = private unnamed_addr constant [18 x i8] c"ff:ff:ff:ff:ff:ff\00", align 1
@.str.20 = private unnamed_addr constant [18 x i8] c"01:01:01:01:01:01\00", align 1
@.str.21 = private unnamed_addr constant [18 x i8] c"ff:00:00:00:00:ff\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"00:ff:ff:ff:ff:00\00", align 1
@.str.23 = private unnamed_addr constant [20 x i8] c" 01:01:01:01:01:01\00", align 1
@.str.24 = private unnamed_addr constant [20 x i8] c"01:01:01:01:01:01 \00", align 1
@.str.25 = private unnamed_addr constant [22 x i8] c" 01:01:01:01:01:01 \00", align 1
@.str.26 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:256\00", align 1
@.str.27 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:100\00", align 1
@.str.28 = private unnamed_addr constant [18 x i8] c"-1:01:01:01:01:01\00", align 1
@.str.29 = private unnamed_addr constant [19 x i8] c"100:01:01:01:01:01\00", align 1
@.str.30 = private unnamed_addr constant [19 x i8] c"256:01:01:01:01:01\00", align 1
@.str.31 = private unnamed_addr constant [19 x i8] c"x01:01:01:01:01:01\00", align 1
@.str.32 = private unnamed_addr constant [20 x i8] c"x 01:01:01:01:01:01\00", align 1
@.str.33 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:01x\00", align 1
@.str.34 = private unnamed_addr constant [20 x i8] c"01:01:01:01:01:01 x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @checkip(ptr noundef @.str)
%2 = call i32 @checkip(ptr noundef @.str.1)
%3 = call i32 @checkip(ptr noundef @.str.2)
%4 = call i32 @checkip(ptr noundef @.str.3)
%5 = call i32 @checkip(ptr noundef @.str.4)
%6 = call i32 @checkip(ptr noundef @.str.5)
%7 = call i32 @checkip(ptr noundef @.str.6)
%8 = call i32 @checkip(ptr noundef @.str.7)
%9 = call i32 @checkip(ptr noundef @.str.8)
%10 = call i32 @checkip(ptr noundef @.str.9)
%11 = call i32 @checkip(ptr noundef @.str.10)
%12 = call i32 @checkip(ptr noundef @.str.11)
%13 = call i32 @checkip(ptr noundef @.str.12)
%14 = call i32 @checkip(ptr noundef @.str.13)
%15 = call i32 @checkip(ptr noundef @.str.14)
%16 = call i32 @checkip(ptr noundef @.str.15)
%17 = call i32 @checkip(ptr noundef @.str.16)
%18 = call i32 @checkip(ptr noundef @.str.17)
%19 = call i32 @checketh(ptr noundef @.str.18)
%20 = call i32 @checketh(ptr noundef @.str.19)
%21 = call i32 @checketh(ptr noundef @.str.20)
%22 = call i32 @checketh(ptr noundef @.str.21)
%23 = call i32 @checketh(ptr noundef @.str.22)
%24 = call i32 @checketh(ptr noundef @.str.23)
%25 = call i32 @checketh(ptr noundef @.str.24)
%26 = call i32 @checketh(ptr noundef @.str.25)
%27 = call i32 @checketh(ptr noundef @.str.26)
%28 = call i32 @checketh(ptr noundef @.str.27)
%29 = call i32 @checketh(ptr noundef @.str.28)
%30 = call i32 @checketh(ptr noundef @.str.29)
%31 = call i32 @checketh(ptr noundef @.str.30)
%32 = call i32 @checketh(ptr noundef @.str.31)
%33 = call i32 @checketh(ptr noundef @.str.32)
%34 = call i32 @checketh(ptr noundef @.str.33)
%35 = call i32 @checketh(ptr noundef @.str.34)
ret i32 0
}
declare i32 @checkip(ptr noundef) #1
declare i32 @checketh(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwfwsf_hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"1.1.1.1\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"255.255.255.255\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"0.255.255.0\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"255.0.0.255\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c" 1.1.1.1\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c" 255.0.0.1\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"1.1.1.1 \00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"1.0.0.255 \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c" 255.1.1.255 \00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"256.0.0.0\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"0.0.0.256\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"x.0.0.1\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"1.0.0.x\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"x 1.1.1.1\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"1.1.1.1 x\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"x1.1.1.1\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"1.1.1.1x\00", align 1
@.str.18 = private unnamed_addr constant [18 x i8] c"00:00:00:00:00:00\00", align 1
@.str.19 = private unnamed_addr constant [18 x i8] c"ff:ff:ff:ff:ff:ff\00", align 1
@.str.20 = private unnamed_addr constant [18 x i8] c"01:01:01:01:01:01\00", align 1
@.str.21 = private unnamed_addr constant [18 x i8] c"ff:00:00:00:00:ff\00", align 1
@.str.22 = private unnamed_addr constant [18 x i8] c"00:ff:ff:ff:ff:00\00", align 1
@.str.23 = private unnamed_addr constant [20 x i8] c" 01:01:01:01:01:01\00", align 1
@.str.24 = private unnamed_addr constant [20 x i8] c"01:01:01:01:01:01 \00", align 1
@.str.25 = private unnamed_addr constant [22 x i8] c" 01:01:01:01:01:01 \00", align 1
@.str.26 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:256\00", align 1
@.str.27 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:100\00", align 1
@.str.28 = private unnamed_addr constant [18 x i8] c"-1:01:01:01:01:01\00", align 1
@.str.29 = private unnamed_addr constant [19 x i8] c"100:01:01:01:01:01\00", align 1
@.str.30 = private unnamed_addr constant [19 x i8] c"256:01:01:01:01:01\00", align 1
@.str.31 = private unnamed_addr constant [19 x i8] c"x01:01:01:01:01:01\00", align 1
@.str.32 = private unnamed_addr constant [20 x i8] c"x 01:01:01:01:01:01\00", align 1
@.str.33 = private unnamed_addr constant [19 x i8] c"01:01:01:01:01:01x\00", align 1
@.str.34 = private unnamed_addr constant [20 x i8] c"01:01:01:01:01:01 x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @checkip(ptr noundef @.str)
%2 = call i32 @checkip(ptr noundef @.str.1)
%3 = call i32 @checkip(ptr noundef @.str.2)
%4 = call i32 @checkip(ptr noundef @.str.3)
%5 = call i32 @checkip(ptr noundef @.str.4)
%6 = call i32 @checkip(ptr noundef @.str.5)
%7 = call i32 @checkip(ptr noundef @.str.6)
%8 = call i32 @checkip(ptr noundef @.str.7)
%9 = call i32 @checkip(ptr noundef @.str.8)
%10 = call i32 @checkip(ptr noundef @.str.9)
%11 = call i32 @checkip(ptr noundef @.str.10)
%12 = call i32 @checkip(ptr noundef @.str.11)
%13 = call i32 @checkip(ptr noundef @.str.12)
%14 = call i32 @checkip(ptr noundef @.str.13)
%15 = call i32 @checkip(ptr noundef @.str.14)
%16 = call i32 @checkip(ptr noundef @.str.15)
%17 = call i32 @checkip(ptr noundef @.str.16)
%18 = call i32 @checkip(ptr noundef @.str.17)
%19 = call i32 @checketh(ptr noundef @.str.18)
%20 = call i32 @checketh(ptr noundef @.str.19)
%21 = call i32 @checketh(ptr noundef @.str.20)
%22 = call i32 @checketh(ptr noundef @.str.21)
%23 = call i32 @checketh(ptr noundef @.str.22)
%24 = call i32 @checketh(ptr noundef @.str.23)
%25 = call i32 @checketh(ptr noundef @.str.24)
%26 = call i32 @checketh(ptr noundef @.str.25)
%27 = call i32 @checketh(ptr noundef @.str.26)
%28 = call i32 @checketh(ptr noundef @.str.27)
%29 = call i32 @checketh(ptr noundef @.str.28)
%30 = call i32 @checketh(ptr noundef @.str.29)
%31 = call i32 @checketh(ptr noundef @.str.30)
%32 = call i32 @checketh(ptr noundef @.str.31)
%33 = call i32 @checketh(ptr noundef @.str.32)
%34 = call i32 @checketh(ptr noundef @.str.33)
%35 = call i32 @checketh(ptr noundef @.str.34)
ret i32 0
}
declare i32 @checkip(ptr noundef) #1
declare i32 @checketh(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_4y74djt.c'
source_filename = "/tmp/tmp_4y74djt.c"
target datalayout = "e-m:e-p270: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_4y74djt.c"
target datalayout = "e-m:e-p270: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/tmprpnfn1_v.c'
source_filename = "/tmp/tmprpnfn1_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @assert(i32 noundef 0)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprpnfn1_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @assert(i32 noundef 0)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa17w02v7.c'
source_filename = "/tmp/tmpa17w02v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_translate_pixkeyword(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%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 i32, align 4
%29 = alloca i32, align 4
%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 i8, align 1
%36 = alloca i8, align 1
%37 = alloca i8, align 1
%38 = alloca i8, align 1
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca ptr, align 8
store ptr %0, ptr %15, align 8
store ptr %1, ptr %16, align 8
store ptr %2, ptr %17, align 8
store i32 %3, ptr %18, align 4
store i32 %4, ptr %19, align 4
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store ptr %7, ptr %22, align 8
store ptr %8, ptr %23, align 8
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
store i32 0, ptr %32, align 4
store i32 0, ptr %33, align 4
store i32 0, ptr %34, align 4
store i8 32, ptr %35, align 1
store i32 0, ptr %42, align 4
%45 = load ptr, ptr %27, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %13
%49 = load ptr, ptr %27, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %14, align 4
br label %598
51: ; preds = %13
%52 = load ptr, ptr %15, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load ptr, ptr %16, align 8
%56 = icmp eq ptr %55, null
br i1 %56, label %57, label %59
57: ; preds = %54, %51
%58 = load ptr, ptr %27, align 8
store i32 115, ptr %58, align 4
store i32 115, ptr %14, align 4
br label %598
59: ; preds = %54
%60 = load ptr, ptr %16, align 8
store i8 0, ptr %60, align 1
%61 = load ptr, ptr %15, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %59
store i32 0, ptr %14, align 4
br label %598
66: ; preds = %59
store i8 0, ptr %36, align 1
store i32 0, ptr %43, align 4
store i32 0, ptr %41, align 4
br label %67
67: ; preds = %325, %66
%68 = load i32, ptr %41, align 4
%69 = load i32, ptr %18, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %328
71: ; preds = %67
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %41, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [2 x ptr], ptr %72, i64 %74
%76 = getelementptr inbounds [2 x ptr], ptr %75, i64 0, i64 0
%77 = load ptr, ptr %76, align 8
store ptr %77, ptr %44, align 8
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
store i8 32, ptr %35, align 1
store i32 0, ptr %42, align 4
%78 = load ptr, ptr %44, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 0
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 42
br i1 %82, label %83, label %84
83: ; preds = %71
store i32 1, ptr %42, align 4
br label %328
84: ; preds = %71
%85 = load i32, ptr %43, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %96
87: ; preds = %84
%88 = load ptr, ptr %44, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 0
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = load i8, ptr %36, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %91, %93
br i1 %94, label %95, label %96
95: ; preds = %87
br label %325
96: ; preds = %87, %84
%97 = load ptr, ptr %44, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 0
%99 = load i8, ptr %98, align 1
store i8 %99, ptr %36, align 1
store i32 0, ptr %39, align 4
store i32 0, ptr %40, align 4
store i32 1, ptr %43, align 4
br label %100
100: ; preds = %304, %96
%101 = load ptr, ptr %44, align 8
%102 = load i32, ptr %39, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %111
108: ; preds = %100
%109 = load i32, ptr %40, align 4
%110 = icmp slt i32 %109, 8
br label %111
111: ; preds = %108, %100
%112 = phi i1 [ false, %100 ], [ %110, %108 ]
br i1 %112, label %113, label %309
113: ; preds = %111
%114 = load ptr, ptr %15, align 8
%115 = load i32, ptr %40, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
%118 = load i8, ptr %117, align 1
store i8 %118, ptr %37, align 1
%119 = load ptr, ptr %44, align 8
%120 = load i32, ptr %39, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
%123 = load i8, ptr %122, align 1
store i8 %123, ptr %38, align 1
%124 = load i8, ptr %38, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 105
br i1 %126, label %127, label %136
127: ; preds = %113
%128 = load i8, ptr %37, align 1
%129 = call i64 @isdigit(i8 noundef signext %128)
%130 = icmp ne i64 %129, 0
br i1 %130, label %131, label %135
131: ; preds = %127
%132 = load i8, ptr %37, align 1
%133 = sext i8 %132 to i32
%134 = sub nsw i32 %133, 48
store i32 %134, ptr %28, align 4
store i32 1, ptr %42, align 4
br label %135
135: ; preds = %131, %127
br label %299
136: ; preds = %113
%137 = load i8, ptr %38, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 106
br i1 %139, label %140, label %149
140: ; preds = %136
%141 = load i8, ptr %37, align 1
%142 = call i64 @isdigit(i8 noundef signext %141)
%143 = icmp ne i64 %142, 0
br i1 %143, label %144, label %148
144: ; preds = %140
%145 = load i8, ptr %37, align 1
%146 = sext i8 %145 to i32
%147 = sub nsw i32 %146, 48
store i32 %147, ptr %29, align 4
store i32 1, ptr %42, align 4
br label %148
148: ; preds = %144, %140
br label %298
149: ; preds = %136
%150 = load i8, ptr %38, align 1
%151 = sext i8 %150 to i32
%152 = icmp eq i32 %151, 110
br i1 %152, label %165, label %153
153: ; preds = %149
%154 = load i8, ptr %38, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 109
br i1 %156, label %165, label %157
157: ; preds = %153
%158 = load i8, ptr %38, align 1
%159 = sext i8 %158 to i32
%160 = icmp eq i32 %159, 108
br i1 %160, label %165, label %161
161: ; preds = %157
%162 = load i8, ptr %38, align 1
%163 = sext i8 %162 to i32
%164 = icmp eq i32 %163, 35
br i1 %164, label %165, label %266
165: ; preds = %161, %157, %153, %149
store i32 0, ptr %30, align 4
store i32 0, ptr %42, align 4
%166 = load i8, ptr %37, align 1
%167 = call i64 @isdigit(i8 noundef signext %166)
%168 = icmp ne i64 %167, 0
br i1 %168, label %169, label %265
169: ; preds = %165
store i32 1, ptr %42, align 4
br label %170
170: ; preds = %179, %169
%171 = load i32, ptr %40, align 4
%172 = icmp slt i32 %171, 8
br i1 %172, label %173, label %177
173: ; preds = %170
%174 = load i8, ptr %37, align 1
%175 = call i64 @isdigit(i8 noundef signext %174)
%176 = icmp ne i64 %175, 0
br label %177
177: ; preds = %173, %170
%178 = phi i1 [ false, %170 ], [ %176, %173 ]
br i1 %178, label %179, label %193
179: ; preds = %177
%180 = load i32, ptr %30, align 4
%181 = mul nsw i32 %180, 10
%182 = load i8, ptr %37, align 1
%183 = sext i8 %182 to i32
%184 = sub nsw i32 %183, 48
%185 = add nsw i32 %181, %184
store i32 %185, ptr %30, align 4
%186 = load i32, ptr %40, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %40, align 4
%188 = load ptr, ptr %15, align 8
%189 = load i32, ptr %40, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i8, ptr %188, i64 %190
%192 = load i8, ptr %191, align 1
store i8 %192, ptr %37, align 1
br label %170, !llvm.loop !6
193: ; preds = %177
%194 = load i32, ptr %40, align 4
%195 = add nsw i32 %194, -1
store i32 %195, ptr %40, align 4
%196 = load ptr, ptr %15, align 8
%197 = load i32, ptr %40, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds i8, ptr %196, i64 %198
%200 = load i8, ptr %199, align 1
store i8 %200, ptr %37, align 1
%201 = load i8, ptr %38, align 1
%202 = sext i8 %201 to i32
%203 = icmp eq i32 %202, 110
br i1 %203, label %208, label %204
204: ; preds = %193
%205 = load i8, ptr %38, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %206, 109
br i1 %207, label %208, label %257
208: ; preds = %204, %193
%209 = load i32, ptr %30, align 4
%210 = icmp sge i32 %209, 1
br i1 %210, label %211, label %255
211: ; preds = %208
%212 = load i32, ptr %30, align 4
%213 = icmp sle i32 %212, 999
br i1 %213, label %214, label %255
214: ; preds = %211
%215 = load i32, ptr %30, align 4
%216 = load ptr, ptr %20, align 8
%217 = getelementptr inbounds i32, ptr %216, i64 0
%218 = load i32, ptr %217, align 4
%219 = icmp eq i32 %215, %218
br i1 %219, label %220, label %221
220: ; preds = %214
store i32 1, ptr %30, align 4
br label %246
221: ; preds = %214
%222 = load i32, ptr %30, align 4
%223 = load ptr, ptr %20, align 8
%224 = getelementptr inbounds i32, ptr %223, i64 1
%225 = load i32, ptr %224, align 4
%226 = icmp eq i32 %222, %225
br i1 %226, label %227, label %228
227: ; preds = %221
store i32 2, ptr %30, align 4
br label %245
228: ; preds = %221
%229 = load i32, ptr %30, align 4
%230 = load ptr, ptr %20, align 8
%231 = getelementptr inbounds i32, ptr %230, i64 2
%232 = load i32, ptr %231, align 4
%233 = icmp eq i32 %229, %232
br i1 %233, label %234, label %235
234: ; preds = %228
store i32 3, ptr %30, align 4
br label %244
235: ; preds = %228
%236 = load i32, ptr %30, align 4
%237 = load ptr, ptr %20, align 8
%238 = getelementptr inbounds i32, ptr %237, i64 3
%239 = load i32, ptr %238, align 4
%240 = icmp eq i32 %236, %239
br i1 %240, label %241, label %242
241: ; preds = %235
store i32 4, ptr %30, align 4
br label %243
242: ; preds = %235
store i32 0, ptr %42, align 4
store i32 0, ptr %30, align 4
br label %243
243: ; preds = %242, %241
br label %244
244: ; preds = %243, %234
br label %245
245: ; preds = %244, %227
br label %246
246: ; preds = %245, %220
%247 = load i8, ptr %38, align 1
%248 = sext i8 %247 to i32
%249 = icmp eq i32 %248, 110
br i1 %249, label %250, label %252
250: ; preds = %246
%251 = load i32, ptr %30, align 4
store i32 %251, ptr %32, align 4
br label %254
252: ; preds = %246
%253 = load i32, ptr %30, align 4
store i32 %253, ptr %33, align 4
br label %254
254: ; preds = %252, %250
br label %256
255: ; preds = %211, %208
store i32 0, ptr %42, align 4
br label %256
256: ; preds = %255, %254
br label %264
257: ; preds = %204
%258 = load i8, ptr %38, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 108
br i1 %260, label %261, label %263
261: ; preds = %257
%262 = load i32, ptr %30, align 4
store i32 %262, ptr %34, align 4
br label %263
263: ; preds = %261, %257
br label %264
264: ; preds = %263, %256
br label %265
265: ; preds = %264, %165
br label %297
266: ; preds = %161
%267 = load i8, ptr %38, align 1
%268 = sext i8 %267 to i32
%269 = icmp eq i32 %268, 97
br i1 %269, label %270, label %281
270: ; preds = %266
%271 = load i8, ptr %37, align 1
%272 = call i64 @isupper(i8 noundef signext %271)
%273 = icmp ne i64 %272, 0
br i1 %273, label %278, label %274
274: ; preds = %270
%275 = load i8, ptr %37, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 32
br i1 %277, label %278, label %280
278: ; preds = %274, %270
%279 = load i8, ptr %37, align 1
store i8 %279, ptr %35, align 1
store i32 1, ptr %42, align 4
br label %280
280: ; preds = %278, %274
br label %296
281: ; preds = %266
%282 = load i8, ptr %38, align 1
%283 = sext i8 %282 to i32
%284 = icmp eq i32 %283, 63
br i1 %284, label %285, label %286
285: ; preds = %281
store i32 1, ptr %42, align 4
br label %295
286: ; preds = %281
%287 = load i8, ptr %37, align 1
%288 = sext i8 %287 to i32
%289 = load i8, ptr %38, align 1
%290 = sext i8 %289 to i32
%291 = icmp eq i32 %288, %290
br i1 %291, label %292, label %293
292: ; preds = %286
store i32 1, ptr %42, align 4
br label %294
293: ; preds = %286
store i32 0, ptr %42, align 4
br label %294
294: ; preds = %293, %292
br label %295
295: ; preds = %294, %285
br label %296
296: ; preds = %295, %280
br label %297
297: ; preds = %296, %265
br label %298
298: ; preds = %297, %148
br label %299
299: ; preds = %298, %135
%300 = load i32, ptr %42, align 4
%301 = icmp ne i32 %300, 0
br i1 %301, label %303, label %302
302: ; preds = %299
br label %309
303: ; preds = %299
br label %304
304: ; preds = %303
%305 = load i32, ptr %39, align 4
%306 = add nsw i32 %305, 1
store i32 %306, ptr %39, align 4
%307 = load i32, ptr %40, align 4
%308 = add nsw i32 %307, 1
store i32 %308, ptr %40, align 4
store i32 0, ptr %43, align 4
br label %100, !llvm.loop !8
309: ; preds = %302, %111
%310 = load i32, ptr %42, align 4
%311 = icmp ne i32 %310, 0
br i1 %311, label %312, label %324
312: ; preds = %309
%313 = load i32, ptr %40, align 4
%314 = icmp sge i32 %313, 8
br i1 %314, label %323, label %315
315: ; preds = %312
%316 = load ptr, ptr %15, align 8
%317 = load i32, ptr %40, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds i8, ptr %316, i64 %318
%320 = load i8, ptr %319, align 1
%321 = sext i8 %320 to i32
%322 = icmp eq i32 %321, 32
br i1 %322, label %323, label %324
323: ; preds = %315, %312
br label %328
324: ; preds = %315, %309
br label %325
325: ; preds = %324, %95
%326 = load i32, ptr %41, align 4
%327 = add nsw i32 %326, 1
store i32 %327, ptr %41, align 4
br label %67, !llvm.loop !9
328: ; preds = %323, %83, %67
%329 = load ptr, ptr %22, align 8
%330 = icmp ne ptr %329, null
br i1 %330, label %331, label %334
331: ; preds = %328
%332 = load i32, ptr %28, align 4
%333 = load ptr, ptr %22, align 8
store i32 %332, ptr %333, align 4
br label %334
334: ; preds = %331, %328
%335 = load ptr, ptr %23, align 8
%336 = icmp ne ptr %335, null
br i1 %336, label %337, label %340
337: ; preds = %334
%338 = load i32, ptr %29, align 4
%339 = load ptr, ptr %23, align 8
store i32 %338, ptr %339, align 4
br label %340
340: ; preds = %337, %334
%341 = load ptr, ptr %24, align 8
%342 = icmp ne ptr %341, null
br i1 %342, label %343, label %346
343: ; preds = %340
%344 = load i32, ptr %32, align 4
%345 = load ptr, ptr %24, align 8
store i32 %344, ptr %345, align 4
br label %346
346: ; preds = %343, %340
%347 = load ptr, ptr %25, align 8
%348 = icmp ne ptr %347, null
br i1 %348, label %349, label %352
349: ; preds = %346
%350 = load i32, ptr %33, align 4
%351 = load ptr, ptr %25, align 8
store i32 %350, ptr %351, align 4
br label %352
352: ; preds = %349, %346
%353 = load ptr, ptr %26, align 8
%354 = icmp ne ptr %353, null
br i1 %354, label %355, label %358
355: ; preds = %352
%356 = load i32, ptr %34, align 4
%357 = load ptr, ptr %26, align 8
store i32 %356, ptr %357, align 4
br label %358
358: ; preds = %355, %352
%359 = load ptr, ptr %21, align 8
%360 = icmp ne ptr %359, null
br i1 %360, label %361, label %364
361: ; preds = %358
%362 = load i32, ptr %41, align 4
%363 = load ptr, ptr %21, align 8
store i32 %362, ptr %363, align 4
br label %364
364: ; preds = %361, %358
%365 = load ptr, ptr %17, align 8
%366 = load i32, ptr %41, align 4
%367 = sext i32 %366 to i64
%368 = getelementptr inbounds [2 x ptr], ptr %365, i64 %367
%369 = getelementptr inbounds [2 x ptr], ptr %368, i64 0, i64 1
%370 = load ptr, ptr %369, align 8
store ptr %370, ptr %44, align 8
%371 = load i32, ptr %42, align 4
%372 = icmp eq i32 %371, 0
br i1 %372, label %385, label %373
373: ; preds = %364
%374 = load ptr, ptr %44, align 8
%375 = getelementptr inbounds i8, ptr %374, i64 0
%376 = load i8, ptr %375, align 1
%377 = sext i8 %376 to i32
%378 = icmp eq i32 %377, 0
br i1 %378, label %385, label %379
379: ; preds = %373
%380 = load ptr, ptr %44, align 8
%381 = getelementptr inbounds i8, ptr %380, i64 0
%382 = load i8, ptr %381, align 1
%383 = sext i8 %382 to i32
%384 = icmp eq i32 %383, 45
br i1 %384, label %385, label %386
385: ; preds = %379, %373, %364
store i32 0, ptr %14, align 4
br label %598
386: ; preds = %379
%387 = load ptr, ptr %16, align 8
%388 = load ptr, ptr %15, align 8
%389 = call i32 @strcpy(ptr noundef %387, ptr noundef %388)
%390 = load ptr, ptr %44, align 8
%391 = getelementptr inbounds i8, ptr %390, i64 0
%392 = load i8, ptr %391, align 1
%393 = sext i8 %392 to i32
%394 = icmp eq i32 %393, 43
br i1 %394, label %395, label %396
395: ; preds = %386
store i32 0, ptr %14, align 4
br label %598
396: ; preds = %386
store i32 0, ptr %39, align 4
store i32 0, ptr %40, align 4
br label %397
397: ; preds = %578, %396
%398 = load ptr, ptr %44, align 8
%399 = load i32, ptr %39, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds i8, ptr %398, i64 %400
%402 = load i8, ptr %401, align 1
%403 = icmp ne i8 %402, 0
br i1 %403, label %404, label %583
404: ; preds = %397
%405 = load ptr, ptr %44, align 8
%406 = load i32, ptr %39, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i8, ptr %405, i64 %407
%409 = load i8, ptr %408, align 1
store i8 %409, ptr %38, align 1
%410 = load i8, ptr %38, align 1
%411 = sext i8 %410 to i32
%412 = icmp eq i32 %411, 105
br i1 %412, label %413, label %421
413: ; preds = %404
%414 = load i32, ptr %28, align 4
%415 = add nsw i32 %414, 48
%416 = trunc i32 %415 to i8
%417 = load ptr, ptr %16, align 8
%418 = load i32, ptr %40, align 4
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds i8, ptr %417, i64 %419
store i8 %416, ptr %420, align 1
br label %577
421: ; preds = %404
%422 = load i8, ptr %38, align 1
%423 = sext i8 %422 to i32
%424 = icmp eq i32 %423, 106
br i1 %424, label %425, label %433
425: ; preds = %421
%426 = load i32, ptr %29, align 4
%427 = add nsw i32 %426, 48
%428 = trunc i32 %427 to i8
%429 = load ptr, ptr %16, align 8
%430 = load i32, ptr %40, align 4
%431 = sext i32 %430 to i64
%432 = getelementptr inbounds i8, ptr %429, i64 %431
store i8 %428, ptr %432, align 1
br label %576
433: ; preds = %421
%434 = load i8, ptr %38, align 1
%435 = sext i8 %434 to i32
%436 = icmp eq i32 %435, 110
br i1 %436, label %437, label %474
437: ; preds = %433
%438 = load i32, ptr %32, align 4
%439 = icmp sgt i32 %438, 0
br i1 %439, label %440, label %474
440: ; preds = %437
store i32 1, ptr %31, align 4
br label %441
441: ; preds = %447, %440
%442 = load i32, ptr %32, align 4
%443 = load i32, ptr %31, align 4
%444 = sdiv i32 %442, %443
%445 = icmp sgt i32 %444, 0
br i1 %445, label %446, label %450
446: ; preds = %441
br label %447
447: ; preds = %446
%448 = load i32, ptr %31, align 4
%449 = mul nsw i32 %448, 10
store i32 %449, ptr %31, align 4
br label %441, !llvm.loop !10
450: ; preds = %441
%451 = load i32, ptr %31, align 4
%452 = sdiv i32 %451, 10
store i32 %452, ptr %31, align 4
br label %453
453: ; preds = %456, %450
%454 = load i32, ptr %31, align 4
%455 = icmp sgt i32 %454, 0
br i1 %455, label %456, label %471
456: ; preds = %453
%457 = load i32, ptr %32, align 4
%458 = load i32, ptr %31, align 4
%459 = sdiv i32 %457, %458
%460 = srem i32 %459, 10
%461 = add nsw i32 %460, 48
%462 = trunc i32 %461 to i8
%463 = load ptr, ptr %16, align 8
%464 = load i32, ptr %40, align 4
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds i8, ptr %463, i64 %465
store i8 %462, ptr %466, align 1
%467 = load i32, ptr %31, align 4
%468 = sdiv i32 %467, 10
store i32 %468, ptr %31, align 4
%469 = load i32, ptr %40, align 4
%470 = add nsw i32 %469, 1
store i32 %470, ptr %40, align 4
br label %453, !llvm.loop !11
471: ; preds = %453
%472 = load i32, ptr %40, align 4
%473 = add nsw i32 %472, -1
store i32 %473, ptr %40, align 4
br label %575
474: ; preds = %437, %433
%475 = load i8, ptr %38, align 1
%476 = sext i8 %475 to i32
%477 = icmp eq i32 %476, 109
br i1 %477, label %478, label %515
478: ; preds = %474
%479 = load i32, ptr %33, align 4
%480 = icmp sgt i32 %479, 0
br i1 %480, label %481, label %515
481: ; preds = %478
store i32 1, ptr %31, align 4
br label %482
482: ; preds = %488, %481
%483 = load i32, ptr %33, align 4
%484 = load i32, ptr %31, align 4
%485 = sdiv i32 %483, %484
%486 = icmp sgt i32 %485, 0
br i1 %486, label %487, label %491
487: ; preds = %482
br label %488
488: ; preds = %487
%489 = load i32, ptr %31, align 4
%490 = mul nsw i32 %489, 10
store i32 %490, ptr %31, align 4
br label %482, !llvm.loop !12
491: ; preds = %482
%492 = load i32, ptr %31, align 4
%493 = sdiv i32 %492, 10
store i32 %493, ptr %31, align 4
br label %494
494: ; preds = %497, %491
%495 = load i32, ptr %31, align 4
%496 = icmp sgt i32 %495, 0
br i1 %496, label %497, label %512
497: ; preds = %494
%498 = load i32, ptr %33, align 4
%499 = load i32, ptr %31, align 4
%500 = sdiv i32 %498, %499
%501 = srem i32 %500, 10
%502 = add nsw i32 %501, 48
%503 = trunc i32 %502 to i8
%504 = load ptr, ptr %16, align 8
%505 = load i32, ptr %40, align 4
%506 = sext i32 %505 to i64
%507 = getelementptr inbounds i8, ptr %504, i64 %506
store i8 %503, ptr %507, align 1
%508 = load i32, ptr %31, align 4
%509 = sdiv i32 %508, 10
store i32 %509, ptr %31, align 4
%510 = load i32, ptr %40, align 4
%511 = add nsw i32 %510, 1
store i32 %511, ptr %40, align 4
br label %494, !llvm.loop !13
512: ; preds = %494
%513 = load i32, ptr %40, align 4
%514 = add nsw i32 %513, -1
store i32 %514, ptr %40, align 4
br label %574
515: ; preds = %478, %474
%516 = load i8, ptr %38, align 1
%517 = sext i8 %516 to i32
%518 = icmp eq i32 %517, 108
br i1 %518, label %519, label %556
519: ; preds = %515
%520 = load i32, ptr %34, align 4
%521 = icmp sge i32 %520, 0
br i1 %521, label %522, label %556
522: ; preds = %519
store i32 1, ptr %31, align 4
br label %523
523: ; preds = %529, %522
%524 = load i32, ptr %34, align 4
%525 = load i32, ptr %31, align 4
%526 = sdiv i32 %524, %525
%527 = icmp sgt i32 %526, 0
br i1 %527, label %528, label %532
528: ; preds = %523
br label %529
529: ; preds = %528
%530 = load i32, ptr %31, align 4
%531 = mul nsw i32 %530, 10
store i32 %531, ptr %31, align 4
br label %523, !llvm.loop !14
532: ; preds = %523
%533 = load i32, ptr %31, align 4
%534 = sdiv i32 %533, 10
store i32 %534, ptr %31, align 4
br label %535
535: ; preds = %538, %532
%536 = load i32, ptr %31, align 4
%537 = icmp sgt i32 %536, 0
br i1 %537, label %538, label %553
538: ; preds = %535
%539 = load i32, ptr %34, align 4
%540 = load i32, ptr %31, align 4
%541 = sdiv i32 %539, %540
%542 = srem i32 %541, 10
%543 = add nsw i32 %542, 48
%544 = trunc i32 %543 to i8
%545 = load ptr, ptr %16, align 8
%546 = load i32, ptr %40, align 4
%547 = sext i32 %546 to i64
%548 = getelementptr inbounds i8, ptr %545, i64 %547
store i8 %544, ptr %548, align 1
%549 = load i32, ptr %31, align 4
%550 = sdiv i32 %549, 10
store i32 %550, ptr %31, align 4
%551 = load i32, ptr %40, align 4
%552 = add nsw i32 %551, 1
store i32 %552, ptr %40, align 4
br label %535, !llvm.loop !15
553: ; preds = %535
%554 = load i32, ptr %40, align 4
%555 = add nsw i32 %554, -1
store i32 %555, ptr %40, align 4
br label %573
556: ; preds = %519, %515
%557 = load i8, ptr %38, align 1
%558 = sext i8 %557 to i32
%559 = icmp eq i32 %558, 97
br i1 %559, label %560, label %566
560: ; preds = %556
%561 = load i8, ptr %35, align 1
%562 = load ptr, ptr %16, align 8
%563 = load i32, ptr %40, align 4
%564 = sext i32 %563 to i64
%565 = getelementptr inbounds i8, ptr %562, i64 %564
store i8 %561, ptr %565, align 1
br label %572
566: ; preds = %556
%567 = load i8, ptr %38, align 1
%568 = load ptr, ptr %16, align 8
%569 = load i32, ptr %40, align 4
%570 = sext i32 %569 to i64
%571 = getelementptr inbounds i8, ptr %568, i64 %570
store i8 %567, ptr %571, align 1
br label %572
572: ; preds = %566, %560
br label %573
573: ; preds = %572, %553
br label %574
574: ; preds = %573, %512
br label %575
575: ; preds = %574, %471
br label %576
576: ; preds = %575, %425
br label %577
577: ; preds = %576, %413
br label %578
578: ; preds = %577
%579 = load i32, ptr %39, align 4
%580 = add nsw i32 %579, 1
store i32 %580, ptr %39, align 4
%581 = load i32, ptr %40, align 4
%582 = add nsw i32 %581, 1
store i32 %582, ptr %40, align 4
br label %397, !llvm.loop !16
583: ; preds = %397
br label %584
584: ; preds = %592, %583
%585 = load i32, ptr %40, align 4
%586 = icmp slt i32 %585, 8
br i1 %586, label %587, label %595
587: ; preds = %584
%588 = load ptr, ptr %16, align 8
%589 = load i32, ptr %40, align 4
%590 = sext i32 %589 to i64
%591 = getelementptr inbounds i8, ptr %588, i64 %590
store i8 32, ptr %591, align 1
br label %592
592: ; preds = %587
%593 = load i32, ptr %40, align 4
%594 = add nsw i32 %593, 1
store i32 %594, ptr %40, align 4
br label %584, !llvm.loop !17
595: ; preds = %584
%596 = load ptr, ptr %27, align 8
%597 = load i32, ptr %596, align 4
store i32 %597, ptr %14, align 4
br label %598
598: ; preds = %595, %395, %385, %65, %57, %48
%599 = load i32, ptr %14, align 4
ret i32 %599
}
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa17w02v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_translate_pixkeyword(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%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 i32, align 4
%29 = alloca i32, align 4
%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 i8, align 1
%36 = alloca i8, align 1
%37 = alloca i8, align 1
%38 = alloca i8, align 1
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca ptr, align 8
store ptr %0, ptr %15, align 8
store ptr %1, ptr %16, align 8
store ptr %2, ptr %17, align 8
store i32 %3, ptr %18, align 4
store i32 %4, ptr %19, align 4
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store ptr %7, ptr %22, align 8
store ptr %8, ptr %23, align 8
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
store i32 0, ptr %32, align 4
store i32 0, ptr %33, align 4
store i32 0, ptr %34, align 4
store i8 32, ptr %35, align 1
store i32 0, ptr %42, align 4
%45 = load ptr, ptr %27, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %13
%49 = load ptr, ptr %27, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %14, align 4
br label %618
51: ; preds = %13
%52 = load ptr, ptr %15, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load ptr, ptr %16, align 8
%56 = icmp eq ptr %55, null
br i1 %56, label %57, label %59
57: ; preds = %54, %51
%58 = load ptr, ptr %27, align 8
store i32 115, ptr %58, align 4
store i32 115, ptr %14, align 4
br label %618
59: ; preds = %54
%60 = load ptr, ptr %16, align 8
store i8 0, ptr %60, align 1
%61 = load ptr, ptr %15, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %59
store i32 0, ptr %14, align 4
br label %618
66: ; preds = %59
store i8 0, ptr %36, align 1
store i32 0, ptr %43, align 4
store i32 0, ptr %41, align 4
%67 = load i32, ptr %41, align 4
%68 = load i32, ptr %18, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %66
br label %70
70: ; preds = %.lr.ph, %324
%71 = load ptr, ptr %17, align 8
%72 = load i32, ptr %41, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [2 x ptr], ptr %71, i64 %73
%75 = getelementptr inbounds [2 x ptr], ptr %74, i64 0, i64 0
%76 = load ptr, ptr %75, align 8
store ptr %76, ptr %44, align 8
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
store i8 32, ptr %35, align 1
store i32 0, ptr %42, align 4
%77 = load ptr, ptr %44, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 42
br i1 %81, label %82, label %83
82: ; preds = %70
store i32 1, ptr %42, align 4
br label %330
83: ; preds = %70
%84 = load i32, ptr %43, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %95
86: ; preds = %83
%87 = load ptr, ptr %44, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 0
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = load i8, ptr %36, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %90, %92
br i1 %93, label %94, label %95
94: ; preds = %86
br label %324
95: ; preds = %86, %83
%96 = load ptr, ptr %44, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 0
%98 = load i8, ptr %97, align 1
store i8 %98, ptr %36, align 1
store i32 0, ptr %39, align 4
store i32 0, ptr %40, align 4
store i32 1, ptr %43, align 4
br label %99
99: ; preds = %303, %95
%100 = load ptr, ptr %44, align 8
%101 = load i32, ptr %39, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %110
107: ; preds = %99
%108 = load i32, ptr %40, align 4
%109 = icmp slt i32 %108, 8
br label %110
110: ; preds = %107, %99
%111 = phi i1 [ false, %99 ], [ %109, %107 ]
br i1 %111, label %112, label %.loopexit
112: ; preds = %110
%113 = load ptr, ptr %15, align 8
%114 = load i32, ptr %40, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = load i8, ptr %116, align 1
store i8 %117, ptr %37, align 1
%118 = load ptr, ptr %44, align 8
%119 = load i32, ptr %39, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i8, ptr %121, align 1
store i8 %122, ptr %38, align 1
%123 = load i8, ptr %38, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 105
br i1 %125, label %126, label %135
126: ; preds = %112
%127 = load i8, ptr %37, align 1
%128 = call i64 @isdigit(i8 noundef signext %127)
%129 = icmp ne i64 %128, 0
br i1 %129, label %130, label %134
130: ; preds = %126
%131 = load i8, ptr %37, align 1
%132 = sext i8 %131 to i32
%133 = sub nsw i32 %132, 48
store i32 %133, ptr %28, align 4
store i32 1, ptr %42, align 4
br label %134
134: ; preds = %130, %126
br label %298
135: ; preds = %112
%136 = load i8, ptr %38, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 106
br i1 %138, label %139, label %148
139: ; preds = %135
%140 = load i8, ptr %37, align 1
%141 = call i64 @isdigit(i8 noundef signext %140)
%142 = icmp ne i64 %141, 0
br i1 %142, label %143, label %147
143: ; preds = %139
%144 = load i8, ptr %37, align 1
%145 = sext i8 %144 to i32
%146 = sub nsw i32 %145, 48
store i32 %146, ptr %29, align 4
store i32 1, ptr %42, align 4
br label %147
147: ; preds = %143, %139
br label %297
148: ; preds = %135
%149 = load i8, ptr %38, align 1
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 110
br i1 %151, label %164, label %152
152: ; preds = %148
%153 = load i8, ptr %38, align 1
%154 = sext i8 %153 to i32
%155 = icmp eq i32 %154, 109
br i1 %155, label %164, label %156
156: ; preds = %152
%157 = load i8, ptr %38, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 108
br i1 %159, label %164, label %160
160: ; preds = %156
%161 = load i8, ptr %38, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 35
br i1 %163, label %164, label %265
164: ; preds = %160, %156, %152, %148
store i32 0, ptr %30, align 4
store i32 0, ptr %42, align 4
%165 = load i8, ptr %37, align 1
%166 = call i64 @isdigit(i8 noundef signext %165)
%167 = icmp ne i64 %166, 0
br i1 %167, label %168, label %264
168: ; preds = %164
store i32 1, ptr %42, align 4
br label %169
169: ; preds = %178, %168
%170 = load i32, ptr %40, align 4
%171 = icmp slt i32 %170, 8
br i1 %171, label %172, label %176
172: ; preds = %169
%173 = load i8, ptr %37, align 1
%174 = call i64 @isdigit(i8 noundef signext %173)
%175 = icmp ne i64 %174, 0
br label %176
176: ; preds = %172, %169
%177 = phi i1 [ false, %169 ], [ %175, %172 ]
br i1 %177, label %178, label %192
178: ; preds = %176
%179 = load i32, ptr %30, align 4
%180 = mul nsw i32 %179, 10
%181 = load i8, ptr %37, align 1
%182 = sext i8 %181 to i32
%183 = sub nsw i32 %182, 48
%184 = add nsw i32 %180, %183
store i32 %184, ptr %30, align 4
%185 = load i32, ptr %40, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %40, align 4
%187 = load ptr, ptr %15, align 8
%188 = load i32, ptr %40, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds i8, ptr %187, i64 %189
%191 = load i8, ptr %190, align 1
store i8 %191, ptr %37, align 1
br label %169, !llvm.loop !6
192: ; preds = %176
%193 = load i32, ptr %40, align 4
%194 = add nsw i32 %193, -1
store i32 %194, ptr %40, align 4
%195 = load ptr, ptr %15, align 8
%196 = load i32, ptr %40, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i8, ptr %195, i64 %197
%199 = load i8, ptr %198, align 1
store i8 %199, ptr %37, align 1
%200 = load i8, ptr %38, align 1
%201 = sext i8 %200 to i32
%202 = icmp eq i32 %201, 110
br i1 %202, label %207, label %203
203: ; preds = %192
%204 = load i8, ptr %38, align 1
%205 = sext i8 %204 to i32
%206 = icmp eq i32 %205, 109
br i1 %206, label %207, label %256
207: ; preds = %203, %192
%208 = load i32, ptr %30, align 4
%209 = icmp sge i32 %208, 1
br i1 %209, label %210, label %254
210: ; preds = %207
%211 = load i32, ptr %30, align 4
%212 = icmp sle i32 %211, 999
br i1 %212, label %213, label %254
213: ; preds = %210
%214 = load i32, ptr %30, align 4
%215 = load ptr, ptr %20, align 8
%216 = getelementptr inbounds i32, ptr %215, i64 0
%217 = load i32, ptr %216, align 4
%218 = icmp eq i32 %214, %217
br i1 %218, label %219, label %220
219: ; preds = %213
store i32 1, ptr %30, align 4
br label %245
220: ; preds = %213
%221 = load i32, ptr %30, align 4
%222 = load ptr, ptr %20, align 8
%223 = getelementptr inbounds i32, ptr %222, i64 1
%224 = load i32, ptr %223, align 4
%225 = icmp eq i32 %221, %224
br i1 %225, label %226, label %227
226: ; preds = %220
store i32 2, ptr %30, align 4
br label %244
227: ; preds = %220
%228 = load i32, ptr %30, align 4
%229 = load ptr, ptr %20, align 8
%230 = getelementptr inbounds i32, ptr %229, i64 2
%231 = load i32, ptr %230, align 4
%232 = icmp eq i32 %228, %231
br i1 %232, label %233, label %234
233: ; preds = %227
store i32 3, ptr %30, align 4
br label %243
234: ; preds = %227
%235 = load i32, ptr %30, align 4
%236 = load ptr, ptr %20, align 8
%237 = getelementptr inbounds i32, ptr %236, i64 3
%238 = load i32, ptr %237, align 4
%239 = icmp eq i32 %235, %238
br i1 %239, label %240, label %241
240: ; preds = %234
store i32 4, ptr %30, align 4
br label %242
241: ; preds = %234
store i32 0, ptr %42, align 4
store i32 0, ptr %30, align 4
br label %242
242: ; preds = %241, %240
br label %243
243: ; preds = %242, %233
br label %244
244: ; preds = %243, %226
br label %245
245: ; preds = %244, %219
%246 = load i8, ptr %38, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 110
br i1 %248, label %249, label %251
249: ; preds = %245
%250 = load i32, ptr %30, align 4
store i32 %250, ptr %32, align 4
br label %253
251: ; preds = %245
%252 = load i32, ptr %30, align 4
store i32 %252, ptr %33, align 4
br label %253
253: ; preds = %251, %249
br label %255
254: ; preds = %210, %207
store i32 0, ptr %42, align 4
br label %255
255: ; preds = %254, %253
br label %263
256: ; preds = %203
%257 = load i8, ptr %38, align 1
%258 = sext i8 %257 to i32
%259 = icmp eq i32 %258, 108
br i1 %259, label %260, label %262
260: ; preds = %256
%261 = load i32, ptr %30, align 4
store i32 %261, ptr %34, align 4
br label %262
262: ; preds = %260, %256
br label %263
263: ; preds = %262, %255
br label %264
264: ; preds = %263, %164
br label %296
265: ; preds = %160
%266 = load i8, ptr %38, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 97
br i1 %268, label %269, label %280
269: ; preds = %265
%270 = load i8, ptr %37, align 1
%271 = call i64 @isupper(i8 noundef signext %270)
%272 = icmp ne i64 %271, 0
br i1 %272, label %277, label %273
273: ; preds = %269
%274 = load i8, ptr %37, align 1
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 32
br i1 %276, label %277, label %279
277: ; preds = %273, %269
%278 = load i8, ptr %37, align 1
store i8 %278, ptr %35, align 1
store i32 1, ptr %42, align 4
br label %279
279: ; preds = %277, %273
br label %295
280: ; preds = %265
%281 = load i8, ptr %38, align 1
%282 = sext i8 %281 to i32
%283 = icmp eq i32 %282, 63
br i1 %283, label %284, label %285
284: ; preds = %280
store i32 1, ptr %42, align 4
br label %294
285: ; preds = %280
%286 = load i8, ptr %37, align 1
%287 = sext i8 %286 to i32
%288 = load i8, ptr %38, align 1
%289 = sext i8 %288 to i32
%290 = icmp eq i32 %287, %289
br i1 %290, label %291, label %292
291: ; preds = %285
store i32 1, ptr %42, align 4
br label %293
292: ; preds = %285
store i32 0, ptr %42, align 4
br label %293
293: ; preds = %292, %291
br label %294
294: ; preds = %293, %284
br label %295
295: ; preds = %294, %279
br label %296
296: ; preds = %295, %264
br label %297
297: ; preds = %296, %147
br label %298
298: ; preds = %297, %134
%299 = load i32, ptr %42, align 4
%300 = icmp ne i32 %299, 0
br i1 %300, label %302, label %301
301: ; preds = %298
br label %308
302: ; preds = %298
br label %303
303: ; preds = %302
%304 = load i32, ptr %39, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %39, align 4
%306 = load i32, ptr %40, align 4
%307 = add nsw i32 %306, 1
store i32 %307, ptr %40, align 4
store i32 0, ptr %43, align 4
br label %99, !llvm.loop !8
.loopexit: ; preds = %110
br label %308
308: ; preds = %.loopexit, %301
%309 = load i32, ptr %42, align 4
%310 = icmp ne i32 %309, 0
br i1 %310, label %311, label %323
311: ; preds = %308
%312 = load i32, ptr %40, align 4
%313 = icmp sge i32 %312, 8
br i1 %313, label %322, label %314
314: ; preds = %311
%315 = load ptr, ptr %15, align 8
%316 = load i32, ptr %40, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i8, ptr %315, i64 %317
%319 = load i8, ptr %318, align 1
%320 = sext i8 %319 to i32
%321 = icmp eq i32 %320, 32
br i1 %321, label %322, label %323
322: ; preds = %314, %311
br label %330
323: ; preds = %314, %308
br label %324
324: ; preds = %323, %94
%325 = load i32, ptr %41, align 4
%326 = add nsw i32 %325, 1
store i32 %326, ptr %41, align 4
%327 = load i32, ptr %41, align 4
%328 = load i32, ptr %18, align 4
%329 = icmp slt i32 %327, %328
br i1 %329, label %70, label %..loopexit1_crit_edge, !llvm.loop !9
..loopexit1_crit_edge: ; preds = %324
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %66
br label %330
330: ; preds = %.loopexit1, %322, %82
%331 = load ptr, ptr %22, align 8
%332 = icmp ne ptr %331, null
br i1 %332, label %333, label %336
333: ; preds = %330
%334 = load i32, ptr %28, align 4
%335 = load ptr, ptr %22, align 8
store i32 %334, ptr %335, align 4
br label %336
336: ; preds = %333, %330
%337 = load ptr, ptr %23, align 8
%338 = icmp ne ptr %337, null
br i1 %338, label %339, label %342
339: ; preds = %336
%340 = load i32, ptr %29, align 4
%341 = load ptr, ptr %23, align 8
store i32 %340, ptr %341, align 4
br label %342
342: ; preds = %339, %336
%343 = load ptr, ptr %24, align 8
%344 = icmp ne ptr %343, null
br i1 %344, label %345, label %348
345: ; preds = %342
%346 = load i32, ptr %32, align 4
%347 = load ptr, ptr %24, align 8
store i32 %346, ptr %347, align 4
br label %348
348: ; preds = %345, %342
%349 = load ptr, ptr %25, align 8
%350 = icmp ne ptr %349, null
br i1 %350, label %351, label %354
351: ; preds = %348
%352 = load i32, ptr %33, align 4
%353 = load ptr, ptr %25, align 8
store i32 %352, ptr %353, align 4
br label %354
354: ; preds = %351, %348
%355 = load ptr, ptr %26, align 8
%356 = icmp ne ptr %355, null
br i1 %356, label %357, label %360
357: ; preds = %354
%358 = load i32, ptr %34, align 4
%359 = load ptr, ptr %26, align 8
store i32 %358, ptr %359, align 4
br label %360
360: ; preds = %357, %354
%361 = load ptr, ptr %21, align 8
%362 = icmp ne ptr %361, null
br i1 %362, label %363, label %366
363: ; preds = %360
%364 = load i32, ptr %41, align 4
%365 = load ptr, ptr %21, align 8
store i32 %364, ptr %365, align 4
br label %366
366: ; preds = %363, %360
%367 = load ptr, ptr %17, align 8
%368 = load i32, ptr %41, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds [2 x ptr], ptr %367, i64 %369
%371 = getelementptr inbounds [2 x ptr], ptr %370, i64 0, i64 1
%372 = load ptr, ptr %371, align 8
store ptr %372, ptr %44, align 8
%373 = load i32, ptr %42, align 4
%374 = icmp eq i32 %373, 0
br i1 %374, label %387, label %375
375: ; preds = %366
%376 = load ptr, ptr %44, align 8
%377 = getelementptr inbounds i8, ptr %376, i64 0
%378 = load i8, ptr %377, align 1
%379 = sext i8 %378 to i32
%380 = icmp eq i32 %379, 0
br i1 %380, label %387, label %381
381: ; preds = %375
%382 = load ptr, ptr %44, align 8
%383 = getelementptr inbounds i8, ptr %382, i64 0
%384 = load i8, ptr %383, align 1
%385 = sext i8 %384 to i32
%386 = icmp eq i32 %385, 45
br i1 %386, label %387, label %388
387: ; preds = %381, %375, %366
store i32 0, ptr %14, align 4
br label %618
388: ; preds = %381
%389 = load ptr, ptr %16, align 8
%390 = load ptr, ptr %15, align 8
%391 = call i32 @strcpy(ptr noundef %389, ptr noundef %390)
%392 = load ptr, ptr %44, align 8
%393 = getelementptr inbounds i8, ptr %392, i64 0
%394 = load i8, ptr %393, align 1
%395 = sext i8 %394 to i32
%396 = icmp eq i32 %395, 43
br i1 %396, label %397, label %398
397: ; preds = %388
store i32 0, ptr %14, align 4
br label %618
398: ; preds = %388
store i32 0, ptr %39, align 4
store i32 0, ptr %40, align 4
%399 = load ptr, ptr %44, align 8
%400 = load i32, ptr %39, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds i8, ptr %399, i64 %401
%403 = load i8, ptr %402, align 1
%404 = icmp ne i8 %403, 0
br i1 %404, label %.lr.ph19, label %602
.lr.ph19: ; preds = %398
br label %405
405: ; preds = %.lr.ph19, %591
%406 = load ptr, ptr %44, align 8
%407 = load i32, ptr %39, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds i8, ptr %406, i64 %408
%410 = load i8, ptr %409, align 1
store i8 %410, ptr %38, align 1
%411 = load i8, ptr %38, align 1
%412 = sext i8 %411 to i32
%413 = icmp eq i32 %412, 105
br i1 %413, label %414, label %422
414: ; preds = %405
%415 = load i32, ptr %28, align 4
%416 = add nsw i32 %415, 48
%417 = trunc i32 %416 to i8
%418 = load ptr, ptr %16, align 8
%419 = load i32, ptr %40, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds i8, ptr %418, i64 %420
store i8 %417, ptr %421, align 1
br label %590
422: ; preds = %405
%423 = load i8, ptr %38, align 1
%424 = sext i8 %423 to i32
%425 = icmp eq i32 %424, 106
br i1 %425, label %426, label %434
426: ; preds = %422
%427 = load i32, ptr %29, align 4
%428 = add nsw i32 %427, 48
%429 = trunc i32 %428 to i8
%430 = load ptr, ptr %16, align 8
%431 = load i32, ptr %40, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds i8, ptr %430, i64 %432
store i8 %429, ptr %433, align 1
br label %589
434: ; preds = %422
%435 = load i8, ptr %38, align 1
%436 = sext i8 %435 to i32
%437 = icmp eq i32 %436, 110
br i1 %437, label %438, label %479
438: ; preds = %434
%439 = load i32, ptr %32, align 4
%440 = icmp sgt i32 %439, 0
br i1 %440, label %441, label %479
441: ; preds = %438
store i32 1, ptr %31, align 4
%442 = load i32, ptr %32, align 4
%443 = load i32, ptr %31, align 4
%444 = sdiv i32 %442, %443
%445 = icmp sgt i32 %444, 0
br i1 %445, label %.lr.ph13, label %454
.lr.ph13: ; preds = %441
br label %446
446: ; preds = %.lr.ph13, %447
br label %447
447: ; preds = %446
%448 = load i32, ptr %31, align 4
%449 = mul nsw i32 %448, 10
store i32 %449, ptr %31, align 4
%450 = load i32, ptr %32, align 4
%451 = load i32, ptr %31, align 4
%452 = sdiv i32 %450, %451
%453 = icmp sgt i32 %452, 0
br i1 %453, label %446, label %._crit_edge14, !llvm.loop !10
._crit_edge14: ; preds = %447
br label %454
454: ; preds = %._crit_edge14, %441
%455 = load i32, ptr %31, align 4
%456 = sdiv i32 %455, 10
store i32 %456, ptr %31, align 4
%457 = load i32, ptr %31, align 4
%458 = icmp sgt i32 %457, 0
br i1 %458, label %.lr.ph16, label %476
.lr.ph16: ; preds = %454
br label %459
459: ; preds = %.lr.ph16, %459
%460 = load i32, ptr %32, align 4
%461 = load i32, ptr %31, align 4
%462 = sdiv i32 %460, %461
%463 = srem i32 %462, 10
%464 = add nsw i32 %463, 48
%465 = trunc i32 %464 to i8
%466 = load ptr, ptr %16, align 8
%467 = load i32, ptr %40, align 4
%468 = sext i32 %467 to i64
%469 = getelementptr inbounds i8, ptr %466, i64 %468
store i8 %465, ptr %469, align 1
%470 = load i32, ptr %31, align 4
%471 = sdiv i32 %470, 10
store i32 %471, ptr %31, align 4
%472 = load i32, ptr %40, align 4
%473 = add nsw i32 %472, 1
store i32 %473, ptr %40, align 4
%474 = load i32, ptr %31, align 4
%475 = icmp sgt i32 %474, 0
br i1 %475, label %459, label %._crit_edge17, !llvm.loop !11
._crit_edge17: ; preds = %459
br label %476
476: ; preds = %._crit_edge17, %454
%477 = load i32, ptr %40, align 4
%478 = add nsw i32 %477, -1
store i32 %478, ptr %40, align 4
br label %588
479: ; preds = %438, %434
%480 = load i8, ptr %38, align 1
%481 = sext i8 %480 to i32
%482 = icmp eq i32 %481, 109
br i1 %482, label %483, label %524
483: ; preds = %479
%484 = load i32, ptr %33, align 4
%485 = icmp sgt i32 %484, 0
br i1 %485, label %486, label %524
486: ; preds = %483
store i32 1, ptr %31, align 4
%487 = load i32, ptr %33, align 4
%488 = load i32, ptr %31, align 4
%489 = sdiv i32 %487, %488
%490 = icmp sgt i32 %489, 0
br i1 %490, label %.lr.ph7, label %499
.lr.ph7: ; preds = %486
br label %491
491: ; preds = %.lr.ph7, %492
br label %492
492: ; preds = %491
%493 = load i32, ptr %31, align 4
%494 = mul nsw i32 %493, 10
store i32 %494, ptr %31, align 4
%495 = load i32, ptr %33, align 4
%496 = load i32, ptr %31, align 4
%497 = sdiv i32 %495, %496
%498 = icmp sgt i32 %497, 0
br i1 %498, label %491, label %._crit_edge8, !llvm.loop !12
._crit_edge8: ; preds = %492
br label %499
499: ; preds = %._crit_edge8, %486
%500 = load i32, ptr %31, align 4
%501 = sdiv i32 %500, 10
store i32 %501, ptr %31, align 4
%502 = load i32, ptr %31, align 4
%503 = icmp sgt i32 %502, 0
br i1 %503, label %.lr.ph10, label %521
.lr.ph10: ; preds = %499
br label %504
504: ; preds = %.lr.ph10, %504
%505 = load i32, ptr %33, align 4
%506 = load i32, ptr %31, align 4
%507 = sdiv i32 %505, %506
%508 = srem i32 %507, 10
%509 = add nsw i32 %508, 48
%510 = trunc i32 %509 to i8
%511 = load ptr, ptr %16, align 8
%512 = load i32, ptr %40, align 4
%513 = sext i32 %512 to i64
%514 = getelementptr inbounds i8, ptr %511, i64 %513
store i8 %510, ptr %514, align 1
%515 = load i32, ptr %31, align 4
%516 = sdiv i32 %515, 10
store i32 %516, ptr %31, align 4
%517 = load i32, ptr %40, align 4
%518 = add nsw i32 %517, 1
store i32 %518, ptr %40, align 4
%519 = load i32, ptr %31, align 4
%520 = icmp sgt i32 %519, 0
br i1 %520, label %504, label %._crit_edge11, !llvm.loop !13
._crit_edge11: ; preds = %504
br label %521
521: ; preds = %._crit_edge11, %499
%522 = load i32, ptr %40, align 4
%523 = add nsw i32 %522, -1
store i32 %523, ptr %40, align 4
br label %587
524: ; preds = %483, %479
%525 = load i8, ptr %38, align 1
%526 = sext i8 %525 to i32
%527 = icmp eq i32 %526, 108
br i1 %527, label %528, label %569
528: ; preds = %524
%529 = load i32, ptr %34, align 4
%530 = icmp sge i32 %529, 0
br i1 %530, label %531, label %569
531: ; preds = %528
store i32 1, ptr %31, align 4
%532 = load i32, ptr %34, align 4
%533 = load i32, ptr %31, align 4
%534 = sdiv i32 %532, %533
%535 = icmp sgt i32 %534, 0
br i1 %535, label %.lr.ph2, label %544
.lr.ph2: ; preds = %531
br label %536
536: ; preds = %.lr.ph2, %537
br label %537
537: ; preds = %536
%538 = load i32, ptr %31, align 4
%539 = mul nsw i32 %538, 10
store i32 %539, ptr %31, align 4
%540 = load i32, ptr %34, align 4
%541 = load i32, ptr %31, align 4
%542 = sdiv i32 %540, %541
%543 = icmp sgt i32 %542, 0
br i1 %543, label %536, label %._crit_edge, !llvm.loop !14
._crit_edge: ; preds = %537
br label %544
544: ; preds = %._crit_edge, %531
%545 = load i32, ptr %31, align 4
%546 = sdiv i32 %545, 10
store i32 %546, ptr %31, align 4
%547 = load i32, ptr %31, align 4
%548 = icmp sgt i32 %547, 0
br i1 %548, label %.lr.ph4, label %566
.lr.ph4: ; preds = %544
br label %549
549: ; preds = %.lr.ph4, %549
%550 = load i32, ptr %34, align 4
%551 = load i32, ptr %31, align 4
%552 = sdiv i32 %550, %551
%553 = srem i32 %552, 10
%554 = add nsw i32 %553, 48
%555 = trunc i32 %554 to i8
%556 = load ptr, ptr %16, align 8
%557 = load i32, ptr %40, align 4
%558 = sext i32 %557 to i64
%559 = getelementptr inbounds i8, ptr %556, i64 %558
store i8 %555, ptr %559, align 1
%560 = load i32, ptr %31, align 4
%561 = sdiv i32 %560, 10
store i32 %561, ptr %31, align 4
%562 = load i32, ptr %40, align 4
%563 = add nsw i32 %562, 1
store i32 %563, ptr %40, align 4
%564 = load i32, ptr %31, align 4
%565 = icmp sgt i32 %564, 0
br i1 %565, label %549, label %._crit_edge5, !llvm.loop !15
._crit_edge5: ; preds = %549
br label %566
566: ; preds = %._crit_edge5, %544
%567 = load i32, ptr %40, align 4
%568 = add nsw i32 %567, -1
store i32 %568, ptr %40, align 4
br label %586
569: ; preds = %528, %524
%570 = load i8, ptr %38, align 1
%571 = sext i8 %570 to i32
%572 = icmp eq i32 %571, 97
br i1 %572, label %573, label %579
573: ; preds = %569
%574 = load i8, ptr %35, align 1
%575 = load ptr, ptr %16, align 8
%576 = load i32, ptr %40, align 4
%577 = sext i32 %576 to i64
%578 = getelementptr inbounds i8, ptr %575, i64 %577
store i8 %574, ptr %578, align 1
br label %585
579: ; preds = %569
%580 = load i8, ptr %38, align 1
%581 = load ptr, ptr %16, align 8
%582 = load i32, ptr %40, align 4
%583 = sext i32 %582 to i64
%584 = getelementptr inbounds i8, ptr %581, i64 %583
store i8 %580, ptr %584, align 1
br label %585
585: ; preds = %579, %573
br label %586
586: ; preds = %585, %566
br label %587
587: ; preds = %586, %521
br label %588
588: ; preds = %587, %476
br label %589
589: ; preds = %588, %426
br label %590
590: ; preds = %589, %414
br label %591
591: ; preds = %590
%592 = load i32, ptr %39, align 4
%593 = add nsw i32 %592, 1
store i32 %593, ptr %39, align 4
%594 = load i32, ptr %40, align 4
%595 = add nsw i32 %594, 1
store i32 %595, ptr %40, align 4
%596 = load ptr, ptr %44, align 8
%597 = load i32, ptr %39, align 4
%598 = sext i32 %597 to i64
%599 = getelementptr inbounds i8, ptr %596, i64 %598
%600 = load i8, ptr %599, align 1
%601 = icmp ne i8 %600, 0
br i1 %601, label %405, label %._crit_edge20, !llvm.loop !16
._crit_edge20: ; preds = %591
br label %602
602: ; preds = %._crit_edge20, %398
%603 = load i32, ptr %40, align 4
%604 = icmp slt i32 %603, 8
br i1 %604, label %.lr.ph22, label %615
.lr.ph22: ; preds = %602
br label %605
605: ; preds = %.lr.ph22, %610
%606 = load ptr, ptr %16, align 8
%607 = load i32, ptr %40, align 4
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds i8, ptr %606, i64 %608
store i8 32, ptr %609, align 1
br label %610
610: ; preds = %605
%611 = load i32, ptr %40, align 4
%612 = add nsw i32 %611, 1
store i32 %612, ptr %40, align 4
%613 = load i32, ptr %40, align 4
%614 = icmp slt i32 %613, 8
br i1 %614, label %605, label %._crit_edge23, !llvm.loop !17
._crit_edge23: ; preds = %610
br label %615
615: ; preds = %._crit_edge23, %602
%616 = load ptr, ptr %27, align 8
%617 = load i32, ptr %616, align 4
store i32 %617, ptr %14, align 4
br label %618
618: ; preds = %615, %397, %387, %65, %57, %48
%619 = load i32, ptr %14, align 4
ret i32 %619
}
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
|
; ModuleID = '/tmp/tmp2kcnmbqn.c'
source_filename = "/tmp/tmp2kcnmbqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fread_char_values(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i64 @fread(ptr noundef %8, i32 noundef 1, i32 noundef %9, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = trunc i64 %12 to i32
ret i32 %13
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2kcnmbqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fread_char_values(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i64 @fread(ptr noundef %8, i32 noundef 1, i32 noundef %9, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = trunc i64 %12 to i32
ret i32 %13
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpulpzfgp2.c'
source_filename = "/tmp/tmpulpzfgp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysctlnametomib(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 [2 x i32], align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
store i32 3, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %11, align 8
%13 = mul i64 %12, 4
store i64 %13, ptr %11, align 8
%14 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @__sysctl(ptr noundef %14, i32 noundef 2, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19)
store i32 %20, ptr %8, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %21, align 8
%23 = udiv i64 %22, 4
store i64 %23, ptr %21, align 8
%24 = load i32, ptr %8, align 4
ret i32 %24
}
declare i32 @__sysctl(ptr noundef, i32 noundef, ptr noundef, 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/tmpulpzfgp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysctlnametomib(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 [2 x i32], align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
store i32 3, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %11, align 8
%13 = mul i64 %12, 4
store i64 %13, ptr %11, align 8
%14 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @__sysctl(ptr noundef %14, i32 noundef 2, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19)
store i32 %20, ptr %8, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %21, align 8
%23 = udiv i64 %22, 4
store i64 %23, ptr %21, align 8
%24 = load i32, ptr %8, align 4
ret i32 %24
}
declare i32 @__sysctl(ptr noundef, i32 noundef, ptr noundef, 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/tmpi1fv5e6b.c'
source_filename = "/tmp/tmpi1fv5e6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fOpDifferenceRound(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = fneg float %8
%10 = load float, ptr %6, align 4
%11 = call float @fOpIntersectionRound(float noundef %7, float noundef %9, float noundef %10)
ret float %11
}
declare float @fOpIntersectionRound(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1fv5e6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fOpDifferenceRound(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = fneg float %8
%10 = load float, ptr %6, align 4
%11 = call float @fOpIntersectionRound(float noundef %7, float noundef %9, float noundef %10)
ret float %11
}
declare float @fOpIntersectionRound(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuiprngtc.c'
source_filename = "/tmp/tmpuiprngtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
store i64 %8, ptr %7, align 8
br label %9
9: ; preds = %19, %3
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp sle i64 %10, %11
br i1 %12, label %13, label %22
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %7, align 8
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, i64 noundef %17)
br label %19
19: ; preds = %13
%20 = load i64, ptr %7, align 8
%21 = add nsw i64 %20, 1
store i64 %21, ptr %7, align 8
br label %9, !llvm.loop !6
22: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuiprngtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
store i64 %8, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp sle i64 %9, %10
br i1 %11, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %18
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i64, ptr %13, i64 %14
%16 = load i64, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, i64 noundef %16)
br label %18
18: ; preds = %12
%19 = load i64, ptr %7, align 8
%20 = add nsw i64 %19, 1
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp sle i64 %21, %22
br i1 %23, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %3
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnvh25xeu.c'
source_filename = "/tmp/tmpnvh25xeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
br label %8
8: ; preds = %15, %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %8, !llvm.loop !6
18: ; preds = %8
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 26
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %84, %18
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %85
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 122, %32
%34 = icmp sle i32 %31, %33
br i1 %34, label %35, label %54
35: ; preds = %26
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %40, %41
%43 = trunc i32 %42 to i8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %45
store i8 %43, ptr %46, align 1
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %50)
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %84
54: ; preds = %26
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = load i32, ptr %4, align 4
%61 = sub nsw i32 122, %60
%62 = icmp sgt i32 %59, %61
br i1 %62, label %63, label %83
63: ; preds = %54
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load i32, ptr %4, align 4
%70 = sub nsw i32 %69, 26
%71 = add nsw i32 %68, %70
%72 = trunc i32 %71 to i8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %74
store i8 %72, ptr %75, align 1
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %77
%79 = load i8, ptr %78, align 1
%80 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %79)
%81 = load i32, ptr %5, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %5, align 4
br label %83
83: ; preds = %63, %54
br label %84
84: ; preds = %83, %35
br label %22, !llvm.loop !8
85: ; preds = %22
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvh25xeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %0
%24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = srem i32 %25, 26
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph2, label %92
.lr.ph2: ; preds = %23
br label %30
30: ; preds = %.lr.ph2, %88
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 122, %36
%38 = icmp sle i32 %35, %37
br i1 %38, label %39, label %58
39: ; preds = %30
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %44, %45
%47 = trunc i32 %46 to i8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %49
store i8 %47, ptr %50, align 1
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %54)
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4
br label %88
58: ; preds = %30
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = load i32, ptr %4, align 4
%65 = sub nsw i32 122, %64
%66 = icmp sgt i32 %63, %65
br i1 %66, label %67, label %87
67: ; preds = %58
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = load i32, ptr %4, align 4
%74 = sub nsw i32 %73, 26
%75 = add nsw i32 %72, %74
%76 = trunc i32 %75 to i8
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %78
store i8 %76, ptr %79, align 1
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %81
%83 = load i8, ptr %82, align 1
%84 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %83)
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
br label %87
87: ; preds = %67, %58
br label %88
88: ; preds = %87, %39
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %3, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %88
br label %92
92: ; preds = %._crit_edge3, %23
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptglmhs_l.c'
source_filename = "/tmp/tmptglmhs_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tvCompare(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca i32, align 4
%6 = alloca %struct.timeval, align 8
%7 = alloca %struct.timeval, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %1, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
store i64 %2, ptr %10, align 8
%11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
store i64 %3, ptr %11, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = icmp slt i64 %13, %15
br i1 %16, label %17, label %18
17: ; preds = %4
store i32 -1, ptr %5, align 4
br label %40
18: ; preds = %4
%19 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%22 = load i64, ptr %21, align 8
%23 = icmp sgt i64 %20, %22
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 1, ptr %5, align 4
br label %40
25: ; preds = %18
%26 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp slt i64 %27, %29
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 -1, ptr %5, align 4
br label %40
32: ; preds = %25
%33 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%36 = load i64, ptr %35, align 8
%37 = icmp sgt i64 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %32
store i32 1, ptr %5, align 4
br label %40
39: ; preds = %32
store i32 0, ptr %5, align 4
br label %40
40: ; preds = %39, %38, %31, %24, %17
%41 = load i32, ptr %5, align 4
ret i32 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptglmhs_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tvCompare(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca i32, align 4
%6 = alloca %struct.timeval, align 8
%7 = alloca %struct.timeval, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %1, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
store i64 %2, ptr %10, align 8
%11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
store i64 %3, ptr %11, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = icmp slt i64 %13, %15
br i1 %16, label %17, label %18
17: ; preds = %4
store i32 -1, ptr %5, align 4
br label %40
18: ; preds = %4
%19 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%22 = load i64, ptr %21, align 8
%23 = icmp sgt i64 %20, %22
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 1, ptr %5, align 4
br label %40
25: ; preds = %18
%26 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp slt i64 %27, %29
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 -1, ptr %5, align 4
br label %40
32: ; preds = %25
%33 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%36 = load i64, ptr %35, align 8
%37 = icmp sgt i64 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %32
store i32 1, ptr %5, align 4
br label %40
39: ; preds = %32
store i32 0, ptr %5, align 4
br label %40
40: ; preds = %39, %38, %31, %24, %17
%41 = load i32, ptr %5, align 4
ret i32 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptbsbvlhr.c'
source_filename = "/tmp/tmptbsbvlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"This program requires you to type\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"some text after the program name\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"I shall now work on the \22%s\22 option\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 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
%10 = call i32 @puts(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %11, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbsbvlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"This program requires you to type\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"some text after the program name\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"I shall now work on the \22%s\22 option\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 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
%10 = call i32 @puts(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %11, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgpgupkbq.c'
source_filename = "/tmp/tmpgpgupkbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"after delete\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store i32 1024, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %13, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 1024
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %4, align 4
%12 = call ptr @insert(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = call i32 @puts(ptr noundef @.str)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @height(ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %29, %16
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 512
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = call ptr @delete_node(ptr noundef %26, i32 noundef %27)
store ptr %28, ptr %2, align 8
br label %29
29: ; preds = %25
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %22, !llvm.loop !8
32: ; preds = %22
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%34 = call i32 @puts(ptr noundef @.str)
%35 = load ptr, ptr %2, align 8
%36 = call i32 @height(ptr noundef %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36)
%38 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare ptr @insert(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @height(ptr noundef) #1
declare ptr @delete_node(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgpgupkbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"after delete\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store i32 1024, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 1024
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %12
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = call ptr @insert(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 1024
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 @puts(ptr noundef @.str)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @height(ptr noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
%22 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 512
br i1 %24, label %.lr.ph2, label %34
.lr.ph2: ; preds = %17
br label %25
25: ; preds = %.lr.ph2, %29
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = call ptr @delete_node(ptr noundef %26, i32 noundef %27)
store ptr %28, ptr %2, align 8
br label %29
29: ; preds = %25
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 512
br i1 %33, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %17
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = call i32 @puts(ptr noundef @.str)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @height(ptr noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38)
%40 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare ptr @insert(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @height(ptr noundef) #1
declare ptr @delete_node(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8l2ok5sw.c'
source_filename = "/tmp/tmp8l2ok5sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t_Exit() #0 {
%1 = call i32 @_Exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_Exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8l2ok5sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t_Exit() #0 {
%1 = call i32 @_Exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_Exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1imri5m0.c'
source_filename = "/tmp/tmp1imri5m0.c"
target datalayout = "e-m:e-p270: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/tmp1imri5m0.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.