llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp27o9onmw.c'
source_filename = "/tmp/tmp27o9onmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call double @strtod(ptr noundef %12, ptr noundef null)
store double %13, ptr %6, align 8
%14 = load double, ptr %6, align 8
%15 = call i32 @test_one_float(double noundef %14)
store i32 0, ptr %3, align 4
br label %18
16: ; preds = %2
%17 = call i32 (...) @test_floats()
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %16, %9
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare double @strtod(ptr noundef, ptr noundef) #1
declare i32 @test_one_float(double noundef) #1
declare i32 @test_floats(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp27o9onmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call double @strtod(ptr noundef %12, ptr noundef null)
store double %13, ptr %6, align 8
%14 = load double, ptr %6, align 8
%15 = call i32 @test_one_float(double noundef %14)
store i32 0, ptr %3, align 4
br label %18
16: ; preds = %2
%17 = call i32 (...) @test_floats()
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %16, %9
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare double @strtod(ptr noundef, ptr noundef) #1
declare i32 @test_one_float(double noundef) #1
declare i32 @test_floats(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdizz7kih.c'
source_filename = "/tmp/tmpdizz7kih.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"\0A FATAL ERROR: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fatalError(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 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdizz7kih.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"\0A FATAL ERROR: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fatalError(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 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2m6evy1s.c'
source_filename = "/tmp/tmp2m6evy1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"dest = '%p';\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"* ( dest + %d ) = '%c';\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"dest string:'%s';\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcpy_my(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
store i16 0, ptr %5, align 2
br label %9
9: ; preds = %20, %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %9
%15 = load i16, ptr %5, align 2
%16 = sext i16 %15 to i32
%17 = icmp slt i32 %16, 10
br label %18
18: ; preds = %14, %9
%19 = phi i1 [ false, %9 ], [ %17, %14 ]
br i1 %19, label %20, label %33
20: ; preds = %18
%21 = load i16, ptr %5, align 2
%22 = sext i16 %21 to i32
%23 = load ptr, ptr %3, align 8
%24 = load i16, ptr %5, align 2
%25 = sext i16 %24 to i32
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %29)
%31 = load i16, ptr %5, align 2
%32 = add i16 %31, 1
store i16 %32, ptr %5, align 2
br label %9, !llvm.loop !6
33: ; preds = %18
%34 = load ptr, ptr %3, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2m6evy1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"dest = '%p';\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"* ( dest + %d ) = '%c';\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"dest string:'%s';\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcpy_my(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
store i16 0, ptr %5, align 2
br label %9
9: ; preds = %20, %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %9
%15 = load i16, ptr %5, align 2
%16 = sext i16 %15 to i32
%17 = icmp slt i32 %16, 10
br label %18
18: ; preds = %14, %9
%19 = phi i1 [ false, %9 ], [ %17, %14 ]
br i1 %19, label %20, label %33
20: ; preds = %18
%21 = load i16, ptr %5, align 2
%22 = sext i16 %21 to i32
%23 = load ptr, ptr %3, align 8
%24 = load i16, ptr %5, align 2
%25 = sext i16 %24 to i32
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %29)
%31 = load i16, ptr %5, align 2
%32 = add i16 %31, 1
store i16 %32, ptr %5, align 2
br label %9, !llvm.loop !6
33: ; preds = %18
%34 = load ptr, ptr %3, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc3yog3mt.c'
source_filename = "/tmp/tmpc3yog3mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Campos verdes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store ptr @.str, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %0
br label %10
10: ; preds = %18, %9
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 32
br i1 %17, label %18, label %21
18: ; preds = %10
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
br label %22
22: ; preds = %21, %0
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = call ptr @corta_string(ptr noundef %26)
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28)
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare ptr @corta_string(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3yog3mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Campos verdes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store ptr @.str, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %0
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 32
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %9
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 32
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %9
br label %28
28: ; preds = %27, %0
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call ptr @corta_string(ptr noundef %32)
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %4, align 8
%35 = call i32 @printf(ptr noundef @.str.1, ptr noundef %34)
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare ptr @corta_string(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx5xlfjm0.c'
source_filename = "/tmp/tmpx5xlfjm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__wait4(i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef null)
ret i32 %10
}
declare i32 @__wait4(i32 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/tmpx5xlfjm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__wait4(i32 noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef null)
ret i32 %10
}
declare i32 @__wait4(i32 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/tmprkg12sj5.c'
source_filename = "/tmp/tmprkg12sj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"BC jump on zero, label idx=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ugl_bytecode_jmp_zero(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @ugl_GetLabel(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @ugl_plog(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @ugl_AddBytecode(i32 noundef 95)
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 8
%11 = call i32 @ugl_AddBytecode(i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = and i32 %12, 255
%14 = call i32 @ugl_AddBytecode(i32 noundef %13)
ret void
}
declare i32 @ugl_GetLabel(ptr noundef) #1
declare i32 @ugl_plog(ptr noundef, i32 noundef) #1
declare i32 @ugl_AddBytecode(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/tmprkg12sj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"BC jump on zero, label idx=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ugl_bytecode_jmp_zero(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @ugl_GetLabel(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @ugl_plog(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @ugl_AddBytecode(i32 noundef 95)
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 8
%11 = call i32 @ugl_AddBytecode(i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = and i32 %12, 255
%14 = call i32 @ugl_AddBytecode(i32 noundef %13)
ret void
}
declare i32 @ugl_GetLabel(ptr noundef) #1
declare i32 @ugl_plog(ptr noundef, i32 noundef) #1
declare i32 @ugl_AddBytecode(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/tmpzwvwoidi.c'
source_filename = "/tmp/tmpzwvwoidi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, 4242424242
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzwvwoidi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, 4242424242
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvo7mwzrh.c'
source_filename = "/tmp/tmpvo7mwzrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minmax_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %8, align 8
store ptr %16, ptr %17, align 8
%18 = load ptr, ptr %7, align 8
store ptr %16, ptr %18, align 8
br label %187
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcomp(ptr noundef %22, ptr noundef %25)
%27 = trunc i64 %26 to i32
store i32 %27, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %19
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %8, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %7, align 8
store ptr %33, ptr %35, align 8
br label %58
36: ; preds = %19
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 0
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %7, align 8
store ptr %42, ptr %43, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
store ptr %46, ptr %47, align 8
br label %57
48: ; preds = %36
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 1
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %7, align 8
store ptr %51, ptr %52, align 8
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
store ptr %55, ptr %56, align 8
br label %57
57: ; preds = %48, %39
br label %58
58: ; preds = %57, %30
%59 = load i32, ptr %6, align 4
%60 = sub nsw i32 %59, 1
store i32 %60, ptr %9, align 4
br label %61
61: ; preds = %153, %58
%62 = load i32, ptr %9, align 4
%63 = icmp sgt i32 %62, 2
br i1 %63, label %64, label %156
64: ; preds = %61
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %9, align 4
%72 = sub nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %70, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = call i64 @strcomp(ptr noundef %69, ptr noundef %75)
%77 = icmp sge i64 %76, 0
br i1 %77, label %78, label %115
78: ; preds = %64
%79 = load ptr, ptr %8, align 8
%80 = load ptr, ptr %79, align 8
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %9, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = call i64 @strcomp(ptr noundef %80, ptr noundef %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %95
88: ; preds = %78
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load ptr, ptr %8, align 8
store ptr %93, ptr %94, align 8
br label %95
95: ; preds = %88, %78
%96 = load ptr, ptr %7, align 8
%97 = load ptr, ptr %96, align 8
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %9, align 4
%100 = sub nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds ptr, ptr %98, i64 %101
%103 = load ptr, ptr %102, align 8
%104 = call i64 @strcomp(ptr noundef %97, ptr noundef %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %114
106: ; preds = %95
%107 = load ptr, ptr %5, align 8
%108 = load i32, ptr %9, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds ptr, ptr %107, i64 %110
%112 = load ptr, ptr %111, align 8
%113 = load ptr, ptr %7, align 8
store ptr %112, ptr %113, align 8
br label %114
114: ; preds = %106, %95
br label %152
115: ; preds = %64
%116 = load ptr, ptr %8, align 8
%117 = load ptr, ptr %116, align 8
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %9, align 4
%120 = sub nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %118, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = call i64 @strcomp(ptr noundef %117, ptr noundef %123)
%125 = icmp ne i64 %124, 0
br i1 %125, label %126, label %134
126: ; preds = %115
%127 = load ptr, ptr %5, align 8
%128 = load i32, ptr %9, align 4
%129 = sub nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds ptr, ptr %127, i64 %130
%132 = load ptr, ptr %131, align 8
%133 = load ptr, ptr %8, align 8
store ptr %132, ptr %133, align 8
br label %134
134: ; preds = %126, %115
%135 = load ptr, ptr %7, align 8
%136 = load ptr, ptr %135, align 8
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %9, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds ptr, ptr %137, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = call i64 @strcomp(ptr noundef %136, ptr noundef %141)
%143 = icmp ne i64 %142, 0
br i1 %143, label %144, label %151
144: ; preds = %134
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %9, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds ptr, ptr %145, i64 %147
%149 = load ptr, ptr %148, align 8
%150 = load ptr, ptr %7, align 8
store ptr %149, ptr %150, align 8
br label %151
151: ; preds = %144, %134
br label %152
152: ; preds = %151, %114
br label %153
153: ; preds = %152
%154 = load i32, ptr %9, align 4
%155 = sub nsw i32 %154, 2
store i32 %155, ptr %9, align 4
br label %61, !llvm.loop !6
156: ; preds = %61
%157 = load i32, ptr %6, align 4
%158 = srem i32 %157, 2
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %174
160: ; preds = %156
%161 = load ptr, ptr %8, align 8
%162 = load ptr, ptr %161, align 8
%163 = load ptr, ptr %5, align 8
%164 = getelementptr inbounds ptr, ptr %163, i64 2
%165 = load ptr, ptr %164, align 8
%166 = call i64 @strcomp(ptr noundef %162, ptr noundef %165)
%167 = icmp ne i64 %166, 0
br i1 %167, label %168, label %173
168: ; preds = %160
%169 = load ptr, ptr %5, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 2
%171 = load ptr, ptr %170, align 8
%172 = load ptr, ptr %8, align 8
store ptr %171, ptr %172, align 8
br label %173
173: ; preds = %168, %160
br label %174
174: ; preds = %173, %156
%175 = load ptr, ptr %7, align 8
%176 = load ptr, ptr %175, align 8
%177 = load ptr, ptr %5, align 8
%178 = getelementptr inbounds ptr, ptr %177, i64 2
%179 = load ptr, ptr %178, align 8
%180 = call i64 @strcomp(ptr noundef %176, ptr noundef %179)
%181 = icmp ne i64 %180, 0
br i1 %181, label %182, label %187
182: ; preds = %174
%183 = load ptr, ptr %5, align 8
%184 = getelementptr inbounds ptr, ptr %183, i64 2
%185 = load ptr, ptr %184, align 8
%186 = load ptr, ptr %7, align 8
store ptr %185, ptr %186, align 8
br label %187
187: ; preds = %13, %182, %174
ret void
}
declare i64 @strcomp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvo7mwzrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minmax_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %8, align 8
store ptr %16, ptr %17, align 8
%18 = load ptr, ptr %7, align 8
store ptr %16, ptr %18, align 8
br label %188
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcomp(ptr noundef %22, ptr noundef %25)
%27 = trunc i64 %26 to i32
store i32 %27, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %19
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %8, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %7, align 8
store ptr %33, ptr %35, align 8
br label %58
36: ; preds = %19
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 0
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %7, align 8
store ptr %42, ptr %43, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
store ptr %46, ptr %47, align 8
br label %57
48: ; preds = %36
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 1
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %7, align 8
store ptr %51, ptr %52, align 8
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
store ptr %55, ptr %56, align 8
br label %57
57: ; preds = %48, %39
br label %58
58: ; preds = %57, %30
%59 = load i32, ptr %6, align 4
%60 = sub nsw i32 %59, 1
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp sgt i32 %61, 2
br i1 %62, label %.lr.ph, label %157
.lr.ph: ; preds = %58
br label %63
63: ; preds = %.lr.ph, %152
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %9, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %69, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = call i64 @strcomp(ptr noundef %68, ptr noundef %74)
%76 = icmp sge i64 %75, 0
br i1 %76, label %77, label %114
77: ; preds = %63
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = call i64 @strcomp(ptr noundef %79, ptr noundef %84)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %94
87: ; preds = %77
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load ptr, ptr %8, align 8
store ptr %92, ptr %93, align 8
br label %94
94: ; preds = %87, %77
%95 = load ptr, ptr %7, align 8
%96 = load ptr, ptr %95, align 8
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %9, align 4
%99 = sub nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %97, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = call i64 @strcomp(ptr noundef %96, ptr noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %113
105: ; preds = %94
%106 = load ptr, ptr %5, align 8
%107 = load i32, ptr %9, align 4
%108 = sub nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds ptr, ptr %106, i64 %109
%111 = load ptr, ptr %110, align 8
%112 = load ptr, ptr %7, align 8
store ptr %111, ptr %112, align 8
br label %113
113: ; preds = %105, %94
br label %151
114: ; preds = %63
%115 = load ptr, ptr %8, align 8
%116 = load ptr, ptr %115, align 8
%117 = load ptr, ptr %5, align 8
%118 = load i32, ptr %9, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %117, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = call i64 @strcomp(ptr noundef %116, ptr noundef %122)
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %133
125: ; preds = %114
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %9, align 4
%128 = sub nsw i32 %127, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds ptr, ptr %126, i64 %129
%131 = load ptr, ptr %130, align 8
%132 = load ptr, ptr %8, align 8
store ptr %131, ptr %132, align 8
br label %133
133: ; preds = %125, %114
%134 = load ptr, ptr %7, align 8
%135 = load ptr, ptr %134, align 8
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %9, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = call i64 @strcomp(ptr noundef %135, ptr noundef %140)
%142 = icmp ne i64 %141, 0
br i1 %142, label %143, label %150
143: ; preds = %133
%144 = load ptr, ptr %5, align 8
%145 = load i32, ptr %9, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds ptr, ptr %144, i64 %146
%148 = load ptr, ptr %147, align 8
%149 = load ptr, ptr %7, align 8
store ptr %148, ptr %149, align 8
br label %150
150: ; preds = %143, %133
br label %151
151: ; preds = %150, %113
br label %152
152: ; preds = %151
%153 = load i32, ptr %9, align 4
%154 = sub nsw i32 %153, 2
store i32 %154, ptr %9, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp sgt i32 %155, 2
br i1 %156, label %63, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %152
br label %157
157: ; preds = %._crit_edge, %58
%158 = load i32, ptr %6, align 4
%159 = srem i32 %158, 2
%160 = icmp ne i32 %159, 0
br i1 %160, label %161, label %175
161: ; preds = %157
%162 = load ptr, ptr %8, align 8
%163 = load ptr, ptr %162, align 8
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds ptr, ptr %164, i64 2
%166 = load ptr, ptr %165, align 8
%167 = call i64 @strcomp(ptr noundef %163, ptr noundef %166)
%168 = icmp ne i64 %167, 0
br i1 %168, label %169, label %174
169: ; preds = %161
%170 = load ptr, ptr %5, align 8
%171 = getelementptr inbounds ptr, ptr %170, i64 2
%172 = load ptr, ptr %171, align 8
%173 = load ptr, ptr %8, align 8
store ptr %172, ptr %173, align 8
br label %174
174: ; preds = %169, %161
br label %175
175: ; preds = %174, %157
%176 = load ptr, ptr %7, align 8
%177 = load ptr, ptr %176, align 8
%178 = load ptr, ptr %5, align 8
%179 = getelementptr inbounds ptr, ptr %178, i64 2
%180 = load ptr, ptr %179, align 8
%181 = call i64 @strcomp(ptr noundef %177, ptr noundef %180)
%182 = icmp ne i64 %181, 0
br i1 %182, label %183, label %188
183: ; preds = %175
%184 = load ptr, ptr %5, align 8
%185 = getelementptr inbounds ptr, ptr %184, i64 2
%186 = load ptr, ptr %185, align 8
%187 = load ptr, ptr %7, align 8
store ptr %186, ptr %187, align 8
br label %188
188: ; preds = %183, %175, %13
ret void
}
declare i64 @strcomp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxot0skf6.c'
source_filename = "/tmp/tmpxot0skf6.c"
target datalayout = "e-m:e-p270: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/tmpxot0skf6.c"
target datalayout = "e-m:e-p270: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/tmpp3yf3x4q.c'
source_filename = "/tmp/tmpp3yf3x4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intel_flash_bxt_init() #0 {
%1 = call ptr @intel_flash_init(i32 noundef 0)
ret ptr %1
}
declare ptr @intel_flash_init(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/tmpp3yf3x4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intel_flash_bxt_init() #0 {
%1 = call ptr @intel_flash_init(i32 noundef 0)
ret ptr %1
}
declare ptr @intel_flash_init(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/tmpcu60peam.c'
source_filename = "/tmp/tmpcu60peam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_second(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 44)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
store ptr %10, ptr %2, align 8
br label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %12
12: ; preds = %11, %8
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
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/tmpcu60peam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_second(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 44)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
store ptr %10, ptr %2, align 8
br label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %12
12: ; preds = %11, %8
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
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/tmpoad7l34t.c'
source_filename = "/tmp/tmpoad7l34t.c"
target datalayout = "e-m:e-p270: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/tmpoad7l34t.c"
target datalayout = "e-m:e-p270: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/tmpnu_hmva3.c'
source_filename = "/tmp/tmpnu_hmva3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n4(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 = call i32 (...) @ext()
ret void
}
declare i32 @ext(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnu_hmva3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n4(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 = call i32 (...) @ext()
ret void
}
declare i32 @ext(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptaah6qmz.c'
source_filename = "/tmp/tmptaah6qmz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_strings(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 %5, align 4
%8 = load ptr, ptr %6, align 8
%9 = call i32 @dump_int(i32 noundef %7, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @dump_string_array(ptr noundef %10, i32 noundef %11, ptr noundef %12)
ret void
}
declare i32 @dump_int(i32 noundef, ptr noundef) #1
declare i32 @dump_string_array(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/tmptaah6qmz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_strings(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 %5, align 4
%8 = load ptr, ptr %6, align 8
%9 = call i32 @dump_int(i32 noundef %7, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @dump_string_array(ptr noundef %10, i32 noundef %11, ptr noundef %12)
ret void
}
declare i32 @dump_int(i32 noundef, ptr noundef) #1
declare i32 @dump_string_array(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/tmp8by1wr44.c'
source_filename = "/tmp/tmp8by1wr44.c"
target datalayout = "e-m:e-p270: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/tmp8by1wr44.c"
target datalayout = "e-m:e-p270: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/tmpffssxeyx.c'
source_filename = "/tmp/tmpffssxeyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @platform_terminal_reset_color() #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/tmpffssxeyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @platform_terminal_reset_color() #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/tmpea5qg5hm.c'
source_filename = "/tmp/tmpea5qg5hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@letterCombinations.map = internal global [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16
@.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"def\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"jkl\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"mno\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"pqrs\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"tuv\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @letterCombinations(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%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 %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15, %2
store ptr null, ptr %3, align 8
br label %147
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
store i32 1, ptr %22, align 4
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %53, %21
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = icmp ne i8 %28, 0
br i1 %29, label %30, label %56
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 55
br i1 %37, label %46, label %38
38: ; preds = %30
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 57
br label %46
46: ; preds = %38, %30
%47 = phi i1 [ true, %30 ], [ %45, %38 ]
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 4, i32 3
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %50, align 4
%52 = mul nsw i32 %51, %49
store i32 %52, ptr %50, align 4
br label %53
53: ; preds = %46
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %6, align 4
br label %23, !llvm.loop !6
56: ; preds = %23
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %57, align 4
%59 = call ptr @calloc(i32 noundef %58, i32 noundef 8)
store ptr %59, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %60
60: ; preds = %73, %56
%61 = load i32, ptr %8, align 4
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp slt i32 %61, %63
br i1 %64, label %65, label %76
65: ; preds = %60
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
%68 = call ptr @calloc(i32 noundef %67, i32 noundef 1)
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
store ptr %68, ptr %72, align 8
br label %73
73: ; preds = %65
%74 = load i32, ptr %8, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %8, align 4
br label %60, !llvm.loop !8
76: ; preds = %60
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %77, align 4
store i32 %78, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %79
79: ; preds = %142, %76
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %145
83: ; preds = %79
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %10, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 55
br i1 %90, label %99, label %91
91: ; preds = %83
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %10, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 57
br label %99
99: ; preds = %91, %83
%100 = phi i1 [ true, %83 ], [ %98, %91 ]
%101 = zext i1 %100 to i64
%102 = select i1 %100, i32 4, i32 3
store i32 %102, ptr %11, align 4
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %9, align 4
%105 = sdiv i32 %104, %103
store i32 %105, ptr %9, align 4
store i32 0, ptr %12, align 4
br label %106
106: ; preds = %138, %99
%107 = load i32, ptr %12, align 4
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %108, align 4
%110 = icmp slt i32 %107, %109
br i1 %110, label %111, label %141
111: ; preds = %106
%112 = load ptr, ptr %4, align 8
%113 = load i32, ptr %10, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = sub nsw i32 %117, 50
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [8 x ptr], ptr @letterCombinations.map, i64 0, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr %9, align 4
%124 = sdiv i32 %122, %123
%125 = load i32, ptr %11, align 4
%126 = srem i32 %124, %125
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, ptr %121, i64 %127
%129 = load i8, ptr %128, align 1
%130 = load ptr, ptr %7, align 8
%131 = load i32, ptr %12, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = load i32, ptr %10, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, ptr %134, i64 %136
store i8 %129, ptr %137, align 1
br label %138
138: ; preds = %111
%139 = load i32, ptr %12, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %12, align 4
br label %106, !llvm.loop !9
141: ; preds = %106
br label %142
142: ; preds = %141
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %10, align 4
br label %79, !llvm.loop !10
145: ; preds = %79
%146 = load ptr, ptr %7, align 8
store ptr %146, ptr %3, align 8
br label %147
147: ; preds = %145, %20
%148 = load ptr, ptr %3, align 8
ret ptr %148
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpea5qg5hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@letterCombinations.map = internal global [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16
@.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"def\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"jkl\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"mno\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"pqrs\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"tuv\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @letterCombinations(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%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 %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15, %2
store ptr null, ptr %3, align 8
br label %160
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
store i32 1, ptr %22, align 4
store i32 0, ptr %6, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %.lr.ph, label %61
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %52
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 55
br i1 %36, label %45, label %37
37: ; preds = %29
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 57
br label %45
45: ; preds = %37, %29
%46 = phi i1 [ true, %29 ], [ %44, %37 ]
%47 = zext i1 %46 to i64
%48 = select i1 %46, i32 4, i32 3
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %49, align 4
%51 = mul nsw i32 %50, %48
store i32 %51, ptr %49, align 4
br label %52
52: ; preds = %45
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = icmp ne i8 %59, 0
br i1 %60, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %61
61: ; preds = %._crit_edge, %21
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %62, align 4
%64 = call ptr @calloc(i32 noundef %63, i32 noundef 8)
store ptr %64, ptr %7, align 8
store i32 0, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %66, align 4
%68 = icmp slt i32 %65, %67
br i1 %68, label %.lr.ph2, label %84
.lr.ph2: ; preds = %61
br label %69
69: ; preds = %.lr.ph2, %77
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
%72 = call ptr @calloc(i32 noundef %71, i32 noundef 1)
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
store ptr %72, ptr %76, align 8
br label %77
77: ; preds = %69
%78 = load i32, ptr %8, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
%80 = load i32, ptr %8, align 4
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %81, align 4
%83 = icmp slt i32 %80, %82
br i1 %83, label %69, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %84
84: ; preds = %._crit_edge3, %61
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %85, align 4
store i32 %86, ptr %9, align 4
store i32 0, ptr %10, align 4
%87 = load i32, ptr %10, align 4
%88 = load i32, ptr %6, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %.lr.ph8, label %158
.lr.ph8: ; preds = %84
br label %90
90: ; preds = %.lr.ph8, %152
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %10, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 55
br i1 %97, label %106, label %98
98: ; preds = %90
%99 = load ptr, ptr %4, align 8
%100 = load i32, ptr %10, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 57
br label %106
106: ; preds = %98, %90
%107 = phi i1 [ true, %90 ], [ %105, %98 ]
%108 = zext i1 %107 to i64
%109 = select i1 %107, i32 4, i32 3
store i32 %109, ptr %11, align 4
%110 = load i32, ptr %11, align 4
%111 = load i32, ptr %9, align 4
%112 = sdiv i32 %111, %110
store i32 %112, ptr %9, align 4
store i32 0, ptr %12, align 4
%113 = load i32, ptr %12, align 4
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %114, align 4
%116 = icmp slt i32 %113, %115
br i1 %116, label %.lr.ph5, label %151
.lr.ph5: ; preds = %106
br label %117
117: ; preds = %.lr.ph5, %144
%118 = load ptr, ptr %4, align 8
%119 = load i32, ptr %10, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = sub nsw i32 %123, 50
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [8 x ptr], ptr @letterCombinations.map, i64 0, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = load i32, ptr %12, align 4
%129 = load i32, ptr %9, align 4
%130 = sdiv i32 %128, %129
%131 = load i32, ptr %11, align 4
%132 = srem i32 %130, %131
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %127, i64 %133
%135 = load i8, ptr %134, align 1
%136 = load ptr, ptr %7, align 8
%137 = load i32, ptr %12, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = load i32, ptr %10, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i8, ptr %140, i64 %142
store i8 %135, ptr %143, align 1
br label %144
144: ; preds = %117
%145 = load i32, ptr %12, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %12, align 4
%147 = load i32, ptr %12, align 4
%148 = load ptr, ptr %5, align 8
%149 = load i32, ptr %148, align 4
%150 = icmp slt i32 %147, %149
br i1 %150, label %117, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %144
br label %151
151: ; preds = %._crit_edge6, %106
br label %152
152: ; preds = %151
%153 = load i32, ptr %10, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %10, align 4
%155 = load i32, ptr %10, align 4
%156 = load i32, ptr %6, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %90, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %152
br label %158
158: ; preds = %._crit_edge9, %84
%159 = load ptr, ptr %7, align 8
store ptr %159, ptr %3, align 8
br label %160
160: ; preds = %158, %20
%161 = load ptr, ptr %3, align 8
ret ptr %161
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpam45a1ks.c'
source_filename = "/tmp/tmpam45a1ks.c"
target datalayout = "e-m:e-p270: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/tmpam45a1ks.c"
target datalayout = "e-m:e-p270: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/tmp7bzx6mbo.c'
source_filename = "/tmp/tmp7bzx6mbo.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"FATAL ERROR: [tiger_array_alloc] failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tiger_array_alloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = mul i64 %4, 8
%6 = call i64 @malloc(i64 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare i64 @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7bzx6mbo.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"FATAL ERROR: [tiger_array_alloc] failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tiger_array_alloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = mul i64 %4, 8
%6 = call i64 @malloc(i64 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare i64 @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn671268f.c'
source_filename = "/tmp/tmpn671268f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [50 x i32], align 16
%11 = alloca [50 x i32], align 16
%12 = alloca [40 x [40 x i32]], align 16
%13 = alloca [40 x [40 x i32]], align 16
store i32 0, ptr %1, align 4
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %25, %0
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x i32], ptr %10, i64 0, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %19
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
br label %29
29: ; preds = %200, %28
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %209
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %34
store i32 1, ptr %35, align 4
store i32 2, ptr %2, align 4
br label %36
36: ; preds = %46, %32
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %49
40: ; preds = %36
%41 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %44
store i32 %42, ptr %45, align 4
br label %46
46: ; preds = %40
%47 = load i32, ptr %2, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %2, align 4
br label %36, !llvm.loop !8
49: ; preds = %36
%50 = load i32, ptr %8, align 4
%51 = mul nsw i32 %50, 2
store i32 %51, ptr %4, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 4
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 4
store i32 %55, ptr %6, align 4
%56 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 6400)
%58 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i32 noundef -1, i32 noundef 6400)
store i32 1, ptr %2, align 4
br label %60
60: ; preds = %197, %49
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp sle i32 %61, %62
br i1 %63, label %64, label %200
64: ; preds = %60
store i32 1, ptr %3, align 4
br label %65
65: ; preds = %193, %64
%66 = load i32, ptr %3, align 4
%67 = load i32, ptr %8, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %196
69: ; preds = %65
%70 = load i32, ptr %2, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [50 x i32], ptr %10, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %3, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp eq i32 %73, %77
br i1 %78, label %79, label %103
79: ; preds = %69
%80 = load i32, ptr %2, align 4
%81 = sub nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %82
%84 = load i32, ptr %3, align 4
%85 = sub nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [40 x i32], ptr %83, i64 0, i64 %86
%88 = load i32, ptr %87, align 4
%89 = add nsw i32 %88, 1
%90 = load i32, ptr %2, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %91
%93 = load i32, ptr %3, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [40 x i32], ptr %92, i64 0, i64 %94
store i32 %89, ptr %95, align 4
%96 = load i32, ptr %6, align 4
%97 = load i32, ptr %2, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %98
%100 = load i32, ptr %3, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [40 x i32], ptr %99, i64 0, i64 %101
store i32 %96, ptr %102, align 4
br label %192
103: ; preds = %69
%104 = load i32, ptr %2, align 4
%105 = sub nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %106
%108 = load i32, ptr %3, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [40 x i32], ptr %107, i64 0, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load i32, ptr %2, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %113
%115 = load i32, ptr %3, align 4
%116 = sub nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [40 x i32], ptr %114, i64 0, i64 %117
%119 = load i32, ptr %118, align 4
%120 = call i32 @maxm(i32 noundef %111, i32 noundef %119)
store i32 %120, ptr %9, align 4
%121 = load i32, ptr %9, align 4
%122 = icmp ne i32 %121, 0
br i1 %122, label %145, label %123
123: ; preds = %103
%124 = load i32, ptr %2, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %126
%128 = load i32, ptr %3, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [40 x i32], ptr %127, i64 0, i64 %129
%131 = load i32, ptr %130, align 4
%132 = load i32, ptr %2, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %133
%135 = load i32, ptr %3, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [40 x i32], ptr %134, i64 0, i64 %136
store i32 %131, ptr %137, align 4
%138 = load i32, ptr %4, align 4
%139 = load i32, ptr %2, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %140
%142 = load i32, ptr %3, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [40 x i32], ptr %141, i64 0, i64 %143
store i32 %138, ptr %144, align 4
br label %191
145: ; preds = %103
%146 = load i32, ptr %9, align 4
%147 = load i32, ptr %2, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %148
%150 = load i32, ptr %3, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [40 x i32], ptr %149, i64 0, i64 %151
store i32 %146, ptr %152, align 4
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %2, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %156
%158 = load i32, ptr %3, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [40 x i32], ptr %157, i64 0, i64 %159
%161 = load i32, ptr %160, align 4
%162 = icmp eq i32 %153, %161
br i1 %162, label %163, label %171
163: ; preds = %145
%164 = load i32, ptr %4, align 4
%165 = load i32, ptr %2, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %166
%168 = load i32, ptr %3, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [40 x i32], ptr %167, i64 0, i64 %169
store i32 %164, ptr %170, align 4
br label %171
171: ; preds = %163, %145
%172 = load i32, ptr %9, align 4
%173 = load i32, ptr %2, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %174
%176 = load i32, ptr %3, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [40 x i32], ptr %175, i64 0, i64 %178
%180 = load i32, ptr %179, align 4
%181 = icmp eq i32 %172, %180
br i1 %181, label %182, label %190
182: ; preds = %171
%183 = load i32, ptr %5, align 4
%184 = load i32, ptr %2, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %185
%187 = load i32, ptr %3, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [40 x i32], ptr %186, i64 0, i64 %188
store i32 %183, ptr %189, align 4
br label %190
190: ; preds = %182, %171
br label %191
191: ; preds = %190, %123
br label %192
192: ; preds = %191, %79
br label %193
193: ; preds = %192
%194 = load i32, ptr %3, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %3, align 4
br label %65, !llvm.loop !9
196: ; preds = %65
br label %197
197: ; preds = %196
%198 = load i32, ptr %2, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %2, align 4
br label %60, !llvm.loop !10
200: ; preds = %60
%201 = load i32, ptr %8, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %202
%204 = load i32, ptr %8, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [40 x i32], ptr %203, i64 0, i64 %205
%207 = load i32, ptr %206, align 4
%208 = call i32 @printf(ptr noundef @.str.1, i32 noundef %207)
br label %29, !llvm.loop !11
209: ; preds = %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @maxm(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn671268f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [50 x i32], align 16
%11 = alloca [50 x i32], align 16
%12 = alloca [40 x [40 x i32]], align 16
%13 = alloca [40 x [40 x i32]], align 16
store i32 0, ptr %1, align 4
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
store i32 1, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %24
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [50 x i32], ptr %10, i64 0, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %18
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %0
%31 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%32 = icmp eq i32 %31, 1
br i1 %32, label %.lr.ph11, label %218
.lr.ph11: ; preds = %30
br label %33
33: ; preds = %.lr.ph11, %207
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %35
store i32 1, ptr %36, align 4
store i32 2, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph2, label %52
.lr.ph2: ; preds = %33
br label %40
40: ; preds = %.lr.ph2, %46
%41 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %44
store i32 %42, ptr %45, align 4
br label %46
46: ; preds = %40
%47 = load i32, ptr %2, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %2, align 4
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %33
%53 = load i32, ptr %8, align 4
%54 = mul nsw i32 %53, 2
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 4
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %57, 4
store i32 %58, ptr %6, align 4
%59 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 0
%60 = call i32 @memset(ptr noundef %59, i32 noundef 0, i32 noundef 6400)
%61 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 0
%62 = call i32 @memset(ptr noundef %61, i32 noundef -1, i32 noundef 6400)
store i32 1, ptr %2, align 4
%63 = load i32, ptr %2, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %.lr.ph8, label %207
.lr.ph8: ; preds = %52
br label %66
66: ; preds = %.lr.ph8, %201
store i32 1, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %.lr.ph5, label %200
.lr.ph5: ; preds = %66
br label %70
70: ; preds = %.lr.ph5, %194
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [50 x i32], ptr %10, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %3, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [50 x i32], ptr %11, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = icmp eq i32 %74, %78
br i1 %79, label %80, label %104
80: ; preds = %70
%81 = load i32, ptr %2, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %83
%85 = load i32, ptr %3, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [40 x i32], ptr %84, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %89, 1
%91 = load i32, ptr %2, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %92
%94 = load i32, ptr %3, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [40 x i32], ptr %93, i64 0, i64 %95
store i32 %90, ptr %96, align 4
%97 = load i32, ptr %6, align 4
%98 = load i32, ptr %2, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %99
%101 = load i32, ptr %3, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [40 x i32], ptr %100, i64 0, i64 %102
store i32 %97, ptr %103, align 4
br label %193
104: ; preds = %70
%105 = load i32, ptr %2, align 4
%106 = sub nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %107
%109 = load i32, ptr %3, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [40 x i32], ptr %108, i64 0, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load i32, ptr %2, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %114
%116 = load i32, ptr %3, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [40 x i32], ptr %115, i64 0, i64 %118
%120 = load i32, ptr %119, align 4
%121 = call i32 @maxm(i32 noundef %112, i32 noundef %120)
store i32 %121, ptr %9, align 4
%122 = load i32, ptr %9, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %146, label %124
124: ; preds = %104
%125 = load i32, ptr %2, align 4
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %127
%129 = load i32, ptr %3, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [40 x i32], ptr %128, i64 0, i64 %130
%132 = load i32, ptr %131, align 4
%133 = load i32, ptr %2, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %134
%136 = load i32, ptr %3, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [40 x i32], ptr %135, i64 0, i64 %137
store i32 %132, ptr %138, align 4
%139 = load i32, ptr %4, align 4
%140 = load i32, ptr %2, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %141
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [40 x i32], ptr %142, i64 0, i64 %144
store i32 %139, ptr %145, align 4
br label %192
146: ; preds = %104
%147 = load i32, ptr %9, align 4
%148 = load i32, ptr %2, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %149
%151 = load i32, ptr %3, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [40 x i32], ptr %150, i64 0, i64 %152
store i32 %147, ptr %153, align 4
%154 = load i32, ptr %9, align 4
%155 = load i32, ptr %2, align 4
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %157
%159 = load i32, ptr %3, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [40 x i32], ptr %158, i64 0, i64 %160
%162 = load i32, ptr %161, align 4
%163 = icmp eq i32 %154, %162
br i1 %163, label %164, label %172
164: ; preds = %146
%165 = load i32, ptr %4, align 4
%166 = load i32, ptr %2, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %167
%169 = load i32, ptr %3, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [40 x i32], ptr %168, i64 0, i64 %170
store i32 %165, ptr %171, align 4
br label %172
172: ; preds = %164, %146
%173 = load i32, ptr %9, align 4
%174 = load i32, ptr %2, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %175
%177 = load i32, ptr %3, align 4
%178 = sub nsw i32 %177, 1
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [40 x i32], ptr %176, i64 0, i64 %179
%181 = load i32, ptr %180, align 4
%182 = icmp eq i32 %173, %181
br i1 %182, label %183, label %191
183: ; preds = %172
%184 = load i32, ptr %5, align 4
%185 = load i32, ptr %2, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [40 x [40 x i32]], ptr %13, i64 0, i64 %186
%188 = load i32, ptr %3, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [40 x i32], ptr %187, i64 0, i64 %189
store i32 %184, ptr %190, align 4
br label %191
191: ; preds = %183, %172
br label %192
192: ; preds = %191, %124
br label %193
193: ; preds = %192, %80
br label %194
194: ; preds = %193
%195 = load i32, ptr %3, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %3, align 4
%197 = load i32, ptr %3, align 4
%198 = load i32, ptr %8, align 4
%199 = icmp sle i32 %197, %198
br i1 %199, label %70, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %194
br label %200
200: ; preds = %._crit_edge6, %66
br label %201
201: ; preds = %200
%202 = load i32, ptr %2, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %2, align 4
%204 = load i32, ptr %2, align 4
%205 = load i32, ptr %8, align 4
%206 = icmp sle i32 %204, %205
br i1 %206, label %66, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %201
br label %207
207: ; preds = %._crit_edge9, %52
%208 = load i32, ptr %8, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [40 x [40 x i32]], ptr %12, i64 0, i64 %209
%211 = load i32, ptr %8, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [40 x i32], ptr %210, i64 0, i64 %212
%214 = load i32, ptr %213, align 4
%215 = call i32 @printf(ptr noundef @.str.1, i32 noundef %214)
%216 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%217 = icmp eq i32 %216, 1
br i1 %217, label %33, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %207
br label %218
218: ; preds = %._crit_edge12, %30
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @maxm(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpsgeclzi_.c'
source_filename = "/tmp/tmpsgeclzi_.c"
target datalayout = "e-m:e-p270: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/tmpsgeclzi_.c"
target datalayout = "e-m:e-p270: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/tmpij0lkeak.c'
source_filename = "/tmp/tmpij0lkeak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter 3 numberss separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %6, align 4
br label %24
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr %2, align 4
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %3, align 4
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %20, %16
br label %24
24: ; preds = %23, %13
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr %6, align 4
store i32 %29, ptr %7, align 4
br label %39
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %7, align 4
br label %38
36: ; preds = %30
%37 = load i32, ptr %4, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %36, %34
br label %39
39: ; preds = %38, %28
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpij0lkeak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter 3 numberss separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %6, align 4
br label %24
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr %2, align 4
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %3, align 4
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %20, %16
br label %24
24: ; preds = %23, %13
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr %6, align 4
store i32 %29, ptr %7, align 4
br label %39
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %7, align 4
br label %38
36: ; preds = %30
%37 = load i32, ptr %4, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %36, %34
br label %39
39: ; preds = %38, %28
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp3uge7m_d.c'
source_filename = "/tmp/tmp3uge7m_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3uge7m_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpett43sor.c'
source_filename = "/tmp/tmpett43sor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"BMI VALUES\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Underweight: less than 18.5\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Normal: between 18.5 and 24.9\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Overweight: between 25.0 and 29.9\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Obese: 30.0 or greater\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Please, enter your weight (pounds): \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"Please, enter your height (inches): \00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"Your BMI is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %14, 703
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %16, %17
%19 = sdiv i32 %15, %18
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %20)
ret i32 0
}
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/tmpett43sor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"BMI VALUES\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Underweight: less than 18.5\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Normal: between 18.5 and 24.9\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Overweight: between 25.0 and 29.9\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Obese: 30.0 or greater\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Please, enter your weight (pounds): \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"Please, enter your height (inches): \00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"Your BMI is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %14, 703
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %16, %17
%19 = sdiv i32 %15, %18
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %20)
ret i32 0
}
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/tmpx_50g1nk.c'
source_filename = "/tmp/tmpx_50g1nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter thresholds for A, B, C, D\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"in that order, decreasing percentages > \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Stdent has an A grade\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"Student has failed the course\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6)
%12 = load float, ptr %6, align 4
%13 = load float, ptr %2, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.5)
br label %52
17: ; preds = %0
%18 = load float, ptr %6, align 4
%19 = load float, ptr %2, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load float, ptr %6, align 4
%23 = load float, ptr %3, align 4
%24 = fcmp ogt float %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.6)
br label %51
27: ; preds = %21, %17
%28 = load float, ptr %6, align 4
%29 = load float, ptr %3, align 4
%30 = fcmp olt float %28, %29
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load float, ptr %6, align 4
%33 = load float, ptr %4, align 4
%34 = fcmp ogt float %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @printf(ptr noundef @.str.7)
br label %50
37: ; preds = %31, %27
%38 = load float, ptr %6, align 4
%39 = load float, ptr %4, align 4
%40 = fcmp olt float %38, %39
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load float, ptr %6, align 4
%43 = load float, ptr %5, align 4
%44 = fcmp ogt float %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.8)
br label %49
47: ; preds = %41, %37
%48 = call i32 @printf(ptr noundef @.str.9)
br label %49
49: ; preds = %47, %45
br label %50
50: ; preds = %49, %35
br label %51
51: ; preds = %50, %25
br label %52
52: ; preds = %51, %15
ret i32 0
}
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/tmpx_50g1nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter thresholds for A, B, C, D\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"in that order, decreasing percentages > \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Stdent has an A grade\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"Student has failed the course\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6)
%12 = load float, ptr %6, align 4
%13 = load float, ptr %2, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.5)
br label %52
17: ; preds = %0
%18 = load float, ptr %6, align 4
%19 = load float, ptr %2, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load float, ptr %6, align 4
%23 = load float, ptr %3, align 4
%24 = fcmp ogt float %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.6)
br label %51
27: ; preds = %21, %17
%28 = load float, ptr %6, align 4
%29 = load float, ptr %3, align 4
%30 = fcmp olt float %28, %29
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load float, ptr %6, align 4
%33 = load float, ptr %4, align 4
%34 = fcmp ogt float %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @printf(ptr noundef @.str.7)
br label %50
37: ; preds = %31, %27
%38 = load float, ptr %6, align 4
%39 = load float, ptr %4, align 4
%40 = fcmp olt float %38, %39
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load float, ptr %6, align 4
%43 = load float, ptr %5, align 4
%44 = fcmp ogt float %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.8)
br label %49
47: ; preds = %41, %37
%48 = call i32 @printf(ptr noundef @.str.9)
br label %49
49: ; preds = %47, %45
br label %50
50: ; preds = %49, %35
br label %51
51: ; preds = %50, %25
br label %52
52: ; preds = %51, %15
ret i32 0
}
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/tmpv_i8_yi1.c'
source_filename = "/tmp/tmpv_i8_yi1.c"
target datalayout = "e-m:e-p270: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/tmpv_i8_yi1.c"
target datalayout = "e-m:e-p270: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/tmp761ejhd3.c'
source_filename = "/tmp/tmp761ejhd3.c"
target datalayout = "e-m:e-p270: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/tmp761ejhd3.c"
target datalayout = "e-m:e-p270: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/tmptv9a4zx2.c'
source_filename = "/tmp/tmptv9a4zx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Insuficiente memoria\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptv9a4zx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Insuficiente memoria\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpojvjj1_q.c'
source_filename = "/tmp/tmpojvjj1_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_tagstruct_get_channel_map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_tagstruct_get_channel_map() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpojvjj1_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_tagstruct_get_channel_map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_tagstruct_get_channel_map() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmptltd98sa.c'
source_filename = "/tmp/tmptltd98sa.c"
target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4
@SEEK_SET = 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/tmptltd98sa.c"
target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4
@SEEK_SET = 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/tmpcg53p9rq.c'
source_filename = "/tmp/tmpcg53p9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getD_1(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %21, align 4
br label %23
23: ; preds = %91, %9
%24 = load i32, ptr %21, align 4
%25 = load ptr, ptr %12, align 8
%26 = load i32, ptr %25, align 4
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %94
28: ; preds = %23
store i32 0, ptr %19, align 4
br label %29
29: ; preds = %87, %28
%30 = load i32, ptr %19, align 4
%31 = load ptr, ptr %13, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp slt i32 %30, %32
br i1 %33, label %34, label %90
34: ; preds = %29
%35 = load ptr, ptr %14, align 8
%36 = load i32, ptr %19, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %21, align 4
%42 = load ptr, ptr %12, align 8
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %19, align 4
%45 = mul nsw i32 %43, %44
%46 = add nsw i32 %41, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %40, i64 %47
%49 = load double, ptr %48, align 8
%50 = fmul double %39, %49
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %21, align 4
%53 = load ptr, ptr %12, align 8
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %19, align 4
%56 = mul nsw i32 %54, %55
%57 = add nsw i32 %52, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %51, i64 %58
%60 = load double, ptr %59, align 8
%61 = fmul double %50, %60
%62 = load ptr, ptr %18, align 8
%63 = load i32, ptr %21, align 4
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %64, align 4
%66 = load i32, ptr %19, align 4
%67 = mul nsw i32 %65, %66
%68 = add nsw i32 %63, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %62, i64 %69
store double %61, ptr %70, align 8
%71 = load ptr, ptr %18, align 8
%72 = load i32, ptr %21, align 4
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %19, align 4
%76 = mul nsw i32 %74, %75
%77 = add nsw i32 %72, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %71, i64 %78
%80 = load double, ptr %79, align 8
%81 = load ptr, ptr %17, align 8
%82 = load i32, ptr %21, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
%85 = load double, ptr %84, align 8
%86 = fadd double %85, %80
store double %86, ptr %84, align 8
br label %87
87: ; preds = %34
%88 = load i32, ptr %19, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %19, align 4
br label %29, !llvm.loop !6
90: ; preds = %29
br label %91
91: ; preds = %90
%92 = load i32, ptr %21, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %21, align 4
br label %23, !llvm.loop !8
94: ; preds = %23
store i32 0, ptr %21, align 4
br label %95
95: ; preds = %207, %94
%96 = load i32, ptr %21, align 4
%97 = load ptr, ptr %12, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp slt i32 %96, %98
br i1 %99, label %100, label %210
100: ; preds = %95
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %19, align 4
br label %101
101: ; preds = %191, %100
%102 = load i32, ptr %19, align 4
%103 = load ptr, ptr %13, align 8
%104 = load i32, ptr %103, align 4
%105 = icmp slt i32 %102, %104
br i1 %105, label %106, label %194
106: ; preds = %101
%107 = load i32, ptr %19, align 4
store i32 %107, ptr %20, align 4
br label %108
108: ; preds = %187, %106
%109 = load i32, ptr %20, align 4
%110 = load ptr, ptr %13, align 8
%111 = load i32, ptr %110, align 4
%112 = icmp slt i32 %109, %111
br i1 %112, label %113, label %190
113: ; preds = %108
%114 = load i32, ptr %19, align 4
%115 = load i32, ptr %20, align 4
%116 = icmp ne i32 %114, %115
br i1 %116, label %117, label %152
117: ; preds = %113
%118 = load ptr, ptr %18, align 8
%119 = load i32, ptr %21, align 4
%120 = load ptr, ptr %12, align 8
%121 = load i32, ptr %120, align 4
%122 = load i32, ptr %19, align 4
%123 = mul nsw i32 %121, %122
%124 = add nsw i32 %119, %123
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %118, i64 %125
%127 = load double, ptr %126, align 8
%128 = fmul double 2.000000e+00, %127
%129 = load ptr, ptr %18, align 8
%130 = load i32, ptr %21, align 4
%131 = load ptr, ptr %12, align 8
%132 = load i32, ptr %131, align 4
%133 = load i32, ptr %20, align 4
%134 = mul nsw i32 %132, %133
%135 = add nsw i32 %130, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %129, i64 %136
%138 = load double, ptr %137, align 8
%139 = fmul double %128, %138
%140 = load ptr, ptr %10, align 8
%141 = load i32, ptr %19, align 4
%142 = load ptr, ptr %13, align 8
%143 = load i32, ptr %142, align 4
%144 = load i32, ptr %20, align 4
%145 = mul nsw i32 %143, %144
%146 = add nsw i32 %141, %145
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %140, i64 %147
%149 = load double, ptr %148, align 8
%150 = load double, ptr %22, align 8
%151 = call double @llvm.fmuladd.f64(double %139, double %149, double %150)
store double %151, ptr %22, align 8
br label %186
152: ; preds = %113
%153 = load ptr, ptr %18, align 8
%154 = load i32, ptr %21, align 4
%155 = load ptr, ptr %12, align 8
%156 = load i32, ptr %155, align 4
%157 = load i32, ptr %19, align 4
%158 = mul nsw i32 %156, %157
%159 = add nsw i32 %154, %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, ptr %153, i64 %160
%162 = load double, ptr %161, align 8
%163 = load ptr, ptr %18, align 8
%164 = load i32, ptr %21, align 4
%165 = load ptr, ptr %12, align 8
%166 = load i32, ptr %165, align 4
%167 = load i32, ptr %20, align 4
%168 = mul nsw i32 %166, %167
%169 = add nsw i32 %164, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %163, i64 %170
%172 = load double, ptr %171, align 8
%173 = fmul double %162, %172
%174 = load ptr, ptr %10, align 8
%175 = load i32, ptr %19, align 4
%176 = load ptr, ptr %13, align 8
%177 = load i32, ptr %176, align 4
%178 = load i32, ptr %20, align 4
%179 = mul nsw i32 %177, %178
%180 = add nsw i32 %175, %179
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %174, i64 %181
%183 = load double, ptr %182, align 8
%184 = load double, ptr %22, align 8
%185 = call double @llvm.fmuladd.f64(double %173, double %183, double %184)
store double %185, ptr %22, align 8
br label %186
186: ; preds = %152, %117
br label %187
187: ; preds = %186
%188 = load i32, ptr %20, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %20, align 4
br label %108, !llvm.loop !9
190: ; preds = %108
br label %191
191: ; preds = %190
%192 = load i32, ptr %19, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %19, align 4
br label %101, !llvm.loop !10
194: ; preds = %101
%195 = load double, ptr %22, align 8
%196 = load ptr, ptr %17, align 8
%197 = load i32, ptr %21, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %196, i64 %198
%200 = load double, ptr %199, align 8
%201 = call double @pow(double noundef %200, double noundef 2.000000e+00) #3
%202 = fdiv double %195, %201
%203 = load ptr, ptr %16, align 8
%204 = load i32, ptr %21, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %203, i64 %205
store double %202, ptr %206, align 8
br label %207
207: ; preds = %194
%208 = load i32, ptr %21, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %21, align 4
br label %95, !llvm.loop !11
210: ; preds = %95
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcg53p9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getD_1(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %21, align 4
%23 = load i32, ptr %21, align 4
%24 = load ptr, ptr %12, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %23, %25
br i1 %26, label %.lr.ph2, label %100
.lr.ph2: ; preds = %9
br label %27
27: ; preds = %.lr.ph2, %93
store i32 0, ptr %19, align 4
%28 = load i32, ptr %19, align 4
%29 = load ptr, ptr %13, align 8
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %28, %30
br i1 %31, label %.lr.ph, label %92
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %85
%33 = load ptr, ptr %14, align 8
%34 = load i32, ptr %19, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %21, align 4
%40 = load ptr, ptr %12, align 8
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %19, align 4
%43 = mul nsw i32 %41, %42
%44 = add nsw i32 %39, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %38, i64 %45
%47 = load double, ptr %46, align 8
%48 = fmul double %37, %47
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %21, align 4
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %19, align 4
%54 = mul nsw i32 %52, %53
%55 = add nsw i32 %50, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %49, i64 %56
%58 = load double, ptr %57, align 8
%59 = fmul double %48, %58
%60 = load ptr, ptr %18, align 8
%61 = load i32, ptr %21, align 4
%62 = load ptr, ptr %12, align 8
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %19, align 4
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %61, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %60, i64 %67
store double %59, ptr %68, align 8
%69 = load ptr, ptr %18, align 8
%70 = load i32, ptr %21, align 4
%71 = load ptr, ptr %12, align 8
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %19, align 4
%74 = mul nsw i32 %72, %73
%75 = add nsw i32 %70, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %69, i64 %76
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %17, align 8
%80 = load i32, ptr %21, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load double, ptr %82, align 8
%84 = fadd double %83, %78
store double %84, ptr %82, align 8
br label %85
85: ; preds = %32
%86 = load i32, ptr %19, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %19, align 4
%88 = load i32, ptr %19, align 4
%89 = load ptr, ptr %13, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp slt i32 %88, %90
br i1 %91, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %92
92: ; preds = %._crit_edge, %27
br label %93
93: ; preds = %92
%94 = load i32, ptr %21, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %21, align 4
%96 = load i32, ptr %21, align 4
%97 = load ptr, ptr %12, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp slt i32 %96, %98
br i1 %99, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %100
100: ; preds = %._crit_edge3, %9
store i32 0, ptr %21, align 4
%101 = load i32, ptr %21, align 4
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %102, align 4
%104 = icmp slt i32 %101, %103
br i1 %104, label %.lr.ph11, label %225
.lr.ph11: ; preds = %100
br label %105
105: ; preds = %.lr.ph11, %218
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %19, align 4
%106 = load i32, ptr %19, align 4
%107 = load ptr, ptr %13, align 8
%108 = load i32, ptr %107, align 4
%109 = icmp slt i32 %106, %108
br i1 %109, label %.lr.ph8, label %205
.lr.ph8: ; preds = %105
br label %110
110: ; preds = %.lr.ph8, %198
%111 = load i32, ptr %19, align 4
store i32 %111, ptr %20, align 4
%112 = load i32, ptr %20, align 4
%113 = load ptr, ptr %13, align 8
%114 = load i32, ptr %113, align 4
%115 = icmp slt i32 %112, %114
br i1 %115, label %.lr.ph5, label %197
.lr.ph5: ; preds = %110
br label %116
116: ; preds = %.lr.ph5, %190
%117 = load i32, ptr %19, align 4
%118 = load i32, ptr %20, align 4
%119 = icmp ne i32 %117, %118
br i1 %119, label %120, label %155
120: ; preds = %116
%121 = load ptr, ptr %18, align 8
%122 = load i32, ptr %21, align 4
%123 = load ptr, ptr %12, align 8
%124 = load i32, ptr %123, align 4
%125 = load i32, ptr %19, align 4
%126 = mul nsw i32 %124, %125
%127 = add nsw i32 %122, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %121, i64 %128
%130 = load double, ptr %129, align 8
%131 = fmul double 2.000000e+00, %130
%132 = load ptr, ptr %18, align 8
%133 = load i32, ptr %21, align 4
%134 = load ptr, ptr %12, align 8
%135 = load i32, ptr %134, align 4
%136 = load i32, ptr %20, align 4
%137 = mul nsw i32 %135, %136
%138 = add nsw i32 %133, %137
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %132, i64 %139
%141 = load double, ptr %140, align 8
%142 = fmul double %131, %141
%143 = load ptr, ptr %10, align 8
%144 = load i32, ptr %19, align 4
%145 = load ptr, ptr %13, align 8
%146 = load i32, ptr %145, align 4
%147 = load i32, ptr %20, align 4
%148 = mul nsw i32 %146, %147
%149 = add nsw i32 %144, %148
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds double, ptr %143, i64 %150
%152 = load double, ptr %151, align 8
%153 = load double, ptr %22, align 8
%154 = call double @llvm.fmuladd.f64(double %142, double %152, double %153)
store double %154, ptr %22, align 8
br label %189
155: ; preds = %116
%156 = load ptr, ptr %18, align 8
%157 = load i32, ptr %21, align 4
%158 = load ptr, ptr %12, align 8
%159 = load i32, ptr %158, align 4
%160 = load i32, ptr %19, align 4
%161 = mul nsw i32 %159, %160
%162 = add nsw i32 %157, %161
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %156, i64 %163
%165 = load double, ptr %164, align 8
%166 = load ptr, ptr %18, align 8
%167 = load i32, ptr %21, align 4
%168 = load ptr, ptr %12, align 8
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr %20, align 4
%171 = mul nsw i32 %169, %170
%172 = add nsw i32 %167, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, ptr %166, i64 %173
%175 = load double, ptr %174, align 8
%176 = fmul double %165, %175
%177 = load ptr, ptr %10, align 8
%178 = load i32, ptr %19, align 4
%179 = load ptr, ptr %13, align 8
%180 = load i32, ptr %179, align 4
%181 = load i32, ptr %20, align 4
%182 = mul nsw i32 %180, %181
%183 = add nsw i32 %178, %182
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, ptr %177, i64 %184
%186 = load double, ptr %185, align 8
%187 = load double, ptr %22, align 8
%188 = call double @llvm.fmuladd.f64(double %176, double %186, double %187)
store double %188, ptr %22, align 8
br label %189
189: ; preds = %155, %120
br label %190
190: ; preds = %189
%191 = load i32, ptr %20, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %20, align 4
%193 = load i32, ptr %20, align 4
%194 = load ptr, ptr %13, align 8
%195 = load i32, ptr %194, align 4
%196 = icmp slt i32 %193, %195
br i1 %196, label %116, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %190
br label %197
197: ; preds = %._crit_edge6, %110
br label %198
198: ; preds = %197
%199 = load i32, ptr %19, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %19, align 4
%201 = load i32, ptr %19, align 4
%202 = load ptr, ptr %13, align 8
%203 = load i32, ptr %202, align 4
%204 = icmp slt i32 %201, %203
br i1 %204, label %110, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %198
br label %205
205: ; preds = %._crit_edge9, %105
%206 = load double, ptr %22, align 8
%207 = load ptr, ptr %17, align 8
%208 = load i32, ptr %21, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
%211 = load double, ptr %210, align 8
%212 = call double @pow(double noundef %211, double noundef 2.000000e+00) #3
%213 = fdiv double %206, %212
%214 = load ptr, ptr %16, align 8
%215 = load i32, ptr %21, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds double, ptr %214, i64 %216
store double %213, ptr %217, align 8
br label %218
218: ; preds = %205
%219 = load i32, ptr %21, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %21, align 4
%221 = load i32, ptr %21, align 4
%222 = load ptr, ptr %12, align 8
%223 = load i32, ptr %222, align 4
%224 = icmp slt i32 %221, %223
br i1 %224, label %105, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %218
br label %225
225: ; preds = %._crit_edge12, %100
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpuuhh1v82.c'
source_filename = "/tmp/tmpuuhh1v82.c"
target datalayout = "e-m:e-p270: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/tmpuuhh1v82.c"
target datalayout = "e-m:e-p270: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/tmpzqzjv15l.c'
source_filename = "/tmp/tmpzqzjv15l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"filesize\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @filesize(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SEEK_END, align 4
%6 = call i64 @lseek64(i32 noundef %4, i32 noundef 0, i32 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %1
%13 = load i64, ptr %3, align 8
ret i64 %13
}
declare i64 @lseek64(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqzjv15l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"filesize\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @filesize(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SEEK_END, align 4
%6 = call i64 @lseek64(i32 noundef %4, i32 noundef 0, i32 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %1
%13 = load i64, ptr %3, align 8
ret i64 %13
}
declare i64 @lseek64(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnoe_jcxh.c'
source_filename = "/tmp/tmpnoe_jcxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 170, ptr %2, align 4
store i32 167, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 6, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @funsetbit(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @funsetbit(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/tmpnoe_jcxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 170, ptr %2, align 4
store i32 167, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 6, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @funsetbit(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @funsetbit(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/tmpu0i9fben.c'
source_filename = "/tmp/tmpu0i9fben.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"FreeDOS LOCALIZE, version 0.1\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"GNU GPL - copyright 2003 Eric Auer <eric@coli.uni-sb.de>\0D\0A\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Prints a localized message (from localize.*)\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"LOCALIZE x.y [etc.] [@@@ alternative message]\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c"Prints message number x.y or the alt. message (and echoes the [etc.])\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"Errorlevel: 0 if okay, 1 on localization error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
%9 = call i32 @strlen(ptr noundef @.str)
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef %9)
%11 = call i32 @strlen(ptr noundef @.str.1)
%12 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef %11)
%13 = call ptr @kittengets(i32 noundef 99, i32 noundef 0, ptr noundef @.str.2)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @write(i32 noundef 1, ptr noundef %14, i32 noundef %16)
%18 = call i32 @strlen(ptr noundef @.str.3)
%19 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %18)
%20 = call i32 @strlen(ptr noundef @.str.4)
%21 = call i32 @write(i32 noundef 1, ptr noundef @.str.4, i32 noundef %20)
%22 = call ptr @kittengets(i32 noundef 99, i32 noundef 1, ptr noundef @.str.5)
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = call i32 @write(i32 noundef 1, ptr noundef %23, i32 noundef %25)
%27 = call i32 @strlen(ptr noundef @.str.3)
%28 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %27)
%29 = call ptr @kittengets(i32 noundef 99, i32 noundef 2, ptr noundef @.str.6)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = call i32 @write(i32 noundef 1, ptr noundef %30, i32 noundef %32)
%34 = call i32 @strlen(ptr noundef @.str.3)
%35 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %34)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @kittengets(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/tmpu0i9fben.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"FreeDOS LOCALIZE, version 0.1\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"GNU GPL - copyright 2003 Eric Auer <eric@coli.uni-sb.de>\0D\0A\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Prints a localized message (from localize.*)\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"LOCALIZE x.y [etc.] [@@@ alternative message]\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c"Prints message number x.y or the alt. message (and echoes the [etc.])\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"Errorlevel: 0 if okay, 1 on localization error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
%9 = call i32 @strlen(ptr noundef @.str)
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef %9)
%11 = call i32 @strlen(ptr noundef @.str.1)
%12 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef %11)
%13 = call ptr @kittengets(i32 noundef 99, i32 noundef 0, ptr noundef @.str.2)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @write(i32 noundef 1, ptr noundef %14, i32 noundef %16)
%18 = call i32 @strlen(ptr noundef @.str.3)
%19 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %18)
%20 = call i32 @strlen(ptr noundef @.str.4)
%21 = call i32 @write(i32 noundef 1, ptr noundef @.str.4, i32 noundef %20)
%22 = call ptr @kittengets(i32 noundef 99, i32 noundef 1, ptr noundef @.str.5)
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = call i32 @write(i32 noundef 1, ptr noundef %23, i32 noundef %25)
%27 = call i32 @strlen(ptr noundef @.str.3)
%28 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %27)
%29 = call ptr @kittengets(i32 noundef 99, i32 noundef 2, ptr noundef @.str.6)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = call i32 @write(i32 noundef 1, ptr noundef %30, i32 noundef %32)
%34 = call i32 @strlen(ptr noundef @.str.3)
%35 = call i32 @write(i32 noundef 1, ptr noundef @.str.3, i32 noundef %34)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @kittengets(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/tmpwgrx_gn5.c'
source_filename = "/tmp/tmpwgrx_gn5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vt_write_hex_16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 12
%5 = call i32 @vt_write_hex_4(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 8
%8 = call i32 @vt_write_hex_4(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = ashr i32 %9, 4
%11 = call i32 @vt_write_hex_4(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = ashr i32 %12, 0
%14 = call i32 @vt_write_hex_4(i32 noundef %13)
ret void
}
declare i32 @vt_write_hex_4(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/tmpwgrx_gn5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vt_write_hex_16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 12
%5 = call i32 @vt_write_hex_4(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 8
%8 = call i32 @vt_write_hex_4(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = ashr i32 %9, 4
%11 = call i32 @vt_write_hex_4(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = ashr i32 %12, 0
%14 = call i32 @vt_write_hex_4(i32 noundef %13)
ret void
}
declare i32 @vt_write_hex_4(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/tmpe5g2wq4f.c'
source_filename = "/tmp/tmpe5g2wq4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".gz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_has_gz_ext(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ugt i64 %7, 3
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = sub i64 %11, 3
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = call i64 @strncmp(ptr noundef %13, ptr noundef @.str, i32 noundef 3)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %9, %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe5g2wq4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".gz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_has_gz_ext(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ugt i64 %7, 3
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = sub i64 %11, 3
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = call i64 @strncmp(ptr noundef %13, ptr noundef @.str, i32 noundef 3)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %9, %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppqyrytp9.c'
source_filename = "/tmp/tmppqyrytp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"daemon: Could not write to fifo\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fifo_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @write(i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 (ptr, ...) @abort_report(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %12, %3
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @abort_report(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/tmppqyrytp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"daemon: Could not write to fifo\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fifo_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @write(i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 (ptr, ...) @abort_report(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %12, %3
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @abort_report(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/tmp4rngoj9r.c'
source_filename = "/tmp/tmp4rngoj9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"safe_connect - Failed to connect\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @safe_connect(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @connect(i32 noundef %5, ptr noundef %6, i32 noundef 4)
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = call i32 @perror(ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %2
ret void
}
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4rngoj9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"safe_connect - Failed to connect\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @safe_connect(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @connect(i32 noundef %5, ptr noundef %6, i32 noundef 4)
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = call i32 @perror(ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %2
ret void
}
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptf6k1dlp.c'
source_filename = "/tmp/tmptf6k1dlp.c"
target datalayout = "e-m:e-p270: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/tmptf6k1dlp.c"
target datalayout = "e-m:e-p270: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/tmpb8bta2_c.c'
source_filename = "/tmp/tmpb8bta2_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8bta2_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0si1c2l0.c'
source_filename = "/tmp/tmp0si1c2l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%c[%i;%im\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100TextColor(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 = add nsw i32 %5, 30
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 40
%9 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0si1c2l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%c[%i;%im\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100TextColor(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 = add nsw i32 %5, 30
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 40
%9 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc_fiatcg.c'
source_filename = "/tmp/tmpc_fiatcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearServer() #0 {
%1 = call i32 (...) @clear_client()
%2 = call i32 (...) @clear_consumer()
ret void
}
declare i32 @clear_client(...) #1
declare i32 @clear_consumer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_fiatcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearServer() #0 {
%1 = call i32 (...) @clear_client()
%2 = call i32 (...) @clear_consumer()
ret void
}
declare i32 @clear_client(...) #1
declare i32 @clear_consumer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgp5fywow.c'
source_filename = "/tmp/tmpgp5fywow.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"epoll wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tiny_epoll_wait(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @epoll_wait(i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %4
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgp5fywow.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"epoll wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tiny_epoll_wait(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @epoll_wait(i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %4
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsdt5p6r3.c'
source_filename = "/tmp/tmpsdt5p6r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %8
8: ; preds = %33, %0
%9 = load i32, ptr %5, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %5, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %39
12: ; preds = %8
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %30, %12
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %33
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = call i32 @scanf(ptr noundef @.str, ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %20, !llvm.loop !6
33: ; preds = %20
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %2, align 4
%36 = call i32 @getLongestSubsequence(ptr noundef %34, i32 noundef %35)
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
br label %8, !llvm.loop !8
39: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @getLongestSubsequence(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdt5p6r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%8 = load i32, ptr %5, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %5, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph2, label %43
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %34
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 4, %14
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %3, align 8
store i32 0, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %11
br label %22
22: ; preds = %.lr.ph, %28
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = call i32 @scanf(ptr noundef @.str, ptr noundef %26)
br label %28
28: ; preds = %22
%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 = load i32, ptr %2, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %11
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %2, align 4
%37 = call i32 @getLongestSubsequence(ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %5, align 4
%42 = icmp ne i32 %40, 0
br i1 %42, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %43
43: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @getLongestSubsequence(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnc62p1ee.c'
source_filename = "/tmp/tmpnc62p1ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@connect = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csock(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr @AF_UNSPEC, align 4
%8 = call i32 @get_socket(ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef @connect)
ret i32 %8
}
declare i32 @get_socket(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/tmpnc62p1ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@connect = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csock(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr @AF_UNSPEC, align 4
%8 = call i32 @get_socket(ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef @connect)
ret i32 %8
}
declare i32 @get_socket(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/tmp3jnlqi0w.c'
source_filename = "/tmp/tmp3jnlqi0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @__syscall_ret(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = trunc i64 %4 to i32
%6 = sext i32 %5 to i64
%7 = icmp ugt i64 %6, -4096
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = sub i64 0, %9
store i64 %10, ptr @errno, align 8
store i64 -1, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %2, align 8
br label %13
13: ; preds = %11, %8
%14 = load i64, ptr %2, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jnlqi0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @__syscall_ret(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = trunc i64 %4 to i32
%6 = sext i32 %5 to i64
%7 = icmp ugt i64 %6, -4096
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = sub i64 0, %9
store i64 %10, ptr @errno, align 8
store i64 -1, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %2, align 8
br label %13
13: ; preds = %11, %8
%14 = load i64, ptr %2, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprvr7gfgx.c'
source_filename = "/tmp/tmprvr7gfgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Crossover_int_Kpoint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%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 double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store i32 %6, ptr %18, align 4
store double %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
store double 1.000000e-01, ptr %23, align 8
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %15, align 4
%45 = load double, ptr %23, align 8
%46 = call i32 @CO_select_forward_3(ptr noundef %34, ptr noundef %24, ptr noundef %25, ptr noundef %43, i32 noundef %44, double noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = load i32, ptr %24, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
store double %51, ptr %36, align 8
%52 = load double, ptr %36, align 8
%53 = load ptr, ptr %17, align 8
%54 = load i32, ptr %18, align 4
%55 = call i32 @self_adj_index_search(ptr noundef %30, double noundef %52, ptr noundef %53, i32 noundef %54)
%56 = load ptr, ptr %13, align 8
%57 = load i32, ptr %25, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
store double %60, ptr %37, align 8
%61 = load double, ptr %37, align 8
%62 = load ptr, ptr %17, align 8
%63 = load i32, ptr %18, align 4
%64 = call i32 @self_adj_index_search(ptr noundef %31, double noundef %61, ptr noundef %62, i32 noundef %63)
%65 = call i32 @integerrng(i32 noundef 1, i32 noundef 2)
store i32 %65, ptr %27, align 4
%66 = load i32, ptr %27, align 4
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %144
68: ; preds = %11
%69 = load i32, ptr %14, align 4
%70 = sub nsw i32 %69, 1
%71 = call i32 @integerrng(i32 noundef 1, i32 noundef %70)
store i32 %71, ptr %28, align 4
store i32 1, ptr %26, align 4
br label %72
72: ; preds = %103, %68
%73 = load i32, ptr %26, align 4
%74 = load i32, ptr %28, align 4
%75 = icmp sle i32 %73, %74
br i1 %75, label %76, label %106
76: ; preds = %72
%77 = load ptr, ptr %12, align 8
%78 = load i32, ptr %24, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %26, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load ptr, ptr %21, align 8
%87 = load i32, ptr %26, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %85, ptr %89, align 4
%90 = load ptr, ptr %12, align 8
%91 = load i32, ptr %25, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %26, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %22, align 8
%100 = load i32, ptr %26, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
store i32 %98, ptr %102, align 4
br label %103
103: ; preds = %76
%104 = load i32, ptr %26, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %26, align 4
br label %72, !llvm.loop !6
106: ; preds = %72
%107 = load i32, ptr %28, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %26, align 4
br label %109
109: ; preds = %140, %106
%110 = load i32, ptr %26, align 4
%111 = load i32, ptr %14, align 4
%112 = icmp sle i32 %110, %111
br i1 %112, label %113, label %143
113: ; preds = %109
%114 = load ptr, ptr %12, align 8
%115 = load i32, ptr %25, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds ptr, ptr %114, i64 %116
%118 = load ptr, ptr %117, align 8
%119 = load i32, ptr %26, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
%122 = load i32, ptr %121, align 4
%123 = load ptr, ptr %21, align 8
%124 = load i32, ptr %26, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
store i32 %122, ptr %126, align 4
%127 = load ptr, ptr %12, align 8
%128 = load i32, ptr %24, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds ptr, ptr %127, i64 %129
%131 = load ptr, ptr %130, align 8
%132 = load i32, ptr %26, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
%135 = load i32, ptr %134, align 4
%136 = load ptr, ptr %22, align 8
%137 = load i32, ptr %26, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
store i32 %135, ptr %139, align 4
br label %140
140: ; preds = %113
%141 = load i32, ptr %26, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %26, align 4
br label %109, !llvm.loop !8
143: ; preds = %109
br label %279
144: ; preds = %11
%145 = load i32, ptr %27, align 4
%146 = icmp eq i32 %145, 2
br i1 %146, label %147, label %278
147: ; preds = %144
%148 = load i32, ptr %14, align 4
%149 = sub nsw i32 %148, 1
%150 = call i32 @integerrng(i32 noundef 1, i32 noundef %149)
store i32 %150, ptr %28, align 4
%151 = load i32, ptr %14, align 4
%152 = sub nsw i32 %151, 2
%153 = call i32 @integerrng(i32 noundef 1, i32 noundef %152)
store i32 %153, ptr %29, align 4
%154 = load i32, ptr %29, align 4
%155 = load i32, ptr %28, align 4
%156 = icmp sge i32 %154, %155
br i1 %156, label %157, label %160
157: ; preds = %147
%158 = load i32, ptr %29, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %29, align 4
br label %160
160: ; preds = %157, %147
%161 = load i32, ptr %28, align 4
%162 = load i32, ptr %29, align 4
%163 = icmp sgt i32 %161, %162
br i1 %163, label %164, label %168
164: ; preds = %160
%165 = load i32, ptr %28, align 4
store i32 %165, ptr %26, align 4
%166 = load i32, ptr %29, align 4
store i32 %166, ptr %28, align 4
%167 = load i32, ptr %26, align 4
store i32 %167, ptr %29, align 4
br label %168
168: ; preds = %164, %160
store i32 1, ptr %26, align 4
br label %169
169: ; preds = %200, %168
%170 = load i32, ptr %26, align 4
%171 = load i32, ptr %28, align 4
%172 = icmp sle i32 %170, %171
br i1 %172, label %173, label %203
173: ; preds = %169
%174 = load ptr, ptr %12, align 8
%175 = load i32, ptr %24, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds ptr, ptr %174, i64 %176
%178 = load ptr, ptr %177, align 8
%179 = load i32, ptr %26, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i32, ptr %178, i64 %180
%182 = load i32, ptr %181, align 4
%183 = load ptr, ptr %21, align 8
%184 = load i32, ptr %26, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %183, i64 %185
store i32 %182, ptr %186, align 4
%187 = load ptr, ptr %12, align 8
%188 = load i32, ptr %25, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds ptr, ptr %187, i64 %189
%191 = load ptr, ptr %190, align 8
%192 = load i32, ptr %26, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds i32, ptr %191, i64 %193
%195 = load i32, ptr %194, align 4
%196 = load ptr, ptr %22, align 8
%197 = load i32, ptr %26, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds i32, ptr %196, i64 %198
store i32 %195, ptr %199, align 4
br label %200
200: ; preds = %173
%201 = load i32, ptr %26, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %26, align 4
br label %169, !llvm.loop !9
203: ; preds = %169
%204 = load i32, ptr %28, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %26, align 4
br label %206
206: ; preds = %237, %203
%207 = load i32, ptr %26, align 4
%208 = load i32, ptr %29, align 4
%209 = icmp sle i32 %207, %208
br i1 %209, label %210, label %240
210: ; preds = %206
%211 = load ptr, ptr %12, align 8
%212 = load i32, ptr %25, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds ptr, ptr %211, i64 %213
%215 = load ptr, ptr %214, align 8
%216 = load i32, ptr %26, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i32, ptr %215, i64 %217
%219 = load i32, ptr %218, align 4
%220 = load ptr, ptr %21, align 8
%221 = load i32, ptr %26, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i32, ptr %220, i64 %222
store i32 %219, ptr %223, align 4
%224 = load ptr, ptr %12, align 8
%225 = load i32, ptr %24, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds ptr, ptr %224, i64 %226
%228 = load ptr, ptr %227, align 8
%229 = load i32, ptr %26, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i32, ptr %228, i64 %230
%232 = load i32, ptr %231, align 4
%233 = load ptr, ptr %22, align 8
%234 = load i32, ptr %26, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i32, ptr %233, i64 %235
store i32 %232, ptr %236, align 4
br label %237
237: ; preds = %210
%238 = load i32, ptr %26, align 4
%239 = add nsw i32 %238, 1
store i32 %239, ptr %26, align 4
br label %206, !llvm.loop !10
240: ; preds = %206
%241 = load i32, ptr %29, align 4
%242 = add nsw i32 %241, 1
store i32 %242, ptr %26, align 4
br label %243
243: ; preds = %274, %240
%244 = load i32, ptr %26, align 4
%245 = load i32, ptr %14, align 4
%246 = icmp sle i32 %244, %245
br i1 %246, label %247, label %277
247: ; preds = %243
%248 = load ptr, ptr %12, align 8
%249 = load i32, ptr %24, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %26, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i32, ptr %252, i64 %254
%256 = load i32, ptr %255, align 4
%257 = load ptr, ptr %21, align 8
%258 = load i32, ptr %26, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i32, ptr %257, i64 %259
store i32 %256, ptr %260, align 4
%261 = load ptr, ptr %12, align 8
%262 = load i32, ptr %25, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds ptr, ptr %261, i64 %263
%265 = load ptr, ptr %264, align 8
%266 = load i32, ptr %26, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, ptr %265, i64 %267
%269 = load i32, ptr %268, align 4
%270 = load ptr, ptr %22, align 8
%271 = load i32, ptr %26, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i32, ptr %270, i64 %272
store i32 %269, ptr %273, align 4
br label %274
274: ; preds = %247
%275 = load i32, ptr %26, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %26, align 4
br label %243, !llvm.loop !11
277: ; preds = %243
br label %278
278: ; preds = %277, %144
br label %279
279: ; preds = %278, %143
%280 = load ptr, ptr %21, align 8
%281 = load i32, ptr %14, align 4
%282 = call double @cost(ptr noundef %280, i32 noundef %281)
store double %282, ptr %38, align 8
%283 = load double, ptr %38, align 8
%284 = load ptr, ptr %17, align 8
%285 = load i32, ptr %18, align 4
%286 = call i32 @self_adj_index_search(ptr noundef %32, double noundef %283, ptr noundef %284, i32 noundef %285)
%287 = load ptr, ptr %22, align 8
%288 = load i32, ptr %14, align 4
%289 = call double @cost(ptr noundef %287, i32 noundef %288)
store double %289, ptr %39, align 8
%290 = load double, ptr %39, align 8
%291 = load ptr, ptr %17, align 8
%292 = load i32, ptr %18, align 4
%293 = call i32 @self_adj_index_search(ptr noundef %33, double noundef %290, ptr noundef %291, i32 noundef %292)
%294 = load i32, ptr %24, align 4
%295 = load i32, ptr %25, align 4
%296 = load ptr, ptr %13, align 8
%297 = load i32, ptr %15, align 4
%298 = load double, ptr %23, align 8
%299 = call i32 @CO_select_backward_3(ptr noundef %35, i32 noundef %294, i32 noundef %295, ptr noundef %296, i32 noundef %297, double noundef %298)
%300 = load ptr, ptr %16, align 8
%301 = load i32, ptr %32, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds double, ptr %300, i64 %302
%304 = load double, ptr %303, align 8
%305 = fneg double %304
%306 = load double, ptr %38, align 8
%307 = load double, ptr %19, align 8
%308 = fdiv double %306, %307
%309 = fsub double %305, %308
%310 = load ptr, ptr %16, align 8
%311 = load i32, ptr %33, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, ptr %310, i64 %312
%314 = load double, ptr %313, align 8
%315 = fsub double %309, %314
%316 = load double, ptr %39, align 8
%317 = load double, ptr %19, align 8
%318 = fdiv double %316, %317
%319 = fsub double %315, %318
%320 = load double, ptr %35, align 8
%321 = fadd double %319, %320
%322 = load ptr, ptr %16, align 8
%323 = load i32, ptr %30, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds double, ptr %322, i64 %324
%326 = load double, ptr %325, align 8
%327 = fadd double %321, %326
%328 = load double, ptr %36, align 8
%329 = load double, ptr %19, align 8
%330 = fdiv double %328, %329
%331 = fadd double %327, %330
%332 = load ptr, ptr %16, align 8
%333 = load i32, ptr %31, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
%336 = load double, ptr %335, align 8
%337 = fadd double %331, %336
%338 = load double, ptr %37, align 8
%339 = load double, ptr %19, align 8
%340 = fdiv double %338, %339
%341 = fadd double %337, %340
%342 = load double, ptr %34, align 8
%343 = fsub double %341, %342
store double %343, ptr %42, align 8
%344 = load double, ptr %42, align 8
%345 = fcmp ogt double %344, 0.000000e+00
br i1 %345, label %346, label %347
346: ; preds = %279
br label %350
347: ; preds = %279
%348 = load double, ptr %42, align 8
%349 = call double @exp(double noundef %348) #3
br label %350
350: ; preds = %347, %346
%351 = phi double [ 1.000000e+00, %346 ], [ %349, %347 ]
%352 = load ptr, ptr %20, align 8
store double %351, ptr %352, align 8
%353 = call double (...) @uniformrng()
store double %353, ptr %41, align 8
%354 = load ptr, ptr %20, align 8
%355 = load double, ptr %354, align 8
%356 = load double, ptr %41, align 8
%357 = fcmp ogt double %355, %356
br i1 %357, label %358, label %413
358: ; preds = %350
%359 = load double, ptr %38, align 8
%360 = load ptr, ptr %13, align 8
%361 = load i32, ptr %24, align 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds double, ptr %360, i64 %362
store double %359, ptr %363, align 8
store i32 1, ptr %26, align 4
br label %364
364: ; preds = %382, %358
%365 = load i32, ptr %26, align 4
%366 = load i32, ptr %14, align 4
%367 = icmp sle i32 %365, %366
br i1 %367, label %368, label %385
368: ; preds = %364
%369 = load ptr, ptr %21, align 8
%370 = load i32, ptr %26, align 4
%371 = sext i32 %370 to i64
%372 = getelementptr inbounds i32, ptr %369, i64 %371
%373 = load i32, ptr %372, align 4
%374 = load ptr, ptr %12, align 8
%375 = load i32, ptr %24, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds ptr, ptr %374, i64 %376
%378 = load ptr, ptr %377, align 8
%379 = load i32, ptr %26, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds i32, ptr %378, i64 %380
store i32 %373, ptr %381, align 4
br label %382
382: ; preds = %368
%383 = load i32, ptr %26, align 4
%384 = add nsw i32 %383, 1
store i32 %384, ptr %26, align 4
br label %364, !llvm.loop !12
385: ; preds = %364
%386 = load double, ptr %39, align 8
%387 = load ptr, ptr %13, align 8
%388 = load i32, ptr %25, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds double, ptr %387, i64 %389
store double %386, ptr %390, align 8
store i32 1, ptr %26, align 4
br label %391
391: ; preds = %409, %385
%392 = load i32, ptr %26, align 4
%393 = load i32, ptr %14, align 4
%394 = icmp sle i32 %392, %393
br i1 %394, label %395, label %412
395: ; preds = %391
%396 = load ptr, ptr %22, align 8
%397 = load i32, ptr %26, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds i32, ptr %396, i64 %398
%400 = load i32, ptr %399, align 4
%401 = load ptr, ptr %12, align 8
%402 = load i32, ptr %25, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds ptr, ptr %401, i64 %403
%405 = load ptr, ptr %404, align 8
%406 = load i32, ptr %26, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i32, ptr %405, i64 %407
store i32 %400, ptr %408, align 4
br label %409
409: ; preds = %395
%410 = load i32, ptr %26, align 4
%411 = add nsw i32 %410, 1
store i32 %411, ptr %26, align 4
br label %391, !llvm.loop !13
412: ; preds = %391
br label %413
413: ; preds = %412, %350
ret void
}
declare i32 @CO_select_forward_3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
declare i32 @self_adj_index_search(ptr noundef, double noundef, ptr noundef, i32 noundef) #1
declare i32 @integerrng(i32 noundef, i32 noundef) #1
declare double @cost(ptr noundef, i32 noundef) #1
declare i32 @CO_select_backward_3(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @uniformrng(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvr7gfgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Crossover_int_Kpoint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%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 double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store i32 %6, ptr %18, align 4
store double %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
store double 1.000000e-01, ptr %23, align 8
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %15, align 4
%45 = load double, ptr %23, align 8
%46 = call i32 @CO_select_forward_3(ptr noundef %34, ptr noundef %24, ptr noundef %25, ptr noundef %43, i32 noundef %44, double noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = load i32, ptr %24, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
store double %51, ptr %36, align 8
%52 = load double, ptr %36, align 8
%53 = load ptr, ptr %17, align 8
%54 = load i32, ptr %18, align 4
%55 = call i32 @self_adj_index_search(ptr noundef %30, double noundef %52, ptr noundef %53, i32 noundef %54)
%56 = load ptr, ptr %13, align 8
%57 = load i32, ptr %25, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
store double %60, ptr %37, align 8
%61 = load double, ptr %37, align 8
%62 = load ptr, ptr %17, align 8
%63 = load i32, ptr %18, align 4
%64 = call i32 @self_adj_index_search(ptr noundef %31, double noundef %61, ptr noundef %62, i32 noundef %63)
%65 = call i32 @integerrng(i32 noundef 1, i32 noundef 2)
store i32 %65, ptr %27, align 4
%66 = load i32, ptr %27, align 4
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %148
68: ; preds = %11
%69 = load i32, ptr %14, align 4
%70 = sub nsw i32 %69, 1
%71 = call i32 @integerrng(i32 noundef 1, i32 noundef %70)
store i32 %71, ptr %28, align 4
store i32 1, ptr %26, align 4
%72 = load i32, ptr %26, align 4
%73 = load i32, ptr %28, align 4
%74 = icmp sle i32 %72, %73
br i1 %74, label %.lr.ph8, label %108
.lr.ph8: ; preds = %68
br label %75
75: ; preds = %.lr.ph8, %102
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %24, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %26, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load ptr, ptr %21, align 8
%86 = load i32, ptr %26, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
store i32 %84, ptr %88, align 4
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %25, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %26, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
%98 = load ptr, ptr %22, align 8
%99 = load i32, ptr %26, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
store i32 %97, ptr %101, align 4
br label %102
102: ; preds = %75
%103 = load i32, ptr %26, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %26, align 4
%105 = load i32, ptr %26, align 4
%106 = load i32, ptr %28, align 4
%107 = icmp sle i32 %105, %106
br i1 %107, label %75, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %102
br label %108
108: ; preds = %._crit_edge9, %68
%109 = load i32, ptr %28, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %26, align 4
%111 = load i32, ptr %26, align 4
%112 = load i32, ptr %14, align 4
%113 = icmp sle i32 %111, %112
br i1 %113, label %.lr.ph11, label %147
.lr.ph11: ; preds = %108
br label %114
114: ; preds = %.lr.ph11, %141
%115 = load ptr, ptr %12, align 8
%116 = load i32, ptr %25, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %115, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = load i32, ptr %26, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load ptr, ptr %21, align 8
%125 = load i32, ptr %26, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
store i32 %123, ptr %127, align 4
%128 = load ptr, ptr %12, align 8
%129 = load i32, ptr %24, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds ptr, ptr %128, i64 %130
%132 = load ptr, ptr %131, align 8
%133 = load i32, ptr %26, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %132, i64 %134
%136 = load i32, ptr %135, align 4
%137 = load ptr, ptr %22, align 8
%138 = load i32, ptr %26, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
store i32 %136, ptr %140, align 4
br label %141
141: ; preds = %114
%142 = load i32, ptr %26, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %26, align 4
%144 = load i32, ptr %26, align 4
%145 = load i32, ptr %14, align 4
%146 = icmp sle i32 %144, %145
br i1 %146, label %114, label %._crit_edge12, !llvm.loop !8
._crit_edge12: ; preds = %141
br label %147
147: ; preds = %._crit_edge12, %108
br label %289
148: ; preds = %11
%149 = load i32, ptr %27, align 4
%150 = icmp eq i32 %149, 2
br i1 %150, label %151, label %288
151: ; preds = %148
%152 = load i32, ptr %14, align 4
%153 = sub nsw i32 %152, 1
%154 = call i32 @integerrng(i32 noundef 1, i32 noundef %153)
store i32 %154, ptr %28, align 4
%155 = load i32, ptr %14, align 4
%156 = sub nsw i32 %155, 2
%157 = call i32 @integerrng(i32 noundef 1, i32 noundef %156)
store i32 %157, ptr %29, align 4
%158 = load i32, ptr %29, align 4
%159 = load i32, ptr %28, align 4
%160 = icmp sge i32 %158, %159
br i1 %160, label %161, label %164
161: ; preds = %151
%162 = load i32, ptr %29, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %29, align 4
br label %164
164: ; preds = %161, %151
%165 = load i32, ptr %28, align 4
%166 = load i32, ptr %29, align 4
%167 = icmp sgt i32 %165, %166
br i1 %167, label %168, label %172
168: ; preds = %164
%169 = load i32, ptr %28, align 4
store i32 %169, ptr %26, align 4
%170 = load i32, ptr %29, align 4
store i32 %170, ptr %28, align 4
%171 = load i32, ptr %26, align 4
store i32 %171, ptr %29, align 4
br label %172
172: ; preds = %168, %164
store i32 1, ptr %26, align 4
%173 = load i32, ptr %26, align 4
%174 = load i32, ptr %28, align 4
%175 = icmp sle i32 %173, %174
br i1 %175, label %.lr.ph, label %209
.lr.ph: ; preds = %172
br label %176
176: ; preds = %.lr.ph, %203
%177 = load ptr, ptr %12, align 8
%178 = load i32, ptr %24, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds ptr, ptr %177, i64 %179
%181 = load ptr, ptr %180, align 8
%182 = load i32, ptr %26, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i32, ptr %181, i64 %183
%185 = load i32, ptr %184, align 4
%186 = load ptr, ptr %21, align 8
%187 = load i32, ptr %26, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, ptr %186, i64 %188
store i32 %185, ptr %189, align 4
%190 = load ptr, ptr %12, align 8
%191 = load i32, ptr %25, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds ptr, ptr %190, i64 %192
%194 = load ptr, ptr %193, align 8
%195 = load i32, ptr %26, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %194, i64 %196
%198 = load i32, ptr %197, align 4
%199 = load ptr, ptr %22, align 8
%200 = load i32, ptr %26, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i32, ptr %199, i64 %201
store i32 %198, ptr %202, align 4
br label %203
203: ; preds = %176
%204 = load i32, ptr %26, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %26, align 4
%206 = load i32, ptr %26, align 4
%207 = load i32, ptr %28, align 4
%208 = icmp sle i32 %206, %207
br i1 %208, label %176, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %203
br label %209
209: ; preds = %._crit_edge, %172
%210 = load i32, ptr %28, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %26, align 4
%212 = load i32, ptr %26, align 4
%213 = load i32, ptr %29, align 4
%214 = icmp sle i32 %212, %213
br i1 %214, label %.lr.ph2, label %248
.lr.ph2: ; preds = %209
br label %215
215: ; preds = %.lr.ph2, %242
%216 = load ptr, ptr %12, align 8
%217 = load i32, ptr %25, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds ptr, ptr %216, i64 %218
%220 = load ptr, ptr %219, align 8
%221 = load i32, ptr %26, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i32, ptr %220, i64 %222
%224 = load i32, ptr %223, align 4
%225 = load ptr, ptr %21, align 8
%226 = load i32, ptr %26, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
store i32 %224, ptr %228, align 4
%229 = load ptr, ptr %12, align 8
%230 = load i32, ptr %24, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds ptr, ptr %229, i64 %231
%233 = load ptr, ptr %232, align 8
%234 = load i32, ptr %26, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i32, ptr %233, i64 %235
%237 = load i32, ptr %236, align 4
%238 = load ptr, ptr %22, align 8
%239 = load i32, ptr %26, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds i32, ptr %238, i64 %240
store i32 %237, ptr %241, align 4
br label %242
242: ; preds = %215
%243 = load i32, ptr %26, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %26, align 4
%245 = load i32, ptr %26, align 4
%246 = load i32, ptr %29, align 4
%247 = icmp sle i32 %245, %246
br i1 %247, label %215, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %242
br label %248
248: ; preds = %._crit_edge3, %209
%249 = load i32, ptr %29, align 4
%250 = add nsw i32 %249, 1
store i32 %250, ptr %26, align 4
%251 = load i32, ptr %26, align 4
%252 = load i32, ptr %14, align 4
%253 = icmp sle i32 %251, %252
br i1 %253, label %.lr.ph5, label %287
.lr.ph5: ; preds = %248
br label %254
254: ; preds = %.lr.ph5, %281
%255 = load ptr, ptr %12, align 8
%256 = load i32, ptr %24, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds ptr, ptr %255, i64 %257
%259 = load ptr, ptr %258, align 8
%260 = load i32, ptr %26, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds i32, ptr %259, i64 %261
%263 = load i32, ptr %262, align 4
%264 = load ptr, ptr %21, align 8
%265 = load i32, ptr %26, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds i32, ptr %264, i64 %266
store i32 %263, ptr %267, align 4
%268 = load ptr, ptr %12, align 8
%269 = load i32, ptr %25, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds ptr, ptr %268, i64 %270
%272 = load ptr, ptr %271, align 8
%273 = load i32, ptr %26, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds i32, ptr %272, i64 %274
%276 = load i32, ptr %275, align 4
%277 = load ptr, ptr %22, align 8
%278 = load i32, ptr %26, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds i32, ptr %277, i64 %279
store i32 %276, ptr %280, align 4
br label %281
281: ; preds = %254
%282 = load i32, ptr %26, align 4
%283 = add nsw i32 %282, 1
store i32 %283, ptr %26, align 4
%284 = load i32, ptr %26, align 4
%285 = load i32, ptr %14, align 4
%286 = icmp sle i32 %284, %285
br i1 %286, label %254, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %281
br label %287
287: ; preds = %._crit_edge6, %248
br label %288
288: ; preds = %287, %148
br label %289
289: ; preds = %288, %147
%290 = load ptr, ptr %21, align 8
%291 = load i32, ptr %14, align 4
%292 = call double @cost(ptr noundef %290, i32 noundef %291)
store double %292, ptr %38, align 8
%293 = load double, ptr %38, align 8
%294 = load ptr, ptr %17, align 8
%295 = load i32, ptr %18, align 4
%296 = call i32 @self_adj_index_search(ptr noundef %32, double noundef %293, ptr noundef %294, i32 noundef %295)
%297 = load ptr, ptr %22, align 8
%298 = load i32, ptr %14, align 4
%299 = call double @cost(ptr noundef %297, i32 noundef %298)
store double %299, ptr %39, align 8
%300 = load double, ptr %39, align 8
%301 = load ptr, ptr %17, align 8
%302 = load i32, ptr %18, align 4
%303 = call i32 @self_adj_index_search(ptr noundef %33, double noundef %300, ptr noundef %301, i32 noundef %302)
%304 = load i32, ptr %24, align 4
%305 = load i32, ptr %25, align 4
%306 = load ptr, ptr %13, align 8
%307 = load i32, ptr %15, align 4
%308 = load double, ptr %23, align 8
%309 = call i32 @CO_select_backward_3(ptr noundef %35, i32 noundef %304, i32 noundef %305, ptr noundef %306, i32 noundef %307, double noundef %308)
%310 = load ptr, ptr %16, align 8
%311 = load i32, ptr %32, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, ptr %310, i64 %312
%314 = load double, ptr %313, align 8
%315 = fneg double %314
%316 = load double, ptr %38, align 8
%317 = load double, ptr %19, align 8
%318 = fdiv double %316, %317
%319 = fsub double %315, %318
%320 = load ptr, ptr %16, align 8
%321 = load i32, ptr %33, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds double, ptr %320, i64 %322
%324 = load double, ptr %323, align 8
%325 = fsub double %319, %324
%326 = load double, ptr %39, align 8
%327 = load double, ptr %19, align 8
%328 = fdiv double %326, %327
%329 = fsub double %325, %328
%330 = load double, ptr %35, align 8
%331 = fadd double %329, %330
%332 = load ptr, ptr %16, align 8
%333 = load i32, ptr %30, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
%336 = load double, ptr %335, align 8
%337 = fadd double %331, %336
%338 = load double, ptr %36, align 8
%339 = load double, ptr %19, align 8
%340 = fdiv double %338, %339
%341 = fadd double %337, %340
%342 = load ptr, ptr %16, align 8
%343 = load i32, ptr %31, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
%346 = load double, ptr %345, align 8
%347 = fadd double %341, %346
%348 = load double, ptr %37, align 8
%349 = load double, ptr %19, align 8
%350 = fdiv double %348, %349
%351 = fadd double %347, %350
%352 = load double, ptr %34, align 8
%353 = fsub double %351, %352
store double %353, ptr %42, align 8
%354 = load double, ptr %42, align 8
%355 = fcmp ogt double %354, 0.000000e+00
br i1 %355, label %356, label %357
356: ; preds = %289
br label %360
357: ; preds = %289
%358 = load double, ptr %42, align 8
%359 = call double @exp(double noundef %358) #3
br label %360
360: ; preds = %357, %356
%361 = phi double [ 1.000000e+00, %356 ], [ %359, %357 ]
%362 = load ptr, ptr %20, align 8
store double %361, ptr %362, align 8
%363 = call double (...) @uniformrng()
store double %363, ptr %41, align 8
%364 = load ptr, ptr %20, align 8
%365 = load double, ptr %364, align 8
%366 = load double, ptr %41, align 8
%367 = fcmp ogt double %365, %366
br i1 %367, label %368, label %427
368: ; preds = %360
%369 = load double, ptr %38, align 8
%370 = load ptr, ptr %13, align 8
%371 = load i32, ptr %24, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds double, ptr %370, i64 %372
store double %369, ptr %373, align 8
store i32 1, ptr %26, align 4
%374 = load i32, ptr %26, align 4
%375 = load i32, ptr %14, align 4
%376 = icmp sle i32 %374, %375
br i1 %376, label %.lr.ph14, label %397
.lr.ph14: ; preds = %368
br label %377
377: ; preds = %.lr.ph14, %391
%378 = load ptr, ptr %21, align 8
%379 = load i32, ptr %26, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds i32, ptr %378, i64 %380
%382 = load i32, ptr %381, align 4
%383 = load ptr, ptr %12, align 8
%384 = load i32, ptr %24, align 4
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds ptr, ptr %383, i64 %385
%387 = load ptr, ptr %386, align 8
%388 = load i32, ptr %26, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds i32, ptr %387, i64 %389
store i32 %382, ptr %390, align 4
br label %391
391: ; preds = %377
%392 = load i32, ptr %26, align 4
%393 = add nsw i32 %392, 1
store i32 %393, ptr %26, align 4
%394 = load i32, ptr %26, align 4
%395 = load i32, ptr %14, align 4
%396 = icmp sle i32 %394, %395
br i1 %396, label %377, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %391
br label %397
397: ; preds = %._crit_edge15, %368
%398 = load double, ptr %39, align 8
%399 = load ptr, ptr %13, align 8
%400 = load i32, ptr %25, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds double, ptr %399, i64 %401
store double %398, ptr %402, align 8
store i32 1, ptr %26, align 4
%403 = load i32, ptr %26, align 4
%404 = load i32, ptr %14, align 4
%405 = icmp sle i32 %403, %404
br i1 %405, label %.lr.ph17, label %426
.lr.ph17: ; preds = %397
br label %406
406: ; preds = %.lr.ph17, %420
%407 = load ptr, ptr %22, align 8
%408 = load i32, ptr %26, align 4
%409 = sext i32 %408 to i64
%410 = getelementptr inbounds i32, ptr %407, i64 %409
%411 = load i32, ptr %410, align 4
%412 = load ptr, ptr %12, align 8
%413 = load i32, ptr %25, align 4
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds ptr, ptr %412, i64 %414
%416 = load ptr, ptr %415, align 8
%417 = load i32, ptr %26, align 4
%418 = sext i32 %417 to i64
%419 = getelementptr inbounds i32, ptr %416, i64 %418
store i32 %411, ptr %419, align 4
br label %420
420: ; preds = %406
%421 = load i32, ptr %26, align 4
%422 = add nsw i32 %421, 1
store i32 %422, ptr %26, align 4
%423 = load i32, ptr %26, align 4
%424 = load i32, ptr %14, align 4
%425 = icmp sle i32 %423, %424
br i1 %425, label %406, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %420
br label %426
426: ; preds = %._crit_edge18, %397
br label %427
427: ; preds = %426, %360
ret void
}
declare i32 @CO_select_forward_3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
declare i32 @self_adj_index_search(ptr noundef, double noundef, ptr noundef, i32 noundef) #1
declare i32 @integerrng(i32 noundef, i32 noundef) #1
declare double @cost(ptr noundef, i32 noundef) #1
declare i32 @CO_select_backward_3(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @uniformrng(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!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}
|
; ModuleID = '/tmp/tmp25osecwj.c'
source_filename = "/tmp/tmp25osecwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paint_bmp(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %53, %3
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %56
19: ; preds = %15
store i32 0, ptr %8, align 4
br label %20
20: ; preds = %49, %19
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %52
24: ; preds = %20
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
%27 = load i8, ptr %25, align 1
%28 = zext i8 %27 to i32
store i32 %28, ptr %12, align 4
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %9, align 8
%31 = load i8, ptr %29, align 1
%32 = zext i8 %31 to i32
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %9, align 8
%35 = load i8, ptr %33, align 1
%36 = zext i8 %35 to i32
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %12, align 4
%38 = shl i32 %37, 16
%39 = load i32, ptr %11, align 4
%40 = shl i32 %39, 8
%41 = or i32 %38, %40
%42 = load i32, ptr %10, align 4
%43 = shl i32 %42, 0
%44 = or i32 %41, %43
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %13, align 4
%48 = call i32 @point(i32 noundef %45, i32 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %24
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %20, !llvm.loop !6
52: ; preds = %20
br label %53
53: ; preds = %52
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
br label %15, !llvm.loop !8
56: ; preds = %15
ret void
}
declare i32 @point(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp25osecwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paint_bmp(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
store i32 0, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %60
.lr.ph2: ; preds = %3
br label %18
18: ; preds = %.lr.ph2, %54
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %53
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %47
%23 = load ptr, ptr %9, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %9, align 8
%25 = load i8, ptr %23, align 1
%26 = zext i8 %25 to i32
store i32 %26, ptr %12, align 4
%27 = load ptr, ptr %9, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %9, align 8
%29 = load i8, ptr %27, align 1
%30 = zext i8 %29 to i32
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %9, align 8
%33 = load i8, ptr %31, align 1
%34 = zext i8 %33 to i32
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %12, align 4
%36 = shl i32 %35, 16
%37 = load i32, ptr %11, align 4
%38 = shl i32 %37, 8
%39 = or i32 %36, %38
%40 = load i32, ptr %10, align 4
%41 = shl i32 %40, 0
%42 = or i32 %39, %41
store i32 %42, ptr %13, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %13, align 4
%46 = call i32 @point(i32 noundef %43, i32 noundef %44, i32 noundef %45)
br label %47
47: ; preds = %22
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %18
br label %54
54: ; preds = %53
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %4, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @point(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpr_7xable.c'
source_filename = "/tmp/tmpr_7xable.c"
target datalayout = "e-m:e-p270: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 @read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %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/tmpr_7xable.c"
target datalayout = "e-m:e-p270: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 @read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %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/tmpj0qe_bip.c'
source_filename = "/tmp/tmpj0qe_bip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [10 x i8], align 1
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 2
%13 = load ptr, ptr %12, align 8
%14 = call i32 @strcpy(ptr noundef %10, ptr noundef %13)
%15 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = call i32 @syscall_1(i32 noundef 98, i32 noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @syscall_1(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj0qe_bip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [10 x i8], align 1
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 2
%13 = load ptr, ptr %12, align 8
%14 = call i32 @strcpy(ptr noundef %10, ptr noundef %13)
%15 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = call i32 @syscall_1(i32 noundef 98, i32 noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @syscall_1(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprrkfxmlp.c'
source_filename = "/tmp/tmprrkfxmlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lexer_read_expandable(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %4, align 1
%9 = call ptr @lexer_read_expandable_recursive(ptr noundef %7, i8 noundef signext %8, i32 noundef 0)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %5, align 8
%12 = call ptr @lexer_concat_expandable(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @cctools_list_delete(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
ret ptr %15
}
declare ptr @lexer_read_expandable_recursive(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @lexer_concat_expandable(ptr noundef, ptr noundef) #1
declare i32 @cctools_list_delete(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/tmprrkfxmlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lexer_read_expandable(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %4, align 1
%9 = call ptr @lexer_read_expandable_recursive(ptr noundef %7, i8 noundef signext %8, i32 noundef 0)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %5, align 8
%12 = call ptr @lexer_concat_expandable(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @cctools_list_delete(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
ret ptr %15
}
declare ptr @lexer_read_expandable_recursive(ptr noundef, i8 noundef signext, i32 noundef) #1
declare ptr @lexer_concat_expandable(ptr noundef, ptr noundef) #1
declare i32 @cctools_list_delete(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/tmpsmm6g_p2.c'
source_filename = "/tmp/tmpsmm6g_p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uri_validate_bytes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @uri_length_bytes(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %12, %13
%15 = zext i1 %14 to i32
br label %18
16: ; preds = %2
%17 = load i32, ptr %5, align 4
br label %18
18: ; preds = %16, %11
%19 = phi i32 [ %15, %11 ], [ %17, %16 ]
ret i32 %19
}
declare i32 @uri_length_bytes(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/tmpsmm6g_p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uri_validate_bytes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @uri_length_bytes(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %12, %13
%15 = zext i1 %14 to i32
br label %18
16: ; preds = %2
%17 = load i32, ptr %5, align 4
br label %18
18: ; preds = %16, %11
%19 = phi i32 [ %15, %11 ], [ %17, %16 ]
ret i32 %19
}
declare i32 @uri_length_bytes(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/tmpsbsgzj1g.c'
source_filename = "/tmp/tmpsbsgzj1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapify(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @left(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @right(i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %3
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %23, %28
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = load i32, ptr %7, align 4
store i32 %31, ptr %9, align 4
br label %51
32: ; preds = %18, %3
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %50
36: ; preds = %32
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %41, %46
br i1 %47, label %48, label %50
48: ; preds = %36
%49 = load i32, ptr %8, align 4
store i32 %49, ptr %9, align 4
br label %50
50: ; preds = %48, %36, %32
br label %51
51: ; preds = %50, %30
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %104
55: ; preds = %51
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = xor i32 %60, %65
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
store i32 %66, ptr %70, align 4
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = xor i32 %75, %80
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
store i32 %81, ptr %85, align 4
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
%95 = load i32, ptr %94, align 4
%96 = xor i32 %90, %95
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %5, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
store i32 %96, ptr %100, align 4
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %6, align 4
call void @heapify(ptr noundef %101, i32 noundef %102, i32 noundef %103)
br label %104
104: ; preds = %55, %51
ret void
}
declare i32 @left(i32 noundef) #1
declare i32 @right(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/tmpsbsgzj1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapify(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @left(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @right(i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %3
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %23, %28
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = load i32, ptr %7, align 4
store i32 %31, ptr %9, align 4
br label %51
32: ; preds = %18, %3
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %50
36: ; preds = %32
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %41, %46
br i1 %47, label %48, label %50
48: ; preds = %36
%49 = load i32, ptr %8, align 4
store i32 %49, ptr %9, align 4
br label %50
50: ; preds = %48, %36, %32
br label %51
51: ; preds = %50, %30
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %104
55: ; preds = %51
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = xor i32 %60, %65
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
store i32 %66, ptr %70, align 4
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = xor i32 %75, %80
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
store i32 %81, ptr %85, align 4
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
%95 = load i32, ptr %94, align 4
%96 = xor i32 %90, %95
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %5, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
store i32 %96, ptr %100, align 4
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %6, align 4
call void @heapify(ptr noundef %101, i32 noundef %102, i32 noundef %103)
br label %104
104: ; preds = %55, %51
ret void
}
declare i32 @left(i32 noundef) #1
declare i32 @right(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/tmpp2n17qxz.c'
source_filename = "/tmp/tmpp2n17qxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter two integers to check\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Result: %d = %d\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Result: %d > %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11)
br label %26
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19)
br label %25
21: ; preds = %13
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2n17qxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter two integers to check\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Result: %d = %d\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Result: %d > %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11)
br label %26
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19)
br label %25
21: ; preds = %13
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt1z7i0as.c'
source_filename = "/tmp/tmpt1z7i0as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_gaussian() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
br label %5
5: ; preds = %20, %0
%6 = call i32 (...) @random_unif()
%7 = mul nsw i32 2, %6
%8 = sub nsw i32 %7, 1
%9 = sitofp i32 %8 to float
store float %9, ptr %1, align 4
%10 = call i32 (...) @random_unif()
%11 = mul nsw i32 2, %10
%12 = sub nsw i32 %11, 1
%13 = sitofp i32 %12 to float
store float %13, ptr %2, align 4
%14 = load float, ptr %1, align 4
%15 = load float, ptr %1, align 4
%16 = load float, ptr %2, align 4
%17 = load float, ptr %2, align 4
%18 = fmul float %16, %17
%19 = call float @llvm.fmuladd.f32(float %14, float %15, float %18)
store float %19, ptr %3, align 4
br label %20
20: ; preds = %5
%21 = load float, ptr %3, align 4
%22 = fcmp oge float %21, 1.000000e+00
br i1 %22, label %5, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load float, ptr %3, align 4
%25 = call i32 @log(float noundef %24)
%26 = mul nsw i32 -2, %25
%27 = sitofp i32 %26 to float
%28 = load float, ptr %3, align 4
%29 = fdiv float %27, %28
%30 = fptosi float %29 to i32
%31 = call float @sqrt(i32 noundef %30)
store float %31, ptr %4, align 4
%32 = load float, ptr %1, align 4
%33 = load float, ptr %4, align 4
%34 = fmul float %32, %33
ret float %34
}
declare i32 @random_unif(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(i32 noundef) #1
declare i32 @log(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1z7i0as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_gaussian() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
br label %5
5: ; preds = %20, %0
%6 = call i32 (...) @random_unif()
%7 = mul nsw i32 2, %6
%8 = sub nsw i32 %7, 1
%9 = sitofp i32 %8 to float
store float %9, ptr %1, align 4
%10 = call i32 (...) @random_unif()
%11 = mul nsw i32 2, %10
%12 = sub nsw i32 %11, 1
%13 = sitofp i32 %12 to float
store float %13, ptr %2, align 4
%14 = load float, ptr %1, align 4
%15 = load float, ptr %1, align 4
%16 = load float, ptr %2, align 4
%17 = load float, ptr %2, align 4
%18 = fmul float %16, %17
%19 = call float @llvm.fmuladd.f32(float %14, float %15, float %18)
store float %19, ptr %3, align 4
br label %20
20: ; preds = %5
%21 = load float, ptr %3, align 4
%22 = fcmp oge float %21, 1.000000e+00
br i1 %22, label %5, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load float, ptr %3, align 4
%25 = call i32 @log(float noundef %24)
%26 = mul nsw i32 -2, %25
%27 = sitofp i32 %26 to float
%28 = load float, ptr %3, align 4
%29 = fdiv float %27, %28
%30 = fptosi float %29 to i32
%31 = call float @sqrt(i32 noundef %30)
store float %31, ptr %4, align 4
%32 = load float, ptr %1, align 4
%33 = load float, ptr %4, align 4
%34 = fmul float %32, %33
ret float %34
}
declare i32 @random_unif(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(i32 noundef) #1
declare i32 @log(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuxf48zer.c'
source_filename = "/tmp/tmpuxf48zer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_ftoa(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store x86_fp80 %0, ptr %2, align 16
%7 = load x86_fp80, ptr %2, align 16
%8 = fptosi x86_fp80 %7 to i64
store i64 %8, ptr %3, align 8
%9 = load x86_fp80, ptr %2, align 16
%10 = load i64, ptr %3, align 8
%11 = sitofp i64 %10 to x86_fp80
%12 = fsub x86_fp80 %9, %11
store x86_fp80 %12, ptr %2, align 16
%13 = load x86_fp80, ptr %2, align 16
%14 = fmul x86_fp80 %13, 0xK4012F424000000000000
%15 = fptosi x86_fp80 %14 to i32
%16 = sext i32 %15 to i64
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %1
%20 = load i64, ptr %4, align 8
%21 = sub nsw i64 0, %20
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %19, %1
%23 = load i64, ptr %3, align 8
%24 = call ptr @ft_lltoa(i64 noundef %23)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = call ptr @ft_strfjoinnchar(ptr noundef %25, i32 noundef -1, i8 noundef signext 46)
store ptr %26, ptr %5, align 8
%27 = load i64, ptr %4, align 8
%28 = call ptr @ft_lltoa(i64 noundef %27)
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @ft_strlen(ptr noundef %29)
%31 = sub nsw i32 6, %30
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %39
33: ; preds = %22
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i32 @ft_strlen(ptr noundef %35)
%37 = sub nsw i32 6, %36
%38 = call ptr @ft_strfjoinnchar(ptr noundef %34, i32 noundef %37, i8 noundef signext 48)
store ptr %38, ptr %6, align 8
br label %39
39: ; preds = %33, %22
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call ptr @ft_strfjoin(ptr noundef %40, ptr noundef %41, i32 noundef 1, i32 noundef 1)
store ptr %42, ptr %5, align 8
%43 = load x86_fp80, ptr %2, align 16
%44 = fcmp olt x86_fp80 %43, 0xK00000000000000000000
br i1 %44, label %45, label %54
45: ; preds = %39
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 45
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load ptr, ptr %5, align 8
%53 = call ptr @ft_strfjoinnchar(ptr noundef %52, i32 noundef 1, i8 noundef signext 45)
store ptr %53, ptr %5, align 8
br label %54
54: ; preds = %51, %45, %39
%55 = load ptr, ptr %5, align 8
ret ptr %55
}
declare ptr @ft_lltoa(i64 noundef) #1
declare ptr @ft_strfjoinnchar(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @ft_strlen(ptr noundef) #1
declare ptr @ft_strfjoin(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxf48zer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_ftoa(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store x86_fp80 %0, ptr %2, align 16
%7 = load x86_fp80, ptr %2, align 16
%8 = fptosi x86_fp80 %7 to i64
store i64 %8, ptr %3, align 8
%9 = load x86_fp80, ptr %2, align 16
%10 = load i64, ptr %3, align 8
%11 = sitofp i64 %10 to x86_fp80
%12 = fsub x86_fp80 %9, %11
store x86_fp80 %12, ptr %2, align 16
%13 = load x86_fp80, ptr %2, align 16
%14 = fmul x86_fp80 %13, 0xK4012F424000000000000
%15 = fptosi x86_fp80 %14 to i32
%16 = sext i32 %15 to i64
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %1
%20 = load i64, ptr %4, align 8
%21 = sub nsw i64 0, %20
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %19, %1
%23 = load i64, ptr %3, align 8
%24 = call ptr @ft_lltoa(i64 noundef %23)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = call ptr @ft_strfjoinnchar(ptr noundef %25, i32 noundef -1, i8 noundef signext 46)
store ptr %26, ptr %5, align 8
%27 = load i64, ptr %4, align 8
%28 = call ptr @ft_lltoa(i64 noundef %27)
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @ft_strlen(ptr noundef %29)
%31 = sub nsw i32 6, %30
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %39
33: ; preds = %22
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i32 @ft_strlen(ptr noundef %35)
%37 = sub nsw i32 6, %36
%38 = call ptr @ft_strfjoinnchar(ptr noundef %34, i32 noundef %37, i8 noundef signext 48)
store ptr %38, ptr %6, align 8
br label %39
39: ; preds = %33, %22
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call ptr @ft_strfjoin(ptr noundef %40, ptr noundef %41, i32 noundef 1, i32 noundef 1)
store ptr %42, ptr %5, align 8
%43 = load x86_fp80, ptr %2, align 16
%44 = fcmp olt x86_fp80 %43, 0xK00000000000000000000
br i1 %44, label %45, label %54
45: ; preds = %39
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 45
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load ptr, ptr %5, align 8
%53 = call ptr @ft_strfjoinnchar(ptr noundef %52, i32 noundef 1, i8 noundef signext 45)
store ptr %53, ptr %5, align 8
br label %54
54: ; preds = %51, %45, %39
%55 = load ptr, ptr %5, align 8
ret ptr %55
}
declare ptr @ft_lltoa(i64 noundef) #1
declare ptr @ft_strfjoinnchar(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @ft_strlen(ptr noundef) #1
declare ptr @ft_strfjoin(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpokbjnd0e.c'
source_filename = "/tmp/tmpokbjnd0e.c"
target datalayout = "e-m:e-p270: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/tmpokbjnd0e.c"
target datalayout = "e-m:e-p270: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/tmpesk3k8am.c'
source_filename = "/tmp/tmpesk3k8am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aaa\00", align 1
@.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"x == y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_StrOk() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
store ptr @.str, ptr %3, align 8
br label %4
4: ; preds = %0
%5 = call i32 @ASRT_Mark(ptr noundef @.str.1, i32 noundef 164, ptr noundef @.str.2)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ASRT_Strz(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %4
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %4
br label %12
12: ; preds = %11
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ASRT_Strz(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/tmpesk3k8am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aaa\00", align 1
@.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"x == y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_StrOk() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
store ptr @.str, ptr %3, align 8
br label %4
4: ; preds = %0
%5 = call i32 @ASRT_Mark(ptr noundef @.str.1, i32 noundef 164, ptr noundef @.str.2)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ASRT_Strz(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %4
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %4
br label %12
12: ; preds = %11
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ASRT_Strz(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/tmplofpnwjm.c'
source_filename = "/tmp/tmplofpnwjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BinString.mask = internal constant i8 -128, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @BinString(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %6, align 4
%14 = icmp sge i32 %13, 8
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %21)
%23 = load i8, ptr %4, align 1
store i8 %23, ptr %7, align 1
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %43, %3
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %46
27: ; preds = %24
%28 = load i8, ptr %7, align 1
%29 = zext i8 %28 to i32
%30 = and i32 128, %29
%31 = icmp eq i32 %30, 128
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 49, i32 48
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 %34, ptr %38, align 1
%39 = load i8, ptr %7, align 1
%40 = zext i8 %39 to i32
%41 = shl i32 %40, 1
%42 = trunc i32 %41 to i8
store i8 %42, ptr %7, align 1
br label %43
43: ; preds = %27
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
br label %24, !llvm.loop !6
46: ; preds = %24
%47 = load ptr, ptr %5, align 8
ret ptr %47
}
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplofpnwjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BinString.mask = internal constant i8 -128, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @BinString(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %6, align 4
%14 = icmp sge i32 %13, 8
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %21)
%23 = load i8, ptr %4, align 1
store i8 %23, ptr %7, align 1
store i32 0, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %.lr.ph, label %47
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %42
%27 = load i8, ptr %7, align 1
%28 = zext i8 %27 to i32
%29 = and i32 128, %28
%30 = icmp eq i32 %29, 128
%31 = zext i1 %30 to i64
%32 = select i1 %30, i32 49, i32 48
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 %33, ptr %37, align 1
%38 = load i8, ptr %7, align 1
%39 = zext i8 %38 to i32
%40 = shl i32 %39, 1
%41 = trunc i32 %40 to i8
store i8 %41, ptr %7, align 1
br label %42
42: ; preds = %26
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %45, 8
br i1 %46, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %3
%48 = load ptr, ptr %5, align 8
ret ptr %48
}
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpge2k7yza.c'
source_filename = "/tmp/tmpge2k7yza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DrawReversed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %2, align 4
%7 = srem i32 %6, 10
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 10
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %5
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %5, label %14, !llvm.loop !6
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpge2k7yza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DrawReversed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %2, align 4
%7 = srem i32 %6, 10
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 10
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %5
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %5, label %14, !llvm.loop !6
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz065okws.c'
source_filename = "/tmp/tmpz065okws.c"
target datalayout = "e-m:e-p270: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/tmpz065okws.c"
target datalayout = "e-m:e-p270: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/tmpaspilv3w.c'
source_filename = "/tmp/tmpaspilv3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i32_i8_i8_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %15, i64 %17
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i64, ptr %22, i64 %25
%27 = load i64, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %28, i64 %30
store i64 %27, ptr %31, align 8
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaspilv3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i32_i8_i8_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i64, ptr %14, i64 %16
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i64, ptr %21, i64 %24
%26 = load i64, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
store i64 %26, ptr %30, align 8
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpctrf39_t.c'
source_filename = "/tmp/tmpctrf39_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DebugP_log3(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpctrf39_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DebugP_log3(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz1gs6174.c'
source_filename = "/tmp/tmpz1gs6174.c"
target datalayout = "e-m:e-p270: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.utmp = type { ptr, i32 }
@_PATH_WTMP = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Error opening file: %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Error reading from file: %s\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Login/logout from user %s at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.utmp, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @_PATH_WTMP, align 4
%10 = load i32, ptr @O_RDONLY, align 4
%11 = call i32 @open(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %45
19: ; preds = %2
br label %20
20: ; preds = %41, %19
%21 = load i32, ptr %6, align 4
%22 = call i32 @read(i32 noundef %21, ptr noundef %7, i32 noundef 16)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %28)
br label %42
30: ; preds = %20
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
br label %42
34: ; preds = %30
br label %35
35: ; preds = %34
%36 = getelementptr inbounds %struct.utmp, ptr %7, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds %struct.utmp, ptr %7, i32 0, i32 1
%39 = load i32, ptr %38, align 8
%40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %35
br i1 true, label %20, label %42
42: ; preds = %41, %33, %25
%43 = load i32, ptr %6, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %42, %14
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1gs6174.c"
target datalayout = "e-m:e-p270: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.utmp = type { ptr, i32 }
@_PATH_WTMP = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Error opening file: %s\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Error reading from file: %s\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Login/logout from user %s at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.utmp, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @_PATH_WTMP, align 4
%10 = load i32, ptr @O_RDONLY, align 4
%11 = call i32 @open(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %45
19: ; preds = %2
br label %20
20: ; preds = %41, %19
%21 = load i32, ptr %6, align 4
%22 = call i32 @read(i32 noundef %21, ptr noundef %7, i32 noundef 16)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %28)
br label %42
30: ; preds = %20
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
br label %42
34: ; preds = %30
br label %35
35: ; preds = %34
%36 = getelementptr inbounds %struct.utmp, ptr %7, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds %struct.utmp, ptr %7, i32 0, i32 1
%39 = load i32, ptr %38, align 8
%40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %35
br i1 true, label %20, label %.loopexit
.loopexit: ; preds = %41
br label %42
42: ; preds = %.loopexit, %33, %25
%43 = load i32, ptr %6, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %42, %14
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8l9w56w3.c'
source_filename = "/tmp/tmp8l9w56w3.c"
target datalayout = "e-m:e-p270: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/tmp8l9w56w3.c"
target datalayout = "e-m:e-p270: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/tmpi57kbhxj.c'
source_filename = "/tmp/tmpi57kbhxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"===============================\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"=== Encrypted === Decrypted ===\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"=== %5c%13c ===\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTable(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %26, %2
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 26
br i1 %11, label %12, label %29
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %24)
br label %26
26: ; preds = %12
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi57kbhxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"===============================\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"=== Encrypted === Decrypted ===\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"=== %5c%13c ===\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTable(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 26
br i1 %10, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %25
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %23)
br label %25
25: ; preds = %11
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %28, 26
br i1 %29, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
%31 = 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1ij_5rs9.c'
source_filename = "/tmp/tmp1ij_5rs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_NMI_Handler() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ij_5rs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_NMI_Handler() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50ssetk8.c'
source_filename = "/tmp/tmp50ssetk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convolve(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = mul nsw i32 %11, %12
store i32 %13, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = call i64 @all_equal(ptr noundef %14, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds double, ptr %19, i64 0
%21 = load double, ptr %20, align 8
store double %21, ptr %4, align 8
br label %51
22: ; preds = %3
store i32 0, ptr %10, align 4
br label %23
23: ; preds = %40, %22
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %43
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = load double, ptr %8, align 8
%39 = call double @llvm.fmuladd.f64(double %32, double %37, double %38)
store double %39, ptr %8, align 8
br label %40
40: ; preds = %27
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %10, align 4
br label %23, !llvm.loop !6
43: ; preds = %23
%44 = load i32, ptr %9, align 4
%45 = sitofp i32 %44 to double
%46 = load double, ptr %8, align 8
%47 = fdiv double %46, %45
store double %47, ptr %8, align 8
%48 = load double, ptr %8, align 8
%49 = call i32 @round(double noundef %48)
%50 = sitofp i32 %49 to double
store double %50, ptr %4, align 8
br label %51
51: ; preds = %43, %18
%52 = load double, ptr %4, align 8
ret double %52
}
declare i64 @all_equal(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @round(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50ssetk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convolve(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = mul nsw i32 %11, %12
store i32 %13, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = call i64 @all_equal(ptr noundef %14, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds double, ptr %19, i64 0
%21 = load double, ptr %20, align 8
store double %21, ptr %4, align 8
br label %53
22: ; preds = %3
store i32 0, ptr %10, align 4
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %39
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = load double, ptr %8, align 8
%38 = call double @llvm.fmuladd.f64(double %31, double %36, double %37)
store double %38, ptr %8, align 8
br label %39
39: ; preds = %26
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %22
%46 = load i32, ptr %9, align 4
%47 = sitofp i32 %46 to double
%48 = load double, ptr %8, align 8
%49 = fdiv double %48, %47
store double %49, ptr %8, align 8
%50 = load double, ptr %8, align 8
%51 = call i32 @round(double noundef %50)
%52 = sitofp i32 %51 to double
store double %52, ptr %4, align 8
br label %53
53: ; preds = %45, %18
%54 = load double, ptr %4, align 8
ret double %54
}
declare i64 @all_equal(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @round(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmglbvyvg.c'
source_filename = "/tmp/tmpmglbvyvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %5, align 4
%16 = trunc i32 %15 to i8
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %14, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %3, align 8
br label %25
21: ; preds = %11
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
br label %6, !llvm.loop !6
24: ; preds = %6
store ptr null, ptr %3, align 8
br label %25
25: ; preds = %24, %19
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpmglbvyvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = trunc i32 %14 to i8
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %13, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %3, align 8
br label %28
20: ; preds = %10
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %28
28: ; preds = %27, %18
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp1dbvkyzu.c'
source_filename = "/tmp/tmp1dbvkyzu.c"
target datalayout = "e-m:e-p270: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/tmp1dbvkyzu.c"
target datalayout = "e-m:e-p270: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/tmpj74kf5q2.c'
source_filename = "/tmp/tmpj74kf5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Choose what you want to do![a/b/c/d/e]\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c" a) Enter the daily work log.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" b) Enter the Weekly work log.\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"*c) Enter the Admin system.(ONLY the Admin can choose this one)\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" d) Change your Password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c" e) Exit and log out.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_menu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj74kf5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Choose what you want to do![a/b/c/d/e]\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c" a) Enter the daily work log.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" b) Enter the Weekly work log.\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"*c) Enter the Admin system.(ONLY the Admin can choose this one)\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" d) Change your Password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c" e) Exit and log out.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_menu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxdqklicm.c'
source_filename = "/tmp/tmpxdqklicm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashbig(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
br label %20
20: ; preds = %23, %3
%21 = load i64, ptr %6, align 8
%22 = icmp ugt i64 %21, 12
br i1 %22, label %23, label %187
23: ; preds = %20
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds i64, ptr %24, i64 0
%26 = load i64, ptr %25, align 8
%27 = trunc i64 %26 to i32
%28 = shl i32 %27, 24
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %8, align 4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds i64, ptr %31, i64 1
%33 = load i64, ptr %32, align 8
%34 = trunc i64 %33 to i32
%35 = shl i32 %34, 16
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, %35
store i32 %37, ptr %8, align 4
%38 = load ptr, ptr %12, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 2
%40 = load i64, ptr %39, align 8
%41 = trunc i64 %40 to i32
%42 = shl i32 %41, 8
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %8, align 4
%45 = load ptr, ptr %12, align 8
%46 = getelementptr inbounds i64, ptr %45, i64 3
%47 = load i64, ptr %46, align 8
%48 = trunc i64 %47 to i32
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %8, align 4
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i64, ptr %51, i64 4
%53 = load i64, ptr %52, align 8
%54 = trunc i64 %53 to i32
%55 = shl i32 %54, 24
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %9, align 4
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds i64, ptr %58, i64 5
%60 = load i64, ptr %59, align 8
%61 = trunc i64 %60 to i32
%62 = shl i32 %61, 16
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, %62
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %12, align 8
%66 = getelementptr inbounds i64, ptr %65, i64 6
%67 = load i64, ptr %66, align 8
%68 = trunc i64 %67 to i32
%69 = shl i32 %68, 8
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, %69
store i32 %71, ptr %9, align 4
%72 = load ptr, ptr %12, align 8
%73 = getelementptr inbounds i64, ptr %72, i64 7
%74 = load i64, ptr %73, align 8
%75 = trunc i64 %74 to i32
%76 = load i32, ptr %9, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %9, align 4
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds i64, ptr %78, i64 8
%80 = load i64, ptr %79, align 8
%81 = trunc i64 %80 to i32
%82 = shl i32 %81, 24
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, %82
store i32 %84, ptr %10, align 4
%85 = load ptr, ptr %12, align 8
%86 = getelementptr inbounds i64, ptr %85, i64 9
%87 = load i64, ptr %86, align 8
%88 = trunc i64 %87 to i32
%89 = shl i32 %88, 16
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %10, align 4
%92 = load ptr, ptr %12, align 8
%93 = getelementptr inbounds i64, ptr %92, i64 10
%94 = load i64, ptr %93, align 8
%95 = trunc i64 %94 to i32
%96 = shl i32 %95, 8
%97 = load i32, ptr %10, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %10, align 4
%99 = load ptr, ptr %12, align 8
%100 = getelementptr inbounds i64, ptr %99, i64 11
%101 = load i64, ptr %100, align 8
%102 = trunc i64 %101 to i32
%103 = load i32, ptr %10, align 4
%104 = add nsw i32 %103, %102
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %10, align 4
%106 = load i32, ptr %8, align 4
%107 = sub nsw i32 %106, %105
store i32 %107, ptr %8, align 4
%108 = load i32, ptr %10, align 4
%109 = shl i32 %108, 4
%110 = load i32, ptr %10, align 4
%111 = ashr i32 %110, 28
%112 = or i32 %109, %111
%113 = load i32, ptr %8, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %8, align 4
%115 = load i32, ptr %9, align 4
%116 = load i32, ptr %10, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %10, align 4
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %9, align 4
%120 = sub nsw i32 %119, %118
store i32 %120, ptr %9, align 4
%121 = load i32, ptr %8, align 4
%122 = shl i32 %121, 6
%123 = load i32, ptr %8, align 4
%124 = ashr i32 %123, 26
%125 = or i32 %122, %124
%126 = load i32, ptr %9, align 4
%127 = xor i32 %126, %125
store i32 %127, ptr %9, align 4
%128 = load i32, ptr %10, align 4
%129 = load i32, ptr %8, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %8, align 4
%131 = load i32, ptr %9, align 4
%132 = load i32, ptr %10, align 4
%133 = sub nsw i32 %132, %131
store i32 %133, ptr %10, align 4
%134 = load i32, ptr %9, align 4
%135 = shl i32 %134, 8
%136 = load i32, ptr %9, align 4
%137 = ashr i32 %136, 24
%138 = or i32 %135, %137
%139 = load i32, ptr %10, align 4
%140 = xor i32 %139, %138
store i32 %140, ptr %10, align 4
%141 = load i32, ptr %8, align 4
%142 = load i32, ptr %9, align 4
%143 = add nsw i32 %142, %141
store i32 %143, ptr %9, align 4
%144 = load i32, ptr %10, align 4
%145 = load i32, ptr %8, align 4
%146 = sub nsw i32 %145, %144
store i32 %146, ptr %8, align 4
%147 = load i32, ptr %10, align 4
%148 = shl i32 %147, 16
%149 = load i32, ptr %10, align 4
%150 = ashr i32 %149, 16
%151 = or i32 %148, %150
%152 = load i32, ptr %8, align 4
%153 = xor i32 %152, %151
store i32 %153, ptr %8, align 4
%154 = load i32, ptr %9, align 4
%155 = load i32, ptr %10, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %10, align 4
%157 = load i32, ptr %8, align 4
%158 = load i32, ptr %9, align 4
%159 = sub nsw i32 %158, %157
store i32 %159, ptr %9, align 4
%160 = load i32, ptr %8, align 4
%161 = shl i32 %160, 19
%162 = load i32, ptr %8, align 4
%163 = ashr i32 %162, 13
%164 = or i32 %161, %163
%165 = load i32, ptr %9, align 4
%166 = xor i32 %165, %164
store i32 %166, ptr %9, align 4
%167 = load i32, ptr %10, align 4
%168 = load i32, ptr %8, align 4
%169 = add nsw i32 %168, %167
store i32 %169, ptr %8, align 4
%170 = load i32, ptr %9, align 4
%171 = load i32, ptr %10, align 4
%172 = sub nsw i32 %171, %170
store i32 %172, ptr %10, align 4
%173 = load i32, ptr %9, align 4
%174 = shl i32 %173, 4
%175 = load i32, ptr %9, align 4
%176 = ashr i32 %175, 28
%177 = or i32 %174, %176
%178 = load i32, ptr %10, align 4
%179 = xor i32 %178, %177
store i32 %179, ptr %10, align 4
%180 = load i32, ptr %8, align 4
%181 = load i32, ptr %9, align 4
%182 = add nsw i32 %181, %180
store i32 %182, ptr %9, align 4
%183 = load i64, ptr %6, align 8
%184 = sub i64 %183, 12
store i64 %184, ptr %6, align 8
%185 = load ptr, ptr %12, align 8
%186 = getelementptr inbounds i64, ptr %185, i64 12
store ptr %186, ptr %12, align 8
br label %20, !llvm.loop !6
187: ; preds = %20
%188 = load i64, ptr %6, align 8
switch i64 %188, label %287 [
i64 12, label %189
i64 11, label %197
i64 10, label %205
i64 9, label %213
i64 8, label %221
i64 7, label %229
i64 6, label %237
i64 5, label %245
i64 4, label %253
i64 3, label %261
i64 2, label %269
i64 1, label %277
i64 0, label %285
]
189: ; preds = %187
%190 = load ptr, ptr %12, align 8
%191 = getelementptr inbounds i64, ptr %190, i64 11
%192 = load i64, ptr %191, align 8
%193 = load i32, ptr %10, align 4
%194 = sext i32 %193 to i64
%195 = add nsw i64 %194, %192
%196 = trunc i64 %195 to i32
store i32 %196, ptr %10, align 4
br label %197
197: ; preds = %187, %189
%198 = load ptr, ptr %12, align 8
%199 = getelementptr inbounds i64, ptr %198, i64 10
%200 = load i64, ptr %199, align 8
%201 = trunc i64 %200 to i32
%202 = shl i32 %201, 8
%203 = load i32, ptr %10, align 4
%204 = add nsw i32 %203, %202
store i32 %204, ptr %10, align 4
br label %205
205: ; preds = %187, %197
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds i64, ptr %206, i64 9
%208 = load i64, ptr %207, align 8
%209 = trunc i64 %208 to i32
%210 = shl i32 %209, 16
%211 = load i32, ptr %10, align 4
%212 = add nsw i32 %211, %210
store i32 %212, ptr %10, align 4
br label %213
213: ; preds = %187, %205
%214 = load ptr, ptr %12, align 8
%215 = getelementptr inbounds i64, ptr %214, i64 8
%216 = load i64, ptr %215, align 8
%217 = trunc i64 %216 to i32
%218 = shl i32 %217, 24
%219 = load i32, ptr %10, align 4
%220 = add nsw i32 %219, %218
store i32 %220, ptr %10, align 4
br label %221
221: ; preds = %187, %213
%222 = load ptr, ptr %12, align 8
%223 = getelementptr inbounds i64, ptr %222, i64 7
%224 = load i64, ptr %223, align 8
%225 = load i32, ptr %9, align 4
%226 = sext i32 %225 to i64
%227 = add nsw i64 %226, %224
%228 = trunc i64 %227 to i32
store i32 %228, ptr %9, align 4
br label %229
229: ; preds = %187, %221
%230 = load ptr, ptr %12, align 8
%231 = getelementptr inbounds i64, ptr %230, i64 6
%232 = load i64, ptr %231, align 8
%233 = trunc i64 %232 to i32
%234 = shl i32 %233, 8
%235 = load i32, ptr %9, align 4
%236 = add nsw i32 %235, %234
store i32 %236, ptr %9, align 4
br label %237
237: ; preds = %187, %229
%238 = load ptr, ptr %12, align 8
%239 = getelementptr inbounds i64, ptr %238, i64 5
%240 = load i64, ptr %239, align 8
%241 = trunc i64 %240 to i32
%242 = shl i32 %241, 16
%243 = load i32, ptr %9, align 4
%244 = add nsw i32 %243, %242
store i32 %244, ptr %9, align 4
br label %245
245: ; preds = %187, %237
%246 = load ptr, ptr %12, align 8
%247 = getelementptr inbounds i64, ptr %246, i64 4
%248 = load i64, ptr %247, align 8
%249 = trunc i64 %248 to i32
%250 = shl i32 %249, 24
%251 = load i32, ptr %9, align 4
%252 = add nsw i32 %251, %250
store i32 %252, ptr %9, align 4
br label %253
253: ; preds = %187, %245
%254 = load ptr, ptr %12, align 8
%255 = getelementptr inbounds i64, ptr %254, i64 3
%256 = load i64, ptr %255, align 8
%257 = load i32, ptr %8, align 4
%258 = sext i32 %257 to i64
%259 = add nsw i64 %258, %256
%260 = trunc i64 %259 to i32
store i32 %260, ptr %8, align 4
br label %261
261: ; preds = %187, %253
%262 = load ptr, ptr %12, align 8
%263 = getelementptr inbounds i64, ptr %262, i64 2
%264 = load i64, ptr %263, align 8
%265 = trunc i64 %264 to i32
%266 = shl i32 %265, 8
%267 = load i32, ptr %8, align 4
%268 = add nsw i32 %267, %266
store i32 %268, ptr %8, align 4
br label %269
269: ; preds = %187, %261
%270 = load ptr, ptr %12, align 8
%271 = getelementptr inbounds i64, ptr %270, i64 1
%272 = load i64, ptr %271, align 8
%273 = trunc i64 %272 to i32
%274 = shl i32 %273, 16
%275 = load i32, ptr %8, align 4
%276 = add nsw i32 %275, %274
store i32 %276, ptr %8, align 4
br label %277
277: ; preds = %187, %269
%278 = load ptr, ptr %12, align 8
%279 = getelementptr inbounds i64, ptr %278, i64 0
%280 = load i64, ptr %279, align 8
%281 = trunc i64 %280 to i32
%282 = shl i32 %281, 24
%283 = load i32, ptr %8, align 4
%284 = add nsw i32 %283, %282
store i32 %284, ptr %8, align 4
br label %287
285: ; preds = %187
%286 = load i32, ptr %10, align 4
store i32 %286, ptr %4, align 4
br label %359
287: ; preds = %187, %277
%288 = load i32, ptr %9, align 4
%289 = load i32, ptr %10, align 4
%290 = xor i32 %289, %288
store i32 %290, ptr %10, align 4
%291 = load i32, ptr %9, align 4
%292 = shl i32 %291, 14
%293 = load i32, ptr %9, align 4
%294 = ashr i32 %293, 18
%295 = or i32 %292, %294
%296 = load i32, ptr %10, align 4
%297 = sub nsw i32 %296, %295
store i32 %297, ptr %10, align 4
%298 = load i32, ptr %10, align 4
%299 = load i32, ptr %8, align 4
%300 = xor i32 %299, %298
store i32 %300, ptr %8, align 4
%301 = load i32, ptr %10, align 4
%302 = shl i32 %301, 11
%303 = load i32, ptr %10, align 4
%304 = ashr i32 %303, 21
%305 = or i32 %302, %304
%306 = load i32, ptr %8, align 4
%307 = sub nsw i32 %306, %305
store i32 %307, ptr %8, align 4
%308 = load i32, ptr %8, align 4
%309 = load i32, ptr %9, align 4
%310 = xor i32 %309, %308
store i32 %310, ptr %9, align 4
%311 = load i32, ptr %8, align 4
%312 = shl i32 %311, 25
%313 = load i32, ptr %8, align 4
%314 = ashr i32 %313, 7
%315 = or i32 %312, %314
%316 = load i32, ptr %9, align 4
%317 = sub nsw i32 %316, %315
store i32 %317, ptr %9, align 4
%318 = load i32, ptr %9, align 4
%319 = load i32, ptr %10, align 4
%320 = xor i32 %319, %318
store i32 %320, ptr %10, align 4
%321 = load i32, ptr %9, align 4
%322 = shl i32 %321, 16
%323 = load i32, ptr %9, align 4
%324 = ashr i32 %323, 16
%325 = or i32 %322, %324
%326 = load i32, ptr %10, align 4
%327 = sub nsw i32 %326, %325
store i32 %327, ptr %10, align 4
%328 = load i32, ptr %10, align 4
%329 = load i32, ptr %8, align 4
%330 = xor i32 %329, %328
store i32 %330, ptr %8, align 4
%331 = load i32, ptr %10, align 4
%332 = shl i32 %331, 4
%333 = load i32, ptr %10, align 4
%334 = ashr i32 %333, 28
%335 = or i32 %332, %334
%336 = load i32, ptr %8, align 4
%337 = sub nsw i32 %336, %335
store i32 %337, ptr %8, align 4
%338 = load i32, ptr %8, align 4
%339 = load i32, ptr %9, align 4
%340 = xor i32 %339, %338
store i32 %340, ptr %9, align 4
%341 = load i32, ptr %8, align 4
%342 = shl i32 %341, 14
%343 = load i32, ptr %8, align 4
%344 = ashr i32 %343, 18
%345 = or i32 %342, %344
%346 = load i32, ptr %9, align 4
%347 = sub nsw i32 %346, %345
store i32 %347, ptr %9, align 4
%348 = load i32, ptr %9, align 4
%349 = load i32, ptr %10, align 4
%350 = xor i32 %349, %348
store i32 %350, ptr %10, align 4
%351 = load i32, ptr %9, align 4
%352 = shl i32 %351, 24
%353 = load i32, ptr %9, align 4
%354 = ashr i32 %353, 8
%355 = or i32 %352, %354
%356 = load i32, ptr %10, align 4
%357 = sub nsw i32 %356, %355
store i32 %357, ptr %10, align 4
%358 = load i32, ptr %10, align 4
store i32 %358, ptr %4, align 4
br label %359
359: ; preds = %287, %285
%360 = load i32, ptr %4, align 4
ret i32 %360
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxdqklicm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashbig(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %20, 12
br i1 %21, label %.lr.ph, label %188
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %12, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 0
%25 = load i64, ptr %24, align 8
%26 = trunc i64 %25 to i32
%27 = shl i32 %26, 24
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds i64, ptr %30, i64 1
%32 = load i64, ptr %31, align 8
%33 = trunc i64 %32 to i32
%34 = shl i32 %33, 16
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %12, align 8
%38 = getelementptr inbounds i64, ptr %37, i64 2
%39 = load i64, ptr %38, align 8
%40 = trunc i64 %39 to i32
%41 = shl i32 %40, 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, %41
store i32 %43, ptr %8, align 4
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds i64, ptr %44, i64 3
%46 = load i64, ptr %45, align 8
%47 = trunc i64 %46 to i32
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %8, align 4
%50 = load ptr, ptr %12, align 8
%51 = getelementptr inbounds i64, ptr %50, i64 4
%52 = load i64, ptr %51, align 8
%53 = trunc i64 %52 to i32
%54 = shl i32 %53, 24
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, %54
store i32 %56, ptr %9, align 4
%57 = load ptr, ptr %12, align 8
%58 = getelementptr inbounds i64, ptr %57, i64 5
%59 = load i64, ptr %58, align 8
%60 = trunc i64 %59 to i32
%61 = shl i32 %60, 16
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %9, align 4
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 6
%66 = load i64, ptr %65, align 8
%67 = trunc i64 %66 to i32
%68 = shl i32 %67, 8
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %9, align 4
%71 = load ptr, ptr %12, align 8
%72 = getelementptr inbounds i64, ptr %71, i64 7
%73 = load i64, ptr %72, align 8
%74 = trunc i64 %73 to i32
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %9, align 4
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds i64, ptr %77, i64 8
%79 = load i64, ptr %78, align 8
%80 = trunc i64 %79 to i32
%81 = shl i32 %80, 24
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %10, align 4
%84 = load ptr, ptr %12, align 8
%85 = getelementptr inbounds i64, ptr %84, i64 9
%86 = load i64, ptr %85, align 8
%87 = trunc i64 %86 to i32
%88 = shl i32 %87, 16
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, %88
store i32 %90, ptr %10, align 4
%91 = load ptr, ptr %12, align 8
%92 = getelementptr inbounds i64, ptr %91, i64 10
%93 = load i64, ptr %92, align 8
%94 = trunc i64 %93 to i32
%95 = shl i32 %94, 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %10, align 4
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds i64, ptr %98, i64 11
%100 = load i64, ptr %99, align 8
%101 = trunc i64 %100 to i32
%102 = load i32, ptr %10, align 4
%103 = add nsw i32 %102, %101
store i32 %103, ptr %10, align 4
%104 = load i32, ptr %10, align 4
%105 = load i32, ptr %8, align 4
%106 = sub nsw i32 %105, %104
store i32 %106, ptr %8, align 4
%107 = load i32, ptr %10, align 4
%108 = shl i32 %107, 4
%109 = load i32, ptr %10, align 4
%110 = ashr i32 %109, 28
%111 = or i32 %108, %110
%112 = load i32, ptr %8, align 4
%113 = xor i32 %112, %111
store i32 %113, ptr %8, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = add nsw i32 %115, %114
store i32 %116, ptr %10, align 4
%117 = load i32, ptr %8, align 4
%118 = load i32, ptr %9, align 4
%119 = sub nsw i32 %118, %117
store i32 %119, ptr %9, align 4
%120 = load i32, ptr %8, align 4
%121 = shl i32 %120, 6
%122 = load i32, ptr %8, align 4
%123 = ashr i32 %122, 26
%124 = or i32 %121, %123
%125 = load i32, ptr %9, align 4
%126 = xor i32 %125, %124
store i32 %126, ptr %9, align 4
%127 = load i32, ptr %10, align 4
%128 = load i32, ptr %8, align 4
%129 = add nsw i32 %128, %127
store i32 %129, ptr %8, align 4
%130 = load i32, ptr %9, align 4
%131 = load i32, ptr %10, align 4
%132 = sub nsw i32 %131, %130
store i32 %132, ptr %10, align 4
%133 = load i32, ptr %9, align 4
%134 = shl i32 %133, 8
%135 = load i32, ptr %9, align 4
%136 = ashr i32 %135, 24
%137 = or i32 %134, %136
%138 = load i32, ptr %10, align 4
%139 = xor i32 %138, %137
store i32 %139, ptr %10, align 4
%140 = load i32, ptr %8, align 4
%141 = load i32, ptr %9, align 4
%142 = add nsw i32 %141, %140
store i32 %142, ptr %9, align 4
%143 = load i32, ptr %10, align 4
%144 = load i32, ptr %8, align 4
%145 = sub nsw i32 %144, %143
store i32 %145, ptr %8, align 4
%146 = load i32, ptr %10, align 4
%147 = shl i32 %146, 16
%148 = load i32, ptr %10, align 4
%149 = ashr i32 %148, 16
%150 = or i32 %147, %149
%151 = load i32, ptr %8, align 4
%152 = xor i32 %151, %150
store i32 %152, ptr %8, align 4
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %154, %153
store i32 %155, ptr %10, align 4
%156 = load i32, ptr %8, align 4
%157 = load i32, ptr %9, align 4
%158 = sub nsw i32 %157, %156
store i32 %158, ptr %9, align 4
%159 = load i32, ptr %8, align 4
%160 = shl i32 %159, 19
%161 = load i32, ptr %8, align 4
%162 = ashr i32 %161, 13
%163 = or i32 %160, %162
%164 = load i32, ptr %9, align 4
%165 = xor i32 %164, %163
store i32 %165, ptr %9, align 4
%166 = load i32, ptr %10, align 4
%167 = load i32, ptr %8, align 4
%168 = add nsw i32 %167, %166
store i32 %168, ptr %8, align 4
%169 = load i32, ptr %9, align 4
%170 = load i32, ptr %10, align 4
%171 = sub nsw i32 %170, %169
store i32 %171, ptr %10, align 4
%172 = load i32, ptr %9, align 4
%173 = shl i32 %172, 4
%174 = load i32, ptr %9, align 4
%175 = ashr i32 %174, 28
%176 = or i32 %173, %175
%177 = load i32, ptr %10, align 4
%178 = xor i32 %177, %176
store i32 %178, ptr %10, align 4
%179 = load i32, ptr %8, align 4
%180 = load i32, ptr %9, align 4
%181 = add nsw i32 %180, %179
store i32 %181, ptr %9, align 4
%182 = load i64, ptr %6, align 8
%183 = sub i64 %182, 12
store i64 %183, ptr %6, align 8
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds i64, ptr %184, i64 12
store ptr %185, ptr %12, align 8
%186 = load i64, ptr %6, align 8
%187 = icmp ugt i64 %186, 12
br i1 %187, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %188
188: ; preds = %._crit_edge, %3
%189 = load i64, ptr %6, align 8
switch i64 %189, label %288 [
i64 12, label %190
i64 11, label %198
i64 10, label %206
i64 9, label %214
i64 8, label %222
i64 7, label %230
i64 6, label %238
i64 5, label %246
i64 4, label %254
i64 3, label %262
i64 2, label %270
i64 1, label %278
i64 0, label %286
]
190: ; preds = %188
%191 = load ptr, ptr %12, align 8
%192 = getelementptr inbounds i64, ptr %191, i64 11
%193 = load i64, ptr %192, align 8
%194 = load i32, ptr %10, align 4
%195 = sext i32 %194 to i64
%196 = add nsw i64 %195, %193
%197 = trunc i64 %196 to i32
store i32 %197, ptr %10, align 4
br label %198
198: ; preds = %190, %188
%199 = load ptr, ptr %12, align 8
%200 = getelementptr inbounds i64, ptr %199, i64 10
%201 = load i64, ptr %200, align 8
%202 = trunc i64 %201 to i32
%203 = shl i32 %202, 8
%204 = load i32, ptr %10, align 4
%205 = add nsw i32 %204, %203
store i32 %205, ptr %10, align 4
br label %206
206: ; preds = %198, %188
%207 = load ptr, ptr %12, align 8
%208 = getelementptr inbounds i64, ptr %207, i64 9
%209 = load i64, ptr %208, align 8
%210 = trunc i64 %209 to i32
%211 = shl i32 %210, 16
%212 = load i32, ptr %10, align 4
%213 = add nsw i32 %212, %211
store i32 %213, ptr %10, align 4
br label %214
214: ; preds = %206, %188
%215 = load ptr, ptr %12, align 8
%216 = getelementptr inbounds i64, ptr %215, i64 8
%217 = load i64, ptr %216, align 8
%218 = trunc i64 %217 to i32
%219 = shl i32 %218, 24
%220 = load i32, ptr %10, align 4
%221 = add nsw i32 %220, %219
store i32 %221, ptr %10, align 4
br label %222
222: ; preds = %214, %188
%223 = load ptr, ptr %12, align 8
%224 = getelementptr inbounds i64, ptr %223, i64 7
%225 = load i64, ptr %224, align 8
%226 = load i32, ptr %9, align 4
%227 = sext i32 %226 to i64
%228 = add nsw i64 %227, %225
%229 = trunc i64 %228 to i32
store i32 %229, ptr %9, align 4
br label %230
230: ; preds = %222, %188
%231 = load ptr, ptr %12, align 8
%232 = getelementptr inbounds i64, ptr %231, i64 6
%233 = load i64, ptr %232, align 8
%234 = trunc i64 %233 to i32
%235 = shl i32 %234, 8
%236 = load i32, ptr %9, align 4
%237 = add nsw i32 %236, %235
store i32 %237, ptr %9, align 4
br label %238
238: ; preds = %230, %188
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds i64, ptr %239, i64 5
%241 = load i64, ptr %240, align 8
%242 = trunc i64 %241 to i32
%243 = shl i32 %242, 16
%244 = load i32, ptr %9, align 4
%245 = add nsw i32 %244, %243
store i32 %245, ptr %9, align 4
br label %246
246: ; preds = %238, %188
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds i64, ptr %247, i64 4
%249 = load i64, ptr %248, align 8
%250 = trunc i64 %249 to i32
%251 = shl i32 %250, 24
%252 = load i32, ptr %9, align 4
%253 = add nsw i32 %252, %251
store i32 %253, ptr %9, align 4
br label %254
254: ; preds = %246, %188
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds i64, ptr %255, i64 3
%257 = load i64, ptr %256, align 8
%258 = load i32, ptr %8, align 4
%259 = sext i32 %258 to i64
%260 = add nsw i64 %259, %257
%261 = trunc i64 %260 to i32
store i32 %261, ptr %8, align 4
br label %262
262: ; preds = %254, %188
%263 = load ptr, ptr %12, align 8
%264 = getelementptr inbounds i64, ptr %263, i64 2
%265 = load i64, ptr %264, align 8
%266 = trunc i64 %265 to i32
%267 = shl i32 %266, 8
%268 = load i32, ptr %8, align 4
%269 = add nsw i32 %268, %267
store i32 %269, ptr %8, align 4
br label %270
270: ; preds = %262, %188
%271 = load ptr, ptr %12, align 8
%272 = getelementptr inbounds i64, ptr %271, i64 1
%273 = load i64, ptr %272, align 8
%274 = trunc i64 %273 to i32
%275 = shl i32 %274, 16
%276 = load i32, ptr %8, align 4
%277 = add nsw i32 %276, %275
store i32 %277, ptr %8, align 4
br label %278
278: ; preds = %270, %188
%279 = load ptr, ptr %12, align 8
%280 = getelementptr inbounds i64, ptr %279, i64 0
%281 = load i64, ptr %280, align 8
%282 = trunc i64 %281 to i32
%283 = shl i32 %282, 24
%284 = load i32, ptr %8, align 4
%285 = add nsw i32 %284, %283
store i32 %285, ptr %8, align 4
br label %288
286: ; preds = %188
%287 = load i32, ptr %10, align 4
store i32 %287, ptr %4, align 4
br label %360
288: ; preds = %278, %188
%289 = load i32, ptr %9, align 4
%290 = load i32, ptr %10, align 4
%291 = xor i32 %290, %289
store i32 %291, ptr %10, align 4
%292 = load i32, ptr %9, align 4
%293 = shl i32 %292, 14
%294 = load i32, ptr %9, align 4
%295 = ashr i32 %294, 18
%296 = or i32 %293, %295
%297 = load i32, ptr %10, align 4
%298 = sub nsw i32 %297, %296
store i32 %298, ptr %10, align 4
%299 = load i32, ptr %10, align 4
%300 = load i32, ptr %8, align 4
%301 = xor i32 %300, %299
store i32 %301, ptr %8, align 4
%302 = load i32, ptr %10, align 4
%303 = shl i32 %302, 11
%304 = load i32, ptr %10, align 4
%305 = ashr i32 %304, 21
%306 = or i32 %303, %305
%307 = load i32, ptr %8, align 4
%308 = sub nsw i32 %307, %306
store i32 %308, ptr %8, align 4
%309 = load i32, ptr %8, align 4
%310 = load i32, ptr %9, align 4
%311 = xor i32 %310, %309
store i32 %311, ptr %9, align 4
%312 = load i32, ptr %8, align 4
%313 = shl i32 %312, 25
%314 = load i32, ptr %8, align 4
%315 = ashr i32 %314, 7
%316 = or i32 %313, %315
%317 = load i32, ptr %9, align 4
%318 = sub nsw i32 %317, %316
store i32 %318, ptr %9, align 4
%319 = load i32, ptr %9, align 4
%320 = load i32, ptr %10, align 4
%321 = xor i32 %320, %319
store i32 %321, ptr %10, align 4
%322 = load i32, ptr %9, align 4
%323 = shl i32 %322, 16
%324 = load i32, ptr %9, align 4
%325 = ashr i32 %324, 16
%326 = or i32 %323, %325
%327 = load i32, ptr %10, align 4
%328 = sub nsw i32 %327, %326
store i32 %328, ptr %10, align 4
%329 = load i32, ptr %10, align 4
%330 = load i32, ptr %8, align 4
%331 = xor i32 %330, %329
store i32 %331, ptr %8, align 4
%332 = load i32, ptr %10, align 4
%333 = shl i32 %332, 4
%334 = load i32, ptr %10, align 4
%335 = ashr i32 %334, 28
%336 = or i32 %333, %335
%337 = load i32, ptr %8, align 4
%338 = sub nsw i32 %337, %336
store i32 %338, ptr %8, align 4
%339 = load i32, ptr %8, align 4
%340 = load i32, ptr %9, align 4
%341 = xor i32 %340, %339
store i32 %341, ptr %9, align 4
%342 = load i32, ptr %8, align 4
%343 = shl i32 %342, 14
%344 = load i32, ptr %8, align 4
%345 = ashr i32 %344, 18
%346 = or i32 %343, %345
%347 = load i32, ptr %9, align 4
%348 = sub nsw i32 %347, %346
store i32 %348, ptr %9, align 4
%349 = load i32, ptr %9, align 4
%350 = load i32, ptr %10, align 4
%351 = xor i32 %350, %349
store i32 %351, ptr %10, align 4
%352 = load i32, ptr %9, align 4
%353 = shl i32 %352, 24
%354 = load i32, ptr %9, align 4
%355 = ashr i32 %354, 8
%356 = or i32 %353, %355
%357 = load i32, ptr %10, align 4
%358 = sub nsw i32 %357, %356
store i32 %358, ptr %10, align 4
%359 = load i32, ptr %10, align 4
store i32 %359, ptr %4, align 4
br label %360
360: ; preds = %288, %286
%361 = load i32, ptr %4, align 4
ret i32 %361
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgoto8s34.c'
source_filename = "/tmp/tmpgoto8s34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"\0CAttenzione, input non valido\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0CDato inserito non supportato\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0CData Errata\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0CNumero errore non valido\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stampaErrori(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
br label %21
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
br label %20
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
br label %19
17: ; preds = %12
%18 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %10
br label %21
21: ; preds = %20, %5
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/tmpgoto8s34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"\0CAttenzione, input non valido\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0CDato inserito non supportato\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0CData Errata\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0CNumero errore non valido\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stampaErrori(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
br label %21
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
br label %20
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
br label %19
17: ; preds = %12
%18 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %10
br label %21
21: ; preds = %20, %5
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/tmpyh1wpngy.c'
source_filename = "/tmp/tmpyh1wpngy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"linux world\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"checking success\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"test succeed\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"ssh\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"sdn world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyh1wpngy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"linux world\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"checking success\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"test succeed\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"ssh\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"sdn world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8olcrcfd.c'
source_filename = "/tmp/tmp8olcrcfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"helloworldyyyyyxxxx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #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/tmp8olcrcfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"helloworldyyyyyxxxx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #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/tmp7mqk0c4h.c'
source_filename = "/tmp/tmp7mqk0c4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 4, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %25, %0
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
%29 = load i32, ptr @INT_MIN, align 4
store i32 %29, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %49, %28
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %52
34: ; preds = %30
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %48
42: ; preds = %34
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %6, align 4
br label %48
48: ; preds = %42, %34
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %30, !llvm.loop !8
52: ; preds = %30
store i32 0, ptr %8, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp sgt i32 %53, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %3, align 4
%59 = sub nsw i32 %57, %58
store i32 %59, ptr %8, align 4
br label %60
60: ; preds = %56, %52
%61 = load i32, ptr %8, align 4
%62 = call i32 @printf(ptr noundef @.str.2, i32 noundef %61)
%63 = load i32, ptr %8, align 4
ret i32 %63
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7mqk0c4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 4, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %4, align 8
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %24
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %18
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i32, ptr @INT_MIN, align 4
store i32 %31, ptr %6, align 4
store i32 0, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %56
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %50
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %49
43: ; preds = %35
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %43, %35
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %30
store i32 0, ptr %8, align 4
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %64
60: ; preds = %56
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %3, align 4
%63 = sub nsw i32 %61, %62
store i32 %63, ptr %8, align 4
br label %64
64: ; preds = %60, %56
%65 = load i32, ptr %8, align 4
%66 = call i32 @printf(ptr noundef @.str.2, i32 noundef %65)
%67 = load i32, ptr %8, align 4
ret i32 %67
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppifhfieo.c'
source_filename = "/tmp/tmppifhfieo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr2Operands(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %11, align 4
%14 = icmp eq i32 %13, 13
br i1 %14, label %15, label %26
15: ; preds = %6
%16 = load i32, ptr %12, align 4
%17 = call i64 @truncUint(i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, 9
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %26
25: ; preds = %22, %19
br label %74
26: ; preds = %22, %15, %6
%27 = load i32, ptr %11, align 4
%28 = icmp eq i32 %27, 13
br i1 %28, label %29, label %62
29: ; preds = %26
%30 = load i32, ptr %12, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load i32, ptr %12, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %62
35: ; preds = %32, %29
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, 9
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %41, label %62
41: ; preds = %38, %35
%42 = load i32, ptr %12, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %7, align 4
%46 = icmp eq i32 %45, 9
br i1 %46, label %53, label %47
47: ; preds = %44, %41
%48 = load i32, ptr %12, align 4
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %51, 10
br i1 %52, label %53, label %55
53: ; preds = %50, %44
%54 = call i32 @GenPrintInstr(i32 noundef 7, i32 noundef 0)
br label %57
55: ; preds = %50, %47
%56 = call i32 @GenPrintInstr(i32 noundef 8, i32 noundef 0)
br label %57
57: ; preds = %55, %53
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %10, align 4
%60 = call i32 @GenPrintOperand(i32 noundef %58, i32 noundef %59)
%61 = call i32 (...) @GenPrintNewLine()
br label %74
62: ; preds = %38, %32, %26
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %8, align 4
%65 = call i32 @GenPrintInstr(i32 noundef %63, i32 noundef %64)
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %10, align 4
%68 = call i32 @GenPrintOperand(i32 noundef %66, i32 noundef %67)
%69 = call i32 (...) @GenPrintOperandSeparator()
%70 = load i32, ptr %11, align 4
%71 = load i32, ptr %12, align 4
%72 = call i32 @GenPrintOperand(i32 noundef %70, i32 noundef %71)
%73 = call i32 (...) @GenPrintNewLine()
br label %74
74: ; preds = %62, %57, %25
ret void
}
declare i64 @truncUint(i32 noundef) #1
declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1
declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1
declare i32 @GenPrintNewLine(...) #1
declare i32 @GenPrintOperandSeparator(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppifhfieo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr2Operands(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %11, align 4
%14 = icmp eq i32 %13, 13
br i1 %14, label %15, label %26
15: ; preds = %6
%16 = load i32, ptr %12, align 4
%17 = call i64 @truncUint(i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, 9
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %26
25: ; preds = %22, %19
br label %74
26: ; preds = %22, %15, %6
%27 = load i32, ptr %11, align 4
%28 = icmp eq i32 %27, 13
br i1 %28, label %29, label %62
29: ; preds = %26
%30 = load i32, ptr %12, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load i32, ptr %12, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %62
35: ; preds = %32, %29
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, 9
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %41, label %62
41: ; preds = %38, %35
%42 = load i32, ptr %12, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %7, align 4
%46 = icmp eq i32 %45, 9
br i1 %46, label %53, label %47
47: ; preds = %44, %41
%48 = load i32, ptr %12, align 4
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %51, 10
br i1 %52, label %53, label %55
53: ; preds = %50, %44
%54 = call i32 @GenPrintInstr(i32 noundef 7, i32 noundef 0)
br label %57
55: ; preds = %50, %47
%56 = call i32 @GenPrintInstr(i32 noundef 8, i32 noundef 0)
br label %57
57: ; preds = %55, %53
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %10, align 4
%60 = call i32 @GenPrintOperand(i32 noundef %58, i32 noundef %59)
%61 = call i32 (...) @GenPrintNewLine()
br label %74
62: ; preds = %38, %32, %26
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %8, align 4
%65 = call i32 @GenPrintInstr(i32 noundef %63, i32 noundef %64)
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %10, align 4
%68 = call i32 @GenPrintOperand(i32 noundef %66, i32 noundef %67)
%69 = call i32 (...) @GenPrintOperandSeparator()
%70 = load i32, ptr %11, align 4
%71 = load i32, ptr %12, align 4
%72 = call i32 @GenPrintOperand(i32 noundef %70, i32 noundef %71)
%73 = call i32 (...) @GenPrintNewLine()
br label %74
74: ; preds = %62, %57, %25
ret void
}
declare i64 @truncUint(i32 noundef) #1
declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1
declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1
declare i32 @GenPrintNewLine(...) #1
declare i32 @GenPrintOperandSeparator(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprs6y5w98.c'
source_filename = "/tmp/tmprs6y5w98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linspace(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load double, ptr %6, align 8
%10 = fmul double %9, 8.000000e+00
%11 = call ptr @malloc(double noundef %10)
store ptr %11, ptr %8, align 8
br label %12
12: ; preds = %17, %3
%13 = load i32, ptr %7, align 4
%14 = sitofp i32 %13 to double
%15 = load double, ptr %6, align 8
%16 = fcmp olt double %14, %15
br i1 %16, label %17, label %35
17: ; preds = %12
%18 = load double, ptr %5, align 8
%19 = load double, ptr %4, align 8
%20 = fsub double %18, %19
%21 = load i32, ptr %7, align 4
%22 = sitofp i32 %21 to double
%23 = fmul double %20, %22
%24 = load double, ptr %6, align 8
%25 = fsub double %24, 1.000000e+00
%26 = fdiv double %23, %25
%27 = load double, ptr %4, align 8
%28 = fadd double %26, %27
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double %28, ptr %32, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %12, !llvm.loop !6
35: ; preds = %12
%36 = load ptr, ptr %8, align 8
ret ptr %36
}
declare ptr @malloc(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprs6y5w98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linspace(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load double, ptr %6, align 8
%10 = fmul double %9, 8.000000e+00
%11 = call ptr @malloc(double noundef %10)
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %7, align 4
%13 = sitofp i32 %12 to double
%14 = load double, ptr %6, align 8
%15 = fcmp olt double %13, %14
br i1 %15, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %16
%17 = load double, ptr %5, align 8
%18 = load double, ptr %4, align 8
%19 = fsub double %17, %18
%20 = load i32, ptr %7, align 4
%21 = sitofp i32 %20 to double
%22 = fmul double %19, %21
%23 = load double, ptr %6, align 8
%24 = fsub double %23, 1.000000e+00
%25 = fdiv double %22, %24
%26 = load double, ptr %4, align 8
%27 = fadd double %25, %26
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
store double %27, ptr %31, align 8
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = sitofp i32 %34 to double
%36 = load double, ptr %6, align 8
%37 = fcmp olt double %35, %36
br i1 %37, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %38
38: ; preds = %._crit_edge, %3
%39 = load ptr, ptr %8, align 8
ret ptr %39
}
declare ptr @malloc(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9vvhz5ha.c'
source_filename = "/tmp/tmp9vvhz5ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_jsonNext(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strfchr(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
%21 = call ptr @strfchr(ptr noundef %20)
br label %23
22: ; preds = %12
br label %23
23: ; preds = %22, %18
%24 = phi ptr [ %21, %18 ], [ null, %22 ]
br label %27
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
br label %27
27: ; preds = %25, %23
%28 = phi ptr [ %24, %23 ], [ %26, %25 ]
ret ptr %28
}
declare ptr @strfchr(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/tmp9vvhz5ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_jsonNext(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strfchr(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
%21 = call ptr @strfchr(ptr noundef %20)
br label %23
22: ; preds = %12
br label %23
23: ; preds = %22, %18
%24 = phi ptr [ %21, %18 ], [ null, %22 ]
br label %27
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
br label %27
27: ; preds = %25, %23
%28 = phi ptr [ %24, %23 ], [ %26, %25 ]
ret ptr %28
}
declare ptr @strfchr(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/tmpgc57soj0.c'
source_filename = "/tmp/tmpgc57soj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @rtl_init_one()
ret i32 17
}
declare i32 @rtl_init_one(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgc57soj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @rtl_init_one()
ret i32 17
}
declare i32 @rtl_init_one(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmh4h7vrj.c'
source_filename = "/tmp/tmpmh4h7vrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log2(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %4, align 4
br label %30
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %4, align 4
br label %30
20: ; preds = %14
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = call i32 @log2(i32 noundef %26, i32 noundef %27, i32 noundef %28)
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %20, %18, %11
%31 = load i32, ptr %4, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmh4h7vrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log2(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %4, align 4
br label %30
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %4, align 4
br label %30
20: ; preds = %14
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = call i32 @log2(i32 noundef %26, i32 noundef %27, i32 noundef %28)
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %20, %18, %11
%31 = load i32, ptr %4, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8p1ek7yk.c'
source_filename = "/tmp/tmp8p1ek7yk.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"mmap failed: %d (%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"GR3D1 reset = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"GR3D2 reset = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"done\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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @map_mem(ptr noundef %6, i32 noundef 1610637312, i32 noundef 4096)
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr @errno, align 4
%15 = call ptr @strerror(i32 noundef %14)
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13, ptr noundef %15)
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %3, align 4
br label %45
18: ; preds = %2
%19 = load ptr, ptr %6, align 8
%20 = call i32 @reg_read(ptr noundef %19, i32 noundef 4)
%21 = and i32 %20, 16777216
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = call i32 @reg_read(ptr noundef %27, i32 noundef 88)
%29 = and i32 %28, 4
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @reg_write(ptr noundef %35, i32 noundef 768, i32 noundef 16777216)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @reg_write(ptr noundef %37, i32 noundef 1072, i32 noundef 4)
%39 = call i32 @usleep(i32 noundef 1000)
%40 = load ptr, ptr %6, align 8
%41 = call i32 @reg_write(ptr noundef %40, i32 noundef 772, i32 noundef 16777216)
%42 = load ptr, ptr %6, align 8
%43 = call i32 @reg_write(ptr noundef %42, i32 noundef 1076, i32 noundef 4)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %18, %11
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @map_mem(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reg_read(ptr noundef, i32 noundef) #1
declare i32 @reg_write(ptr noundef, i32 noundef, i32 noundef) #1
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/tmp8p1ek7yk.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"mmap failed: %d (%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"GR3D1 reset = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"GR3D2 reset = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"done\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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @map_mem(ptr noundef %6, i32 noundef 1610637312, i32 noundef 4096)
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr @errno, align 4
%15 = call ptr @strerror(i32 noundef %14)
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13, ptr noundef %15)
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %3, align 4
br label %45
18: ; preds = %2
%19 = load ptr, ptr %6, align 8
%20 = call i32 @reg_read(ptr noundef %19, i32 noundef 4)
%21 = and i32 %20, 16777216
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = call i32 @reg_read(ptr noundef %27, i32 noundef 88)
%29 = and i32 %28, 4
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @reg_write(ptr noundef %35, i32 noundef 768, i32 noundef 16777216)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @reg_write(ptr noundef %37, i32 noundef 1072, i32 noundef 4)
%39 = call i32 @usleep(i32 noundef 1000)
%40 = load ptr, ptr %6, align 8
%41 = call i32 @reg_write(ptr noundef %40, i32 noundef 772, i32 noundef 16777216)
%42 = load ptr, ptr %6, align 8
%43 = call i32 @reg_write(ptr noundef %42, i32 noundef 1076, i32 noundef 4)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %18, %11
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @map_mem(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reg_read(ptr noundef, i32 noundef) #1
declare i32 @reg_write(ptr noundef, i32 noundef, i32 noundef) #1
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/tmp2jbqe6fy.c'
source_filename = "/tmp/tmp2jbqe6fy.c"
target datalayout = "e-m:e-p270: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/tmp2jbqe6fy.c"
target datalayout = "e-m:e-p270: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/tmpwql0t3uc.c'
source_filename = "/tmp/tmpwql0t3uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpsocket_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %29, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %11, %12
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %33
15: ; preds = %10
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %21, %22
%24 = call i64 @write(i32 noundef %16, ptr noundef %20, i32 noundef %23)
%25 = trunc i64 %24 to i32
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %15
store i32 -1, ptr %4, align 4
br label %35
29: ; preds = %15
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %8, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %33, %28
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwql0t3uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpsocket_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = sub nsw i32 %10, %11
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %28
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %20, %21
%23 = call i64 @write(i32 noundef %15, ptr noundef %19, i32 noundef %22)
%24 = trunc i64 %23 to i32
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %14
store i32 -1, ptr %4, align 4
br label %38
28: ; preds = %14
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
%35 = icmp sgt i32 %34, 0
br i1 %35, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %36
36: ; preds = %._crit_edge, %3
%37 = load i32, ptr %8, align 4
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %36, %27
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp35_06dnr.c'
source_filename = "/tmp/tmp35_06dnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_CRIT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"%s:%u: %s%sAssertion `%s' failed\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c": \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__assert_fail(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr @LOG_CRIT, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
br label %17
16: ; preds = %4
br label %17
17: ; preds = %16, %14
%18 = phi ptr [ %15, %14 ], [ @.str.1, %16 ]
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.2, ptr @.str.1
%23 = load ptr, ptr %5, align 8
%24 = call i32 @do_log(i32 noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %18, ptr noundef %22, ptr noundef %23)
%25 = call i32 (...) @abort() #3
unreachable
}
declare i32 @do_log(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35_06dnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_CRIT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"%s:%u: %s%sAssertion `%s' failed\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c": \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__assert_fail(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr @LOG_CRIT, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
br label %17
16: ; preds = %4
br label %17
17: ; preds = %16, %14
%18 = phi ptr [ %15, %14 ], [ @.str.1, %16 ]
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.2, ptr @.str.1
%23 = load ptr, ptr %5, align 8
%24 = call i32 @do_log(i32 noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %18, ptr noundef %22, ptr noundef %23)
%25 = call i32 (...) @abort() #3
unreachable
}
declare i32 @do_log(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjti6d6tr.c'
source_filename = "/tmp/tmpjti6d6tr.c"
target datalayout = "e-m:e-p270: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/tmpjti6d6tr.c"
target datalayout = "e-m:e-p270: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/tmpif06v0z4.c'
source_filename = "/tmp/tmpif06v0z4.c"
target datalayout = "e-m:e-p270: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/tmpif06v0z4.c"
target datalayout = "e-m:e-p270: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/tmp4o9t_79r.c'
source_filename = "/tmp/tmp4o9t_79r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@stderr = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4o9t_79r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@stderr = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnx7tql_k.c'
source_filename = "/tmp/tmpnx7tql_k.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xbutton_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%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 i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnx7tql_k.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xbutton_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%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 i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5eplm4q6.c'
source_filename = "/tmp/tmp5eplm4q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = load i32, ptr @SIGABRT, align 4
%2 = call i32 @raise(i32 noundef %1)
%3 = load i32, ptr @SIGKILL, align 4
%4 = call i32 @raise(i32 noundef %3)
br label %5
5: ; preds = %5, %0
br label %5
}
declare i32 @raise(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5eplm4q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = load i32, ptr @SIGABRT, align 4
%2 = call i32 @raise(i32 noundef %1)
%3 = load i32, ptr @SIGKILL, align 4
%4 = call i32 @raise(i32 noundef %3)
br label %5
5: ; preds = %5, %0
br label %5
}
declare i32 @raise(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3zx68kly.c'
source_filename = "/tmp/tmp3zx68kly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrFree(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 %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 -1
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zx68kly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrFree(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 %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 -1
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn7axotbf.c'
source_filename = "/tmp/tmpn7axotbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"HOST_NAME_MAX=%ld\0A\00", align 1
@_SC_HOST_NAME_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"gethostname failed???\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"hostname=%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 [1024 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
%7 = load i32, ptr @_SC_HOST_NAME_MAX, align 4
%8 = call ptr @sysconf(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%11 = call i64 @gethostname(ptr noundef %10, i32 noundef 1023)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @sysconf(i32 noundef) #1
declare i64 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn7axotbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"HOST_NAME_MAX=%ld\0A\00", align 1
@_SC_HOST_NAME_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"gethostname failed???\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"hostname=%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 [1024 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
%7 = load i32, ptr @_SC_HOST_NAME_MAX, align 4
%8 = call ptr @sysconf(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%11 = call i64 @gethostname(ptr noundef %10, i32 noundef 1023)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @sysconf(i32 noundef) #1
declare i64 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfdjoyfwn.c'
source_filename = "/tmp/tmpfdjoyfwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPublic(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @mpz_init_set_ui(i32 noundef %10, i32 noundef 65537)
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %9, align 4
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %8, align 8
%17 = call i32 @getPowm(ptr noundef %12, ptr noundef %13, i32 noundef %14, ptr noundef %15, i64 noundef %16)
%18 = load i32, ptr %9, align 4
%19 = call i32 @mpz_clear(i32 noundef %18)
ret void
}
declare i32 @mpz_init_set_ui(i32 noundef, i32 noundef) #1
declare i32 @getPowm(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @mpz_clear(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/tmpfdjoyfwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPublic(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @mpz_init_set_ui(i32 noundef %10, i32 noundef 65537)
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %9, align 4
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %8, align 8
%17 = call i32 @getPowm(ptr noundef %12, ptr noundef %13, i32 noundef %14, ptr noundef %15, i64 noundef %16)
%18 = load i32, ptr %9, align 4
%19 = call i32 @mpz_clear(i32 noundef %18)
ret void
}
declare i32 @mpz_init_set_ui(i32 noundef, i32 noundef) #1
declare i32 @getPowm(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @mpz_clear(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/tmp09p6tksh.c'
source_filename = "/tmp/tmp09p6tksh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CO759_real_zeit() #0 {
%1 = call i64 @time(i32 noundef 0)
%2 = sitofp i64 %1 to double
ret double %2
}
declare i64 @time(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/tmp09p6tksh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CO759_real_zeit() #0 {
%1 = call i64 @time(i32 noundef 0)
%2 = sitofp i64 %1 to double
ret double %2
}
declare i64 @time(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/tmpmpofkm8k.c'
source_filename = "/tmp/tmpmpofkm8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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
store ptr %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
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %44, %4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %47
13: ; preds = %10
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp sgt i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @swap(ptr noundef %20, ptr noundef %21)
br label %23
23: ; preds = %19, %13
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %25, %27
br i1 %28, label %29, label %33
29: ; preds = %23
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i32 @swap(ptr noundef %30, ptr noundef %31)
br label %33
33: ; preds = %29, %23
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp sgt i32 %35, %37
br i1 %38, label %39, label %43
39: ; preds = %33
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i32 @swap(ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %39, %33
br label %44
44: ; preds = %43
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %10, !llvm.loop !6
47: ; preds = %10
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmpofkm8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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
store ptr %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
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %.lr.ph, label %48
.lr.ph: ; preds = %4
br label %12
12: ; preds = %.lr.ph, %43
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %14, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @swap(ptr noundef %19, ptr noundef %20)
br label %22
22: ; preds = %18, %12
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %25, align 4
%27 = icmp sgt i32 %24, %26
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %6, align 8
%31 = call i32 @swap(ptr noundef %29, ptr noundef %30)
br label %32
32: ; preds = %28, %22
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp sgt i32 %34, %36
br i1 %37, label %38, label %42
38: ; preds = %32
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %7, align 8
%41 = call i32 @swap(ptr noundef %39, ptr noundef %40)
br label %42
42: ; preds = %38, %32
br label %43
43: ; preds = %42
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %46, 3
br i1 %47, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %4
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp20awirsf.c'
source_filename = "/tmp/tmp20awirsf.c"
target datalayout = "e-m:e-p270: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/tmp20awirsf.c"
target datalayout = "e-m:e-p270: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/tmpymro_h4d.c'
source_filename = "/tmp/tmpymro_h4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FUTEX_PRIVATE_FLAG = dso_local global i32 0, align 4
@FUTEX_WAKE = 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/tmpymro_h4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FUTEX_PRIVATE_FLAG = dso_local global i32 0, align 4
@FUTEX_WAKE = 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/tmp3hln8hli.c'
source_filename = "/tmp/tmp3hln8hli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkmyrelay(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %25, %2
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %28
14: ; preds = %7
%15 = load ptr, ptr %4, align 8
%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 @ipcalc(ptr noundef %15, ptr noundef %20)
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %24
23: ; preds = %14
store i32 0, ptr %3, align 4
br label %29
24: ; preds = %14
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %7, !llvm.loop !6
28: ; preds = %7
store i32 1, ptr %3, align 4
br label %29
29: ; preds = %28, %23
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @ipcalc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hln8hli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkmyrelay(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %7, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %24
%14 = load ptr, ptr %4, align 8
%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 @ipcalc(ptr noundef %14, ptr noundef %19)
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %13
store i32 0, ptr %3, align 4
br label %34
23: ; preds = %13
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %33
33: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %34
34: ; preds = %33, %22
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @ipcalc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu_0tm9d6.c'
source_filename = "/tmp/tmpu_0tm9d6.c"
target datalayout = "e-m:e-p270: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/tmpu_0tm9d6.c"
target datalayout = "e-m:e-p270: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.