llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp4egz00w9.c'
source_filename = "/tmp/tmp4egz00w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"metapost\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" % comment\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"% comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_metapost_comments() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 0)
ret void
}
declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @test_parser_sourcefile(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4egz00w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"metapost\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" % comment\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"% comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_metapost_comments() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 0)
ret void
}
declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @test_parser_sourcefile(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0j9v60g8.c'
source_filename = "/tmp/tmp0j9v60g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_all_adb_encoded(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store ptr %17, ptr %10, align 8
store i64 0, ptr %11, align 8
br label %18
18: ; preds = %22, %3
%19 = load i64, ptr %11, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %45
22: ; preds = %18
%23 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 4096
store ptr %25, ptr %13, align 8
%26 = load ptr, ptr %13, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 @adb_encode(ptr noundef %8, ptr noundef %12, ptr noundef %26, ptr noundef %9, ptr noundef %27)
%29 = load i32, ptr %4, align 4
%30 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%33 = ptrtoint ptr %31 to i64
%34 = ptrtoint ptr %32 to i64
%35 = sub i64 %33, %34
%36 = trunc i64 %35 to i32
%37 = call i32 @write_all(i32 noundef %29, ptr noundef %30, i32 noundef %36)
%38 = load ptr, ptr %12, align 8
%39 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = load i64, ptr %11, align 8
%44 = add i64 %43, %42
store i64 %44, ptr %11, align 8
br label %18, !llvm.loop !6
45: ; preds = %18
ret void
}
declare i32 @adb_encode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write_all(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/tmp0j9v60g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_all_adb_encoded(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store ptr %17, ptr %10, align 8
store i64 0, ptr %11, align 8
%18 = load i64, ptr %11, align 8
%19 = load i64, ptr %6, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %.lr.ph, label %47
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %21
%22 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
store ptr %22, ptr %12, align 8
%23 = load ptr, ptr %12, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 4096
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %13, align 8
%26 = load ptr, ptr %10, align 8
%27 = call i32 @adb_encode(ptr noundef %8, ptr noundef %12, ptr noundef %25, ptr noundef %9, ptr noundef %26)
%28 = load i32, ptr %4, align 4
%29 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call i32 @write_all(i32 noundef %28, ptr noundef %29, i32 noundef %35)
%37 = load ptr, ptr %12, align 8
%38 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%39 = ptrtoint ptr %37 to i64
%40 = ptrtoint ptr %38 to i64
%41 = sub i64 %39, %40
%42 = load i64, ptr %11, align 8
%43 = add i64 %42, %41
store i64 %43, ptr %11, align 8
%44 = load i64, ptr %11, align 8
%45 = load i64, ptr %6, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %47
47: ; preds = %._crit_edge, %3
ret void
}
declare i32 @adb_encode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write_all(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/tmputwztngc.c'
source_filename = "/tmp/tmputwztngc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %40
13: ; preds = %3
br label %14
14: ; preds = %20, %13
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i64 @fgets(ptr noundef %15, i32 noundef %16, ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %37
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = call i64 @strlen(ptr noundef %21)
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = sub nsw i64 %24, %22
%26 = trunc i64 %25 to i32
store i32 %26, ptr %6, align 4
%27 = load ptr, ptr %4, align 8
%28 = call i64 @strlen(ptr noundef %27)
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = add nsw i64 %30, %28
%32 = trunc i64 %31 to i32
store i32 %32, ptr %8, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i64 @strlen(ptr noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 %34
store ptr %36, ptr %4, align 8
br label %14, !llvm.loop !6
37: ; preds = %14
%38 = load ptr, ptr %7, align 8
%39 = call i32 @fclose(ptr noundef %38)
br label %41
40: ; preds = %3
store i32 -1, ptr %8, align 4
br label %41
41: ; preds = %40, %37
%42 = load i32, ptr %8, align 4
ret i32 %42
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmputwztngc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %44
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %7, align 8
%17 = call i64 @fgets(ptr noundef %14, i32 noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %41
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %4, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = sub nsw i64 %23, %21
%25 = trunc i64 %24 to i32
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, %27
%31 = trunc i64 %30 to i32
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i64 @strlen(ptr noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 %33
store ptr %35, ptr %4, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = call i64 @fgets(ptr noundef %36, i32 noundef %37, ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %41
41: ; preds = %._crit_edge, %13
%42 = load ptr, ptr %7, align 8
%43 = call i32 @fclose(ptr noundef %42)
br label %45
44: ; preds = %3
store i32 -1, ptr %8, align 4
br label %45
45: ; preds = %44, %41
%46 = load i32, ptr %8, align 4
ret i32 %46
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpub4omm0m.c'
source_filename = "/tmp/tmpub4omm0m.c"
target datalayout = "e-m:e-p270: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/tmpub4omm0m.c"
target datalayout = "e-m:e-p270: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/tmp662cwlos.c'
source_filename = "/tmp/tmp662cwlos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"%s could not be open for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"weighbor::io::openRead\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @openRead(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = call i32 @perror(ptr noundef @.str.2)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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/tmp662cwlos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"%s could not be open for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"weighbor::io::openRead\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @openRead(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = call i32 @perror(ptr noundef @.str.2)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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/tmpedd10v81.c'
source_filename = "/tmp/tmpedd10v81.c"
target datalayout = "e-m:e-p270: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/tmpedd10v81.c"
target datalayout = "e-m:e-p270: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/tmp6wgxg0gy.c'
source_filename = "/tmp/tmp6wgxg0gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setg\09%%al\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"neg\09%%al\09#change 1 to -1\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"movsx\09%%al,%%eax\09#extend al to eax\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setGreater() #0 {
%1 = call i32 @emitln(ptr noundef @.str)
%2 = call i32 @emitln(ptr noundef @.str.1)
%3 = call i32 @emitln(ptr noundef @.str.2)
ret void
}
declare i32 @emitln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6wgxg0gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setg\09%%al\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"neg\09%%al\09#change 1 to -1\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"movsx\09%%al,%%eax\09#extend al to eax\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setGreater() #0 {
%1 = call i32 @emitln(ptr noundef @.str)
%2 = call i32 @emitln(ptr noundef @.str.1)
%3 = call i32 @emitln(ptr noundef @.str.2)
ret void
}
declare i32 @emitln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpynp8c4pp.c'
source_filename = "/tmp/tmpynp8c4pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle3fRad(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glmDotProduct3f(ptr noundef %5, ptr noundef %6)
%8 = call float @acos(i32 noundef %7)
ret float %8
}
declare float @acos(i32 noundef) #1
declare i32 @glmDotProduct3f(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/tmpynp8c4pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle3fRad(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glmDotProduct3f(ptr noundef %5, ptr noundef %6)
%8 = call float @acos(i32 noundef %7)
ret float %8
}
declare float @acos(i32 noundef) #1
declare i32 @glmDotProduct3f(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/tmp45tohke1.c'
source_filename = "/tmp/tmp45tohke1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls_deinit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmp45tohke1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls_deinit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmpul7v0e_h.c'
source_filename = "/tmp/tmpul7v0e_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zabs_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load double, ptr %11, align 8
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load double, ptr %15, align 8
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load double, ptr %18, align 8
%20 = fneg double %19
br label %21
21: ; preds = %17, %14
%22 = phi double [ %16, %14 ], [ %20, %17 ]
store double %22, ptr %9, align 8
%23 = load ptr, ptr %5, align 8
%24 = load double, ptr %23, align 8
%25 = fcmp oge double %24, 0.000000e+00
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load double, ptr %27, align 8
br label %33
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load double, ptr %30, align 8
%32 = fneg double %31
br label %33
33: ; preds = %29, %26
%34 = phi double [ %28, %26 ], [ %32, %29 ]
store double %34, ptr %10, align 8
%35 = load double, ptr %9, align 8
%36 = load double, ptr %10, align 8
%37 = fadd double %35, %36
store double %37, ptr %8, align 8
%38 = load double, ptr %8, align 8
%39 = fmul double %38, 1.000000e+00
store double %39, ptr %8, align 8
%40 = load double, ptr %8, align 8
%41 = fcmp oeq double %40, 0.000000e+00
br i1 %41, label %42, label %43
42: ; preds = %33
br label %70
43: ; preds = %33
%44 = load double, ptr %9, align 8
%45 = load double, ptr %10, align 8
%46 = fcmp ogt double %44, %45
br i1 %46, label %47, label %48
47: ; preds = %43
br label %59
48: ; preds = %43
%49 = load double, ptr %9, align 8
%50 = load double, ptr %10, align 8
%51 = fdiv double %49, %50
store double %51, ptr %7, align 8
%52 = load double, ptr %10, align 8
%53 = load double, ptr %7, align 8
%54 = load double, ptr %7, align 8
%55 = call double @llvm.fmuladd.f64(double %53, double %54, double 1.000000e+00)
%56 = call double @sqrt(double noundef %55) #3
%57 = fmul double %52, %56
store double %57, ptr %6, align 8
%58 = load double, ptr %6, align 8
store double %58, ptr %3, align 8
br label %72
59: ; preds = %47
%60 = load double, ptr %10, align 8
%61 = load double, ptr %9, align 8
%62 = fdiv double %60, %61
store double %62, ptr %7, align 8
%63 = load double, ptr %9, align 8
%64 = load double, ptr %7, align 8
%65 = load double, ptr %7, align 8
%66 = call double @llvm.fmuladd.f64(double %64, double %65, double 1.000000e+00)
%67 = call double @sqrt(double noundef %66) #3
%68 = fmul double %63, %67
store double %68, ptr %6, align 8
%69 = load double, ptr %6, align 8
store double %69, ptr %3, align 8
br label %72
70: ; preds = %42
store double 0.000000e+00, ptr %6, align 8
%71 = load double, ptr %6, align 8
store double %71, ptr %3, align 8
br label %72
72: ; preds = %70, %59, %48
%73 = load double, ptr %3, align 8
ret double %73
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpul7v0e_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zabs_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load double, ptr %11, align 8
%13 = fcmp oge double %12, 0.000000e+00
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load double, ptr %15, align 8
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load double, ptr %18, align 8
%20 = fneg double %19
br label %21
21: ; preds = %17, %14
%22 = phi double [ %16, %14 ], [ %20, %17 ]
store double %22, ptr %9, align 8
%23 = load ptr, ptr %5, align 8
%24 = load double, ptr %23, align 8
%25 = fcmp oge double %24, 0.000000e+00
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load double, ptr %27, align 8
br label %33
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load double, ptr %30, align 8
%32 = fneg double %31
br label %33
33: ; preds = %29, %26
%34 = phi double [ %28, %26 ], [ %32, %29 ]
store double %34, ptr %10, align 8
%35 = load double, ptr %9, align 8
%36 = load double, ptr %10, align 8
%37 = fadd double %35, %36
store double %37, ptr %8, align 8
%38 = load double, ptr %8, align 8
%39 = fmul double %38, 1.000000e+00
store double %39, ptr %8, align 8
%40 = load double, ptr %8, align 8
%41 = fcmp oeq double %40, 0.000000e+00
br i1 %41, label %42, label %43
42: ; preds = %33
br label %70
43: ; preds = %33
%44 = load double, ptr %9, align 8
%45 = load double, ptr %10, align 8
%46 = fcmp ogt double %44, %45
br i1 %46, label %47, label %48
47: ; preds = %43
br label %59
48: ; preds = %43
%49 = load double, ptr %9, align 8
%50 = load double, ptr %10, align 8
%51 = fdiv double %49, %50
store double %51, ptr %7, align 8
%52 = load double, ptr %10, align 8
%53 = load double, ptr %7, align 8
%54 = load double, ptr %7, align 8
%55 = call double @llvm.fmuladd.f64(double %53, double %54, double 1.000000e+00)
%56 = call double @sqrt(double noundef %55) #3
%57 = fmul double %52, %56
store double %57, ptr %6, align 8
%58 = load double, ptr %6, align 8
store double %58, ptr %3, align 8
br label %72
59: ; preds = %47
%60 = load double, ptr %10, align 8
%61 = load double, ptr %9, align 8
%62 = fdiv double %60, %61
store double %62, ptr %7, align 8
%63 = load double, ptr %9, align 8
%64 = load double, ptr %7, align 8
%65 = load double, ptr %7, align 8
%66 = call double @llvm.fmuladd.f64(double %64, double %65, double 1.000000e+00)
%67 = call double @sqrt(double noundef %66) #3
%68 = fmul double %63, %67
store double %68, ptr %6, align 8
%69 = load double, ptr %6, align 8
store double %69, ptr %3, align 8
br label %72
70: ; preds = %42
store double 0.000000e+00, ptr %6, align 8
%71 = load double, ptr %6, align 8
store double %71, ptr %3, align 8
br label %72
72: ; preds = %70, %59, %48
%73 = load double, ptr %3, align 8
ret double %73
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk1004pgm.c'
source_filename = "/tmp/tmpk1004pgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"*** Welcome to Simpletron Simulator! ***\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"*** Created by ahemed Mohamed Abd El Mawgood! ***\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"*** ahmedsoliman0x666 (at) gmail.com ***\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @greeting() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1004pgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"*** Welcome to Simpletron Simulator! ***\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"*** Created by ahemed Mohamed Abd El Mawgood! ***\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"*** ahmedsoliman0x666 (at) gmail.com ***\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @greeting() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpip536p2q.c'
source_filename = "/tmp/tmpip536p2q.c"
target datalayout = "e-m:e-p270: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/tmpip536p2q.c"
target datalayout = "e-m:e-p270: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/tmplyzoa66h.c'
source_filename = "/tmp/tmplyzoa66h.c"
target datalayout = "e-m:e-p270: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/tmplyzoa66h.c"
target datalayout = "e-m:e-p270: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/tmpz669e675.c'
source_filename = "/tmp/tmpz669e675.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_spifunc2() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz669e675.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_spifunc2() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuderv0mv.c'
source_filename = "/tmp/tmpuderv0mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 name of file to load: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Error - unable to open file \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Line number is %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Opcode is %06d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"linenumber=%d add %d %06d here\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parsefile() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [30 x i8], align 16
%10 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i64 0, ptr %7, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @getFilename(ptr noundef %12, i32 noundef 30)
%14 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %0
%19 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %19)
br label %89
21: ; preds = %0
br label %22
22: ; preds = %84, %21
%23 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%24 = load ptr, ptr %10, align 8
%25 = call ptr @fgets(ptr noundef %23, i32 noundef 100, ptr noundef %24)
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %85
27: ; preds = %22
store i32 0, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %37, %27
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 32
br i1 %36, label %37, label %40
37: ; preds = %31
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %6, align 8
br label %31, !llvm.loop !6
40: ; preds = %31
store i64 0, ptr %7, align 8
%41 = load ptr, ptr %6, align 8
%42 = call ptr @strtok(ptr noundef %41, ptr noundef @.str.3)
store ptr %42, ptr %8, align 8
br label %43
43: ; preds = %72, %40
%44 = load ptr, ptr %8, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %76
46: ; preds = %43
%47 = load ptr, ptr %8, align 8
%48 = call i64 @is_valid_int(ptr noundef %47)
%49 = icmp sge i64 %48, 0
br i1 %49, label %50, label %72
50: ; preds = %46
%51 = load i64, ptr %7, align 8
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %50
%54 = load ptr, ptr %8, align 8
%55 = call i32 @sscanf(ptr noundef %54, ptr noundef @.str.4, ptr noundef %1)
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %3, align 4
%58 = load i32, ptr %1, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %58)
br label %71
60: ; preds = %50
%61 = load i64, ptr %7, align 8
%62 = icmp eq i64 %61, 1
br i1 %62, label %63, label %70
63: ; preds = %60
%64 = load ptr, ptr %8, align 8
%65 = call i32 @sscanf(ptr noundef %64, ptr noundef @.str.4, ptr noundef %2)
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
%68 = load i32, ptr %2, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68)
br label %70
70: ; preds = %63, %60
br label %71
71: ; preds = %70, %53
br label %72
72: ; preds = %71, %46
%73 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3)
store ptr %73, ptr %8, align 8
%74 = load i64, ptr %7, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %7, align 8
br label %43, !llvm.loop !8
76: ; preds = %43
%77 = load i32, ptr %3, align 4
%78 = icmp eq i32 %77, 2
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %1, align 4
%82 = load i32, ptr %2, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %80, i32 noundef %81, i32 noundef %82)
br label %84
84: ; preds = %79, %76
br label %22, !llvm.loop !9
85: ; preds = %22
br label %86
86: ; preds = %85
%87 = load ptr, ptr %10, align 8
%88 = call i32 @fclose(ptr noundef %87)
br label %89
89: ; preds = %86, %18
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getFilename(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @is_valid_int(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuderv0mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 name of file to load: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Error - unable to open file \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Line number is %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Opcode is %06d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"linenumber=%d add %d %06d here\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parsefile() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [30 x i8], align 16
%10 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i64 0, ptr %7, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @getFilename(ptr noundef %12, i32 noundef 30)
%14 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %0
%19 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %19)
br label %95
21: ; preds = %0
%22 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%23 = load ptr, ptr %10, align 8
%24 = call ptr @fgets(ptr noundef %22, i32 noundef 100, ptr noundef %23)
%25 = icmp ne ptr %24, null
br i1 %25, label %.lr.ph5, label %91
.lr.ph5: ; preds = %21
br label %26
26: ; preds = %.lr.ph5, %87
store i32 0, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
%29 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
store ptr %29, ptr %6, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 32
br i1 %33, label %.lr.ph, label %42
.lr.ph: ; preds = %26
br label %34
34: ; preds = %.lr.ph, %34
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 32
br i1 %41, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %26
store i64 0, ptr %7, align 8
%43 = load ptr, ptr %6, align 8
%44 = call ptr @strtok(ptr noundef %43, ptr noundef @.str.3)
store ptr %44, ptr %8, align 8
%45 = load ptr, ptr %8, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %.lr.ph2, label %79
.lr.ph2: ; preds = %42
br label %47
47: ; preds = %.lr.ph2, %73
%48 = load ptr, ptr %8, align 8
%49 = call i64 @is_valid_int(ptr noundef %48)
%50 = icmp sge i64 %49, 0
br i1 %50, label %51, label %73
51: ; preds = %47
%52 = load i64, ptr %7, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %51
%55 = load ptr, ptr %8, align 8
%56 = call i32 @sscanf(ptr noundef %55, ptr noundef @.str.4, ptr noundef %1)
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
%59 = load i32, ptr %1, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %59)
br label %72
61: ; preds = %51
%62 = load i64, ptr %7, align 8
%63 = icmp eq i64 %62, 1
br i1 %63, label %64, label %71
64: ; preds = %61
%65 = load ptr, ptr %8, align 8
%66 = call i32 @sscanf(ptr noundef %65, ptr noundef @.str.4, ptr noundef %2)
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %2, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %69)
br label %71
71: ; preds = %64, %61
br label %72
72: ; preds = %71, %54
br label %73
73: ; preds = %72, %47
%74 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3)
store ptr %74, ptr %8, align 8
%75 = load i64, ptr %7, align 8
%76 = add i64 %75, 1
store i64 %76, ptr %7, align 8
%77 = load ptr, ptr %8, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %79
79: ; preds = %._crit_edge3, %42
%80 = load i32, ptr %3, align 4
%81 = icmp eq i32 %80, 2
br i1 %81, label %82, label %87
82: ; preds = %79
%83 = load i32, ptr %4, align 4
%84 = load i32, ptr %1, align 4
%85 = load i32, ptr %2, align 4
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %83, i32 noundef %84, i32 noundef %85)
br label %87
87: ; preds = %82, %79
%88 = load ptr, ptr %10, align 8
%89 = call ptr @fgets(ptr noundef %22, i32 noundef 100, ptr noundef %88)
%90 = icmp ne ptr %89, null
br i1 %90, label %26, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %87
br label %91
91: ; preds = %._crit_edge6, %21
br label %92
92: ; preds = %91
%93 = load ptr, ptr %10, align 8
%94 = call i32 @fclose(ptr noundef %93)
br label %95
95: ; preds = %92, %18
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getFilename(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @is_valid_int(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpe2ottpai.c'
source_filename = "/tmp/tmpe2ottpai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_striteri(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
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %29
12: ; preds = %8
br label %13
13: ; preds = %23, %12
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br label %21
21: ; preds = %18, %13
%22 = phi i1 [ false, %13 ], [ %20, %18 ]
br i1 %22, label %23, label %29
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %3, align 8
call void %24(i32 noundef %25, ptr noundef %27)
br label %13, !llvm.loop !6
29: ; preds = %11, %21
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/tmpe2ottpai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_striteri(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
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %29
12: ; preds = %8
br label %13
13: ; preds = %23, %12
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br label %21
21: ; preds = %18, %13
%22 = phi i1 [ false, %13 ], [ %20, %18 ]
br i1 %22, label %23, label %.loopexit
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %3, align 8
call void %24(i32 noundef %25, ptr noundef %27)
br label %13, !llvm.loop !6
.loopexit: ; preds = %21
br label %29
29: ; preds = %.loopexit, %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgqbxhho4.c'
source_filename = "/tmp/tmpgqbxhho4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%lf%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %15, %1
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %2, align 8
%10 = load double, ptr %3, align 8
%11 = load double, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = call ptr @add_node(ptr noundef %9, double noundef %10, double noundef %11, i32 noundef %12)
store ptr %14, ptr %2, align 8
br label %15
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 2
br i1 %17, label %7, label %18, !llvm.loop !6
18: ; preds = %15
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @add_node(ptr noundef, double noundef, double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqbxhho4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%lf%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %15, %1
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %2, align 8
%10 = load double, ptr %3, align 8
%11 = load double, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = call ptr @add_node(ptr noundef %9, double noundef %10, double noundef %11, i32 noundef %12)
store ptr %14, ptr %2, align 8
br label %15
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 2
br i1 %17, label %7, label %18, !llvm.loop !6
18: ; preds = %15
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @add_node(ptr noundef, double noundef, double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpens584_1.c'
source_filename = "/tmp/tmpens584_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_ctype(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @isdigit(i8 noundef signext 49)
%6 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @islower(i8 noundef signext 65)
%9 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @isspace(i8 noundef signext 32)
%12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11)
%13 = call signext i8 @toupper(i8 noundef signext 98)
store i8 %13, ptr %3, align 1
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %3, align 1
%16 = call i32 @isupper(i8 noundef signext %15)
%17 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @islower(i8 noundef signext) #1
declare i32 @isspace(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @isupper(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/tmpens584_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_ctype(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @isdigit(i8 noundef signext 49)
%6 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @islower(i8 noundef signext 65)
%9 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @isspace(i8 noundef signext 32)
%12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11)
%13 = call signext i8 @toupper(i8 noundef signext 98)
store i8 %13, ptr %3, align 1
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %3, align 1
%16 = call i32 @isupper(i8 noundef signext %15)
%17 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @islower(i8 noundef signext) #1
declare i32 @isspace(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @isupper(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/tmpjd0ivjlm.c'
source_filename = "/tmp/tmpjd0ivjlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"stuffing_byte: \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"0x%02x\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x42_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %60
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = call i32 @Parser_DisplayTagInfo(i32 noundef %11, i8 noundef zeroext %14)
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %16, ptr noundef @.str, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 1
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = icmp ne i32 0, %25
br i1 %26, label %27, label %53
27: ; preds = %10
%28 = load i32, ptr %4, align 4
%29 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %28, ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %30
30: ; preds = %47, %27
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = icmp ult i32 %31, %35
br i1 %36, label %37, label %50
37: ; preds = %30
%38 = load i32, ptr %4, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = add i32 %40, 2
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %38, ptr noundef @.str.2, i32 noundef %45)
br label %47
47: ; preds = %37
%48 = load i32, ptr %6, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %6, align 4
br label %30, !llvm.loop !6
50: ; preds = %30
%51 = load i32, ptr %4, align 4
%52 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %51, ptr noundef @.str.3)
br label %53
53: ; preds = %50, %10
%54 = load i32, ptr %4, align 4
%55 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %54, ptr noundef @.str.4)
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 1
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
store i32 %59, ptr %3, align 4
br label %60
60: ; preds = %53, %9
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1
declare i32 @Parser_TsPacketLog(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjd0ivjlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"stuffing_byte: \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"0x%02x\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @x42_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %65
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = call i32 @Parser_DisplayTagInfo(i32 noundef %11, i8 noundef zeroext %14)
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %16, ptr noundef @.str, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 1
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = icmp ne i32 0, %25
br i1 %26, label %27, label %58
27: ; preds = %10
%28 = load i32, ptr %4, align 4
%29 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %28, ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = icmp ult i32 %30, %34
br i1 %35, label %.lr.ph, label %55
.lr.ph: ; preds = %27
br label %36
36: ; preds = %.lr.ph, %46
%37 = load i32, ptr %4, align 4
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %6, align 4
%40 = add i32 %39, 2
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %37, ptr noundef @.str.2, i32 noundef %44)
br label %46
46: ; preds = %36
%47 = load i32, ptr %6, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = icmp ult i32 %49, %53
br i1 %54, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %55
55: ; preds = %._crit_edge, %27
%56 = load i32, ptr %4, align 4
%57 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %56, ptr noundef @.str.3)
br label %58
58: ; preds = %55, %10
%59 = load i32, ptr %4, align 4
%60 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %59, ptr noundef @.str.4)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = zext i8 %63 to i32
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %58, %9
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1
declare i32 @Parser_TsPacketLog(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3aexewzr.c'
source_filename = "/tmp/tmp3aexewzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPURegionEnable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store volatile i32 %3, ptr inttoptr (i64 3758157208 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 3758157216 to ptr), align 4
%5 = or i32 %4, 1
store volatile i32 %5, ptr inttoptr (i64 3758157216 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3aexewzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPURegionEnable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store volatile i32 %3, ptr inttoptr (i64 3758157208 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 3758157216 to ptr), align 4
%5 = or i32 %4, 1
store volatile i32 %5, ptr inttoptr (i64 3758157216 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeo3fdxl_.c'
source_filename = "/tmp/tmpeo3fdxl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"delete S_M failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deleteS_M(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @shmctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
ret void
}
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeo3fdxl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"delete S_M failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deleteS_M(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @shmctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
ret void
}
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpetvj8dri.c'
source_filename = "/tmp/tmpetvj8dri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"iptables\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"-w -F\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-F\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @iptables_flush_chain(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %4, align 8
%13 = call i32 @snprintf(ptr noundef %11, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @snprintf(ptr noundef %15, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3, ptr noundef %16)
br label %18
18: ; preds = %14, %10
%19 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%20 = call ptr (ptr, ptr, ...) @popen(ptr noundef %19, ptr noundef @.str.4)
store ptr %20, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %18
store i64 1, ptr %3, align 8
br label %26
23: ; preds = %18
%24 = load ptr, ptr %7, align 8
%25 = call i32 @pclose(ptr noundef %24)
store i64 0, ptr %3, align 8
br label %26
26: ; preds = %23, %22
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @popen(...) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetvj8dri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"iptables\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"-w -F\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-F\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @iptables_flush_chain(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %4, align 8
%13 = call i32 @snprintf(ptr noundef %11, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @snprintf(ptr noundef %15, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3, ptr noundef %16)
br label %18
18: ; preds = %14, %10
%19 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%20 = call ptr (ptr, ptr, ...) @popen(ptr noundef %19, ptr noundef @.str.4)
store ptr %20, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %18
store i64 1, ptr %3, align 8
br label %26
23: ; preds = %18
%24 = load ptr, ptr %7, align 8
%25 = call i32 @pclose(ptr noundef %24)
store i64 0, ptr %3, align 8
br label %26
26: ; preds = %23, %22
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @popen(...) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpksz95iht.c'
source_filename = "/tmp/tmpksz95iht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %50, %14
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %53
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %4, align 1
%24 = load i8, ptr %4, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %31, label %27
27: ; preds = %21
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %49
31: ; preds = %27, %21
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %2, align 8
%36 = ptrtoint ptr %34 to i64
%37 = ptrtoint ptr %35 to i64
%38 = sub i64 %36, %37
%39 = trunc i64 %38 to i32
%40 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = load ptr, ptr %2, align 8
%43 = ptrtoint ptr %41 to i64
%44 = ptrtoint ptr %42 to i64
%45 = sub i64 %43, %44
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%48 = call i32 @Q_mkdir(ptr noundef %47)
br label %49
49: ; preds = %31, %27
br label %50
50: ; preds = %49
%51 = load ptr, ptr %3, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %3, align 8
br label %17, !llvm.loop !6
53: ; preds = %17
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpksz95iht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %55
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %49
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %4, align 1
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 92
br i1 %29, label %30, label %48
30: ; preds = %26, %20
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %2, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = trunc i64 %37 to i32
%39 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %38)
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %2, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%47 = call i32 @Q_mkdir(ptr noundef %46)
br label %48
48: ; preds = %30, %26
br label %49
49: ; preds = %48
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %3, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = icmp ne i8 %53, 0
br i1 %54, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %14
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7ivojo04.c'
source_filename = "/tmp/tmp7ivojo04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @color()
ret i32 0
}
declare i32 @color(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ivojo04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @color()
ret i32 0
}
declare i32 @color(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpupa1nkpw.c'
source_filename = "/tmp/tmpupa1nkpw.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"In handler\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"--------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = call i32 (...) @CheckSigs()
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @CheckSigs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpupa1nkpw.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"In handler\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"--------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = call i32 (...) @CheckSigs()
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @CheckSigs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73qmg8m8.c'
source_filename = "/tmp/tmp73qmg8m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 2
store i32 %7, ptr %2, align 4
br label %8
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 2010
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %8
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73qmg8m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 2
store i32 %7, ptr %2, align 4
br label %8
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 2010
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %8
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwa2_lxd8.c'
source_filename = "/tmp/tmpwa2_lxd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_STAT_VER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__stat(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 i32, ptr @_STAT_VER, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @__xstat(i32 noundef %5, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @__xstat(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwa2_lxd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_STAT_VER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__stat(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 i32, ptr @_STAT_VER, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @__xstat(i32 noundef %5, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @__xstat(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmk3n02da.c'
source_filename = "/tmp/tmpmk3n02da.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NESConvertTileDataToRom(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmk3n02da.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NESConvertTileDataToRom(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphsgd_ue3.c'
source_filename = "/tmp/tmphsgd_ue3.c"
target datalayout = "e-m:e-p270: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/tmphsgd_ue3.c"
target datalayout = "e-m:e-p270: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/tmpkwwri0xi.c'
source_filename = "/tmp/tmpkwwri0xi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADMSG = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"\09%d\09%d\09%d\09%lld\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_wakelock_stats_for_active_wl(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = load i64, ptr @EBADMSG, align 8
%20 = sub nsw i64 0, %19
store i64 %20, ptr %3, align 8
br label %40
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr @EOF, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %35, label %32
32: ; preds = %21
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %35, label %38
35: ; preds = %32, %21
%36 = load i64, ptr @EBADMSG, align 8
%37 = sub nsw i64 0, %36
store i64 %37, ptr %3, align 8
br label %40
38: ; preds = %32
%39 = load i64, ptr %12, align 8
store i64 %39, ptr %3, align 8
br label %40
40: ; preds = %38, %35, %18
%41 = load i64, ptr %3, align 8
ret i64 %41
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkwwri0xi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADMSG = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"\09%d\09%d\09%d\09%lld\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_wakelock_stats_for_active_wl(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = load i64, ptr @EBADMSG, align 8
%20 = sub nsw i64 0, %19
store i64 %20, ptr %3, align 8
br label %40
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr @EOF, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %35, label %32
32: ; preds = %21
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %35, label %38
35: ; preds = %32, %21
%36 = load i64, ptr @EBADMSG, align 8
%37 = sub nsw i64 0, %36
store i64 %37, ptr %3, align 8
br label %40
38: ; preds = %32
%39 = load i64, ptr %12, align 8
store i64 %39, ptr %3, align 8
br label %40
40: ; preds = %38, %35, %18
%41 = load i64, ptr %3, align 8
ret i64 %41
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpofzat_uo.c'
source_filename = "/tmp/tmpofzat_uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_array() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 20
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
br label %3, !llvm.loop !6
14: ; preds = %3
%15 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%16 = call i32 @private_array_check(ptr noundef %15)
ret void
}
declare i32 @private_array_check(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpofzat_uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_array() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 20
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %1, align 4
%7 = add nsw i32 %6, 1
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %9
store i32 %7, ptr %10, align 4
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = icmp slt i32 %13, 20
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %15
15: ; preds = %._crit_edge, %0
%16 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%17 = call i32 @private_array_check(ptr noundef %16)
ret void
}
declare i32 @private_array_check(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3l5o7elv.c'
source_filename = "/tmp/tmp3l5o7elv.c"
target datalayout = "e-m:e-p270: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/tmp3l5o7elv.c"
target datalayout = "e-m:e-p270: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/tmpqpnzfzf6.c'
source_filename = "/tmp/tmpqpnzfzf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_trap() #0 {
%1 = call i32 (...) @a()
ret void
}
declare i32 @a(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqpnzfzf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_trap() #0 {
%1 = call i32 (...) @a()
ret void
}
declare i32 @a(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_8thk28f.c'
source_filename = "/tmp/tmp_8thk28f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_time(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = call ptr @ctime(ptr noundef %2)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare ptr @ctime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8thk28f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_time(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = call ptr @ctime(ptr noundef %2)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare ptr @ctime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxn3gyjam.c'
source_filename = "/tmp/tmpxn3gyjam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decode_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %4, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %2
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %18, %2
store i32 -1, ptr %3, align 4
br label %61
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr @SEEK_END, align 4
%25 = call i32 @fseek(ptr noundef %23, i32 noundef 0, i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @ftell(ptr noundef %26)
store i32 %27, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr @SEEK_SET, align 4
%30 = call i32 @fseek(ptr noundef %28, i32 noundef 0, i32 noundef %29)
%31 = load i32, ptr %10, align 4
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %8, align 8
%34 = load i32, ptr %10, align 4
%35 = mul i32 %34, 9
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %9, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %10, align 4
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fread(ptr noundef %38, i32 noundef 1, i32 noundef %39, ptr noundef %40)
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr %9, align 8
%44 = call i32 @lzs_decode(ptr noundef %42, ptr noundef %43, ptr noundef %10, ptr noundef %11)
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %11, align 4
%47 = load ptr, ptr %7, align 8
%48 = call i32 @fwrite(ptr noundef %45, i32 noundef 1, i32 noundef %46, ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fflush(ptr noundef %49)
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fflush(ptr noundef %51)
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load ptr, ptr %7, align 8
%56 = call i32 @fclose(ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %9, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 0, ptr %3, align 4
br label %61
61: ; preds = %22, %21
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @lzs_decode(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxn3gyjam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decode_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %4, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %2
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %18, %2
store i32 -1, ptr %3, align 4
br label %61
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr @SEEK_END, align 4
%25 = call i32 @fseek(ptr noundef %23, i32 noundef 0, i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @ftell(ptr noundef %26)
store i32 %27, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr @SEEK_SET, align 4
%30 = call i32 @fseek(ptr noundef %28, i32 noundef 0, i32 noundef %29)
%31 = load i32, ptr %10, align 4
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %8, align 8
%34 = load i32, ptr %10, align 4
%35 = mul i32 %34, 9
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %9, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %10, align 4
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fread(ptr noundef %38, i32 noundef 1, i32 noundef %39, ptr noundef %40)
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr %9, align 8
%44 = call i32 @lzs_decode(ptr noundef %42, ptr noundef %43, ptr noundef %10, ptr noundef %11)
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %11, align 4
%47 = load ptr, ptr %7, align 8
%48 = call i32 @fwrite(ptr noundef %45, i32 noundef 1, i32 noundef %46, ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fflush(ptr noundef %49)
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fflush(ptr noundef %51)
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load ptr, ptr %7, align 8
%56 = call i32 @fclose(ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %9, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 0, ptr %3, align 4
br label %61
61: ; preds = %22, %21
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @lzs_decode(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj280r23h.c'
source_filename = "/tmp/tmpj280r23h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"> Hello, World!\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Max string len reached\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"calc\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"CALC RECOGNIZED!\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"blink\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"LEDDDDDD!\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"LEDDDDDD STOP!\0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main(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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 (...) @uart_init()
%19 = call ptr (...) @led_init()
store ptr %19, ptr %7, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 (...) @uart_init()
%24 = call i32 @uart_puts(ptr noundef @.str)
store i32 80, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %9, align 8
%28 = alloca i8, i64 %26, align 16
store i64 %26, ptr %10, align 8
store i32 0, ptr %11, align 4
%29 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %12, align 4
store ptr %12, ptr %13, align 8
br label %30
30: ; preds = %111, %3
br label %31
31: ; preds = %30
%32 = call signext i8 (...) @uart_getc()
store i8 %32, ptr %14, align 1
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %8, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp sgt i32 %33, %35
br i1 %36, label %37, label %42
37: ; preds = %31
%38 = call i32 @uart_puts(ptr noundef %28)
%39 = load i32, ptr %11, align 4
%40 = call i32 @reset_string(ptr noundef %28, i32 noundef %39)
%41 = call i32 @uart_puts(ptr noundef @.str.2)
store i32 0, ptr %11, align 4
br label %111
42: ; preds = %31
%43 = load i8, ptr %14, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 13
br i1 %45, label %46, label %75
46: ; preds = %42
%47 = call i32 @uart_puts(ptr noundef @.str.3)
%48 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.4, i32 noundef 5)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = call i32 @uart_puts(ptr noundef @.str.5)
%52 = call i32 (...) @calc_init()
%53 = load ptr, ptr %13, align 8
store i32 1, ptr %53, align 4
br label %54
54: ; preds = %50, %46
%55 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.6, i32 noundef 6)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %54
%58 = call i32 @uart_puts(ptr noundef @.str.7)
%59 = load ptr, ptr %7, align 8
%60 = call i32 @led_blink(ptr noundef %59, i32 noundef 1)
br label %61
61: ; preds = %57, %54
%62 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.8, i32 noundef 5)
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = call i32 @uart_puts(ptr noundef @.str.9)
%66 = load ptr, ptr %7, align 8
%67 = call i32 @led_blink(ptr noundef %66, i32 noundef 0)
br label %71
68: ; preds = %61
%69 = call i32 @uart_puts(ptr noundef %28)
%70 = call i32 @uart_puts(ptr noundef @.str.10)
br label %71
71: ; preds = %68, %64
%72 = load i32, ptr %11, align 4
%73 = call i32 @reset_string(ptr noundef %28, i32 noundef %72)
%74 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %11, align 4
br label %110
75: ; preds = %42
%76 = load i8, ptr %14, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 127
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load i8, ptr %14, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 8
br i1 %82, label %83, label %97
83: ; preds = %79, %75
%84 = load i32, ptr %11, align 4
%85 = icmp sgt i32 %84, 0
br i1 %85, label %86, label %96
86: ; preds = %83
%87 = call i32 @uart_putc(i8 noundef signext 8)
%88 = call i32 @uart_putc(i8 noundef signext 32)
%89 = call i32 @uart_putc(i8 noundef signext 8)
%90 = load i32, ptr %11, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %28, i64 %92
store i8 0, ptr %93, align 1
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, -1
store i32 %95, ptr %11, align 4
br label %96
96: ; preds = %86, %83
br label %109
97: ; preds = %79
%98 = load i8, ptr %14, align 1
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %28, i64 %100
store i8 %98, ptr %101, align 1
%102 = load i32, ptr %11, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %28, i64 %103
%105 = load i8, ptr %104, align 1
%106 = call i32 @uart_putc(i8 noundef signext %105)
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
br label %109
109: ; preds = %97, %96
br label %110
110: ; preds = %109, %71
br label %111
111: ; preds = %110, %37
br label %30
}
declare i32 @uart_init(...) #1
declare ptr @led_init(...) #1
declare i32 @uart_puts(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @uart_getc(...) #1
declare i32 @reset_string(ptr noundef, i32 noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @calc_init(...) #1
declare i32 @led_blink(ptr noundef, i32 noundef) #1
declare i32 @uart_putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj280r23h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"> Hello, World!\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Max string len reached\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"calc\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"CALC RECOGNIZED!\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"blink\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"LEDDDDDD!\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"LEDDDDDD STOP!\0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main(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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 (...) @uart_init()
%19 = call ptr (...) @led_init()
store ptr %19, ptr %7, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 (...) @uart_init()
%24 = call i32 @uart_puts(ptr noundef @.str)
store i32 80, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %9, align 8
%28 = alloca i8, i64 %26, align 16
store i64 %26, ptr %10, align 8
store i32 0, ptr %11, align 4
%29 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %12, align 4
store ptr %12, ptr %13, align 8
br label %30
30: ; preds = %111, %3
br label %31
31: ; preds = %30
%32 = call signext i8 (...) @uart_getc()
store i8 %32, ptr %14, align 1
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %8, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp sgt i32 %33, %35
br i1 %36, label %37, label %42
37: ; preds = %31
%38 = call i32 @uart_puts(ptr noundef %28)
%39 = load i32, ptr %11, align 4
%40 = call i32 @reset_string(ptr noundef %28, i32 noundef %39)
%41 = call i32 @uart_puts(ptr noundef @.str.2)
store i32 0, ptr %11, align 4
br label %111
42: ; preds = %31
%43 = load i8, ptr %14, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 13
br i1 %45, label %46, label %75
46: ; preds = %42
%47 = call i32 @uart_puts(ptr noundef @.str.3)
%48 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.4, i32 noundef 5)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = call i32 @uart_puts(ptr noundef @.str.5)
%52 = call i32 (...) @calc_init()
%53 = load ptr, ptr %13, align 8
store i32 1, ptr %53, align 4
br label %54
54: ; preds = %50, %46
%55 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.6, i32 noundef 6)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %54
%58 = call i32 @uart_puts(ptr noundef @.str.7)
%59 = load ptr, ptr %7, align 8
%60 = call i32 @led_blink(ptr noundef %59, i32 noundef 1)
br label %61
61: ; preds = %57, %54
%62 = call i64 @memcmp(ptr noundef %28, ptr noundef @.str.8, i32 noundef 5)
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = call i32 @uart_puts(ptr noundef @.str.9)
%66 = load ptr, ptr %7, align 8
%67 = call i32 @led_blink(ptr noundef %66, i32 noundef 0)
br label %71
68: ; preds = %61
%69 = call i32 @uart_puts(ptr noundef %28)
%70 = call i32 @uart_puts(ptr noundef @.str.10)
br label %71
71: ; preds = %68, %64
%72 = load i32, ptr %11, align 4
%73 = call i32 @reset_string(ptr noundef %28, i32 noundef %72)
%74 = call i32 @uart_puts(ptr noundef @.str.1)
store i32 0, ptr %11, align 4
br label %110
75: ; preds = %42
%76 = load i8, ptr %14, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 127
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load i8, ptr %14, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 8
br i1 %82, label %83, label %97
83: ; preds = %79, %75
%84 = load i32, ptr %11, align 4
%85 = icmp sgt i32 %84, 0
br i1 %85, label %86, label %96
86: ; preds = %83
%87 = call i32 @uart_putc(i8 noundef signext 8)
%88 = call i32 @uart_putc(i8 noundef signext 32)
%89 = call i32 @uart_putc(i8 noundef signext 8)
%90 = load i32, ptr %11, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %28, i64 %92
store i8 0, ptr %93, align 1
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, -1
store i32 %95, ptr %11, align 4
br label %96
96: ; preds = %86, %83
br label %109
97: ; preds = %79
%98 = load i8, ptr %14, align 1
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %28, i64 %100
store i8 %98, ptr %101, align 1
%102 = load i32, ptr %11, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %28, i64 %103
%105 = load i8, ptr %104, align 1
%106 = call i32 @uart_putc(i8 noundef signext %105)
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
br label %109
109: ; preds = %97, %96
br label %110
110: ; preds = %109, %71
br label %111
111: ; preds = %110, %37
br label %30
}
declare i32 @uart_init(...) #1
declare ptr @led_init(...) #1
declare i32 @uart_puts(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @uart_getc(...) #1
declare i32 @reset_string(ptr noundef, i32 noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @calc_init(...) #1
declare i32 @led_blink(ptr noundef, i32 noundef) #1
declare i32 @uart_putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy2ler4id.c'
source_filename = "/tmp/tmpy2ler4id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [94 x i32], align 16
%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
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 376, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %39, %0
%9 = call i32 (...) @getchar()
store i32 %9, ptr %3, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %40
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = icmp sge i32 %13, 33
br i1 %14, label %15, label %39
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %16, 126
br i1 %17, label %18, label %39
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 33
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %22, align 4
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 33
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %38
32: ; preds = %18
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %32, %18
br label %39
39: ; preds = %38, %15, %12
br label %8, !llvm.loop !6
40: ; preds = %8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%42 = load i32, ptr %5, align 4
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %67, %40
%44 = load i32, ptr %6, align 4
%45 = icmp sge i32 %44, 1
br i1 %45, label %46, label %70
46: ; preds = %43
store i32 1, ptr %7, align 4
br label %47
47: ; preds = %62, %46
%48 = load i32, ptr %7, align 4
%49 = icmp sle i32 %48, 94
br i1 %49, label %50, label %65
50: ; preds = %47
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %50
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %61
59: ; preds = %50
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %61
61: ; preds = %59, %57
br label %62
62: ; preds = %61
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %47, !llvm.loop !8
65: ; preds = %47
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %67
67: ; preds = %65
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %6, align 4
br label %43, !llvm.loop !9
70: ; preds = %43
store i32 1, ptr %7, align 4
br label %71
71: ; preds = %76, %70
%72 = load i32, ptr %7, align 4
%73 = icmp sle i32 %72, 94
br i1 %73, label %74, label %79
74: ; preds = %71
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %76
76: ; preds = %74
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %7, align 4
br label %71, !llvm.loop !10
79: ; preds = %71
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %81
81: ; preds = %88, %79
%82 = load i32, ptr %7, align 4
%83 = icmp sle i32 %82, 94
br i1 %83, label %84, label %91
84: ; preds = %81
%85 = load i32, ptr %7, align 4
%86 = add nsw i32 %85, 33
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %86)
br label %88
88: ; preds = %84
%89 = load i32, ptr %7, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %7, align 4
br label %81, !llvm.loop !11
91: ; preds = %81
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @getchar(...) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpy2ler4id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [94 x i32], align 16
%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
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 376, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (...) @getchar()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %42
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %38
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %12, 33
br i1 %13, label %14, label %38
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 126
br i1 %16, label %17, label %38
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = sub nsw i32 %18, 33
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %24, 33
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %37
31: ; preds = %17
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 33
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %31, %17
br label %38
38: ; preds = %37, %14, %11
%39 = call i32 (...) @getchar()
store i32 %39, ptr %3, align 4
%40 = load i32, ptr @EOF, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %42
42: ; preds = %._crit_edge, %0
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%44 = load i32, ptr %5, align 4
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sge i32 %45, 1
br i1 %46, label %.lr.ph5, label %74
.lr.ph5: ; preds = %42
br label %47
47: ; preds = %.lr.ph5, %69
store i32 1, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp sle i32 %48, 94
br i1 %49, label %.lr.ph2, label %67
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %62
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [94 x i32], ptr %2, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %50
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %61
59: ; preds = %50
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %61
61: ; preds = %59, %57
br label %62
62: ; preds = %61
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp sle i32 %65, 94
br i1 %66, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %67
67: ; preds = %._crit_edge3, %47
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %69
69: ; preds = %67
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp sge i32 %72, 1
br i1 %73, label %47, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %69
br label %74
74: ; preds = %._crit_edge6, %42
store i32 1, ptr %7, align 4
%75 = load i32, ptr %7, align 4
%76 = icmp sle i32 %75, 94
br i1 %76, label %.lr.ph8, label %84
.lr.ph8: ; preds = %74
br label %77
77: ; preds = %.lr.ph8, %79
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %79
79: ; preds = %77
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp sle i32 %82, 94
br i1 %83, label %77, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %79
br label %84
84: ; preds = %._crit_edge9, %74
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp sle i32 %86, 94
br i1 %87, label %.lr.ph11, label %97
.lr.ph11: ; preds = %84
br label %88
88: ; preds = %.lr.ph11, %92
%89 = load i32, ptr %7, align 4
%90 = add nsw i32 %89, 33
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %90)
br label %92
92: ; preds = %88
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp sle i32 %95, 94
br i1 %96, label %88, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %92
br label %97
97: ; preds = %._crit_edge12, %84
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @getchar(...) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpvqvk5hiq.c'
source_filename = "/tmp/tmpvqvk5hiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"fn_test3: %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn_test3() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @printf(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/tmpvqvk5hiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"fn_test3: %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn_test3() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @printf(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/tmpl5gwlxww.c'
source_filename = "/tmp/tmpl5gwlxww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @initscr()
%8 = load i32, ptr @stdscr, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @getmaxyx(i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = call i32 (...) @raw()
%13 = load i32, ptr @stdscr, align 4
%14 = load i32, ptr @TRUE, align 4
%15 = call i32 @keypad(i32 noundef %13, i32 noundef %14)
%16 = call i32 (...) @noecho()
%17 = load i32, ptr %3, align 4
%18 = sdiv i32 %17, 2
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @draw_border(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @draw_target(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i8 noundef signext 124, i8 noundef signext 45, i8 noundef signext 43)
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %97, %0
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 113
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 81
br label %35
35: ; preds = %32, %29
%36 = phi i1 [ false, %29 ], [ %34, %32 ]
br i1 %36, label %37, label %108
37: ; preds = %35
%38 = call i32 (...) @getch()
store i32 %38, ptr %2, align 4
%39 = load i32, ptr @stdscr, align 4
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %3, align 4
%42 = call i32 @getmaxyx(i32 noundef %39, i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %3, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp sgt i32 %43, %45
br i1 %46, label %47, label %50
47: ; preds = %37
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %47, %37
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %4, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp sgt i32 %51, %53
br i1 %54, label %55, label %58
55: ; preds = %50
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %55, %50
%59 = load i32, ptr %2, align 4
switch i32 %59, label %96 [
i32 115, label %60
i32 106, label %60
i32 258, label %60
i32 119, label %70
i32 107, label %70
i32 259, label %70
i32 104, label %78
i32 97, label %78
i32 260, label %78
i32 108, label %86
i32 100, label %86
i32 261, label %86
]
60: ; preds = %58, %58, %58
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
%63 = load i32, ptr %4, align 4
%64 = sub nsw i32 %63, 1
%65 = icmp slt i32 %62, %64
br i1 %65, label %66, label %69
66: ; preds = %60
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %69
69: ; preds = %66, %60
br label %97
70: ; preds = %58, %58, %58
%71 = load i32, ptr %6, align 4
%72 = sub nsw i32 %71, 1
%73 = icmp sgt i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %70
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, -1
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %74, %70
br label %97
78: ; preds = %58, %58, %58
%79 = load i32, ptr %5, align 4
%80 = sub nsw i32 %79, 1
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %5, align 4
br label %85
85: ; preds = %82, %78
br label %97
86: ; preds = %58, %58, %58
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
%89 = load i32, ptr %3, align 4
%90 = sub nsw i32 %89, 1
%91 = icmp slt i32 %88, %90
br i1 %91, label %92, label %95
92: ; preds = %86
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
br label %95
95: ; preds = %92, %86
br label %97
96: ; preds = %58
br label %97
97: ; preds = %96, %95, %85, %77, %69
%98 = call i32 (...) @clear()
%99 = load i32, ptr %3, align 4
%100 = load i32, ptr %4, align 4
%101 = call i32 @draw_border(i32 noundef %99, i32 noundef %100)
%102 = load i32, ptr %3, align 4
%103 = load i32, ptr %4, align 4
%104 = load i32, ptr %5, align 4
%105 = load i32, ptr %6, align 4
%106 = call i32 @draw_target(i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i8 noundef signext 124, i8 noundef signext 45, i8 noundef signext 43)
%107 = call i32 (...) @refresh()
br label %29, !llvm.loop !6
108: ; preds = %35
%109 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @noecho(...) #1
declare i32 @draw_border(i32 noundef, i32 noundef) #1
declare i32 @draw_target(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @getch(...) #1
declare i32 @clear(...) #1
declare i32 @refresh(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl5gwlxww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @initscr()
%8 = load i32, ptr @stdscr, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @getmaxyx(i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = call i32 (...) @raw()
%13 = load i32, ptr @stdscr, align 4
%14 = load i32, ptr @TRUE, align 4
%15 = call i32 @keypad(i32 noundef %13, i32 noundef %14)
%16 = call i32 (...) @noecho()
%17 = load i32, ptr %3, align 4
%18 = sdiv i32 %17, 2
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @draw_border(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @draw_target(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i8 noundef signext 124, i8 noundef signext 45, i8 noundef signext 43)
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %97, %0
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 113
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 81
br label %35
35: ; preds = %32, %29
%36 = phi i1 [ false, %29 ], [ %34, %32 ]
br i1 %36, label %37, label %108
37: ; preds = %35
%38 = call i32 (...) @getch()
store i32 %38, ptr %2, align 4
%39 = load i32, ptr @stdscr, align 4
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %3, align 4
%42 = call i32 @getmaxyx(i32 noundef %39, i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %3, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp sgt i32 %43, %45
br i1 %46, label %47, label %50
47: ; preds = %37
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %47, %37
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %4, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp sgt i32 %51, %53
br i1 %54, label %55, label %58
55: ; preds = %50
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %55, %50
%59 = load i32, ptr %2, align 4
switch i32 %59, label %96 [
i32 115, label %60
i32 106, label %60
i32 258, label %60
i32 119, label %70
i32 107, label %70
i32 259, label %70
i32 104, label %78
i32 97, label %78
i32 260, label %78
i32 108, label %86
i32 100, label %86
i32 261, label %86
]
60: ; preds = %58, %58, %58
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
%63 = load i32, ptr %4, align 4
%64 = sub nsw i32 %63, 1
%65 = icmp slt i32 %62, %64
br i1 %65, label %66, label %69
66: ; preds = %60
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %69
69: ; preds = %66, %60
br label %97
70: ; preds = %58, %58, %58
%71 = load i32, ptr %6, align 4
%72 = sub nsw i32 %71, 1
%73 = icmp sgt i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %70
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, -1
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %74, %70
br label %97
78: ; preds = %58, %58, %58
%79 = load i32, ptr %5, align 4
%80 = sub nsw i32 %79, 1
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %5, align 4
br label %85
85: ; preds = %82, %78
br label %97
86: ; preds = %58, %58, %58
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
%89 = load i32, ptr %3, align 4
%90 = sub nsw i32 %89, 1
%91 = icmp slt i32 %88, %90
br i1 %91, label %92, label %95
92: ; preds = %86
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
br label %95
95: ; preds = %92, %86
br label %97
96: ; preds = %58
br label %97
97: ; preds = %96, %95, %85, %77, %69
%98 = call i32 (...) @clear()
%99 = load i32, ptr %3, align 4
%100 = load i32, ptr %4, align 4
%101 = call i32 @draw_border(i32 noundef %99, i32 noundef %100)
%102 = load i32, ptr %3, align 4
%103 = load i32, ptr %4, align 4
%104 = load i32, ptr %5, align 4
%105 = load i32, ptr %6, align 4
%106 = call i32 @draw_target(i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i8 noundef signext 124, i8 noundef signext 45, i8 noundef signext 43)
%107 = call i32 (...) @refresh()
br label %29, !llvm.loop !6
108: ; preds = %35
%109 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @noecho(...) #1
declare i32 @draw_border(i32 noundef, i32 noundef) #1
declare i32 @draw_target(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @getch(...) #1
declare i32 @clear(...) #1
declare i32 @refresh(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuxiwtagl.c'
source_filename = "/tmp/tmpuxiwtagl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.nCDF_ans = private unnamed_addr constant [7 x double] [double 0x3F561DE1F0D3F0B6, double 0x3F974BCF83ADC166, double 0x3FC44ED0B30B5AA7, double 5.000000e-01, double 0x3FEAEC4BD33D2956, double 0x3FEF45A184F572B3, double 0x3FEFF4F10DF4B549], align 16
@__const.main.Quantile_ans = private unnamed_addr constant [1 x double] [double 1.960000e+00], align 8
@__const.main.Quantile_ins = private unnamed_addr constant [1 x double] [double 0x3FEF333333333333], align 8
@.str = private unnamed_addr constant [41 x i8] c"CSPL_Stats_Normal_CDFfn(%lf) %lf != %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"CSPL_Stats_Normal_Quantilefn(%lf) %lf != %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca [7 x double], align 16
%5 = alloca [7 x double], align 16
%6 = alloca [1 x double], align 8
%7 = alloca [1 x double], align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.nCDF_ans, i64 56, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 56, i1 false)
%8 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 0
store double -3.000000e+00, ptr %8, align 16
%9 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 1
store double -2.000000e+00, ptr %9, align 8
%10 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 2
store double -1.000000e+00, ptr %10, align 16
%11 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 4
store double 1.000000e+00, ptr %11, align 16
%12 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 5
store double 2.000000e+00, ptr %12, align 8
%13 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 6
store double 3.000000e+00, ptr %13, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @__const.main.Quantile_ans, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @__const.main.Quantile_ins, i64 8, i1 false)
store i64 0, ptr %2, align 8
br label %14
14: ; preds = %43, %0
%15 = load i64, ptr %2, align 8
%16 = icmp slt i64 %15, 7
br i1 %16, label %17, label %46
17: ; preds = %14
%18 = load i64, ptr %2, align 8
%19 = getelementptr inbounds [7 x double], ptr %5, i64 0, i64 %18
%20 = load double, ptr %19, align 8
%21 = call double @CSPL_Stats_Normal_CDFfn(double noundef %20, double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %21, ptr %3, align 8
%22 = load i64, ptr %2, align 8
%23 = getelementptr inbounds [7 x double], ptr %5, i64 0, i64 %22
%24 = load double, ptr %23, align 8
%25 = load double, ptr %3, align 8
%26 = load i64, ptr %2, align 8
%27 = getelementptr inbounds [7 x double], ptr %4, i64 0, i64 %26
%28 = load double, ptr %27, align 8
%29 = call i32 @printf(ptr noundef @.str, double noundef %24, double noundef %25, double noundef %28)
%30 = load double, ptr %3, align 8
%31 = load i64, ptr %2, align 8
%32 = getelementptr inbounds [7 x double], ptr %4, i64 0, i64 %31
%33 = load double, ptr %32, align 8
%34 = fsub double %30, %33
%35 = fptosi double %34 to i32
%36 = call i32 @fabs(i32 noundef %35)
%37 = sitofp i32 %36 to double
%38 = fcmp olt double %37, 1.000000e-04
%39 = zext i1 %38 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %17
store i32 1, ptr %1, align 4
br label %80
42: ; preds = %17
br label %43
43: ; preds = %42
%44 = load i64, ptr %2, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %2, align 8
br label %14, !llvm.loop !6
46: ; preds = %14
store i64 0, ptr %2, align 8
br label %47
47: ; preds = %76, %46
%48 = load i64, ptr %2, align 8
%49 = icmp slt i64 %48, 1
br i1 %49, label %50, label %79
50: ; preds = %47
%51 = load i64, ptr %2, align 8
%52 = getelementptr inbounds [1 x double], ptr %7, i64 0, i64 %51
%53 = load double, ptr %52, align 8
%54 = call double @CSPL_Stats_Normal_Quantilefn(double noundef %53, double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %54, ptr %3, align 8
%55 = load i64, ptr %2, align 8
%56 = getelementptr inbounds [1 x double], ptr %7, i64 0, i64 %55
%57 = load double, ptr %56, align 8
%58 = load double, ptr %3, align 8
%59 = load i64, ptr %2, align 8
%60 = getelementptr inbounds [1 x double], ptr %6, i64 0, i64 %59
%61 = load double, ptr %60, align 8
%62 = call i32 @printf(ptr noundef @.str.1, double noundef %57, double noundef %58, double noundef %61)
%63 = load double, ptr %3, align 8
%64 = load i64, ptr %2, align 8
%65 = getelementptr inbounds [1 x double], ptr %6, i64 0, i64 %64
%66 = load double, ptr %65, align 8
%67 = fsub double %63, %66
%68 = fptosi double %67 to i32
%69 = call i32 @fabs(i32 noundef %68)
%70 = sitofp i32 %69 to double
%71 = fcmp olt double %70, 1.000000e-02
%72 = zext i1 %71 to i32
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %50
store i32 1, ptr %1, align 4
br label %80
75: ; preds = %50
br label %76
76: ; preds = %75
%77 = load i64, ptr %2, align 8
%78 = add nsw i64 %77, 1
store i64 %78, ptr %2, align 8
br label %47, !llvm.loop !8
79: ; preds = %47
store i32 0, ptr %1, align 4
br label %80
80: ; preds = %79, %74, %41
%81 = load i32, ptr %1, align 4
ret i32 %81
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare double @CSPL_Stats_Normal_CDFfn(double noundef, double noundef, double noundef) #3
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #3
declare i32 @fabs(i32 noundef) #3
declare double @CSPL_Stats_Normal_Quantilefn(double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxiwtagl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.nCDF_ans = private unnamed_addr constant [7 x double] [double 0x3F561DE1F0D3F0B6, double 0x3F974BCF83ADC166, double 0x3FC44ED0B30B5AA7, double 5.000000e-01, double 0x3FEAEC4BD33D2956, double 0x3FEF45A184F572B3, double 0x3FEFF4F10DF4B549], align 16
@__const.main.Quantile_ans = private unnamed_addr constant [1 x double] [double 1.960000e+00], align 8
@__const.main.Quantile_ins = private unnamed_addr constant [1 x double] [double 0x3FEF333333333333], align 8
@.str = private unnamed_addr constant [41 x i8] c"CSPL_Stats_Normal_CDFfn(%lf) %lf != %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"CSPL_Stats_Normal_Quantilefn(%lf) %lf != %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca [7 x double], align 16
%5 = alloca [7 x double], align 16
%6 = alloca [1 x double], align 8
%7 = alloca [1 x double], align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.nCDF_ans, i64 56, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 56, i1 false)
%8 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 0
store double -3.000000e+00, ptr %8, align 16
%9 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 1
store double -2.000000e+00, ptr %9, align 8
%10 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 2
store double -1.000000e+00, ptr %10, align 16
%11 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 4
store double 1.000000e+00, ptr %11, align 16
%12 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 5
store double 2.000000e+00, ptr %12, align 8
%13 = getelementptr inbounds [7 x double], ptr %5, i32 0, i32 6
store double 3.000000e+00, ptr %13, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @__const.main.Quantile_ans, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @__const.main.Quantile_ins, i64 8, i1 false)
store i64 0, ptr %2, align 8
%14 = load i64, ptr %2, align 8
%15 = icmp slt i64 %14, 7
br i1 %15, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %42
%17 = load i64, ptr %2, align 8
%18 = getelementptr inbounds [7 x double], ptr %5, i64 0, i64 %17
%19 = load double, ptr %18, align 8
%20 = call double @CSPL_Stats_Normal_CDFfn(double noundef %19, double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %20, ptr %3, align 8
%21 = load i64, ptr %2, align 8
%22 = getelementptr inbounds [7 x double], ptr %5, i64 0, i64 %21
%23 = load double, ptr %22, align 8
%24 = load double, ptr %3, align 8
%25 = load i64, ptr %2, align 8
%26 = getelementptr inbounds [7 x double], ptr %4, i64 0, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i32 @printf(ptr noundef @.str, double noundef %23, double noundef %24, double noundef %27)
%29 = load double, ptr %3, align 8
%30 = load i64, ptr %2, align 8
%31 = getelementptr inbounds [7 x double], ptr %4, i64 0, i64 %30
%32 = load double, ptr %31, align 8
%33 = fsub double %29, %32
%34 = fptosi double %33 to i32
%35 = call i32 @fabs(i32 noundef %34)
%36 = sitofp i32 %35 to double
%37 = fcmp olt double %36, 1.000000e-04
%38 = zext i1 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %16
store i32 1, ptr %1, align 4
br label %82
41: ; preds = %16
br label %42
42: ; preds = %41
%43 = load i64, ptr %2, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %2, align 8
%45 = load i64, ptr %2, align 8
%46 = icmp slt i64 %45, 7
br i1 %46, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %0
store i64 0, ptr %2, align 8
%48 = load i64, ptr %2, align 8
%49 = icmp slt i64 %48, 1
br i1 %49, label %.lr.ph2, label %81
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %76
%51 = load i64, ptr %2, align 8
%52 = getelementptr inbounds [1 x double], ptr %7, i64 0, i64 %51
%53 = load double, ptr %52, align 8
%54 = call double @CSPL_Stats_Normal_Quantilefn(double noundef %53, double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %54, ptr %3, align 8
%55 = load i64, ptr %2, align 8
%56 = getelementptr inbounds [1 x double], ptr %7, i64 0, i64 %55
%57 = load double, ptr %56, align 8
%58 = load double, ptr %3, align 8
%59 = load i64, ptr %2, align 8
%60 = getelementptr inbounds [1 x double], ptr %6, i64 0, i64 %59
%61 = load double, ptr %60, align 8
%62 = call i32 @printf(ptr noundef @.str.1, double noundef %57, double noundef %58, double noundef %61)
%63 = load double, ptr %3, align 8
%64 = load i64, ptr %2, align 8
%65 = getelementptr inbounds [1 x double], ptr %6, i64 0, i64 %64
%66 = load double, ptr %65, align 8
%67 = fsub double %63, %66
%68 = fptosi double %67 to i32
%69 = call i32 @fabs(i32 noundef %68)
%70 = sitofp i32 %69 to double
%71 = fcmp olt double %70, 1.000000e-02
%72 = zext i1 %71 to i32
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %50
store i32 1, ptr %1, align 4
br label %82
75: ; preds = %50
br label %76
76: ; preds = %75
%77 = load i64, ptr %2, align 8
%78 = add nsw i64 %77, 1
store i64 %78, ptr %2, align 8
%79 = load i64, ptr %2, align 8
%80 = icmp slt i64 %79, 1
br i1 %80, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %81
81: ; preds = %._crit_edge3, %47
store i32 0, ptr %1, align 4
br label %82
82: ; preds = %81, %74, %40
%83 = load i32, ptr %1, align 4
ret i32 %83
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare double @CSPL_Stats_Normal_CDFfn(double noundef, double noundef, double noundef) #3
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #3
declare i32 @fabs(i32 noundef) #3
declare double @CSPL_Stats_Normal_Quantilefn(double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2qcqwdik.c'
source_filename = "/tmp/tmp2qcqwdik.c"
target datalayout = "e-m:e-p270: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/tmp2qcqwdik.c"
target datalayout = "e-m:e-p270: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/tmpecl2wtij.c'
source_filename = "/tmp/tmpecl2wtij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cmsg_space(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @CMSG_SPACE(i64 noundef %3)
ret i64 %4
}
declare i64 @CMSG_SPACE(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecl2wtij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cmsg_space(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @CMSG_SPACE(i64 noundef %3)
ret i64 %4
}
declare i64 @CMSG_SPACE(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf2ev3b9j.c'
source_filename = "/tmp/tmpf2ev3b9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @otu_descend(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 double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp ogt double %8, 5.000000e-01
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load double, ptr %6, align 8
%12 = fcmp ogt double %11, 5.000000e-01
br i1 %12, label %13, label %31
13: ; preds = %10, %3
%14 = load double, ptr %4, align 8
%15 = fmul double 0.000000e+00, %14
%16 = load double, ptr %6, align 8
%17 = load double, ptr %5, align 8
%18 = fsub double %16, %17
%19 = fdiv double %15, %18
%20 = load double, ptr %6, align 8
%21 = fsub double %20, 5.000000e-01
%22 = fdiv double %21, 5.000000e-01
%23 = call i32 @pow(double noundef %22, i32 noundef 1)
%24 = load double, ptr %5, align 8
%25 = fsub double %24, 5.000000e-01
%26 = fdiv double %25, 5.000000e-01
%27 = call i32 @pow(double noundef %26, i32 noundef 1)
%28 = sub nsw i32 %23, %27
%29 = sitofp i32 %28 to double
%30 = fmul double %19, %29
store double %30, ptr %7, align 8
br label %31
31: ; preds = %13, %10
%32 = load double, ptr %7, align 8
ret double %32
}
declare i32 @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf2ev3b9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @otu_descend(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 double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp ogt double %8, 5.000000e-01
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load double, ptr %6, align 8
%12 = fcmp ogt double %11, 5.000000e-01
br i1 %12, label %13, label %31
13: ; preds = %10, %3
%14 = load double, ptr %4, align 8
%15 = fmul double 0.000000e+00, %14
%16 = load double, ptr %6, align 8
%17 = load double, ptr %5, align 8
%18 = fsub double %16, %17
%19 = fdiv double %15, %18
%20 = load double, ptr %6, align 8
%21 = fsub double %20, 5.000000e-01
%22 = fdiv double %21, 5.000000e-01
%23 = call i32 @pow(double noundef %22, i32 noundef 1)
%24 = load double, ptr %5, align 8
%25 = fsub double %24, 5.000000e-01
%26 = fdiv double %25, 5.000000e-01
%27 = call i32 @pow(double noundef %26, i32 noundef 1)
%28 = sub nsw i32 %23, %27
%29 = sitofp i32 %28 to double
%30 = fmul double %19, %29
store double %30, ptr %7, align 8
br label %31
31: ; preds = %13, %10
%32 = load double, ptr %7, align 8
ret double %32
}
declare i32 @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5_wmrh19.c'
source_filename = "/tmp/tmp5_wmrh19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fire missile\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @firePlayerMissle() #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/tmp5_wmrh19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fire missile\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @firePlayerMissle() #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/tmp1_s5464k.c'
source_filename = "/tmp/tmp1_s5464k.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"DeviceNo not numeric: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"dump\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"debug\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"TapeAlert\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"load\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"unload\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"delay\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"compression\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Append\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"online\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"offline\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"list\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"empty\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.16 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"check param\00", align 1
@.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_Params(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 = icmp sgt i32 %5, 1
br i1 %6, label %7, label %223
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @isnumeric(ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %7
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 2
br i1 %22, label %23, label %218
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.1)
%28 = icmp ne i32 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %23
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 3
br i1 %31, label %32, label %33
32: ; preds = %29
br label %228
33: ; preds = %29
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = call i32 @PrintErrorExit(ptr noundef %36, ptr noundef @.str.1)
br label %38
38: ; preds = %33, %23
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.2)
%43 = icmp ne i32 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %38
%45 = load i32, ptr %3, align 4
%46 = icmp eq i32 %45, 3
br i1 %46, label %47, label %48
47: ; preds = %44
br label %228
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = call i32 @PrintErrorExit(ptr noundef %51, ptr noundef @.str.2)
br label %53
53: ; preds = %48, %38
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 2
%56 = load ptr, ptr %55, align 8
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.3)
%58 = icmp ne i32 %57, 0
br i1 %58, label %68, label %59
59: ; preds = %53
%60 = load i32, ptr %3, align 4
%61 = icmp eq i32 %60, 3
br i1 %61, label %62, label %63
62: ; preds = %59
br label %228
63: ; preds = %59
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 0
%66 = load ptr, ptr %65, align 8
%67 = call i32 @PrintErrorExit(ptr noundef %66, ptr noundef @.str.3)
br label %68
68: ; preds = %63, %53
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 2
%71 = load ptr, ptr %70, align 8
%72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.4)
%73 = icmp ne i32 %72, 0
br i1 %73, label %83, label %74
74: ; preds = %68
%75 = load i32, ptr %3, align 4
%76 = icmp eq i32 %75, 3
br i1 %76, label %77, label %78
77: ; preds = %74
br label %228
78: ; preds = %74
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds ptr, ptr %79, i64 0
%81 = load ptr, ptr %80, align 8
%82 = call i32 @PrintErrorExit(ptr noundef %81, ptr noundef @.str.4)
br label %83
83: ; preds = %78, %68
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 2
%86 = load ptr, ptr %85, align 8
%87 = call i32 @strncasecmp(ptr noundef %86, ptr noundef @.str.5, i32 noundef 9)
%88 = icmp ne i32 %87, 0
br i1 %88, label %93, label %89
89: ; preds = %83
%90 = load i32, ptr %3, align 4
%91 = load ptr, ptr %4, align 8
%92 = call i32 @Check_TapeAlert(i32 noundef %90, ptr noundef %91)
br label %228
93: ; preds = %83
%94 = load ptr, ptr %4, align 8
%95 = getelementptr inbounds ptr, ptr %94, i64 2
%96 = load ptr, ptr %95, align 8
%97 = call i32 @strncasecmp(ptr noundef %96, ptr noundef @.str.6, i32 noundef 4)
%98 = icmp ne i32 %97, 0
br i1 %98, label %103, label %99
99: ; preds = %93
%100 = load i32, ptr %3, align 4
%101 = load ptr, ptr %4, align 8
%102 = call i32 @Check_Load(i32 noundef %100, ptr noundef %101)
br label %228
103: ; preds = %93
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 2
%106 = load ptr, ptr %105, align 8
%107 = call i32 @strncasecmp(ptr noundef %106, ptr noundef @.str.7, i32 noundef 6)
%108 = icmp ne i32 %107, 0
br i1 %108, label %113, label %109
109: ; preds = %103
%110 = load i32, ptr %3, align 4
%111 = load ptr, ptr %4, align 8
%112 = call i32 @Check_Unload(i32 noundef %110, ptr noundef %111)
br label %228
113: ; preds = %103
%114 = load ptr, ptr %4, align 8
%115 = getelementptr inbounds ptr, ptr %114, i64 2
%116 = load ptr, ptr %115, align 8
%117 = call i32 @strncasecmp(ptr noundef %116, ptr noundef @.str.8, i32 noundef 5)
%118 = icmp ne i32 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %113
%120 = load i32, ptr %3, align 4
%121 = load ptr, ptr %4, align 8
%122 = call i32 @Check_delay(i32 noundef %120, ptr noundef %121)
br label %228
123: ; preds = %113
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds ptr, ptr %124, i64 2
%126 = load ptr, ptr %125, align 8
%127 = call i32 @strncasecmp(ptr noundef %126, ptr noundef @.str.9, i32 noundef 11)
%128 = icmp ne i32 %127, 0
br i1 %128, label %133, label %129
129: ; preds = %123
%130 = load i32, ptr %3, align 4
%131 = load ptr, ptr %4, align 8
%132 = call i32 @Check_Compression(i32 noundef %130, ptr noundef %131)
br label %228
133: ; preds = %123
%134 = load ptr, ptr %4, align 8
%135 = getelementptr inbounds ptr, ptr %134, i64 2
%136 = load ptr, ptr %135, align 8
%137 = call i32 @strncasecmp(ptr noundef %136, ptr noundef @.str.10, i32 noundef 6)
%138 = icmp ne i32 %137, 0
br i1 %138, label %143, label %139
139: ; preds = %133
%140 = load i32, ptr %3, align 4
%141 = load ptr, ptr %4, align 8
%142 = call i32 @Check_append_only(i32 noundef %140, ptr noundef %141)
br label %228
143: ; preds = %133
%144 = load ptr, ptr %4, align 8
%145 = getelementptr inbounds ptr, ptr %144, i64 2
%146 = load ptr, ptr %145, align 8
%147 = call i32 @strcmp(ptr noundef %146, ptr noundef @.str.11)
%148 = icmp ne i32 %147, 0
br i1 %148, label %158, label %149
149: ; preds = %143
%150 = load i32, ptr %3, align 4
%151 = icmp eq i32 %150, 3
br i1 %151, label %152, label %153
152: ; preds = %149
br label %228
153: ; preds = %149
%154 = load ptr, ptr %4, align 8
%155 = getelementptr inbounds ptr, ptr %154, i64 0
%156 = load ptr, ptr %155, align 8
%157 = call i32 @PrintErrorExit(ptr noundef %156, ptr noundef @.str.11)
br label %158
158: ; preds = %153, %143
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds ptr, ptr %159, i64 2
%161 = load ptr, ptr %160, align 8
%162 = call i32 @strcmp(ptr noundef %161, ptr noundef @.str.12)
%163 = icmp ne i32 %162, 0
br i1 %163, label %173, label %164
164: ; preds = %158
%165 = load i32, ptr %3, align 4
%166 = icmp eq i32 %165, 3
br i1 %166, label %167, label %168
167: ; preds = %164
br label %228
168: ; preds = %164
%169 = load ptr, ptr %4, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 0
%171 = load ptr, ptr %170, align 8
%172 = call i32 @PrintErrorExit(ptr noundef %171, ptr noundef @.str.12)
br label %173
173: ; preds = %168, %158
%174 = load ptr, ptr %4, align 8
%175 = getelementptr inbounds ptr, ptr %174, i64 2
%176 = load ptr, ptr %175, align 8
%177 = call i32 @strcmp(ptr noundef %176, ptr noundef @.str.13)
%178 = icmp ne i32 %177, 0
br i1 %178, label %183, label %179
179: ; preds = %173
%180 = load i32, ptr %3, align 4
%181 = load ptr, ptr %4, align 8
%182 = call i32 @Check_List(i32 noundef %180, ptr noundef %181)
br label %228
183: ; preds = %173
%184 = load ptr, ptr %4, align 8
%185 = getelementptr inbounds ptr, ptr %184, i64 2
%186 = load ptr, ptr %185, align 8
%187 = call i32 @strcmp(ptr noundef %186, ptr noundef @.str.14)
%188 = icmp ne i32 %187, 0
br i1 %188, label %193, label %189
189: ; preds = %183
%190 = load i32, ptr %3, align 4
%191 = load ptr, ptr %4, align 8
%192 = call i32 @Check_Empty(i32 noundef %190, ptr noundef %191)
br label %228
193: ; preds = %183
%194 = load ptr, ptr %4, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 2
%196 = load ptr, ptr %195, align 8
%197 = call i32 @strcmp(ptr noundef %196, ptr noundef @.str.15)
%198 = icmp ne i32 %197, 0
br i1 %198, label %203, label %199
199: ; preds = %193
%200 = load i32, ptr %3, align 4
%201 = load ptr, ptr %4, align 8
%202 = call i32 @Check_Open(i32 noundef %200, ptr noundef %201)
br label %228
203: ; preds = %193
%204 = load ptr, ptr %4, align 8
%205 = getelementptr inbounds ptr, ptr %204, i64 2
%206 = load ptr, ptr %205, align 8
%207 = call i32 @strcmp(ptr noundef %206, ptr noundef @.str.16)
%208 = icmp ne i32 %207, 0
br i1 %208, label %213, label %209
209: ; preds = %203
%210 = load i32, ptr %3, align 4
%211 = load ptr, ptr %4, align 8
%212 = call i32 @Check_Close(i32 noundef %210, ptr noundef %211)
br label %228
213: ; preds = %203
%214 = load ptr, ptr %4, align 8
%215 = getelementptr inbounds ptr, ptr %214, i64 0
%216 = load ptr, ptr %215, align 8
%217 = call i32 @PrintErrorExit(ptr noundef %216, ptr noundef @.str.17)
br label %218
218: ; preds = %213, %20
%219 = load ptr, ptr %4, align 8
%220 = getelementptr inbounds ptr, ptr %219, i64 0
%221 = load ptr, ptr %220, align 8
%222 = call i32 @PrintErrorExit(ptr noundef %221, ptr noundef @.str.18)
br label %223
223: ; preds = %218, %2
%224 = load ptr, ptr %4, align 8
%225 = getelementptr inbounds ptr, ptr %224, i64 0
%226 = load ptr, ptr %225, align 8
%227 = call i32 @PrintErrorExit(ptr noundef %226, ptr noundef @.str.18)
br label %228
228: ; preds = %223, %209, %199, %189, %179, %167, %152, %139, %129, %119, %109, %99, %89, %77, %62, %47, %32
ret void
}
declare i32 @isnumeric(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @PrintErrorExit(ptr noundef, ptr noundef) #1
declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Check_TapeAlert(i32 noundef, ptr noundef) #1
declare i32 @Check_Load(i32 noundef, ptr noundef) #1
declare i32 @Check_Unload(i32 noundef, ptr noundef) #1
declare i32 @Check_delay(i32 noundef, ptr noundef) #1
declare i32 @Check_Compression(i32 noundef, ptr noundef) #1
declare i32 @Check_append_only(i32 noundef, ptr noundef) #1
declare i32 @Check_List(i32 noundef, ptr noundef) #1
declare i32 @Check_Empty(i32 noundef, ptr noundef) #1
declare i32 @Check_Open(i32 noundef, ptr noundef) #1
declare i32 @Check_Close(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_s5464k.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"DeviceNo not numeric: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"dump\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"debug\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"TapeAlert\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"load\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"unload\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"delay\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"compression\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Append\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"online\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"offline\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"list\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"empty\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.16 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"check param\00", align 1
@.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_Params(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 = icmp sgt i32 %5, 1
br i1 %6, label %7, label %223
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @isnumeric(ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %7
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 2
br i1 %22, label %23, label %218
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.1)
%28 = icmp ne i32 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %23
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 3
br i1 %31, label %32, label %33
32: ; preds = %29
br label %228
33: ; preds = %29
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = call i32 @PrintErrorExit(ptr noundef %36, ptr noundef @.str.1)
br label %38
38: ; preds = %33, %23
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.2)
%43 = icmp ne i32 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %38
%45 = load i32, ptr %3, align 4
%46 = icmp eq i32 %45, 3
br i1 %46, label %47, label %48
47: ; preds = %44
br label %228
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = call i32 @PrintErrorExit(ptr noundef %51, ptr noundef @.str.2)
br label %53
53: ; preds = %48, %38
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 2
%56 = load ptr, ptr %55, align 8
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.3)
%58 = icmp ne i32 %57, 0
br i1 %58, label %68, label %59
59: ; preds = %53
%60 = load i32, ptr %3, align 4
%61 = icmp eq i32 %60, 3
br i1 %61, label %62, label %63
62: ; preds = %59
br label %228
63: ; preds = %59
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 0
%66 = load ptr, ptr %65, align 8
%67 = call i32 @PrintErrorExit(ptr noundef %66, ptr noundef @.str.3)
br label %68
68: ; preds = %63, %53
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 2
%71 = load ptr, ptr %70, align 8
%72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.4)
%73 = icmp ne i32 %72, 0
br i1 %73, label %83, label %74
74: ; preds = %68
%75 = load i32, ptr %3, align 4
%76 = icmp eq i32 %75, 3
br i1 %76, label %77, label %78
77: ; preds = %74
br label %228
78: ; preds = %74
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds ptr, ptr %79, i64 0
%81 = load ptr, ptr %80, align 8
%82 = call i32 @PrintErrorExit(ptr noundef %81, ptr noundef @.str.4)
br label %83
83: ; preds = %78, %68
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 2
%86 = load ptr, ptr %85, align 8
%87 = call i32 @strncasecmp(ptr noundef %86, ptr noundef @.str.5, i32 noundef 9)
%88 = icmp ne i32 %87, 0
br i1 %88, label %93, label %89
89: ; preds = %83
%90 = load i32, ptr %3, align 4
%91 = load ptr, ptr %4, align 8
%92 = call i32 @Check_TapeAlert(i32 noundef %90, ptr noundef %91)
br label %228
93: ; preds = %83
%94 = load ptr, ptr %4, align 8
%95 = getelementptr inbounds ptr, ptr %94, i64 2
%96 = load ptr, ptr %95, align 8
%97 = call i32 @strncasecmp(ptr noundef %96, ptr noundef @.str.6, i32 noundef 4)
%98 = icmp ne i32 %97, 0
br i1 %98, label %103, label %99
99: ; preds = %93
%100 = load i32, ptr %3, align 4
%101 = load ptr, ptr %4, align 8
%102 = call i32 @Check_Load(i32 noundef %100, ptr noundef %101)
br label %228
103: ; preds = %93
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 2
%106 = load ptr, ptr %105, align 8
%107 = call i32 @strncasecmp(ptr noundef %106, ptr noundef @.str.7, i32 noundef 6)
%108 = icmp ne i32 %107, 0
br i1 %108, label %113, label %109
109: ; preds = %103
%110 = load i32, ptr %3, align 4
%111 = load ptr, ptr %4, align 8
%112 = call i32 @Check_Unload(i32 noundef %110, ptr noundef %111)
br label %228
113: ; preds = %103
%114 = load ptr, ptr %4, align 8
%115 = getelementptr inbounds ptr, ptr %114, i64 2
%116 = load ptr, ptr %115, align 8
%117 = call i32 @strncasecmp(ptr noundef %116, ptr noundef @.str.8, i32 noundef 5)
%118 = icmp ne i32 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %113
%120 = load i32, ptr %3, align 4
%121 = load ptr, ptr %4, align 8
%122 = call i32 @Check_delay(i32 noundef %120, ptr noundef %121)
br label %228
123: ; preds = %113
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds ptr, ptr %124, i64 2
%126 = load ptr, ptr %125, align 8
%127 = call i32 @strncasecmp(ptr noundef %126, ptr noundef @.str.9, i32 noundef 11)
%128 = icmp ne i32 %127, 0
br i1 %128, label %133, label %129
129: ; preds = %123
%130 = load i32, ptr %3, align 4
%131 = load ptr, ptr %4, align 8
%132 = call i32 @Check_Compression(i32 noundef %130, ptr noundef %131)
br label %228
133: ; preds = %123
%134 = load ptr, ptr %4, align 8
%135 = getelementptr inbounds ptr, ptr %134, i64 2
%136 = load ptr, ptr %135, align 8
%137 = call i32 @strncasecmp(ptr noundef %136, ptr noundef @.str.10, i32 noundef 6)
%138 = icmp ne i32 %137, 0
br i1 %138, label %143, label %139
139: ; preds = %133
%140 = load i32, ptr %3, align 4
%141 = load ptr, ptr %4, align 8
%142 = call i32 @Check_append_only(i32 noundef %140, ptr noundef %141)
br label %228
143: ; preds = %133
%144 = load ptr, ptr %4, align 8
%145 = getelementptr inbounds ptr, ptr %144, i64 2
%146 = load ptr, ptr %145, align 8
%147 = call i32 @strcmp(ptr noundef %146, ptr noundef @.str.11)
%148 = icmp ne i32 %147, 0
br i1 %148, label %158, label %149
149: ; preds = %143
%150 = load i32, ptr %3, align 4
%151 = icmp eq i32 %150, 3
br i1 %151, label %152, label %153
152: ; preds = %149
br label %228
153: ; preds = %149
%154 = load ptr, ptr %4, align 8
%155 = getelementptr inbounds ptr, ptr %154, i64 0
%156 = load ptr, ptr %155, align 8
%157 = call i32 @PrintErrorExit(ptr noundef %156, ptr noundef @.str.11)
br label %158
158: ; preds = %153, %143
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds ptr, ptr %159, i64 2
%161 = load ptr, ptr %160, align 8
%162 = call i32 @strcmp(ptr noundef %161, ptr noundef @.str.12)
%163 = icmp ne i32 %162, 0
br i1 %163, label %173, label %164
164: ; preds = %158
%165 = load i32, ptr %3, align 4
%166 = icmp eq i32 %165, 3
br i1 %166, label %167, label %168
167: ; preds = %164
br label %228
168: ; preds = %164
%169 = load ptr, ptr %4, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 0
%171 = load ptr, ptr %170, align 8
%172 = call i32 @PrintErrorExit(ptr noundef %171, ptr noundef @.str.12)
br label %173
173: ; preds = %168, %158
%174 = load ptr, ptr %4, align 8
%175 = getelementptr inbounds ptr, ptr %174, i64 2
%176 = load ptr, ptr %175, align 8
%177 = call i32 @strcmp(ptr noundef %176, ptr noundef @.str.13)
%178 = icmp ne i32 %177, 0
br i1 %178, label %183, label %179
179: ; preds = %173
%180 = load i32, ptr %3, align 4
%181 = load ptr, ptr %4, align 8
%182 = call i32 @Check_List(i32 noundef %180, ptr noundef %181)
br label %228
183: ; preds = %173
%184 = load ptr, ptr %4, align 8
%185 = getelementptr inbounds ptr, ptr %184, i64 2
%186 = load ptr, ptr %185, align 8
%187 = call i32 @strcmp(ptr noundef %186, ptr noundef @.str.14)
%188 = icmp ne i32 %187, 0
br i1 %188, label %193, label %189
189: ; preds = %183
%190 = load i32, ptr %3, align 4
%191 = load ptr, ptr %4, align 8
%192 = call i32 @Check_Empty(i32 noundef %190, ptr noundef %191)
br label %228
193: ; preds = %183
%194 = load ptr, ptr %4, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 2
%196 = load ptr, ptr %195, align 8
%197 = call i32 @strcmp(ptr noundef %196, ptr noundef @.str.15)
%198 = icmp ne i32 %197, 0
br i1 %198, label %203, label %199
199: ; preds = %193
%200 = load i32, ptr %3, align 4
%201 = load ptr, ptr %4, align 8
%202 = call i32 @Check_Open(i32 noundef %200, ptr noundef %201)
br label %228
203: ; preds = %193
%204 = load ptr, ptr %4, align 8
%205 = getelementptr inbounds ptr, ptr %204, i64 2
%206 = load ptr, ptr %205, align 8
%207 = call i32 @strcmp(ptr noundef %206, ptr noundef @.str.16)
%208 = icmp ne i32 %207, 0
br i1 %208, label %213, label %209
209: ; preds = %203
%210 = load i32, ptr %3, align 4
%211 = load ptr, ptr %4, align 8
%212 = call i32 @Check_Close(i32 noundef %210, ptr noundef %211)
br label %228
213: ; preds = %203
%214 = load ptr, ptr %4, align 8
%215 = getelementptr inbounds ptr, ptr %214, i64 0
%216 = load ptr, ptr %215, align 8
%217 = call i32 @PrintErrorExit(ptr noundef %216, ptr noundef @.str.17)
br label %218
218: ; preds = %213, %20
%219 = load ptr, ptr %4, align 8
%220 = getelementptr inbounds ptr, ptr %219, i64 0
%221 = load ptr, ptr %220, align 8
%222 = call i32 @PrintErrorExit(ptr noundef %221, ptr noundef @.str.18)
br label %223
223: ; preds = %218, %2
%224 = load ptr, ptr %4, align 8
%225 = getelementptr inbounds ptr, ptr %224, i64 0
%226 = load ptr, ptr %225, align 8
%227 = call i32 @PrintErrorExit(ptr noundef %226, ptr noundef @.str.18)
br label %228
228: ; preds = %223, %209, %199, %189, %179, %167, %152, %139, %129, %119, %109, %99, %89, %77, %62, %47, %32
ret void
}
declare i32 @isnumeric(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @PrintErrorExit(ptr noundef, ptr noundef) #1
declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Check_TapeAlert(i32 noundef, ptr noundef) #1
declare i32 @Check_Load(i32 noundef, ptr noundef) #1
declare i32 @Check_Unload(i32 noundef, ptr noundef) #1
declare i32 @Check_delay(i32 noundef, ptr noundef) #1
declare i32 @Check_Compression(i32 noundef, ptr noundef) #1
declare i32 @Check_append_only(i32 noundef, ptr noundef) #1
declare i32 @Check_List(i32 noundef, ptr noundef) #1
declare i32 @Check_Empty(i32 noundef, ptr noundef) #1
declare i32 @Check_Open(i32 noundef, ptr noundef) #1
declare i32 @Check_Close(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3sjyoi8.c'
source_filename = "/tmp/tmpg3sjyoi8.c"
target datalayout = "e-m:e-p270: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/tmpg3sjyoi8.c"
target datalayout = "e-m:e-p270: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/tmpx0496ga9.c'
source_filename = "/tmp/tmpx0496ga9.c"
target datalayout = "e-m:e-p270: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/tmpx0496ga9.c"
target datalayout = "e-m:e-p270: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/tmpubdlttta.c'
source_filename = "/tmp/tmpubdlttta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @countword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %1
%7 = load ptr, ptr %2, align 8
%8 = call signext i8 @fgetc(ptr noundef %7)
store i8 %8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = load i8, ptr @EOF, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %9, %11
br i1 %12, label %13, label %26
13: ; preds = %6
%14 = load i8, ptr %4, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %5, align 4
br label %25
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
store i32 1, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %21, %18
br label %25
25: ; preds = %24, %17
br label %6, !llvm.loop !6
26: ; preds = %6
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpubdlttta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @countword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call signext i8 @fgetc(ptr noundef %6)
store i8 %7, ptr %4, align 1
%8 = sext i8 %7 to i32
%9 = load i8, ptr @EOF, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %8, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %24
%13 = load i8, ptr %4, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 0, ptr %5, align 4
br label %24
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
store i32 1, ptr %5, align 4
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %17
br label %24
24: ; preds = %23, %16
%25 = load ptr, ptr %2, align 8
%26 = call signext i8 @fgetc(ptr noundef %25)
store i8 %26, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr @EOF, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %27, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %1
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc5zt3gah.c'
source_filename = "/tmp/tmpc5zt3gah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" abcde fg \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(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 [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%8 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @reverse_words(ptr noundef %13)
%15 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @reverse_words(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5zt3gah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" abcde fg \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(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 [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%8 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @reverse_words(ptr noundef %13)
%15 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @reverse_words(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb9t_aemn.c'
source_filename = "/tmp/tmpb9t_aemn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_init() #0 {
%1 = call i32 (...) @lcd_port_init()
%2 = call i32 (...) @lcd_control_init()
%3 = load volatile i64, ptr inttoptr (i64 1442840672 to ptr), align 8
%4 = or i64 %3, 768
store volatile i64 %4, ptr inttoptr (i64 1442840672 to ptr), align 8
%5 = load volatile i64, ptr inttoptr (i64 1291845632 to ptr), align 8
%6 = or i64 %5, 1
store volatile i64 %6, ptr inttoptr (i64 1291845632 to ptr), align 8
%7 = load volatile i64, ptr inttoptr (i64 1291845648 to ptr), align 8
%8 = or i64 %7, 8
store volatile i64 %8, ptr inttoptr (i64 1291845648 to ptr), align 8
ret void
}
declare i32 @lcd_port_init(...) #1
declare i32 @lcd_control_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9t_aemn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_init() #0 {
%1 = call i32 (...) @lcd_port_init()
%2 = call i32 (...) @lcd_control_init()
%3 = load volatile i64, ptr inttoptr (i64 1442840672 to ptr), align 8
%4 = or i64 %3, 768
store volatile i64 %4, ptr inttoptr (i64 1442840672 to ptr), align 8
%5 = load volatile i64, ptr inttoptr (i64 1291845632 to ptr), align 8
%6 = or i64 %5, 1
store volatile i64 %6, ptr inttoptr (i64 1291845632 to ptr), align 8
%7 = load volatile i64, ptr inttoptr (i64 1291845648 to ptr), align 8
%8 = or i64 %7, 8
store volatile i64 %8, ptr inttoptr (i64 1291845648 to ptr), align 8
ret void
}
declare i32 @lcd_port_init(...) #1
declare i32 @lcd_control_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7m05wp8h.c'
source_filename = "/tmp/tmp7m05wp8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @blz_workmem_size_level(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
switch i32 %6, label %25 [
i32 1, label %7
i32 2, label %10
i32 3, label %13
i32 4, label %16
i32 5, label %19
i32 6, label %19
i32 7, label %19
i32 8, label %22
i32 9, label %22
i32 10, label %22
]
7: ; preds = %2
%8 = load i64, ptr %4, align 8
%9 = call i64 @blz_workmem_size(i64 noundef %8)
store i64 %9, ptr %3, align 8
br label %26
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = call i64 @blz_lazy_workmem_size(i64 noundef %11)
store i64 %12, ptr %3, align 8
br label %26
13: ; preds = %2
%14 = load i64, ptr %4, align 8
%15 = call i64 @blz_hashbucket_workmem_size(i64 noundef %14, i32 noundef 2)
store i64 %15, ptr %3, align 8
br label %26
16: ; preds = %2
%17 = load i64, ptr %4, align 8
%18 = call i64 @blz_hashbucket_workmem_size(i64 noundef %17, i32 noundef 4)
store i64 %18, ptr %3, align 8
br label %26
19: ; preds = %2, %2, %2
%20 = load i64, ptr %4, align 8
%21 = call i64 @blz_leparse_workmem_size(i64 noundef %20)
store i64 %21, ptr %3, align 8
br label %26
22: ; preds = %2, %2, %2
%23 = load i64, ptr %4, align 8
%24 = call i64 @blz_btparse_workmem_size(i64 noundef %23)
store i64 %24, ptr %3, align 8
br label %26
25: ; preds = %2
store i64 -1, ptr %3, align 8
br label %26
26: ; preds = %25, %22, %19, %16, %13, %10, %7
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare i64 @blz_workmem_size(i64 noundef) #1
declare i64 @blz_lazy_workmem_size(i64 noundef) #1
declare i64 @blz_hashbucket_workmem_size(i64 noundef, i32 noundef) #1
declare i64 @blz_leparse_workmem_size(i64 noundef) #1
declare i64 @blz_btparse_workmem_size(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7m05wp8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @blz_workmem_size_level(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
switch i32 %6, label %25 [
i32 1, label %7
i32 2, label %10
i32 3, label %13
i32 4, label %16
i32 5, label %19
i32 6, label %19
i32 7, label %19
i32 8, label %22
i32 9, label %22
i32 10, label %22
]
7: ; preds = %2
%8 = load i64, ptr %4, align 8
%9 = call i64 @blz_workmem_size(i64 noundef %8)
store i64 %9, ptr %3, align 8
br label %26
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = call i64 @blz_lazy_workmem_size(i64 noundef %11)
store i64 %12, ptr %3, align 8
br label %26
13: ; preds = %2
%14 = load i64, ptr %4, align 8
%15 = call i64 @blz_hashbucket_workmem_size(i64 noundef %14, i32 noundef 2)
store i64 %15, ptr %3, align 8
br label %26
16: ; preds = %2
%17 = load i64, ptr %4, align 8
%18 = call i64 @blz_hashbucket_workmem_size(i64 noundef %17, i32 noundef 4)
store i64 %18, ptr %3, align 8
br label %26
19: ; preds = %2, %2, %2
%20 = load i64, ptr %4, align 8
%21 = call i64 @blz_leparse_workmem_size(i64 noundef %20)
store i64 %21, ptr %3, align 8
br label %26
22: ; preds = %2, %2, %2
%23 = load i64, ptr %4, align 8
%24 = call i64 @blz_btparse_workmem_size(i64 noundef %23)
store i64 %24, ptr %3, align 8
br label %26
25: ; preds = %2
store i64 -1, ptr %3, align 8
br label %26
26: ; preds = %25, %22, %19, %16, %13, %10, %7
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare i64 @blz_workmem_size(i64 noundef) #1
declare i64 @blz_lazy_workmem_size(i64 noundef) #1
declare i64 @blz_hashbucket_workmem_size(i64 noundef, i32 noundef) #1
declare i64 @blz_leparse_workmem_size(i64 noundef) #1
declare i64 @blz_btparse_workmem_size(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppoxyup6_.c'
source_filename = "/tmp/tmppoxyup6_.c"
target datalayout = "e-m:e-p270: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/tmppoxyup6_.c"
target datalayout = "e-m:e-p270: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/tmp_8w12zad.c'
source_filename = "/tmp/tmp_8w12zad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%016lx: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0A%08lx: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_buf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i64
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %7)
store i64 0, ptr %5, align 8
br label %9
9: ; preds = %34, %2
%10 = load i64, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = icmp slt i64 %10, %12
br i1 %13, label %14, label %37
14: ; preds = %9
%15 = load i64, ptr %5, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %14
%18 = load i64, ptr %5, align 8
%19 = srem i64 %18, 16
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = ptrtoint ptr %24 to i64
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %25)
br label %27
27: ; preds = %21, %17, %14
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
br label %34
34: ; preds = %27
%35 = load i64, ptr %5, align 8
%36 = add nsw i64 %35, 1
store i64 %36, ptr %5, align 8
br label %9, !llvm.loop !6
37: ; preds = %9
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8w12zad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%016lx: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0A%08lx: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_buf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i64
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %7)
store i64 0, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = icmp slt i64 %9, %11
br i1 %12, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %33
%14 = load i64, ptr %5, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load i64, ptr %5, align 8
%18 = srem i64 %17, 16
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = ptrtoint ptr %23 to i64
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %24)
br label %26
26: ; preds = %20, %16, %13
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %26
%34 = load i64, ptr %5, align 8
%35 = add nsw i64 %34, 1
store i64 %35, ptr %5, align 8
%36 = load i64, ptr %5, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %2
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcy4hlzlo.c'
source_filename = "/tmp/tmpcy4hlzlo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbt_reset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = call i32 @bst_reset(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
ret void
}
declare i32 @bst_reset(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/tmpcy4hlzlo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbt_reset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = call i32 @bst_reset(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
ret void
}
declare i32 @bst_reset(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/tmpr8fxz683.c'
source_filename = "/tmp/tmpr8fxz683.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test3(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 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %5, %1
br label %12
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
store ptr null, ptr %11, align 8
br label %12
12: ; preds = %10, %9
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/tmpr8fxz683.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test3(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 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %5, %1
br label %12
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
store ptr null, ptr %11, align 8
br label %12
12: ; preds = %10, %9
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/tmpkr1mys2g.c'
source_filename = "/tmp/tmpkr1mys2g.c"
target datalayout = "e-m:e-p270: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/tmpkr1mys2g.c"
target datalayout = "e-m:e-p270: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/tmphxspgdke.c'
source_filename = "/tmp/tmphxspgdke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @name_yoffset(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i8 noundef signext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [4 x i32], align 16
%17 = alloca [4 x i32], align 16
%18 = alloca [4 x i32], align 16
%19 = alloca [4 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i8 %4, ptr %10, align 1
call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 16, i1 false)
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 2
store i32 %23, ptr %9, align 4
%24 = load i8, ptr %10, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 68
br i1 %26, label %27, label %133
27: ; preds = %5
store i32 0, ptr %11, align 4
br label %28
28: ; preds = %96, %27
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %99
32: ; preds = %28
store i32 0, ptr %12, align 4
br label %33
33: ; preds = %40, %32
%34 = load i32, ptr %12, align 4
%35 = icmp slt i32 %34, 4
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, ptr %12, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %38
store i32 0, ptr %39, align 4
br label %40
40: ; preds = %36
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
br label %33, !llvm.loop !6
43: ; preds = %33
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %45, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %44, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = srem i32 %51, 16
store i32 %52, ptr %14, align 4
%53 = call i64 @pow(double noundef 2.000000e+00, double noundef 3.000000e+00)
%54 = trunc i64 %53 to i32
store i32 %54, ptr %13, align 4
store i32 3, ptr %12, align 4
br label %55
55: ; preds = %70, %43
%56 = load i32, ptr %12, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %73
58: ; preds = %55
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %13, align 4
%61 = sdiv i32 %59, %60
%62 = load i32, ptr %12, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %63
store i32 %61, ptr %64, align 4
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %14, align 4
%67 = srem i32 %66, %65
store i32 %67, ptr %14, align 4
%68 = load i32, ptr %13, align 4
%69 = sdiv i32 %68, 2
store i32 %69, ptr %13, align 4
br label %70
70: ; preds = %58
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %12, align 4
br label %55, !llvm.loop !8
73: ; preds = %55
%74 = load i32, ptr %14, align 4
%75 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 %74, ptr %75, align 16
store i32 0, ptr %12, align 4
br label %76
76: ; preds = %92, %73
%77 = load i32, ptr %12, align 4
%78 = icmp slt i32 %77, 4
br i1 %78, label %79, label %95
79: ; preds = %76
%80 = load i32, ptr %12, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %88, align 4
br label %91
91: ; preds = %85, %79
br label %92
92: ; preds = %91
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %12, align 4
br label %76, !llvm.loop !9
95: ; preds = %76
br label %96
96: ; preds = %95
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
br label %28, !llvm.loop !10
99: ; preds = %28
store i32 0, ptr %13, align 4
br label %100
100: ; preds = %107, %99
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = load i32, ptr %9, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %110
107: ; preds = %100
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %13, align 4
br label %100, !llvm.loop !11
110: ; preds = %100
%111 = load i32, ptr %8, align 4
store i32 %111, ptr %11, align 4
br label %112
112: ; preds = %129, %110
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %8, align 4
%115 = load i32, ptr %9, align 4
%116 = add nsw i32 %114, %115
%117 = icmp slt i32 %113, %116
br i1 %117, label %118, label %132
118: ; preds = %112
%119 = load i32, ptr %13, align 4
%120 = sitofp i32 %119 to double
%121 = call i64 @pow(double noundef 2.000000e+00, double noundef %120)
%122 = trunc i64 %121 to i32
%123 = load ptr, ptr %6, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
%127 = load i32, ptr %126, align 4
%128 = add nsw i32 %127, %122
store i32 %128, ptr %126, align 4
br label %129
129: ; preds = %118
%130 = load i32, ptr %11, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %11, align 4
br label %112, !llvm.loop !12
132: ; preds = %112
br label %239
133: ; preds = %5
store i32 0, ptr %11, align 4
br label %134
134: ; preds = %202, %133
%135 = load i32, ptr %11, align 4
%136 = load i32, ptr %9, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %138, label %205
138: ; preds = %134
store i32 0, ptr %12, align 4
br label %139
139: ; preds = %146, %138
%140 = load i32, ptr %12, align 4
%141 = icmp slt i32 %140, 4
br i1 %141, label %142, label %149
142: ; preds = %139
%143 = load i32, ptr %12, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %144
store i32 0, ptr %145, align 4
br label %146
146: ; preds = %142
%147 = load i32, ptr %12, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %12, align 4
br label %139, !llvm.loop !13
149: ; preds = %139
%150 = load ptr, ptr %7, align 8
%151 = load i32, ptr %8, align 4
%152 = load i32, ptr %11, align 4
%153 = add nsw i32 %151, %152
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %150, i64 %154
%156 = load i32, ptr %155, align 4
store i32 %156, ptr %14, align 4
%157 = load i32, ptr %14, align 4
%158 = srem i32 %157, 16
store i32 %158, ptr %14, align 4
%159 = call i64 @pow(double noundef 2.000000e+00, double noundef 3.000000e+00)
%160 = trunc i64 %159 to i32
store i32 %160, ptr %13, align 4
store i32 3, ptr %12, align 4
br label %161
161: ; preds = %176, %149
%162 = load i32, ptr %12, align 4
%163 = icmp sgt i32 %162, 0
br i1 %163, label %164, label %179
164: ; preds = %161
%165 = load i32, ptr %14, align 4
%166 = load i32, ptr %13, align 4
%167 = sdiv i32 %165, %166
%168 = load i32, ptr %12, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %169
store i32 %167, ptr %170, align 4
%171 = load i32, ptr %13, align 4
%172 = load i32, ptr %14, align 4
%173 = srem i32 %172, %171
store i32 %173, ptr %14, align 4
%174 = load i32, ptr %13, align 4
%175 = sdiv i32 %174, 2
store i32 %175, ptr %13, align 4
br label %176
176: ; preds = %164
%177 = load i32, ptr %12, align 4
%178 = add nsw i32 %177, -1
store i32 %178, ptr %12, align 4
br label %161, !llvm.loop !14
179: ; preds = %161
%180 = load i32, ptr %14, align 4
%181 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
store i32 %180, ptr %181, align 16
store i32 0, ptr %12, align 4
br label %182
182: ; preds = %198, %179
%183 = load i32, ptr %12, align 4
%184 = icmp slt i32 %183, 4
br i1 %184, label %185, label %201
185: ; preds = %182
%186 = load i32, ptr %12, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %187
%189 = load i32, ptr %188, align 4
%190 = icmp ne i32 %189, 0
br i1 %190, label %197, label %191
191: ; preds = %185
%192 = load i32, ptr %12, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %193
%195 = load i32, ptr %194, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %194, align 4
br label %197
197: ; preds = %191, %185
br label %198
198: ; preds = %197
%199 = load i32, ptr %12, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %12, align 4
br label %182, !llvm.loop !15
201: ; preds = %182
br label %202
202: ; preds = %201
%203 = load i32, ptr %11, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %11, align 4
br label %134, !llvm.loop !16
205: ; preds = %134
store i32 0, ptr %13, align 4
br label %206
206: ; preds = %213, %205
%207 = load i32, ptr %13, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %208
%210 = load i32, ptr %209, align 4
%211 = load i32, ptr %9, align 4
%212 = icmp slt i32 %210, %211
br i1 %212, label %213, label %216
213: ; preds = %206
%214 = load i32, ptr %13, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %13, align 4
br label %206, !llvm.loop !17
216: ; preds = %206
%217 = load i32, ptr %8, align 4
store i32 %217, ptr %11, align 4
br label %218
218: ; preds = %235, %216
%219 = load i32, ptr %11, align 4
%220 = load i32, ptr %8, align 4
%221 = load i32, ptr %9, align 4
%222 = add nsw i32 %220, %221
%223 = icmp slt i32 %219, %222
br i1 %223, label %224, label %238
224: ; preds = %218
%225 = load i32, ptr %13, align 4
%226 = sitofp i32 %225 to double
%227 = call i64 @pow(double noundef 2.000000e+00, double noundef %226)
%228 = trunc i64 %227 to i32
%229 = load ptr, ptr %7, align 8
%230 = load i32, ptr %11, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds i32, ptr %229, i64 %231
%233 = load i32, ptr %232, align 4
%234 = add nsw i32 %233, %228
store i32 %234, ptr %232, align 4
br label %235
235: ; preds = %224
%236 = load i32, ptr %11, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %11, align 4
br label %218, !llvm.loop !18
238: ; preds = %218
br label %239
239: ; preds = %238, %132
%240 = load i32, ptr %13, align 4
ret i32 %240
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @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 nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphxspgdke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @name_yoffset(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i8 noundef signext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [4 x i32], align 16
%17 = alloca [4 x i32], align 16
%18 = alloca [4 x i32], align 16
%19 = alloca [4 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i8 %4, ptr %10, align 1
call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 16, i1 false)
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 2
store i32 %23, ptr %9, align 4
%24 = load i8, ptr %10, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 68
br i1 %26, label %27, label %147
27: ; preds = %5
store i32 0, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph26, label %104
.lr.ph26: ; preds = %27
br label %31
31: ; preds = %.lr.ph26, %98
store i32 0, ptr %12, align 4
%32 = load i32, ptr %12, align 4
%33 = icmp slt i32 %32, 4
br i1 %33, label %.lr.ph17, label %43
.lr.ph17: ; preds = %31
br label %34
34: ; preds = %.lr.ph17, %38
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %36
store i32 0, ptr %37, align 4
br label %38
38: ; preds = %34
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = icmp slt i32 %41, 4
br i1 %42, label %34, label %._crit_edge18, !llvm.loop !6
._crit_edge18: ; preds = %38
br label %43
43: ; preds = %._crit_edge18, %31
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %45, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %44, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = srem i32 %51, 16
store i32 %52, ptr %14, align 4
%53 = call i64 @pow(double noundef 2.000000e+00, double noundef 3.000000e+00)
%54 = trunc i64 %53 to i32
store i32 %54, ptr %13, align 4
store i32 3, ptr %12, align 4
%55 = load i32, ptr %12, align 4
%56 = icmp sgt i32 %55, 0
br i1 %56, label %.lr.ph20, label %74
.lr.ph20: ; preds = %43
br label %57
57: ; preds = %.lr.ph20, %69
%58 = load i32, ptr %14, align 4
%59 = load i32, ptr %13, align 4
%60 = sdiv i32 %58, %59
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %62
store i32 %60, ptr %63, align 4
%64 = load i32, ptr %13, align 4
%65 = load i32, ptr %14, align 4
%66 = srem i32 %65, %64
store i32 %66, ptr %14, align 4
%67 = load i32, ptr %13, align 4
%68 = sdiv i32 %67, 2
store i32 %68, ptr %13, align 4
br label %69
69: ; preds = %57
%70 = load i32, ptr %12, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %12, align 4
%72 = load i32, ptr %12, align 4
%73 = icmp sgt i32 %72, 0
br i1 %73, label %57, label %._crit_edge21, !llvm.loop !8
._crit_edge21: ; preds = %69
br label %74
74: ; preds = %._crit_edge21, %43
%75 = load i32, ptr %14, align 4
%76 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
store i32 %75, ptr %76, align 16
store i32 0, ptr %12, align 4
%77 = load i32, ptr %12, align 4
%78 = icmp slt i32 %77, 4
br i1 %78, label %.lr.ph23, label %97
.lr.ph23: ; preds = %74
br label %79
79: ; preds = %.lr.ph23, %92
%80 = load i32, ptr %12, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %88, align 4
br label %91
91: ; preds = %85, %79
br label %92
92: ; preds = %91
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %12, align 4
%95 = load i32, ptr %12, align 4
%96 = icmp slt i32 %95, 4
br i1 %96, label %79, label %._crit_edge24, !llvm.loop !9
._crit_edge24: ; preds = %92
br label %97
97: ; preds = %._crit_edge24, %74
br label %98
98: ; preds = %97
%99 = load i32, ptr %11, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %11, align 4
%101 = load i32, ptr %11, align 4
%102 = load i32, ptr %9, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %31, label %._crit_edge27, !llvm.loop !10
._crit_edge27: ; preds = %98
br label %104
104: ; preds = %._crit_edge27, %27
store i32 0, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = load i32, ptr %9, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %.lr.ph29, label %120
.lr.ph29: ; preds = %104
br label %111
111: ; preds = %.lr.ph29, %111
%112 = load i32, ptr %13, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %13, align 4
%114 = load i32, ptr %13, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %115
%117 = load i32, ptr %116, align 4
%118 = load i32, ptr %9, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %111, label %._crit_edge30, !llvm.loop !11
._crit_edge30: ; preds = %111
br label %120
120: ; preds = %._crit_edge30, %104
%121 = load i32, ptr %8, align 4
store i32 %121, ptr %11, align 4
%122 = load i32, ptr %11, align 4
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr %9, align 4
%125 = add nsw i32 %123, %124
%126 = icmp slt i32 %122, %125
br i1 %126, label %.lr.ph32, label %146
.lr.ph32: ; preds = %120
br label %127
127: ; preds = %.lr.ph32, %138
%128 = load i32, ptr %13, align 4
%129 = sitofp i32 %128 to double
%130 = call i64 @pow(double noundef 2.000000e+00, double noundef %129)
%131 = trunc i64 %130 to i32
%132 = load ptr, ptr %6, align 8
%133 = load i32, ptr %11, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %132, i64 %134
%136 = load i32, ptr %135, align 4
%137 = add nsw i32 %136, %131
store i32 %137, ptr %135, align 4
br label %138
138: ; preds = %127
%139 = load i32, ptr %11, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %11, align 4
%141 = load i32, ptr %11, align 4
%142 = load i32, ptr %8, align 4
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %142, %143
%145 = icmp slt i32 %141, %144
br i1 %145, label %127, label %._crit_edge33, !llvm.loop !12
._crit_edge33: ; preds = %138
br label %146
146: ; preds = %._crit_edge33, %120
br label %267
147: ; preds = %5
store i32 0, ptr %11, align 4
%148 = load i32, ptr %11, align 4
%149 = load i32, ptr %9, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %.lr.ph8, label %224
.lr.ph8: ; preds = %147
br label %151
151: ; preds = %.lr.ph8, %218
store i32 0, ptr %12, align 4
%152 = load i32, ptr %12, align 4
%153 = icmp slt i32 %152, 4
br i1 %153, label %.lr.ph, label %163
.lr.ph: ; preds = %151
br label %154
154: ; preds = %.lr.ph, %158
%155 = load i32, ptr %12, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %156
store i32 0, ptr %157, align 4
br label %158
158: ; preds = %154
%159 = load i32, ptr %12, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %12, align 4
%161 = load i32, ptr %12, align 4
%162 = icmp slt i32 %161, 4
br i1 %162, label %154, label %._crit_edge, !llvm.loop !13
._crit_edge: ; preds = %158
br label %163
163: ; preds = %._crit_edge, %151
%164 = load ptr, ptr %7, align 8
%165 = load i32, ptr %8, align 4
%166 = load i32, ptr %11, align 4
%167 = add nsw i32 %165, %166
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i32, ptr %164, i64 %168
%170 = load i32, ptr %169, align 4
store i32 %170, ptr %14, align 4
%171 = load i32, ptr %14, align 4
%172 = srem i32 %171, 16
store i32 %172, ptr %14, align 4
%173 = call i64 @pow(double noundef 2.000000e+00, double noundef 3.000000e+00)
%174 = trunc i64 %173 to i32
store i32 %174, ptr %13, align 4
store i32 3, ptr %12, align 4
%175 = load i32, ptr %12, align 4
%176 = icmp sgt i32 %175, 0
br i1 %176, label %.lr.ph2, label %194
.lr.ph2: ; preds = %163
br label %177
177: ; preds = %.lr.ph2, %189
%178 = load i32, ptr %14, align 4
%179 = load i32, ptr %13, align 4
%180 = sdiv i32 %178, %179
%181 = load i32, ptr %12, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %182
store i32 %180, ptr %183, align 4
%184 = load i32, ptr %13, align 4
%185 = load i32, ptr %14, align 4
%186 = srem i32 %185, %184
store i32 %186, ptr %14, align 4
%187 = load i32, ptr %13, align 4
%188 = sdiv i32 %187, 2
store i32 %188, ptr %13, align 4
br label %189
189: ; preds = %177
%190 = load i32, ptr %12, align 4
%191 = add nsw i32 %190, -1
store i32 %191, ptr %12, align 4
%192 = load i32, ptr %12, align 4
%193 = icmp sgt i32 %192, 0
br i1 %193, label %177, label %._crit_edge3, !llvm.loop !14
._crit_edge3: ; preds = %189
br label %194
194: ; preds = %._crit_edge3, %163
%195 = load i32, ptr %14, align 4
%196 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
store i32 %195, ptr %196, align 16
store i32 0, ptr %12, align 4
%197 = load i32, ptr %12, align 4
%198 = icmp slt i32 %197, 4
br i1 %198, label %.lr.ph5, label %217
.lr.ph5: ; preds = %194
br label %199
199: ; preds = %.lr.ph5, %212
%200 = load i32, ptr %12, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %201
%203 = load i32, ptr %202, align 4
%204 = icmp ne i32 %203, 0
br i1 %204, label %211, label %205
205: ; preds = %199
%206 = load i32, ptr %12, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %207
%209 = load i32, ptr %208, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %208, align 4
br label %211
211: ; preds = %205, %199
br label %212
212: ; preds = %211
%213 = load i32, ptr %12, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %12, align 4
%215 = load i32, ptr %12, align 4
%216 = icmp slt i32 %215, 4
br i1 %216, label %199, label %._crit_edge6, !llvm.loop !15
._crit_edge6: ; preds = %212
br label %217
217: ; preds = %._crit_edge6, %194
br label %218
218: ; preds = %217
%219 = load i32, ptr %11, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %11, align 4
%221 = load i32, ptr %11, align 4
%222 = load i32, ptr %9, align 4
%223 = icmp slt i32 %221, %222
br i1 %223, label %151, label %._crit_edge9, !llvm.loop !16
._crit_edge9: ; preds = %218
br label %224
224: ; preds = %._crit_edge9, %147
store i32 0, ptr %13, align 4
%225 = load i32, ptr %13, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %226
%228 = load i32, ptr %227, align 4
%229 = load i32, ptr %9, align 4
%230 = icmp slt i32 %228, %229
br i1 %230, label %.lr.ph11, label %240
.lr.ph11: ; preds = %224
br label %231
231: ; preds = %.lr.ph11, %231
%232 = load i32, ptr %13, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %13, align 4
%234 = load i32, ptr %13, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %235
%237 = load i32, ptr %236, align 4
%238 = load i32, ptr %9, align 4
%239 = icmp slt i32 %237, %238
br i1 %239, label %231, label %._crit_edge12, !llvm.loop !17
._crit_edge12: ; preds = %231
br label %240
240: ; preds = %._crit_edge12, %224
%241 = load i32, ptr %8, align 4
store i32 %241, ptr %11, align 4
%242 = load i32, ptr %11, align 4
%243 = load i32, ptr %8, align 4
%244 = load i32, ptr %9, align 4
%245 = add nsw i32 %243, %244
%246 = icmp slt i32 %242, %245
br i1 %246, label %.lr.ph14, label %266
.lr.ph14: ; preds = %240
br label %247
247: ; preds = %.lr.ph14, %258
%248 = load i32, ptr %13, align 4
%249 = sitofp i32 %248 to double
%250 = call i64 @pow(double noundef 2.000000e+00, double noundef %249)
%251 = trunc i64 %250 to i32
%252 = load ptr, ptr %7, align 8
%253 = load i32, ptr %11, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i32, ptr %252, i64 %254
%256 = load i32, ptr %255, align 4
%257 = add nsw i32 %256, %251
store i32 %257, ptr %255, align 4
br label %258
258: ; preds = %247
%259 = load i32, ptr %11, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %11, align 4
%261 = load i32, ptr %11, align 4
%262 = load i32, ptr %8, align 4
%263 = load i32, ptr %9, align 4
%264 = add nsw i32 %262, %263
%265 = icmp slt i32 %261, %264
br i1 %265, label %247, label %._crit_edge15, !llvm.loop !18
._crit_edge15: ; preds = %258
br label %266
266: ; preds = %._crit_edge15, %240
br label %267
267: ; preds = %266, %146
%268 = load i32, ptr %13, align 4
ret i32 %268
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @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 nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmp26o0a2_c.c'
source_filename = "/tmp/tmp26o0a2_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"
; 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 (...) @simulate_thread_main()
ret i32 0
}
declare i32 @simulate_thread_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp26o0a2_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"
; 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 (...) @simulate_thread_main()
ret i32 0
}
declare i32 @simulate_thread_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpod8al_ql.c'
source_filename = "/tmp/tmpod8al_ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%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 %37
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)
%30 = trunc i64 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, 922091482
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
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %59
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %48, !llvm.loop !8
59: ; preds = %48
%60 = load i32, ptr %3, align 4
ret i32 %60
}
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/tmpod8al_ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%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 %38
.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)
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 922091482
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %38
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %.lr.ph2, label %61
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1
br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %61
61: ; preds = %._crit_edge3, %48
%62 = load i32, ptr %3, align 4
ret i32 %62
}
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/tmpinlxtrnu.c'
source_filename = "/tmp/tmpinlxtrnu.c"
target datalayout = "e-m:e-p270: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/tmpinlxtrnu.c"
target datalayout = "e-m:e-p270: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/tmpnxp3lbao.c'
source_filename = "/tmp/tmpnxp3lbao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 4, ptr %6, align 4
br label %7
7: ; preds = %10, %0
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %10, label %23
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 5, %11
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 2, %13
%15 = sdiv i32 %12, %14
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %16, 2
%18 = add nsw i32 %15, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = mul nsw i32 %19, 2
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load i32, ptr %3, align 4
%25 = call i32 @__print_int(i32 noundef %24)
%26 = load i32, ptr %5, align 4
%27 = call i32 @__print_int(i32 noundef %26)
ret i32 0
}
declare i32 @__print_int(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/tmpnxp3lbao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 4, ptr %6, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 5, %10
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 2, %12
%14 = sdiv i32 %11, %13
%15 = load i32, ptr %6, align 4
%16 = mul nsw i32 %15, 2
%17 = add nsw i32 %14, %16
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %18, 2
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 5
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %3, align 4
%26 = call i32 @__print_int(i32 noundef %25)
%27 = load i32, ptr %5, align 4
%28 = call i32 @__print_int(i32 noundef %27)
ret i32 0
}
declare i32 @__print_int(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/tmp9eb15xcg.c'
source_filename = "/tmp/tmp9eb15xcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your guess: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"You've guessed the right number\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Number of tries: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Score: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Game Over!\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"score.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"HIGH SCORES\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"You've guessed the wrong number.\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"Your guess is too high\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"Your guess is too low\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 45, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 100, ptr %5, align 4
%7 = call i32 (...) @welcome()
br label %8
8: ; preds = %55, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %38
16: ; preds = %8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %26
25: ; preds = %16
store i32 100, ptr %5, align 4
br label %26
26: ; preds = %25, %22
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%30 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.8)
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.4, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fclose(ptr noundef %36)
br label %54
38: ; preds = %8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %45
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %47
47: ; preds = %45, %43
%48 = load i32, ptr %4, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48)
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %5, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52)
br label %54
54: ; preds = %47, %26
br label %55
55: ; preds = %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp ne i32 %56, %57
br i1 %58, label %8, label %59, !llvm.loop !6
59: ; preds = %55
ret i32 0
}
declare i32 @welcome(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9eb15xcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your guess: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"You've guessed the right number\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Number of tries: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Score: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Game Over!\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"score.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"HIGH SCORES\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"You've guessed the wrong number.\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"Your guess is too high\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"Your guess is too low\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 45, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 100, ptr %5, align 4
%7 = call i32 (...) @welcome()
br label %8
8: ; preds = %55, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %38
16: ; preds = %8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %26
25: ; preds = %16
store i32 100, ptr %5, align 4
br label %26
26: ; preds = %25, %22
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%30 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.8)
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.4, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fclose(ptr noundef %36)
br label %54
38: ; preds = %8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %45
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %47
47: ; preds = %45, %43
%48 = load i32, ptr %4, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48)
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %5, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52)
br label %54
54: ; preds = %47, %26
br label %55
55: ; preds = %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp ne i32 %56, %57
br i1 %58, label %8, label %59, !llvm.loop !6
59: ; preds = %55
ret i32 0
}
declare i32 @welcome(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2sex4id9.c'
source_filename = "/tmp/tmp2sex4id9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SCHED_RR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [49 x i8] c"The maximum priority for policy SCHED_RR is %i.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"An error occurs\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %2, align 4
%3 = load i32, ptr @SCHED_RR, align 4
%4 = call i32 @sched_get_priority_max(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i64, ptr @errno, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %16
14: ; preds = %7, %0
%15 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @sched_get_priority_max(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2sex4id9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SCHED_RR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [49 x i8] c"The maximum priority for policy SCHED_RR is %i.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"An error occurs\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %2, align 4
%3 = load i32, ptr @SCHED_RR, align 4
%4 = call i32 @sched_get_priority_max(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i64, ptr @errno, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %16
14: ; preds = %7, %0
%15 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @sched_get_priority_max(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiewqryum.c'
source_filename = "/tmp/tmpiewqryum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure 1 in matrix()\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"allocation failure 2 in matrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %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
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 1
%41 = mul i64 %40, 8
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i64, ptr %58, i64 1
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i64, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
br label %69
69: ; preds = %84, %54
%70 = load i64, ptr %9, align 8
%71 = load i64, ptr %6, align 8
%72 = icmp sle i64 %70, %71
br i1 %72, label %73, label %87
73: ; preds = %69
%74 = load ptr, ptr %12, align 8
%75 = load i64, ptr %9, align 8
%76 = sub nsw i64 %75, 1
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i64, ptr %11, align 8
%80 = getelementptr inbounds i64, ptr %78, i64 %79
%81 = load ptr, ptr %12, align 8
%82 = load i64, ptr %9, align 8
%83 = getelementptr inbounds ptr, ptr %81, i64 %82
store ptr %80, ptr %83, align 8
br label %84
84: ; preds = %73
%85 = load i64, ptr %9, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %9, align 8
br label %69, !llvm.loop !6
87: ; preds = %69
%88 = load ptr, ptr %12, align 8
ret ptr %88
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpiewqryum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure 1 in matrix()\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"allocation failure 2 in matrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %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
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 1
%41 = mul i64 %40, 8
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i64, ptr %58, i64 1
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i64, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %9, align 8
%70 = load i64, ptr %6, align 8
%71 = icmp sle i64 %69, %70
br i1 %71, label %.lr.ph, label %89
.lr.ph: ; preds = %54
br label %72
72: ; preds = %.lr.ph, %83
%73 = load ptr, ptr %12, align 8
%74 = load i64, ptr %9, align 8
%75 = sub nsw i64 %74, 1
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i64, ptr %11, align 8
%79 = getelementptr inbounds i64, ptr %77, i64 %78
%80 = load ptr, ptr %12, align 8
%81 = load i64, ptr %9, align 8
%82 = getelementptr inbounds ptr, ptr %80, i64 %81
store ptr %79, ptr %82, align 8
br label %83
83: ; preds = %72
%84 = load i64, ptr %9, align 8
%85 = add nsw i64 %84, 1
store i64 %85, ptr %9, align 8
%86 = load i64, ptr %9, align 8
%87 = load i64, ptr %6, align 8
%88 = icmp sle i64 %86, %87
br i1 %88, label %72, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %54
%90 = load ptr, ptr %12, align 8
ret ptr %90
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmpt8kdhg.c'
source_filename = "/tmp/tmpmpt8kdhg.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Not enough memory to fill gmv mesh data.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gmvrdmemerr2() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @gmvread_close()
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @gmvread_close(...) #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/tmpmpt8kdhg.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Not enough memory to fill gmv mesh data.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gmvrdmemerr2() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @gmvread_close()
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @gmvread_close(...) #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/tmpztntz2_3.c'
source_filename = "/tmp/tmpztntz2_3.c"
target datalayout = "e-m:e-p270: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/tmpztntz2_3.c"
target datalayout = "e-m:e-p270: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/tmpwz0lipi4.c'
source_filename = "/tmp/tmpwz0lipi4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_confidence(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = fdiv double %6, %7
%9 = fcmp olt double %8, 4.100000e+01
br i1 %9, label %10, label %20
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = load double, ptr %4, align 8
%13 = fdiv double %11, %12
%14 = call double @exp(double noundef %13) #2
store double %14, ptr %5, align 8
%15 = load double, ptr %5, align 8
%16 = load double, ptr %5, align 8
%17 = fadd double %16, 1.000000e+00
%18 = fdiv double %15, %17
%19 = fmul double %18, 1.000000e+02
store double %19, ptr %5, align 8
br label %21
20: ; preds = %2
store double 0x4058FF5C28F5C28F, ptr %5, align 8
br label %21
21: ; preds = %20, %10
%22 = load double, ptr %5, align 8
%23 = fcmp ole double %22, 5.000000e+01
br i1 %23, label %24, label %25
24: ; preds = %21
store double 5.000000e+01, ptr %5, align 8
br label %25
25: ; preds = %24, %21
%26 = load double, ptr %5, align 8
ret double %26
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwz0lipi4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_confidence(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = fdiv double %6, %7
%9 = fcmp olt double %8, 4.100000e+01
br i1 %9, label %10, label %20
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = load double, ptr %4, align 8
%13 = fdiv double %11, %12
%14 = call double @exp(double noundef %13) #2
store double %14, ptr %5, align 8
%15 = load double, ptr %5, align 8
%16 = load double, ptr %5, align 8
%17 = fadd double %16, 1.000000e+00
%18 = fdiv double %15, %17
%19 = fmul double %18, 1.000000e+02
store double %19, ptr %5, align 8
br label %21
20: ; preds = %2
store double 0x4058FF5C28F5C28F, ptr %5, align 8
br label %21
21: ; preds = %20, %10
%22 = load double, ptr %5, align 8
%23 = fcmp ole double %22, 5.000000e+01
br i1 %23, label %24, label %25
24: ; preds = %21
store double 5.000000e+01, ptr %5, align 8
br label %25
25: ; preds = %24, %21
%26 = load double, ptr %5, align 8
ret double %26
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0qwqbwlt.c'
source_filename = "/tmp/tmp0qwqbwlt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"father\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"/arm/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @fork()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @wait(ptr noundef null)
%8 = call i32 @printf(ptr noundef @.str)
br label %11
9: ; preds = %0
%10 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
br label %11
11: ; preds = %9, %6
ret void
}
declare i64 @fork(...) #1
declare i32 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @execl(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/tmp0qwqbwlt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"father\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"/arm/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @fork()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @wait(ptr noundef null)
%8 = call i32 @printf(ptr noundef @.str)
br label %11
9: ; preds = %0
%10 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
br label %11
11: ; preds = %9, %6
ret void
}
declare i64 @fork(...) #1
declare i32 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @execl(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/tmpl92exox8.c'
source_filename = "/tmp/tmpl92exox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSortArray(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %53, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %56
12: ; preds = %8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %45, %12
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %15, %16
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %14, %18
br i1 %19, label %20, label %48
20: ; preds = %13
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp sgt i32 %25, %31
br i1 %32, label %33, label %44
33: ; preds = %20
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = call i32 @swap(ptr noundef %37, ptr noundef %42)
store i32 1, ptr %6, align 4
br label %44
44: ; preds = %33, %20
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %13, !llvm.loop !6
48: ; preds = %13
%49 = load i32, ptr %6, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %48
br label %56
52: ; preds = %48
br label %53
53: ; preds = %52
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %8, !llvm.loop !8
56: ; preds = %51, %8
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl92exox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSortArray(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %57
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %13, %14
%16 = sub nsw i32 %15, 1
%17 = icmp slt i32 %12, %16
br i1 %17, label %.lr.ph, label %52
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %43
%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 %7, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp sgt i32 %23, %29
br i1 %30, label %31, label %42
31: ; preds = %18
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = call i32 @swap(ptr noundef %35, ptr noundef %40)
store i32 1, ptr %6, align 4
br label %42
42: ; preds = %31, %18
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %5, align 4
%49 = sub nsw i32 %47, %48
%50 = sub nsw i32 %49, 1
%51 = icmp slt i32 %46, %50
br i1 %51, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %52
52: ; preds = %._crit_edge, %11
%53 = load i32, ptr %6, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %52
br label %63
56: ; preds = %52
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %3, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %11, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %57
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %63
63: ; preds = %.loopexit, %55
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpx2birrx9.c'
source_filename = "/tmp/tmpx2birrx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trailingZerosInFact(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to double
%8 = fmul double %7, 1.000000e+00
%9 = call i32 @log(double noundef %8)
%10 = call i32 @log(double noundef 5.000000e+00)
%11 = sdiv i32 %9, %10
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i64 @pow(double noundef 5.000000e+00, i32 noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %18, %1
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 1
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = sdiv i32 %19, %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = sdiv i32 %24, 5
store i32 %25, ptr %4, align 4
br label %15, !llvm.loop !6
26: ; preds = %15
%27 = load i32, ptr %5, align 4
ret i32 %27
}
declare i32 @log(double noundef) #1
declare i64 @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx2birrx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trailingZerosInFact(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to double
%8 = fmul double %7, 1.000000e+00
%9 = call i32 @log(double noundef %8)
%10 = call i32 @log(double noundef 5.000000e+00)
%11 = sdiv i32 %9, %10
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i64 @pow(double noundef 5.000000e+00, i32 noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %4, align 4
store i32 0, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = sdiv i32 %18, %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = sdiv i32 %23, 5
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %25, 1
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @log(double noundef) #1
declare i64 @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3a_xndue.c'
source_filename = "/tmp/tmp3a_xndue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/rel_symlinks.c\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"test_in_one_dir\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"test_slashes\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"test_under_dir\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"test_parent_dir\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"test_different_subtree\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rel_symlinks_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_in_one_dir()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_slashes()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_under_dir()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_parent_dir()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_different_subtree()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i32 (...) @seatest_test_fixture_end()
br label %66
66: ; preds = %64
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_in_one_dir(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_slashes(...) #1
declare i32 @test_under_dir(...) #1
declare i32 @test_parent_dir(...) #1
declare i32 @test_different_subtree(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3a_xndue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/rel_symlinks.c\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"test_in_one_dir\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"test_slashes\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"test_under_dir\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"test_parent_dir\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"test_different_subtree\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rel_symlinks_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_in_one_dir()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_slashes()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_under_dir()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_parent_dir()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_different_subtree()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i32 (...) @seatest_test_fixture_end()
br label %66
66: ; preds = %64
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_in_one_dir(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_slashes(...) #1
declare i32 @test_under_dir(...) #1
declare i32 @test_parent_dir(...) #1
declare i32 @test_different_subtree(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpch048nv0.c'
source_filename = "/tmp/tmpch048nv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_can = type { i32, i32 }
%struct.can_frame = type { i32, i32, ptr }
%struct.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"can0\00", align 1
@PF_CAN = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@CAN_RAW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Error while opening socket\00", align 1
@SIOCGIFINDEX = dso_local global i32 0, align 4
@AF_CAN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [16 x i8] c"%s at index %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Error in socket bind\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Wrote %d bytes\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 %struct.sockaddr_can, align 4
%5 = alloca %struct.can_frame, align 8
%6 = alloca %struct.ifreq, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %7, align 8
%8 = load i32, ptr @PF_CAN, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr @CAN_RAW, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %53
15: ; preds = %0
%16 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @strcpy(i32 noundef %17, ptr noundef %18)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr @SIOCGIFINDEX, align 4
%22 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %6)
%23 = load i32, ptr @AF_CAN, align 4
%24 = getelementptr inbounds %struct.sockaddr_can, ptr %4, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = getelementptr inbounds %struct.sockaddr_can, ptr %4, i32 0, i32 0
store i32 %26, ptr %27, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = call i64 @bind(i32 noundef %32, ptr noundef %4, i32 noundef 8)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %15
%36 = call i32 @perror(ptr noundef @.str.3)
store i32 -2, ptr %1, align 4
br label %53
37: ; preds = %15
%38 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 0
store i32 291, ptr %38, align 8
%39 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 1
store i32 3, ptr %39, align 4
%40 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%41 = load ptr, ptr %40, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 0
store i32 17, ptr %42, align 4
%43 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%44 = load ptr, ptr %43, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 1
store i32 34, ptr %45, align 4
%46 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 2
store i32 51, ptr %48, align 4
%49 = load i32, ptr %2, align 4
%50 = call i32 @write(i32 noundef %49, ptr noundef %5, i32 noundef 16)
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51)
store i32 0, ptr %1, align 4
br label %53
53: ; preds = %37, %35, %13
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpch048nv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_can = type { i32, i32 }
%struct.can_frame = type { i32, i32, ptr }
%struct.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"can0\00", align 1
@PF_CAN = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@CAN_RAW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Error while opening socket\00", align 1
@SIOCGIFINDEX = dso_local global i32 0, align 4
@AF_CAN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [16 x i8] c"%s at index %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Error in socket bind\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Wrote %d bytes\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 %struct.sockaddr_can, align 4
%5 = alloca %struct.can_frame, align 8
%6 = alloca %struct.ifreq, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %7, align 8
%8 = load i32, ptr @PF_CAN, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr @CAN_RAW, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %53
15: ; preds = %0
%16 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @strcpy(i32 noundef %17, ptr noundef %18)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr @SIOCGIFINDEX, align 4
%22 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %6)
%23 = load i32, ptr @AF_CAN, align 4
%24 = getelementptr inbounds %struct.sockaddr_can, ptr %4, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = getelementptr inbounds %struct.sockaddr_can, ptr %4, i32 0, i32 0
store i32 %26, ptr %27, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = call i64 @bind(i32 noundef %32, ptr noundef %4, i32 noundef 8)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %15
%36 = call i32 @perror(ptr noundef @.str.3)
store i32 -2, ptr %1, align 4
br label %53
37: ; preds = %15
%38 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 0
store i32 291, ptr %38, align 8
%39 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 1
store i32 3, ptr %39, align 4
%40 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%41 = load ptr, ptr %40, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 0
store i32 17, ptr %42, align 4
%43 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%44 = load ptr, ptr %43, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 1
store i32 34, ptr %45, align 4
%46 = getelementptr inbounds %struct.can_frame, ptr %5, i32 0, i32 2
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 2
store i32 51, ptr %48, align 4
%49 = load i32, ptr %2, align 4
%50 = call i32 @write(i32 noundef %49, ptr noundef %5, i32 noundef 16)
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51)
store i32 0, ptr %1, align 4
br label %53
53: ; preds = %37, %35, %13
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeezj5nkp.c'
source_filename = "/tmp/tmpeezj5nkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unquote(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %6, align 8
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %31
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %13, i64 %26
store i8 %24, ptr %27, align 1
br label %28
28: ; preds = %19
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = ptrtoint ptr %13 to i32
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %34)
ret i32 %33
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeezj5nkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unquote(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %6, align 8
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %27
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %13, i64 %25
store i8 %23, ptr %26, align 1
br label %27
27: ; preds = %18
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = icmp slt i32 %30, %32
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %2
%35 = ptrtoint ptr %13 to i32
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %37)
ret i32 %36
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw35wkzkb.c'
source_filename = "/tmp/tmpw35wkzkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msn_callback_handler(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ParseForCommand(ptr noundef %3)
ret void
}
declare i32 @ParseForCommand(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw35wkzkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msn_callback_handler(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ParseForCommand(ptr noundef %3)
ret void
}
declare i32 @ParseForCommand(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp28dfwb6.c'
source_filename = "/tmp/tmpp28dfwb6.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"++++ testopen.c: open returned %d: %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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 1023)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %17
store i8 0, ptr %18, align 1
%19 = load i32, ptr %5, align 4
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, ptr noundef %20)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmpp28dfwb6.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"++++ testopen.c: open returned %d: %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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 1023)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %17
store i8 0, ptr %18, align 1
%19 = load i32, ptr %5, align 4
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, ptr noundef %20)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmpmj1lhubv.c'
source_filename = "/tmp/tmpmj1lhubv.c"
target datalayout = "e-m:e-p270: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/tmpmj1lhubv.c"
target datalayout = "e-m:e-p270: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/tmp2wksf72m.c'
source_filename = "/tmp/tmp2wksf72m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unbase64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %4, align 4
%13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %12)
%14 = call i32 (...) @BIO_f_base64()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call ptr @BIO_new_mem_buf(ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @BIO_push(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %4, align 4
%25 = call i32 @BIO_read(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @BIO_free_all(ptr noundef %26)
%28 = load ptr, ptr %7, align 8
ret ptr %28
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare ptr @BIO_new_mem_buf(ptr noundef, i32 noundef) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2wksf72m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unbase64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %4, align 4
%13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %12)
%14 = call i32 (...) @BIO_f_base64()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call ptr @BIO_new_mem_buf(ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @BIO_push(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %4, align 4
%25 = call i32 @BIO_read(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @BIO_free_all(ptr noundef %26)
%28 = load ptr, ptr %7, align 8
ret ptr %28
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare ptr @BIO_new_mem_buf(ptr noundef, i32 noundef) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu33a_z6j.c'
source_filename = "/tmp/tmpu33a_z6j.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_client(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %2, %17
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @recv_proc(i32 noundef %8, ptr noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 -1, %11
br i1 %12, label %16, label %13
13: ; preds = %7
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %13, %7
br label %18
17: ; preds = %13
br label %7
18: ; preds = %16
%19 = load i32, ptr %3, align 4
%20 = call i32 @close(i32 noundef %19)
%21 = load i32, ptr @EXIT_SUCCESS, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
}
declare i32 @recv_proc(i32 noundef, ptr noundef) #1
declare i32 @close(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/tmpu33a_z6j.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_client(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @recv_proc(i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 -1, %10
br i1 %11, label %21, label %.lr.ph
.lr.ph: ; preds = %2
br label %18
12: ; preds = %18
%13 = load i32, ptr %3, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @recv_proc(i32 noundef %13, ptr noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 -1, %16
br i1 %17, label %._crit_edge1, label %18
18: ; preds = %.lr.ph, %12
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 0, %19
br i1 %20, label %._crit_edge, label %12
._crit_edge: ; preds = %18
br label %21
._crit_edge1: ; preds = %12
br label %21
21: ; preds = %._crit_edge1, %._crit_edge, %2
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = call i32 @close(i32 noundef %23)
%25 = load i32, ptr @EXIT_SUCCESS, align 4
%26 = call i32 @exit(i32 noundef %25) #3
unreachable
}
declare i32 @recv_proc(i32 noundef, ptr noundef) #1
declare i32 @close(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/tmphrrajlqf.c'
source_filename = "/tmp/tmphrrajlqf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"enter a phone number\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"in numeric form:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca [101 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 101, i1 false)
%7 = getelementptr inbounds <{ i8, [100 x i8] }>, ptr %2, i32 0, i32 0
store i8 32, ptr %7, align 16
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 101, i1 false)
%8 = getelementptr inbounds <{ i8, [100 x i8] }>, ptr %3, i32 0, i32 0
store i8 32, ptr %8, align 16
store i32 0, ptr %5, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %10
10: ; preds = %58, %0
%11 = call signext i8 (...) @getchar()
store i8 %11, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %61
14: ; preds = %10
%15 = load i8, ptr %4, align 1
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %17
store i8 %15, ptr %18, align 1
%19 = load i8, ptr %4, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %53 [
i32 65, label %21
i32 66, label %21
i32 67, label %21
i32 68, label %25
i32 69, label %25
i32 70, label %25
i32 71, label %29
i32 72, label %29
i32 73, label %29
i32 74, label %33
i32 75, label %33
i32 76, label %33
i32 79, label %37
i32 77, label %37
i32 78, label %37
i32 80, label %41
i32 83, label %41
i32 82, label %41
i32 85, label %45
i32 84, label %45
i32 86, label %45
i32 87, label %49
i32 88, label %49
i32 89, label %49
]
21: ; preds = %14, %14, %14
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %23
store i8 50, ptr %24, align 1
br label %58
25: ; preds = %14, %14, %14
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %27
store i8 51, ptr %28, align 1
br label %58
29: ; preds = %14, %14, %14
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %31
store i8 52, ptr %32, align 1
br label %58
33: ; preds = %14, %14, %14
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %35
store i8 53, ptr %36, align 1
br label %58
37: ; preds = %14, %14, %14
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %39
store i8 54, ptr %40, align 1
br label %58
41: ; preds = %14, %14, %14
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %43
store i8 55, ptr %44, align 1
br label %58
45: ; preds = %14, %14, %14
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %47
store i8 56, ptr %48, align 1
br label %58
49: ; preds = %14, %14, %14
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %51
store i8 57, ptr %52, align 1
br label %58
53: ; preds = %14
%54 = load i8, ptr %4, align 1
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %56
store i8 %54, ptr %57, align 1
br label %58
58: ; preds = %53, %49, %45, %41, %37, %33, %29, %25, %21
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %10, !llvm.loop !6
61: ; preds = %10
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %63
63: ; preds = %75, %61
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
%67 = icmp slt i32 %64, %66
br i1 %67, label %68, label %78
68: ; preds = %63
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73)
br label %75
75: ; preds = %68
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %63, !llvm.loop !8
78: ; preds = %63
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare signext i8 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrrajlqf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"enter a phone number\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"in numeric form:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca [101 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 101, i1 false)
%7 = getelementptr inbounds <{ i8, [100 x i8] }>, ptr %2, i32 0, i32 0
store i8 32, ptr %7, align 16
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 101, i1 false)
%8 = getelementptr inbounds <{ i8, [100 x i8] }>, ptr %3, i32 0, i32 0
store i8 32, ptr %8, align 16
store i32 0, ptr %5, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 10
br i1 %12, label %.lr.ph, label %63
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %57
%14 = load i8, ptr %4, align 1
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %16
store i8 %14, ptr %17, align 1
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %52 [
i32 65, label %20
i32 66, label %20
i32 67, label %20
i32 68, label %24
i32 69, label %24
i32 70, label %24
i32 71, label %28
i32 72, label %28
i32 73, label %28
i32 74, label %32
i32 75, label %32
i32 76, label %32
i32 79, label %36
i32 77, label %36
i32 78, label %36
i32 80, label %40
i32 83, label %40
i32 82, label %40
i32 85, label %44
i32 84, label %44
i32 86, label %44
i32 87, label %48
i32 88, label %48
i32 89, label %48
]
20: ; preds = %13, %13, %13
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %22
store i8 50, ptr %23, align 1
br label %57
24: ; preds = %13, %13, %13
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %26
store i8 51, ptr %27, align 1
br label %57
28: ; preds = %13, %13, %13
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %30
store i8 52, ptr %31, align 1
br label %57
32: ; preds = %13, %13, %13
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %34
store i8 53, ptr %35, align 1
br label %57
36: ; preds = %13, %13, %13
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %38
store i8 54, ptr %39, align 1
br label %57
40: ; preds = %13, %13, %13
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %42
store i8 55, ptr %43, align 1
br label %57
44: ; preds = %13, %13, %13
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %46
store i8 56, ptr %47, align 1
br label %57
48: ; preds = %13, %13, %13
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %50
store i8 57, ptr %51, align 1
br label %57
52: ; preds = %13
%53 = load i8, ptr %4, align 1
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %55
store i8 %53, ptr %56, align 1
br label %57
57: ; preds = %52, %48, %44, %40, %36, %32, %28, %24, %20
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = call signext i8 (...) @getchar()
store i8 %60, ptr %4, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 10
br i1 %62, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %0
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
%68 = icmp slt i32 %65, %67
br i1 %68, label %.lr.ph2, label %83
.lr.ph2: ; preds = %63
br label %69
69: ; preds = %.lr.ph2, %76
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74)
br label %76
76: ; preds = %69
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %5, align 4
%81 = add nsw i32 %80, 1
%82 = icmp slt i32 %79, %81
br i1 %82, label %69, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %83
83: ; preds = %._crit_edge3, %63
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare signext i8 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpemvao040.c'
source_filename = "/tmp/tmpemvao040.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_next_tick_default() #0 {
%1 = alloca i32, align 4
%2 = call i32 @Get32(i32 noundef 536883204)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 2500000
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @Set32(i32 noundef 536883216, i32 noundef %5)
ret void
}
declare i32 @Get32(i32 noundef) #1
declare i32 @Set32(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/tmpemvao040.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_next_tick_default() #0 {
%1 = alloca i32, align 4
%2 = call i32 @Get32(i32 noundef 536883204)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 2500000
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @Set32(i32 noundef 536883216, i32 noundef %5)
ret void
}
declare i32 @Get32(i32 noundef) #1
declare i32 @Set32(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/tmpdw0_g9hl.c'
source_filename = "/tmp/tmpdw0_g9hl.c"
target datalayout = "e-m:e-p270: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/tmpdw0_g9hl.c"
target datalayout = "e-m:e-p270: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/tmpcl3dojap.c'
source_filename = "/tmp/tmpcl3dojap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filesGuanyadores(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %81, %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 6
br i1 %10, label %11, label %84
11: ; preds = %8
store i32 3, ptr %6, align 4
br label %12
12: ; preds = %77, %11
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 7
br i1 %14, label %15, label %80
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [7 x i8], ptr %16, i64 %18
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [7 x i8], ptr %19, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %4, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %76
28: ; preds = %15
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [7 x i8], ptr %29, i64 %31
%33 = load i32, ptr %6, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [7 x i8], ptr %32, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load i8, ptr %4, align 1
%40 = call signext i8 @jugadorRival(i8 noundef signext %39)
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %38, %41
br i1 %42, label %43, label %76
43: ; preds = %28
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [7 x i8], ptr %44, i64 %46
%48 = load i32, ptr %6, align 4
%49 = sub nsw i32 %48, 2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [7 x i8], ptr %47, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = load i8, ptr %4, align 1
%55 = call signext i8 @jugadorRival(i8 noundef signext %54)
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %53, %56
br i1 %57, label %58, label %76
58: ; preds = %43
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [7 x i8], ptr %59, i64 %61
%63 = load i32, ptr %6, align 4
%64 = sub nsw i32 %63, 3
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [7 x i8], ptr %62, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load i8, ptr %4, align 1
%70 = call signext i8 @jugadorRival(i8 noundef signext %69)
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %68, %71
br i1 %72, label %73, label %76
73: ; preds = %58
%74 = load double, ptr %7, align 8
%75 = fadd double %74, 1.000000e+00
store double %75, ptr %7, align 8
br label %76
76: ; preds = %73, %58, %43, %28, %15
br label %77
77: ; preds = %76
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %6, align 4
br label %12, !llvm.loop !6
80: ; preds = %12
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
br label %8, !llvm.loop !8
84: ; preds = %8
%85 = load double, ptr %7, align 8
ret double %85
}
declare signext i8 @jugadorRival(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcl3dojap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filesGuanyadores(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 6
br i1 %9, label %.lr.ph2, label %86
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %81
store i32 3, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 7
br i1 %12, label %.lr.ph, label %80
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %75
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [7 x i8], ptr %14, i64 %16
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [7 x i8], ptr %17, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %74
26: ; preds = %13
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [7 x i8], ptr %27, i64 %29
%31 = load i32, ptr %6, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [7 x i8], ptr %30, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i8, ptr %4, align 1
%38 = call signext i8 @jugadorRival(i8 noundef signext %37)
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %36, %39
br i1 %40, label %41, label %74
41: ; preds = %26
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [7 x i8], ptr %42, i64 %44
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [7 x i8], ptr %45, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = load i8, ptr %4, align 1
%53 = call signext i8 @jugadorRival(i8 noundef signext %52)
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %51, %54
br i1 %55, label %56, label %74
56: ; preds = %41
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [7 x i8], ptr %57, i64 %59
%61 = load i32, ptr %6, align 4
%62 = sub nsw i32 %61, 3
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [7 x i8], ptr %60, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = load i8, ptr %4, align 1
%68 = call signext i8 @jugadorRival(i8 noundef signext %67)
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %66, %69
br i1 %70, label %71, label %74
71: ; preds = %56
%72 = load double, ptr %7, align 8
%73 = fadd double %72, 1.000000e+00
store double %73, ptr %7, align 8
br label %74
74: ; preds = %71, %56, %41, %26, %13
br label %75
75: ; preds = %74
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %78, 7
br i1 %79, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %80
80: ; preds = %._crit_edge, %10
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
%84 = load i32, ptr %5, align 4
%85 = icmp slt i32 %84, 6
br i1 %85, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %81
br label %86
86: ; preds = %._crit_edge3, %2
%87 = load double, ptr %7, align 8
ret double %87
}
declare signext i8 @jugadorRival(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4s4g73w2.c'
source_filename = "/tmp/tmp4s4g73w2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIG_IGN = 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/tmp4s4g73w2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIG_IGN = 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/tmpcc08u89d.c'
source_filename = "/tmp/tmpcc08u89d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plg\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @jsonTopoAddPlug(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @jsonTopoAddDevice(ptr noundef @.str, ptr noundef %5, ptr noundef %6, ptr noundef null, i32 noundef 0)
ret ptr %7
}
declare ptr @jsonTopoAddDevice(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcc08u89d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plg\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @jsonTopoAddPlug(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @jsonTopoAddDevice(ptr noundef @.str, ptr noundef %5, ptr noundef %6, ptr noundef null, i32 noundef 0)
ret ptr %7
}
declare ptr @jsonTopoAddDevice(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmper7jz3gu.c'
source_filename = "/tmp/tmper7jz3gu.c"
target datalayout = "e-m:e-p270: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.A = type { [2 x i8], [3 x i8] }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_strcpy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.A, align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%9 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @sink(ptr noundef %9)
%11 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%12 = getelementptr inbounds [2 x i8], ptr %11, i64 0, i64 0
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%17 = getelementptr inbounds [2 x i8], ptr %16, i64 0, i64 0
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = call i32 @sink(ptr noundef %18)
%20 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%21 = getelementptr inbounds [2 x i8], ptr %20, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load ptr, ptr %2, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%26 = getelementptr inbounds [2 x i8], ptr %25, i64 0, i64 0
%27 = getelementptr inbounds i8, ptr %26, i64 2
%28 = call i32 @sink(ptr noundef %27)
%29 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%30 = getelementptr inbounds [2 x i8], ptr %29, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 5
%32 = load ptr, ptr %2, align 8
%33 = call i32 @strcpy(ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%35 = getelementptr inbounds [2 x i8], ptr %34, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 5
%37 = call i32 @sink(ptr noundef %36)
%38 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%39 = getelementptr inbounds [2 x i8], ptr %38, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 17
%41 = load ptr, ptr %2, align 8
%42 = call i32 @strcpy(ptr noundef %40, ptr noundef %41)
%43 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%44 = getelementptr inbounds [2 x i8], ptr %43, i64 0, i64 0
%45 = getelementptr inbounds i8, ptr %44, i64 17
%46 = call i32 @sink(ptr noundef %45)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmper7jz3gu.c"
target datalayout = "e-m:e-p270: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.A = type { [2 x i8], [3 x i8] }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_strcpy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.A, align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%9 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @sink(ptr noundef %9)
%11 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%12 = getelementptr inbounds [2 x i8], ptr %11, i64 0, i64 0
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%17 = getelementptr inbounds [2 x i8], ptr %16, i64 0, i64 0
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = call i32 @sink(ptr noundef %18)
%20 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%21 = getelementptr inbounds [2 x i8], ptr %20, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load ptr, ptr %2, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%26 = getelementptr inbounds [2 x i8], ptr %25, i64 0, i64 0
%27 = getelementptr inbounds i8, ptr %26, i64 2
%28 = call i32 @sink(ptr noundef %27)
%29 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%30 = getelementptr inbounds [2 x i8], ptr %29, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 5
%32 = load ptr, ptr %2, align 8
%33 = call i32 @strcpy(ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%35 = getelementptr inbounds [2 x i8], ptr %34, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 5
%37 = call i32 @sink(ptr noundef %36)
%38 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%39 = getelementptr inbounds [2 x i8], ptr %38, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 17
%41 = load ptr, ptr %2, align 8
%42 = call i32 @strcpy(ptr noundef %40, ptr noundef %41)
%43 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0
%44 = getelementptr inbounds [2 x i8], ptr %43, i64 0, i64 0
%45 = getelementptr inbounds i8, ptr %44, i64 17
%46 = call i32 @sink(ptr noundef %45)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph4uaojwp.c'
source_filename = "/tmp/tmph4uaojwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_bgm_stop(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @musbgm_stop(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @musbgm_stop(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/tmph4uaojwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_bgm_stop(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @musbgm_stop(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @musbgm_stop(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/tmp9zn5d4tc.c'
source_filename = "/tmp/tmp9zn5d4tc.c"
target datalayout = "e-m:e-p270: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 { i64, i32, i32, i64, i64, i64, i64, i64 }
@MD4_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MD4_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 7
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @MD4_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @MD4_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @md4_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @MD4_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @MD4_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 2
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %5, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 4
store ptr %68, ptr %5, align 8
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_4__, ptr %69, i32 0, i32 2
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr @MD4_CBLOCK, align 4
%73 = load ptr, ptr %5, align 8
%74 = sext i32 %72 to i64
%75 = sub i64 0, %74
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store ptr %76, ptr %5, align 8
%77 = load ptr, ptr %4, align 8
%78 = load ptr, ptr %5, align 8
%79 = call i32 @md4_block_data_order(ptr noundef %77, ptr noundef %78, i32 noundef 1)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 0
store i64 0, ptr %81, align 8
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr @MD4_CBLOCK, align 4
%84 = call i32 @OPENSSL_cleanse(ptr noundef %82, i32 noundef %83)
br label %85
85: ; preds = %38
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i32 0, i32 3
%88 = load i64, ptr %87, align 8
store i64 %88, ptr %7, align 8
%89 = load i64, ptr %7, align 8
%90 = trunc i64 %89 to i32
%91 = load ptr, ptr %3, align 8
store i32 %90, ptr %91, align 4
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 4
store ptr %93, ptr %3, align 8
%94 = load i64, ptr %7, align 8
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds %struct.TYPE_4__, ptr %95, i32 0, i32 4
%97 = load i64, ptr %96, align 8
store i64 %97, ptr %7, align 8
%98 = load i64, ptr %7, align 8
%99 = trunc i64 %98 to i32
%100 = load ptr, ptr %3, align 8
store i32 %99, ptr %100, align 4
%101 = load ptr, ptr %3, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 4
store ptr %102, ptr %3, align 8
%103 = load i64, ptr %7, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 5
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load i64, ptr %7, align 8
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_4__, ptr %113, i32 0, i32 6
%115 = load i64, ptr %114, align 8
store i64 %115, ptr %7, align 8
%116 = load i64, ptr %7, align 8
%117 = trunc i64 %116 to i32
%118 = load ptr, ptr %3, align 8
store i32 %117, ptr %118, align 4
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 4
store ptr %120, ptr %3, align 8
%121 = load i64, ptr %7, align 8
br label %122
122: ; preds = %85
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4_block_data_order(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @OPENSSL_cleanse(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/tmp9zn5d4tc.c"
target datalayout = "e-m:e-p270: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 { i64, i32, i32, i64, i64, i64, i64, i64 }
@MD4_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MD4_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 7
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @MD4_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @MD4_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @md4_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @MD4_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @MD4_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 2
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %5, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 4
store ptr %68, ptr %5, align 8
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_4__, ptr %69, i32 0, i32 2
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr @MD4_CBLOCK, align 4
%73 = load ptr, ptr %5, align 8
%74 = sext i32 %72 to i64
%75 = sub i64 0, %74
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store ptr %76, ptr %5, align 8
%77 = load ptr, ptr %4, align 8
%78 = load ptr, ptr %5, align 8
%79 = call i32 @md4_block_data_order(ptr noundef %77, ptr noundef %78, i32 noundef 1)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 0
store i64 0, ptr %81, align 8
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr @MD4_CBLOCK, align 4
%84 = call i32 @OPENSSL_cleanse(ptr noundef %82, i32 noundef %83)
br label %85
85: ; preds = %38
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i32 0, i32 3
%88 = load i64, ptr %87, align 8
store i64 %88, ptr %7, align 8
%89 = load i64, ptr %7, align 8
%90 = trunc i64 %89 to i32
%91 = load ptr, ptr %3, align 8
store i32 %90, ptr %91, align 4
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 4
store ptr %93, ptr %3, align 8
%94 = load i64, ptr %7, align 8
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds %struct.TYPE_4__, ptr %95, i32 0, i32 4
%97 = load i64, ptr %96, align 8
store i64 %97, ptr %7, align 8
%98 = load i64, ptr %7, align 8
%99 = trunc i64 %98 to i32
%100 = load ptr, ptr %3, align 8
store i32 %99, ptr %100, align 4
%101 = load ptr, ptr %3, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 4
store ptr %102, ptr %3, align 8
%103 = load i64, ptr %7, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 5
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load i64, ptr %7, align 8
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_4__, ptr %113, i32 0, i32 6
%115 = load i64, ptr %114, align 8
store i64 %115, ptr %7, align 8
%116 = load i64, ptr %7, align 8
%117 = trunc i64 %116 to i32
%118 = load ptr, ptr %3, align 8
store i32 %117, ptr %118, align 4
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 4
store ptr %120, ptr %3, align 8
%121 = load i64, ptr %7, align 8
br label %122
122: ; preds = %85
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4_block_data_order(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @OPENSSL_cleanse(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/tmp_xjumq33.c'
source_filename = "/tmp/tmp_xjumq33.c"
target datalayout = "e-m:e-p270: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"asmconv: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal(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 = load i32, ptr @errno, align 4
%6 = call ptr @strerror(i32 noundef %5)
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%8 = load i32, ptr @EXIT_FAILURE, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmp_xjumq33.c"
target datalayout = "e-m:e-p270: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"asmconv: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal(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 = load i32, ptr @errno, align 4
%6 = call ptr @strerror(i32 noundef %5)
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%8 = load i32, ptr @EXIT_FAILURE, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpuol2j5di.c'
source_filename = "/tmp/tmpuol2j5di.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f4(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuol2j5di.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f4(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0cf6bs1.c'
source_filename = "/tmp/tmpy0cf6bs1.c"
target datalayout = "e-m:e-p270: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/tmpy0cf6bs1.c"
target datalayout = "e-m:e-p270: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/tmpptkd3hm2.c'
source_filename = "/tmp/tmpptkd3hm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %44, %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 @feof(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = call i32 @fgetc(ptr noundef %20)
store i32 %21, ptr %12, align 4
%22 = icmp ne i32 %21, -1
br label %23
23: ; preds = %19, %15
%24 = phi i1 [ false, %15 ], [ %22, %19 ]
br i1 %24, label %25, label %52
25: ; preds = %23
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %28, label %44
28: ; preds = %25
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = call i32 @enc_fputc(i8 noundef signext 45, ptr noundef %14, ptr noundef %36)
br label %42
38: ; preds = %31, %28
%39 = load i32, ptr %7, align 4
%40 = load ptr, ptr %5, align 8
%41 = call i32 @enc_dump(i32 noundef %39, i32 noundef 4, ptr noundef %14, ptr noundef %40)
br label %42
42: ; preds = %38, %35
%43 = load i32, ptr %7, align 4
store i32 %43, ptr %8, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %44
44: ; preds = %42, %25
%45 = load i32, ptr %7, align 4
%46 = shl i32 %45, 8
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %7, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
br label %15, !llvm.loop !6
52: ; preds = %23
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 0, %53
br i1 %54, label %55, label %84
55: ; preds = %52
%56 = load i32, ptr %9, align 4
store i32 %56, ptr %10, align 4
br label %57
57: ; preds = %63, %55
%58 = load i32, ptr %9, align 4
%59 = icmp slt i32 %58, 3
br i1 %59, label %60, label %66
60: ; preds = %57
%61 = load i32, ptr %7, align 4
%62 = shl i32 %61, 8
store i32 %62, ptr %7, align 4
br label %63
63: ; preds = %60
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %57, !llvm.loop !8
66: ; preds = %57
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %11, align 4
%71 = load ptr, ptr %5, align 8
%72 = call i32 @enc_dump(i32 noundef %69, i32 noundef %70, ptr noundef %14, ptr noundef %71)
%73 = load i32, ptr %11, align 4
store i32 %73, ptr %13, align 4
br label %74
74: ; preds = %80, %66
%75 = load i32, ptr %13, align 4
%76 = icmp slt i32 %75, 4
br i1 %76, label %77, label %83
77: ; preds = %74
%78 = load ptr, ptr %5, align 8
%79 = call i32 @enc_fputc(i8 noundef signext 61, ptr noundef %14, ptr noundef %78)
br label %80
80: ; preds = %77
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
br label %74, !llvm.loop !9
83: ; preds = %74
br label %84
84: ; preds = %83, %52
ret i32 1
}
declare i32 @feof(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @enc_fputc(i8 noundef signext, ptr noundef, ptr noundef) #1
declare i32 @enc_dump(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpptkd3hm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %44, %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 @feof(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = call i32 @fgetc(ptr noundef %20)
store i32 %21, ptr %12, align 4
%22 = icmp ne i32 %21, -1
br label %23
23: ; preds = %19, %15
%24 = phi i1 [ false, %15 ], [ %22, %19 ]
br i1 %24, label %25, label %52
25: ; preds = %23
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %28, label %44
28: ; preds = %25
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = call i32 @enc_fputc(i8 noundef signext 45, ptr noundef %14, ptr noundef %36)
br label %42
38: ; preds = %31, %28
%39 = load i32, ptr %7, align 4
%40 = load ptr, ptr %5, align 8
%41 = call i32 @enc_dump(i32 noundef %39, i32 noundef 4, ptr noundef %14, ptr noundef %40)
br label %42
42: ; preds = %38, %35
%43 = load i32, ptr %7, align 4
store i32 %43, ptr %8, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %44
44: ; preds = %42, %25
%45 = load i32, ptr %7, align 4
%46 = shl i32 %45, 8
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %7, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
br label %15, !llvm.loop !6
52: ; preds = %23
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 0, %53
br i1 %54, label %55, label %86
55: ; preds = %52
%56 = load i32, ptr %9, align 4
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp slt i32 %57, 3
br i1 %58, label %.lr.ph, label %67
.lr.ph: ; preds = %55
br label %59
59: ; preds = %.lr.ph, %62
%60 = load i32, ptr %7, align 4
%61 = shl i32 %60, 8
store i32 %61, ptr %7, align 4
br label %62
62: ; preds = %59
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = icmp slt i32 %65, 3
br i1 %66, label %59, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %55
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %11, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %11, align 4
%72 = load ptr, ptr %5, align 8
%73 = call i32 @enc_dump(i32 noundef %70, i32 noundef %71, ptr noundef %14, ptr noundef %72)
%74 = load i32, ptr %11, align 4
store i32 %74, ptr %13, align 4
%75 = load i32, ptr %13, align 4
%76 = icmp slt i32 %75, 4
br i1 %76, label %.lr.ph2, label %85
.lr.ph2: ; preds = %67
br label %77
77: ; preds = %.lr.ph2, %80
%78 = load ptr, ptr %5, align 8
%79 = call i32 @enc_fputc(i8 noundef signext 61, ptr noundef %14, ptr noundef %78)
br label %80
80: ; preds = %77
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
%83 = load i32, ptr %13, align 4
%84 = icmp slt i32 %83, 4
br i1 %84, label %77, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %80
br label %85
85: ; preds = %._crit_edge3, %67
br label %86
86: ; preds = %85, %52
ret i32 1
}
declare i32 @feof(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @enc_fputc(i8 noundef signext, ptr noundef, ptr noundef) #1
declare i32 @enc_dump(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3wid5mwn.c'
source_filename = "/tmp/tmp3wid5mwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.nums = private unnamed_addr constant [8 x i32] [i32 5, i32 2, i32 4, i32 7, i32 1, i32 3, i32 2, i32 6], align 16
@.str = private unnamed_addr constant [15 x i8] c"Sorted nums: \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 ptr, align 8
%5 = alloca [8 x i32], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.nums, i64 32, i1 false)
store i32 8, ptr %6, align 4
%7 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%8 = load i32, ptr %6, align 4
%9 = call i32 @bubble_sort(ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%11 = load i32, ptr %6, align 4
%12 = call i32 @print_int_array(ptr noundef @.str, ptr noundef %10, i32 noundef %11)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bubble_sort(ptr noundef, i32 noundef) #2
declare i32 @print_int_array(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3wid5mwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.nums = private unnamed_addr constant [8 x i32] [i32 5, i32 2, i32 4, i32 7, i32 1, i32 3, i32 2, i32 6], align 16
@.str = private unnamed_addr constant [15 x i8] c"Sorted nums: \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 ptr, align 8
%5 = alloca [8 x i32], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.nums, i64 32, i1 false)
store i32 8, ptr %6, align 4
%7 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%8 = load i32, ptr %6, align 4
%9 = call i32 @bubble_sort(ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%11 = load i32, ptr %6, align 4
%12 = call i32 @print_int_array(ptr noundef @.str, ptr noundef %10, i32 noundef %11)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bubble_sort(ptr noundef, i32 noundef) #2
declare i32 @print_int_array(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8vxv0fbx.c'
source_filename = "/tmp/tmp8vxv0fbx.c"
target datalayout = "e-m:e-p270: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/tmp8vxv0fbx.c"
target datalayout = "e-m:e-p270: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/tmp5hgoh_ih.c'
source_filename = "/tmp/tmp5hgoh_ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"No\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 512000)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %53, %0
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %56
14: ; preds = %8
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i64 @vowel(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %40, label %22
22: ; preds = %14
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %28, %35
br i1 %36, label %37, label %39
37: ; preds = %22
%38 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %58
39: ; preds = %22
br label %52
40: ; preds = %14
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = call i64 @vowel(i8 noundef signext %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %40
%50 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %58
51: ; preds = %40
br label %52
52: ; preds = %51, %39
br label %53
53: ; preds = %52
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %3, align 4
br label %8, !llvm.loop !6
56: ; preds = %8
%57 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %58
58: ; preds = %56, %49, %37
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @vowel(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5hgoh_ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"No\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 512000)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph, label %60
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %52
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i64 @vowel(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %39, label %21
21: ; preds = %13
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %27, %34
br i1 %35, label %36, label %38
36: ; preds = %21
%37 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %62
38: ; preds = %21
br label %51
39: ; preds = %13
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = call i64 @vowel(i8 noundef signext %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %39
%49 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %62
50: ; preds = %39
br label %51
51: ; preds = %50, %38
br label %52
52: ; preds = %51
%53 = load i32, ptr %3, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = load ptr, ptr %2, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = sub nsw i32 %57, 1
%59 = icmp slt i32 %55, %58
br i1 %59, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %60
60: ; preds = %._crit_edge, %0
%61 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %62
62: ; preds = %60, %48, %36
%63 = load i32, ptr %1, align 4
ret i32 %63
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @vowel(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjx3ulbid.c'
source_filename = "/tmp/tmpjx3ulbid.c"
target datalayout = "e-m:e-p270: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/tmpjx3ulbid.c"
target datalayout = "e-m:e-p270: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/tmpdv0yrvyu.c'
source_filename = "/tmp/tmpdv0yrvyu.c"
target datalayout = "e-m:e-p270: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/tmpdv0yrvyu.c"
target datalayout = "e-m:e-p270: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/tmpeaw3yk4p.c'
source_filename = "/tmp/tmpeaw3yk4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_jnl(i32 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca x86_fp80, align 16
store i32 %0, ptr %3, align 4
store x86_fp80 %1, ptr %4, align 16
%5 = load i32, ptr %3, align 4
%6 = load x86_fp80, ptr %4, align 16
%7 = call i64 @jnl(i32 noundef %5, x86_fp80 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load x86_fp80, ptr %4, align 16
%10 = call i64 @jnl(i32 noundef %8, x86_fp80 noundef %9)
%11 = icmp ne i64 %7, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @link_failure_jnl()
br label %14
14: ; preds = %12, %2
ret void
}
declare i64 @jnl(i32 noundef, x86_fp80 noundef) #1
declare i32 @link_failure_jnl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeaw3yk4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_jnl(i32 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca x86_fp80, align 16
store i32 %0, ptr %3, align 4
store x86_fp80 %1, ptr %4, align 16
%5 = load i32, ptr %3, align 4
%6 = load x86_fp80, ptr %4, align 16
%7 = call i64 @jnl(i32 noundef %5, x86_fp80 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load x86_fp80, ptr %4, align 16
%10 = call i64 @jnl(i32 noundef %8, x86_fp80 noundef %9)
%11 = icmp ne i64 %7, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @link_failure_jnl()
br label %14
14: ; preds = %12, %2
ret void
}
declare i64 @jnl(i32 noundef, x86_fp80 noundef) #1
declare i32 @link_failure_jnl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp56e7ewj_.c'
source_filename = "/tmp/tmp56e7ewj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextToken(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %16, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %8, %3
%14 = phi i1 [ false, %3 ], [ %12, %8 ]
br i1 %14, label %15, label %19
15: ; preds = %13
br label %16
16: ; preds = %15
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
br label %3, !llvm.loop !6
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp56e7ewj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextToken(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %16, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %8, %3
%14 = phi i1 [ false, %3 ], [ %12, %8 ]
br i1 %14, label %15, label %19
15: ; preds = %13
br label %16
16: ; preds = %15
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
br label %3, !llvm.loop !6
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpirxpc9l0.c'
source_filename = "/tmp/tmpirxpc9l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"// return %e, %lX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ret_double(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fadd double %7, %8
store double %9, ptr %5, align 8
store ptr %5, ptr %6, align 8
%10 = load double, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str, double noundef %10, i64 noundef %12)
%14 = load double, ptr %5, align 8
ret double %14
}
declare i32 @printf(ptr noundef, double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpirxpc9l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"// return %e, %lX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ret_double(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fadd double %7, %8
store double %9, ptr %5, align 8
store ptr %5, ptr %6, align 8
%10 = load double, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str, double noundef %10, i64 noundef %12)
%14 = load double, ptr %5, align 8
ret double %14
}
declare i32 @printf(ptr noundef, double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppsux4t6d.c'
source_filename = "/tmp/tmppsux4t6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_uint8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %66, %6
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %69
19: ; preds = %15
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load ptr, ptr %11, align 8
%26 = load i32, ptr %13, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %25, i64 %27
%29 = load i64, ptr %28, align 8
%30 = icmp sgt i64 %24, %29
br i1 %30, label %31, label %37
31: ; preds = %19
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %13, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = load i64, ptr %35, align 8
br label %43
37: ; preds = %19
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %13, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
br label %43
43: ; preds = %37, %31
%44 = phi i64 [ %36, %31 ], [ %42, %37 ]
store i64 %44, ptr %14, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %13, align 4
%47 = zext i32 %46 to i64
%48 = getelementptr inbounds i64, ptr %45, i64 %47
%49 = load i64, ptr %48, align 8
%50 = load i64, ptr %9, align 8
%51 = icmp slt i64 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %43
%53 = load i64, ptr %14, align 8
br label %60
54: ; preds = %43
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %13, align 4
%57 = zext i32 %56 to i64
%58 = getelementptr inbounds i64, ptr %55, i64 %57
%59 = load i64, ptr %58, align 8
br label %60
60: ; preds = %54, %52
%61 = phi i64 [ %53, %52 ], [ %59, %54 ]
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %13, align 4
%64 = zext i32 %63 to i64
%65 = getelementptr inbounds i64, ptr %62, i64 %64
store i64 %61, ptr %65, align 8
br label %66
66: ; preds = %60
%67 = load i32, ptr %13, align 4
%68 = add i32 %67, 1
store i32 %68, ptr %13, align 4
br label %15, !llvm.loop !6
69: ; preds = %15
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/tmppsux4t6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_uint8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %71
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %65
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %13, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load ptr, ptr %11, align 8
%25 = load i32, ptr %13, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
%28 = load i64, ptr %27, align 8
%29 = icmp sgt i64 %23, %28
br i1 %29, label %30, label %36
30: ; preds = %18
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %13, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %31, i64 %33
%35 = load i64, ptr %34, align 8
br label %42
36: ; preds = %18
%37 = load ptr, ptr %11, align 8
%38 = load i32, ptr %13, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
br label %42
42: ; preds = %36, %30
%43 = phi i64 [ %35, %30 ], [ %41, %36 ]
store i64 %43, ptr %14, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %13, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load i64, ptr %47, align 8
%49 = load i64, ptr %9, align 8
%50 = icmp slt i64 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %42
%52 = load i64, ptr %14, align 8
br label %59
53: ; preds = %42
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %13, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i64, ptr %54, i64 %56
%58 = load i64, ptr %57, align 8
br label %59
59: ; preds = %53, %51
%60 = phi i64 [ %52, %51 ], [ %58, %53 ]
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %13, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %61, i64 %63
store i64 %60, ptr %64, align 8
br label %65
65: ; preds = %59
%66 = load i32, ptr %13, align 4
%67 = add i32 %66, 1
store i32 %67, ptr %13, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp ult i32 %68, %69
br i1 %70, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %6
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.