llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp_oxpkacc.c'
source_filename = "/tmp/tmp_oxpkacc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./f00.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\0ADame n: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\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 ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %3)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.4, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fclose(ptr noundef %15)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 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" }
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_oxpkacc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./f00.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\0ADame n: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\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 ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %3)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.4, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fclose(ptr noundef %15)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 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" }
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/tmpeu8uwu25.c'
source_filename = "/tmp/tmpeu8uwu25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lrc_no_newline.lrc\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ERROR[%d]: EXPECT %s failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"ol_lrc_item_get_lyric (item) != NULL\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"lyric\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"strcmp (ol_lrc_item_get_lyric (item), \22lyric\22) == 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @no_newline_test() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @ol_lrc_new(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @ol_lrc_get_item(ptr noundef %6, i32 noundef 0)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @ol_lrc_item_get_lyric(ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef 82, ptr noundef @.str.2)
br label %13
13: ; preds = %11, %0
%14 = load ptr, ptr %3, align 8
%15 = call ptr @ol_lrc_item_get_lyric(ptr noundef %14)
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.3)
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %13
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef 83, ptr noundef @.str.4)
br label %20
20: ; preds = %18, %13
%21 = load ptr, ptr %2, align 8
%22 = call i32 @ol_lrc_free(ptr noundef %21)
ret void
}
declare ptr @ol_lrc_new(ptr noundef) #1
declare ptr @ol_lrc_get_item(ptr noundef, i32 noundef) #1
declare ptr @ol_lrc_item_get_lyric(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ol_lrc_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/tmpeu8uwu25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lrc_no_newline.lrc\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ERROR[%d]: EXPECT %s failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"ol_lrc_item_get_lyric (item) != NULL\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"lyric\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"strcmp (ol_lrc_item_get_lyric (item), \22lyric\22) == 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @no_newline_test() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @ol_lrc_new(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @ol_lrc_get_item(ptr noundef %6, i32 noundef 0)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @ol_lrc_item_get_lyric(ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef 82, ptr noundef @.str.2)
br label %13
13: ; preds = %11, %0
%14 = load ptr, ptr %3, align 8
%15 = call ptr @ol_lrc_item_get_lyric(ptr noundef %14)
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.3)
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %13
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef 83, ptr noundef @.str.4)
br label %20
20: ; preds = %18, %13
%21 = load ptr, ptr %2, align 8
%22 = call i32 @ol_lrc_free(ptr noundef %21)
ret void
}
declare ptr @ol_lrc_new(ptr noundef) #1
declare ptr @ol_lrc_get_item(ptr noundef, i32 noundef) #1
declare ptr @ol_lrc_item_get_lyric(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ol_lrc_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/tmp1r8uxcbp.c'
source_filename = "/tmp/tmp1r8uxcbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [14 x i8] c"whitelist.wdb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timeval, align 4
%8 = alloca %struct.timeval, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.timeval, align 4
%13 = alloca %struct.timeval, align 4
%14 = alloca %struct.timeval, align 4
%15 = 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
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %19
18: ; preds = %2
store i32 1, ptr %3, align 4
br label %76
19: ; preds = %2
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %6, align 8
%21 = call i32 (...) @init_whitelist()
%22 = load ptr, ptr %6, align 8
%23 = call i32 @load_whitelist(ptr noundef %22)
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
%26 = call i32 (...) @build_whitelist()
%27 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null)
%28 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = call i32 @show_time(i32 %29, i32 %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.1)
store ptr %38, ptr %9, align 8
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr @SEEK_END, align 4
%41 = call i32 @fseek(ptr noundef %39, i32 noundef 0, i32 noundef %40)
%42 = load ptr, ptr %9, align 8
%43 = call i64 @ftell(ptr noundef %42)
store i64 %43, ptr %10, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr @SEEK_SET, align 4
%46 = call i32 @fseek(ptr noundef %44, i32 noundef 0, i32 noundef %45)
%47 = load i64, ptr %10, align 8
%48 = add nsw i64 %47, 1
%49 = call ptr @malloc(i64 noundef %48)
store ptr %49, ptr %11, align 8
%50 = load ptr, ptr %11, align 8
%51 = load i64, ptr %10, align 8
%52 = load ptr, ptr %9, align 8
%53 = call i32 @fread(ptr noundef %50, i64 noundef %51, i32 noundef 1, ptr noundef %52)
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %56
55: ; preds = %19
store i32 2, ptr %3, align 4
br label %76
56: ; preds = %19
%57 = load ptr, ptr %11, align 8
%58 = load i64, ptr %10, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
store i8 0, ptr %59, align 1
%60 = load ptr, ptr %9, align 8
%61 = call i32 @fclose(ptr noundef %60)
%62 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null)
%63 = load ptr, ptr %11, align 8
%64 = call i32 @whitelist_match(ptr noundef %63, ptr noundef @.str.3, i32 noundef 0)
store i32 %64, ptr %15, align 4
%65 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null)
%66 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0
%67 = load i32, ptr %66, align 4
%68 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
%69 = load i32, ptr %68, align 4
%70 = call i32 @show_time(i32 %67, i32 %69)
%71 = load i32, ptr %15, align 4
%72 = call i32 @printf(ptr noundef @.str.4, i32 noundef %71)
%73 = load ptr, ptr %11, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = call i32 (...) @whitelist_done()
store i32 0, ptr %3, align 4
br label %76
76: ; preds = %56, %55, %18
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @init_whitelist(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @load_whitelist(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @build_whitelist(...) #1
declare i32 @show_time(i32, i32) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
declare i32 @whitelist_match(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @whitelist_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1r8uxcbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [14 x i8] c"whitelist.wdb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timeval, align 4
%8 = alloca %struct.timeval, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.timeval, align 4
%13 = alloca %struct.timeval, align 4
%14 = alloca %struct.timeval, align 4
%15 = 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
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %19
18: ; preds = %2
store i32 1, ptr %3, align 4
br label %76
19: ; preds = %2
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %6, align 8
%21 = call i32 (...) @init_whitelist()
%22 = load ptr, ptr %6, align 8
%23 = call i32 @load_whitelist(ptr noundef %22)
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
%26 = call i32 (...) @build_whitelist()
%27 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null)
%28 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = call i32 @show_time(i32 %29, i32 %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.1)
store ptr %38, ptr %9, align 8
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr @SEEK_END, align 4
%41 = call i32 @fseek(ptr noundef %39, i32 noundef 0, i32 noundef %40)
%42 = load ptr, ptr %9, align 8
%43 = call i64 @ftell(ptr noundef %42)
store i64 %43, ptr %10, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr @SEEK_SET, align 4
%46 = call i32 @fseek(ptr noundef %44, i32 noundef 0, i32 noundef %45)
%47 = load i64, ptr %10, align 8
%48 = add nsw i64 %47, 1
%49 = call ptr @malloc(i64 noundef %48)
store ptr %49, ptr %11, align 8
%50 = load ptr, ptr %11, align 8
%51 = load i64, ptr %10, align 8
%52 = load ptr, ptr %9, align 8
%53 = call i32 @fread(ptr noundef %50, i64 noundef %51, i32 noundef 1, ptr noundef %52)
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %56
55: ; preds = %19
store i32 2, ptr %3, align 4
br label %76
56: ; preds = %19
%57 = load ptr, ptr %11, align 8
%58 = load i64, ptr %10, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
store i8 0, ptr %59, align 1
%60 = load ptr, ptr %9, align 8
%61 = call i32 @fclose(ptr noundef %60)
%62 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null)
%63 = load ptr, ptr %11, align 8
%64 = call i32 @whitelist_match(ptr noundef %63, ptr noundef @.str.3, i32 noundef 0)
store i32 %64, ptr %15, align 4
%65 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null)
%66 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0
%67 = load i32, ptr %66, align 4
%68 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
%69 = load i32, ptr %68, align 4
%70 = call i32 @show_time(i32 %67, i32 %69)
%71 = load i32, ptr %15, align 4
%72 = call i32 @printf(ptr noundef @.str.4, i32 noundef %71)
%73 = load ptr, ptr %11, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = call i32 (...) @whitelist_done()
store i32 0, ptr %3, align 4
br label %76
76: ; preds = %56, %55, %18
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @init_whitelist(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @load_whitelist(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @build_whitelist(...) #1
declare i32 @show_time(i32, i32) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
declare i32 @whitelist_match(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @whitelist_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpna28c41t.c'
source_filename = "/tmp/tmpna28c41t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcm_rotate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x float], align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %31, %2
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %34
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x float], ptr %12, i64 %14
%16 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%17 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%18 = call i32 @vector3d_cross(ptr noundef %11, ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [3 x float], ptr %19, i64 %21
%23 = getelementptr inbounds [3 x float], ptr %22, i64 0, i64 0
%24 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x float], ptr %25, i64 %27
%29 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 0
%30 = call i32 @vector3d_add(ptr noundef %23, ptr noundef %24, ptr noundef %29)
br label %31
31: ; preds = %10
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
%35 = load ptr, ptr %3, align 8
%36 = call i32 @dcm_orthonormalize(ptr noundef %35)
ret void
}
declare i32 @vector3d_cross(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @vector3d_add(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dcm_orthonormalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpna28c41t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcm_rotate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x float], align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %30
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [3 x float], ptr %11, i64 %13
%15 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%16 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%17 = call i32 @vector3d_cross(ptr noundef %10, ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [3 x float], ptr %18, i64 %20
%22 = getelementptr inbounds [3 x float], ptr %21, i64 0, i64 0
%23 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [3 x float], ptr %24, i64 %26
%28 = getelementptr inbounds [3 x float], ptr %27, i64 0, i64 0
%29 = call i32 @vector3d_add(ptr noundef %22, ptr noundef %23, ptr noundef %28)
br label %30
30: ; preds = %9
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 3
br i1 %34, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %2
%36 = load ptr, ptr %3, align 8
%37 = call i32 @dcm_orthonormalize(ptr noundef %36)
ret void
}
declare i32 @vector3d_cross(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @vector3d_add(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dcm_orthonormalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpplfg00o9.c'
source_filename = "/tmp/tmpplfg00o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"degerler%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%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 40, i1 false)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %16, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
store i32 0, ptr %4, align 4
store i32 9, ptr %5, align 4
br label %20
20: ; preds = %39, %19
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %44
23: ; preds = %20
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %37
store i32 %35, ptr %38, align 4
br label %39
39: ; preds = %23
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %5, align 4
br label %20, !llvm.loop !8
44: ; preds = %20
store i32 0, ptr %7, align 4
br label %45
45: ; preds = %54, %44
%46 = load i32, ptr %7, align 4
%47 = icmp slt i32 %46, 10
br i1 %47, label %48, label %57
48: ; preds = %45
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52)
br label %54
54: ; preds = %48
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
br label %45, !llvm.loop !9
57: ; preds = %45
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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(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: 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpplfg00o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"degerler%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%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 40, i1 false)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %15
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
store i32 9, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %.lr.ph2, label %46
.lr.ph2: ; preds = %20
br label %23
23: ; preds = %.lr.ph2, %39
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %37
store i32 %35, ptr %38, align 4
br label %39
39: ; preds = %23
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 5
br i1 %45, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %46
46: ; preds = %._crit_edge3, %20
store i32 0, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %47, 10
br i1 %48, label %.lr.ph5, label %60
.lr.ph5: ; preds = %46
br label %49
49: ; preds = %.lr.ph5, %55
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 @printf(ptr noundef @.str.1, i32 noundef %53)
br label %55
55: ; preds = %49
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp slt i32 %58, 10
br i1 %59, label %49, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %60
60: ; preds = %._crit_edge6, %46
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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(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: 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}
|
; ModuleID = '/tmp/tmpc1pq7gro.c'
source_filename = "/tmp/tmpc1pq7gro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait_event(i1 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = zext i1 %0 to i8
store i8 %3, ptr %2, align 1
%4 = call i32 (...) @__ESBMC_atomic_begin()
%5 = load i8, ptr %2, align 1
%6 = trunc i8 %5 to i1
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = call i32 @__ESBMC_assume(i32 noundef 0)
br label %9
9: ; preds = %7, %1
%10 = call i32 (...) @__ESBMC_atomic_end()
ret void
}
declare i32 @__ESBMC_atomic_begin(...) #1
declare i32 @__ESBMC_assume(i32 noundef) #1
declare i32 @__ESBMC_atomic_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/tmpc1pq7gro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait_event(i1 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = zext i1 %0 to i8
store i8 %3, ptr %2, align 1
%4 = call i32 (...) @__ESBMC_atomic_begin()
%5 = load i8, ptr %2, align 1
%6 = trunc i8 %5 to i1
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = call i32 @__ESBMC_assume(i32 noundef 0)
br label %9
9: ; preds = %7, %1
%10 = call i32 (...) @__ESBMC_atomic_end()
ret void
}
declare i32 @__ESBMC_atomic_begin(...) #1
declare i32 @__ESBMC_assume(i32 noundef) #1
declare i32 @__ESBMC_atomic_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/tmp9ld4l902.c'
source_filename = "/tmp/tmp9ld4l902.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds double, ptr %14, i64 %15
%17 = getelementptr inbounds double, ptr %16, i64 -1
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = getelementptr inbounds ptr, ptr %21, i64 -1
%23 = call i32 @free(ptr noundef %22)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ld4l902.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds double, ptr %14, i64 %15
%17 = getelementptr inbounds double, ptr %16, i64 -1
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = getelementptr inbounds ptr, ptr %21, i64 -1
%23 = call i32 @free(ptr noundef %22)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpir3dr6mf.c'
source_filename = "/tmp/tmpir3dr6mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_F_UI_DUP_VERIFY_STRING = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@UIT_VERIFY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UI_dup_verify_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %29
19: ; preds = %7
%20 = load ptr, ptr %10, align 8
%21 = call ptr @BUF_strdup(ptr noundef %20)
store ptr %21, ptr %16, align 8
%22 = load ptr, ptr %16, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load i32, ptr @UI_F_UI_DUP_VERIFY_STRING, align 4
%26 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%27 = call i32 @UIerr(i32 noundef %25, i32 noundef %26)
store i32 -1, ptr %8, align 4
br label %39
28: ; preds = %19
br label %29
29: ; preds = %28, %7
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %16, align 8
%32 = load i32, ptr @UIT_VERIFY, align 4
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %12, align 8
%35 = load i32, ptr %13, align 4
%36 = load i32, ptr %14, align 4
%37 = load ptr, ptr %15, align 8
%38 = call i32 @general_allocate_string(ptr noundef %30, ptr noundef %31, i32 noundef 1, i32 noundef %32, i32 noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %37)
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %29, %24
%40 = load i32, ptr %8, align 4
ret i32 %40
}
declare ptr @BUF_strdup(ptr noundef) #1
declare i32 @UIerr(i32 noundef, i32 noundef) #1
declare i32 @general_allocate_string(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpir3dr6mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_F_UI_DUP_VERIFY_STRING = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@UIT_VERIFY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UI_dup_verify_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %29
19: ; preds = %7
%20 = load ptr, ptr %10, align 8
%21 = call ptr @BUF_strdup(ptr noundef %20)
store ptr %21, ptr %16, align 8
%22 = load ptr, ptr %16, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load i32, ptr @UI_F_UI_DUP_VERIFY_STRING, align 4
%26 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%27 = call i32 @UIerr(i32 noundef %25, i32 noundef %26)
store i32 -1, ptr %8, align 4
br label %39
28: ; preds = %19
br label %29
29: ; preds = %28, %7
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %16, align 8
%32 = load i32, ptr @UIT_VERIFY, align 4
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %12, align 8
%35 = load i32, ptr %13, align 4
%36 = load i32, ptr %14, align 4
%37 = load ptr, ptr %15, align 8
%38 = call i32 @general_allocate_string(ptr noundef %30, ptr noundef %31, i32 noundef 1, i32 noundef %32, i32 noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %37)
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %29, %24
%40 = load i32, ptr %8, align 4
ret i32 %40
}
declare ptr @BUF_strdup(ptr noundef) #1
declare i32 @UIerr(i32 noundef, i32 noundef) #1
declare i32 @general_allocate_string(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4t_2700g.c'
source_filename = "/tmp/tmp4t_2700g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"enter the time (hh-mm (AM/PM)) : \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d-%d %c\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"hours entry is out of range:\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"minutes entry is out of range: \0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Invalid AM/PM entry\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"equivalent 24 hour time: %2d:%.2d\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 i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 12
br i1 %11, label %12, label %14
12: ; preds = %9, %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %57
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 59
br i1 %19, label %20, label %22
20: ; preds = %17, %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %57
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = call signext i8 @toupper(i8 noundef signext %23)
store i8 %24, ptr %4, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 65
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 12
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 0, ptr %2, align 4
br label %41
31: ; preds = %27, %22
%32 = load i8, ptr %4, align 1
%33 = call signext i8 @toupper(i8 noundef signext %32)
store i8 %33, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 80
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 12
br i1 %38, label %39, label %40
39: ; preds = %36
store i32 0, ptr %2, align 4
br label %40
40: ; preds = %39, %36, %31
br label %41
41: ; preds = %40, %30
br label %42
42: ; preds = %41
br label %43
43: ; preds = %42
%44 = load i8, ptr %4, align 1
%45 = call signext i8 @toupper(i8 noundef signext %44)
%46 = sext i8 %45 to i32
switch i32 %46, label %51 [
i32 80, label %47
i32 65, label %50
]
47: ; preds = %43
%48 = load i32, ptr %2, align 4
%49 = add nsw i32 %48, 12
store i32 %49, ptr %2, align 4
br label %53
50: ; preds = %43
br label %53
51: ; preds = %43
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %57
53: ; preds = %50, %47
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %3, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54, i32 noundef %55)
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %53, %51, %20, %12
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @toupper(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/tmp4t_2700g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"enter the time (hh-mm (AM/PM)) : \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d-%d %c\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"hours entry is out of range:\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"minutes entry is out of range: \0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Invalid AM/PM entry\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"equivalent 24 hour time: %2d:%.2d\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 i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 12
br i1 %11, label %12, label %14
12: ; preds = %9, %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %57
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 59
br i1 %19, label %20, label %22
20: ; preds = %17, %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %57
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = call signext i8 @toupper(i8 noundef signext %23)
store i8 %24, ptr %4, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 65
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 12
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 0, ptr %2, align 4
br label %41
31: ; preds = %27, %22
%32 = load i8, ptr %4, align 1
%33 = call signext i8 @toupper(i8 noundef signext %32)
store i8 %33, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 80
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 12
br i1 %38, label %39, label %40
39: ; preds = %36
store i32 0, ptr %2, align 4
br label %40
40: ; preds = %39, %36, %31
br label %41
41: ; preds = %40, %30
br label %42
42: ; preds = %41
br label %43
43: ; preds = %42
%44 = load i8, ptr %4, align 1
%45 = call signext i8 @toupper(i8 noundef signext %44)
%46 = sext i8 %45 to i32
switch i32 %46, label %51 [
i32 80, label %47
i32 65, label %50
]
47: ; preds = %43
%48 = load i32, ptr %2, align 4
%49 = add nsw i32 %48, 12
store i32 %49, ptr %2, align 4
br label %53
50: ; preds = %43
br label %53
51: ; preds = %43
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %57
53: ; preds = %50, %47
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %3, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54, i32 noundef %55)
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %53, %51, %20, %12
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @toupper(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/tmp1uhp_xqr.c'
source_filename = "/tmp/tmp1uhp_xqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omul_ortho(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
store ptr %0, ptr %8, align 8
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
store float %6, ptr %14, align 4
%21 = load float, ptr %10, align 4
%22 = load float, ptr %9, align 4
%23 = fsub float %21, %22
%24 = fdiv float 2.000000e+00, %23
store float %24, ptr %15, align 4
%25 = load float, ptr %12, align 4
%26 = load float, ptr %11, align 4
%27 = fsub float %25, %26
%28 = fdiv float 2.000000e+00, %27
store float %28, ptr %16, align 4
%29 = load float, ptr %14, align 4
%30 = load float, ptr %13, align 4
%31 = fsub float %29, %30
%32 = fdiv float -2.000000e+00, %31
store float %32, ptr %17, align 4
%33 = load float, ptr %10, align 4
%34 = load float, ptr %9, align 4
%35 = fadd float %33, %34
%36 = load float, ptr %10, align 4
%37 = load float, ptr %9, align 4
%38 = fsub float %36, %37
%39 = fdiv float %35, %38
%40 = fneg float %39
store float %40, ptr %18, align 4
%41 = load float, ptr %12, align 4
%42 = load float, ptr %11, align 4
%43 = fadd float %41, %42
%44 = load float, ptr %12, align 4
%45 = load float, ptr %11, align 4
%46 = fsub float %44, %45
%47 = fdiv float %43, %46
%48 = fneg float %47
store float %48, ptr %19, align 4
%49 = load float, ptr %14, align 4
%50 = load float, ptr %13, align 4
%51 = fadd float %49, %50
%52 = load float, ptr %14, align 4
%53 = load float, ptr %13, align 4
%54 = fsub float %52, %53
%55 = fdiv float %51, %54
%56 = fneg float %55
store float %56, ptr %20, align 4
%57 = load ptr, ptr %8, align 8
%58 = call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 64)
%59 = load float, ptr %15, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds float, ptr %60, i64 0
store float %59, ptr %61, align 4
%62 = load float, ptr %16, align 4
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds float, ptr %63, i64 5
store float %62, ptr %64, align 4
%65 = load float, ptr %17, align 4
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds float, ptr %66, i64 10
store float %65, ptr %67, align 4
%68 = load float, ptr %18, align 4
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds float, ptr %69, i64 12
store float %68, ptr %70, align 4
%71 = load float, ptr %19, align 4
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds float, ptr %72, i64 13
store float %71, ptr %73, align 4
%74 = load float, ptr %20, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds float, ptr %75, i64 14
store float %74, ptr %76, align 4
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds float, ptr %77, i64 15
store float 1.000000e+00, ptr %78, align 4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1uhp_xqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omul_ortho(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
store ptr %0, ptr %8, align 8
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
store float %6, ptr %14, align 4
%21 = load float, ptr %10, align 4
%22 = load float, ptr %9, align 4
%23 = fsub float %21, %22
%24 = fdiv float 2.000000e+00, %23
store float %24, ptr %15, align 4
%25 = load float, ptr %12, align 4
%26 = load float, ptr %11, align 4
%27 = fsub float %25, %26
%28 = fdiv float 2.000000e+00, %27
store float %28, ptr %16, align 4
%29 = load float, ptr %14, align 4
%30 = load float, ptr %13, align 4
%31 = fsub float %29, %30
%32 = fdiv float -2.000000e+00, %31
store float %32, ptr %17, align 4
%33 = load float, ptr %10, align 4
%34 = load float, ptr %9, align 4
%35 = fadd float %33, %34
%36 = load float, ptr %10, align 4
%37 = load float, ptr %9, align 4
%38 = fsub float %36, %37
%39 = fdiv float %35, %38
%40 = fneg float %39
store float %40, ptr %18, align 4
%41 = load float, ptr %12, align 4
%42 = load float, ptr %11, align 4
%43 = fadd float %41, %42
%44 = load float, ptr %12, align 4
%45 = load float, ptr %11, align 4
%46 = fsub float %44, %45
%47 = fdiv float %43, %46
%48 = fneg float %47
store float %48, ptr %19, align 4
%49 = load float, ptr %14, align 4
%50 = load float, ptr %13, align 4
%51 = fadd float %49, %50
%52 = load float, ptr %14, align 4
%53 = load float, ptr %13, align 4
%54 = fsub float %52, %53
%55 = fdiv float %51, %54
%56 = fneg float %55
store float %56, ptr %20, align 4
%57 = load ptr, ptr %8, align 8
%58 = call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 64)
%59 = load float, ptr %15, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds float, ptr %60, i64 0
store float %59, ptr %61, align 4
%62 = load float, ptr %16, align 4
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds float, ptr %63, i64 5
store float %62, ptr %64, align 4
%65 = load float, ptr %17, align 4
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds float, ptr %66, i64 10
store float %65, ptr %67, align 4
%68 = load float, ptr %18, align 4
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds float, ptr %69, i64 12
store float %68, ptr %70, align 4
%71 = load float, ptr %19, align 4
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds float, ptr %72, i64 13
store float %71, ptr %73, align 4
%74 = load float, ptr %20, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds float, ptr %75, i64 14
store float %74, ptr %76, align 4
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds float, ptr %77, i64 15
store float 1.000000e+00, ptr %78, align 4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptx9ct__t.c'
source_filename = "/tmp/tmptx9ct__t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptx9ct__t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7pdjvmva.c'
source_filename = "/tmp/tmp7pdjvmva.c"
target datalayout = "e-m:e-p270: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/tmp7pdjvmva.c"
target datalayout = "e-m:e-p270: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/tmp4xivrljn.c'
source_filename = "/tmp/tmp4xivrljn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"error imatrix: calloc error No. 1 \0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"error imatrix: calloc error No. 2 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %6, align 8
%16 = sub nsw i64 %14, %15
%17 = add nsw i64 %16, 1
store i64 %17, ptr %11, align 8
%18 = load i64, ptr %9, align 8
%19 = load i64, ptr %8, align 8
%20 = sub nsw i64 %18, %19
%21 = add nsw i64 %20, 1
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %11, align 8
%23 = call i64 @calloc(i64 noundef %22, i32 noundef 8)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %13, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %4
%27 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %5, align 8
br label %81
28: ; preds = %4
%29 = load ptr, ptr %13, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
store ptr %30, ptr %13, align 8
%31 = load i64, ptr %6, align 8
%32 = load ptr, ptr %13, align 8
%33 = sub i64 0, %31
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
store ptr %34, ptr %13, align 8
%35 = load i64, ptr %11, align 8
%36 = load i64, ptr %12, align 8
%37 = mul nsw i64 %35, %36
%38 = call i64 @calloc(i64 noundef %37, i32 noundef 4)
%39 = inttoptr i64 %38 to ptr
%40 = load ptr, ptr %13, align 8
%41 = load i64, ptr %6, align 8
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
store ptr %39, ptr %42, align 8
%43 = icmp eq ptr %39, null
br i1 %43, label %44, label %46
44: ; preds = %28
%45 = call i32 @printf(ptr noundef @.str.1)
store ptr null, ptr %5, align 8
br label %81
46: ; preds = %28
%47 = load ptr, ptr %13, align 8
%48 = load i64, ptr %6, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 0
store ptr %51, ptr %49, align 8
%52 = load i64, ptr %8, align 8
%53 = load ptr, ptr %13, align 8
%54 = load i64, ptr %6, align 8
%55 = getelementptr inbounds ptr, ptr %53, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = sub i64 0, %52
%58 = getelementptr inbounds i32, ptr %56, i64 %57
store ptr %58, ptr %55, align 8
%59 = load i64, ptr %6, align 8
%60 = add nsw i64 %59, 1
store i64 %60, ptr %10, align 8
br label %61
61: ; preds = %76, %46
%62 = load i64, ptr %10, align 8
%63 = load i64, ptr %7, align 8
%64 = icmp sle i64 %62, %63
br i1 %64, label %65, label %79
65: ; preds = %61
%66 = load ptr, ptr %13, align 8
%67 = load i64, ptr %10, align 8
%68 = sub nsw i64 %67, 1
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = load i64, ptr %12, align 8
%72 = getelementptr inbounds i32, ptr %70, i64 %71
%73 = load ptr, ptr %13, align 8
%74 = load i64, ptr %10, align 8
%75 = getelementptr inbounds ptr, ptr %73, i64 %74
store ptr %72, ptr %75, align 8
br label %76
76: ; preds = %65
%77 = load i64, ptr %10, align 8
%78 = add nsw i64 %77, 1
store i64 %78, ptr %10, align 8
br label %61, !llvm.loop !6
79: ; preds = %61
%80 = load ptr, ptr %13, align 8
store ptr %80, ptr %5, align 8
br label %81
81: ; preds = %79, %44, %26
%82 = load ptr, ptr %5, align 8
ret ptr %82
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4xivrljn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"error imatrix: calloc error No. 1 \0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"error imatrix: calloc error No. 2 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %6, align 8
%16 = sub nsw i64 %14, %15
%17 = add nsw i64 %16, 1
store i64 %17, ptr %11, align 8
%18 = load i64, ptr %9, align 8
%19 = load i64, ptr %8, align 8
%20 = sub nsw i64 %18, %19
%21 = add nsw i64 %20, 1
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %11, align 8
%23 = call i64 @calloc(i64 noundef %22, i32 noundef 8)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %13, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %4
%27 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %5, align 8
br label %83
28: ; preds = %4
%29 = load ptr, ptr %13, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
store ptr %30, ptr %13, align 8
%31 = load i64, ptr %6, align 8
%32 = load ptr, ptr %13, align 8
%33 = sub i64 0, %31
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
store ptr %34, ptr %13, align 8
%35 = load i64, ptr %11, align 8
%36 = load i64, ptr %12, align 8
%37 = mul nsw i64 %35, %36
%38 = call i64 @calloc(i64 noundef %37, i32 noundef 4)
%39 = inttoptr i64 %38 to ptr
%40 = load ptr, ptr %13, align 8
%41 = load i64, ptr %6, align 8
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
store ptr %39, ptr %42, align 8
%43 = icmp eq ptr %39, null
br i1 %43, label %44, label %46
44: ; preds = %28
%45 = call i32 @printf(ptr noundef @.str.1)
store ptr null, ptr %5, align 8
br label %83
46: ; preds = %28
%47 = load ptr, ptr %13, align 8
%48 = load i64, ptr %6, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 0
store ptr %51, ptr %49, align 8
%52 = load i64, ptr %8, align 8
%53 = load ptr, ptr %13, align 8
%54 = load i64, ptr %6, align 8
%55 = getelementptr inbounds ptr, ptr %53, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = sub i64 0, %52
%58 = getelementptr inbounds i32, ptr %56, i64 %57
store ptr %58, ptr %55, align 8
%59 = load i64, ptr %6, align 8
%60 = add nsw i64 %59, 1
store i64 %60, ptr %10, align 8
%61 = load i64, ptr %10, align 8
%62 = load i64, ptr %7, align 8
%63 = icmp sle i64 %61, %62
br i1 %63, label %.lr.ph, label %81
.lr.ph: ; preds = %46
br label %64
64: ; preds = %.lr.ph, %75
%65 = load ptr, ptr %13, align 8
%66 = load i64, ptr %10, align 8
%67 = sub nsw i64 %66, 1
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i64, ptr %12, align 8
%71 = getelementptr inbounds i32, ptr %69, i64 %70
%72 = load ptr, ptr %13, align 8
%73 = load i64, ptr %10, align 8
%74 = getelementptr inbounds ptr, ptr %72, i64 %73
store ptr %71, ptr %74, align 8
br label %75
75: ; preds = %64
%76 = load i64, ptr %10, align 8
%77 = add nsw i64 %76, 1
store i64 %77, ptr %10, align 8
%78 = load i64, ptr %10, align 8
%79 = load i64, ptr %7, align 8
%80 = icmp sle i64 %78, %79
br i1 %80, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %46
%82 = load ptr, ptr %13, align 8
store ptr %82, ptr %5, align 8
br label %83
83: ; preds = %81, %44, %26
%84 = load ptr, ptr %5, align 8
ret ptr %84
}
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcwpntsek.c'
source_filename = "/tmp/tmpcwpntsek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_WLocale_wctomb(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i64, ptr %9, align 8
%12 = trunc i64 %11 to i8
%13 = load ptr, ptr %7, align 8
store i8 %12, ptr %13, align 1
ret i64 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcwpntsek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_WLocale_wctomb(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i64, ptr %9, align 8
%12 = trunc i64 %11 to i8
%13 = load ptr, ptr %7, align 8
store i8 %12, ptr %13, align 1
ret i64 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd8_4iwod.c'
source_filename = "/tmp/tmpd8_4iwod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Zero time difference.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_result(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca x86_fp80, align 16
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = call i32 @error(ptr noundef @.str)
br label %12
12: ; preds = %10, %3
%13 = load i64, ptr %4, align 8
%14 = uitofp i64 %13 to x86_fp80
store x86_fp80 %14, ptr %7, align 16
%15 = load i64, ptr %5, align 8
%16 = sitofp i64 %15 to x86_fp80
%17 = load x86_fp80, ptr %7, align 16
%18 = fmul x86_fp80 %17, %16
store x86_fp80 %18, ptr %7, align 16
%19 = load x86_fp80, ptr %7, align 16
%20 = fmul x86_fp80 %19, 0xK4012F424000000000000
store x86_fp80 %20, ptr %7, align 16
%21 = load x86_fp80, ptr %7, align 16
%22 = fdiv x86_fp80 %21, 0xK40138000000000000000
store x86_fp80 %22, ptr %7, align 16
%23 = load i64, ptr %6, align 8
%24 = sitofp i64 %23 to x86_fp80
%25 = load x86_fp80, ptr %7, align 16
%26 = fdiv x86_fp80 %25, %24
store x86_fp80 %26, ptr %7, align 16
%27 = load x86_fp80, ptr %7, align 16
%28 = call i32 @print_result(x86_fp80 noundef %27)
%29 = load x86_fp80, ptr %7, align 16
%30 = fmul x86_fp80 0xK4002A000000000000000, %29
%31 = fptosi x86_fp80 %30 to i64
%32 = trunc i64 %31 to i32
ret i32 %32
}
declare i32 @error(ptr noundef) #1
declare i32 @print_result(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd8_4iwod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Zero time difference.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_result(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca x86_fp80, align 16
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = call i32 @error(ptr noundef @.str)
br label %12
12: ; preds = %10, %3
%13 = load i64, ptr %4, align 8
%14 = uitofp i64 %13 to x86_fp80
store x86_fp80 %14, ptr %7, align 16
%15 = load i64, ptr %5, align 8
%16 = sitofp i64 %15 to x86_fp80
%17 = load x86_fp80, ptr %7, align 16
%18 = fmul x86_fp80 %17, %16
store x86_fp80 %18, ptr %7, align 16
%19 = load x86_fp80, ptr %7, align 16
%20 = fmul x86_fp80 %19, 0xK4012F424000000000000
store x86_fp80 %20, ptr %7, align 16
%21 = load x86_fp80, ptr %7, align 16
%22 = fdiv x86_fp80 %21, 0xK40138000000000000000
store x86_fp80 %22, ptr %7, align 16
%23 = load i64, ptr %6, align 8
%24 = sitofp i64 %23 to x86_fp80
%25 = load x86_fp80, ptr %7, align 16
%26 = fdiv x86_fp80 %25, %24
store x86_fp80 %26, ptr %7, align 16
%27 = load x86_fp80, ptr %7, align 16
%28 = call i32 @print_result(x86_fp80 noundef %27)
%29 = load x86_fp80, ptr %7, align 16
%30 = fmul x86_fp80 0xK4002A000000000000000, %29
%31 = fptosi x86_fp80 %30 to i64
%32 = trunc i64 %31 to i32
ret i32 %32
}
declare i32 @error(ptr noundef) #1
declare i32 @print_result(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpoic1gs.c'
source_filename = "/tmp/tmpkpoic1gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Server: jdbhttpd/0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @headers(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @send(i32 noundef %9, ptr noundef %10, i32 noundef %12, i32 noundef 0)
%14 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @send(i32 noundef %16, ptr noundef %17, i32 noundef %19, i32 noundef 0)
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.2)
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = call i32 @send(i32 noundef %23, ptr noundef %24, i32 noundef %26, i32 noundef 0)
%28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.3)
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = call i32 @send(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(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/tmpkpoic1gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Server: jdbhttpd/0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @headers(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @send(i32 noundef %9, ptr noundef %10, i32 noundef %12, i32 noundef 0)
%14 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @send(i32 noundef %16, ptr noundef %17, i32 noundef %19, i32 noundef 0)
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.2)
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = call i32 @send(i32 noundef %23, ptr noundef %24, i32 noundef %26, i32 noundef 0)
%28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.3)
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = call i32 @send(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(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/tmpwgmf9w5b.c'
source_filename = "/tmp/tmpwgmf9w5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AInverse of Entered Matrix is not possible\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inverse(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store float %3, ptr %8, align 4
%9 = load float, ptr %8, align 4
%10 = fcmp oeq float %9, 0.000000e+00
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @printf(ptr noundef @.str)
br label %27
13: ; preds = %4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds [100 x float], ptr %17, i64 0
%19 = getelementptr inbounds [100 x float], ptr %18, i64 0, i64 0
store float 1.000000e+00, ptr %19, align 4
br label %26
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load float, ptr %8, align 4
%25 = call i32 @cofactor(ptr noundef %21, ptr noundef %22, i32 noundef %23, float noundef %24)
br label %26
26: ; preds = %20, %16
br label %27
27: ; preds = %26, %11
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @cofactor(ptr noundef, ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwgmf9w5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AInverse of Entered Matrix is not possible\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inverse(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store float %3, ptr %8, align 4
%9 = load float, ptr %8, align 4
%10 = fcmp oeq float %9, 0.000000e+00
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @printf(ptr noundef @.str)
br label %27
13: ; preds = %4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds [100 x float], ptr %17, i64 0
%19 = getelementptr inbounds [100 x float], ptr %18, i64 0, i64 0
store float 1.000000e+00, ptr %19, align 4
br label %26
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load float, ptr %8, align 4
%25 = call i32 @cofactor(ptr noundef %21, ptr noundef %22, i32 noundef %23, float noundef %24)
br label %26
26: ; preds = %20, %16
br label %27
27: ; preds = %26, %11
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @cofactor(ptr noundef, ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3cuw5urv.c'
source_filename = "/tmp/tmp3cuw5urv.c"
target datalayout = "e-m:e-p270: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/tmp3cuw5urv.c"
target datalayout = "e-m:e-p270: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/tmpzun0gv02.c'
source_filename = "/tmp/tmpzun0gv02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_string(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i32 @join_strings(ptr noundef %4, i32 noundef 1, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strpos(ptr noundef %11, i8 noundef signext 39, i32 noundef 0)
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %69
15: ; preds = %1
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = mul nsw i32 %17, 2
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %24
24: ; preds = %54, %15
%25 = load i32, ptr %6, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %59
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 39
br i1 %36, label %37, label %44
37: ; preds = %29
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 39, ptr %41, align 1
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %44
44: ; preds = %37, %29
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
store i8 %49, ptr %53, align 1
br label %54
54: ; preds = %44
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %24, !llvm.loop !6
59: ; preds = %24
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 0, ptr %63, align 1
%64 = load ptr, ptr %3, align 8
%65 = load ptr, ptr %5, align 8
%66 = call i32 @join_strings(ptr noundef %64, i32 noundef 1, ptr noundef %65)
%67 = load ptr, ptr %5, align 8
%68 = call i32 @free(ptr noundef %67)
store i32 0, ptr %2, align 4
br label %69
69: ; preds = %59, %14
%70 = load i32, ptr %2, align 4
ret i32 %70
}
declare i32 @join_strings(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strpos(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzun0gv02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_string(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i32 @join_strings(ptr noundef %4, i32 noundef 1, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strpos(ptr noundef %11, i8 noundef signext 39, i32 noundef 0)
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %72
15: ; preds = %1
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = mul nsw i32 %17, 2
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = load ptr, ptr %4, align 8
%26 = call i32 @strlen(ptr noundef %25)
%27 = icmp slt i32 %24, %26
br i1 %27, label %.lr.ph, label %62
.lr.ph: ; preds = %15
br label %28
28: ; preds = %.lr.ph, %53
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 39
br i1 %35, label %36, label %43
36: ; preds = %28
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 39, ptr %40, align 1
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
br label %43
43: ; preds = %36, %28
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 %48, ptr %52, align 1
br label %53
53: ; preds = %43
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %6, align 4
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %6, align 4
%59 = load ptr, ptr %4, align 8
%60 = call i32 @strlen(ptr noundef %59)
%61 = icmp slt i32 %58, %60
br i1 %61, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %62
62: ; preds = %._crit_edge, %15
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %3, align 8
%68 = load ptr, ptr %5, align 8
%69 = call i32 @join_strings(ptr noundef %67, i32 noundef 1, ptr noundef %68)
%70 = load ptr, ptr %5, align 8
%71 = call i32 @free(ptr noundef %70)
store i32 0, ptr %2, align 4
br label %72
72: ; preds = %62, %14
%73 = load i32, ptr %2, align 4
ret i32 %73
}
declare i32 @join_strings(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strpos(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnvd9478w.c'
source_filename = "/tmp/tmpnvd9478w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"char %s[] = {\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"0x%02x,\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
br label %16
15: ; preds = %2
br label %16
16: ; preds = %15, %11
%17 = phi ptr [ %14, %11 ], [ @.str.1, %15 ]
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %16, %41
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %33, %19
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %22, 16
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i32, ptr @stdin, align 4
%26 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %25)
%27 = icmp ne i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 1, ptr %7, align 4
br label %36
29: ; preds = %24
%30 = load i8, ptr %8, align 1
%31 = zext i8 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
br label %33
33: ; preds = %29
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %21, !llvm.loop !6
36: ; preds = %28, %21
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%38 = load i32, ptr %7, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
br label %42
41: ; preds = %36
br label %19
42: ; preds = %40
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvd9478w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"char %s[] = {\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"0x%02x,\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
br label %16
15: ; preds = %2
br label %16
16: ; preds = %15, %11
%17 = phi ptr [ %14, %11 ], [ @.str.1, %15 ]
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %37, %16
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 16
br i1 %22, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %32
%24 = load i32, ptr @stdin, align 4
%25 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %24)
%26 = icmp ne i32 %25, 1
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 1, ptr %7, align 4
br label %37
28: ; preds = %23
%29 = load i8, ptr %8, align 1
%30 = zext i8 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30)
br label %32
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %35, 16
br i1 %36, label %23, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %37
37: ; preds = %.loopexit, %27
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = load i32, ptr %7, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %19
41: ; preds = %37
br label %42
42: ; preds = %41
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps81rc98f.c'
source_filename = "/tmp/tmps81rc98f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8, %2
%12 = call i32 (...) @null_size()
br label %13
13: ; preds = %11, %8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @calloc(i64 noundef %14, i64 noundef %15) #3
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 (...) @out_of_mem()
br label %21
21: ; preds = %19, %13
%22 = load ptr, ptr %5, align 8
ret ptr %22
}
declare i32 @null_size(...) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @out_of_mem(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps81rc98f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8, %2
%12 = call i32 (...) @null_size()
br label %13
13: ; preds = %11, %8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @calloc(i64 noundef %14, i64 noundef %15) #3
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 (...) @out_of_mem()
br label %21
21: ; preds = %19, %13
%22 = load ptr, ptr %5, align 8
ret ptr %22
}
declare i32 @null_size(...) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @out_of_mem(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpix_823qj.c'
source_filename = "/tmp/tmpix_823qj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noalias noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%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 i64 0, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 48
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 120
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 16, ptr %6, align 4
br label %40
24: ; preds = %17, %11, %3
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %24
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 48
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 8, ptr %6, align 4
br label %39
34: ; preds = %27, %24
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 10, ptr %6, align 4
br label %38
38: ; preds = %37, %34
br label %39
39: ; preds = %38, %33
br label %40
40: ; preds = %39, %23
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 16
br i1 %42, label %43, label %58
43: ; preds = %40
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 48
br i1 %48, label %49, label %58
49: ; preds = %43
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 2
store ptr %57, ptr %4, align 8
br label %58
58: ; preds = %55, %49, %43, %40
%59 = load i32, ptr %6, align 4
%60 = icmp eq i32 %59, 8
br i1 %60, label %61, label %70
61: ; preds = %58
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 0
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 48
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %4, align 8
br label %70
70: ; preds = %67, %61, %58
br label %71
71: ; preds = %91, %70
%72 = load ptr, ptr %4, align 8
%73 = load i8, ptr %72, align 1
%74 = icmp ne i8 %73, 0
br i1 %74, label %75, label %94
75: ; preds = %71
%76 = load ptr, ptr %4, align 8
%77 = load i8, ptr %76, align 1
%78 = load i32, ptr %6, align 4
%79 = call i32 @ParseDigit(i8 noundef signext %77, i32 noundef %78)
store i32 %79, ptr %8, align 4
%80 = load i32, ptr %8, align 4
%81 = icmp eq i32 %80, -1
br i1 %81, label %82, label %83
82: ; preds = %75
br label %94
83: ; preds = %75
%84 = load i64, ptr %7, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = mul nsw i64 %84, %86
%88 = load i32, ptr %8, align 4
%89 = sext i32 %88 to i64
%90 = add nsw i64 %87, %89
store i64 %90, ptr %7, align 8
br label %91
91: ; preds = %83
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %4, align 8
br label %71, !llvm.loop !6
94: ; preds = %82, %71
%95 = load ptr, ptr %5, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %100
97: ; preds = %94
%98 = load ptr, ptr %4, align 8
%99 = load ptr, ptr %5, align 8
store ptr %98, ptr %99, align 8
br label %100
100: ; preds = %97, %94
%101 = load i64, ptr %7, align 8
ret i64 %101
}
declare i32 @ParseDigit(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpix_823qj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noalias noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%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 i64 0, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 48
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 120
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 16, ptr %6, align 4
br label %40
24: ; preds = %17, %11, %3
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %24
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 48
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 8, ptr %6, align 4
br label %39
34: ; preds = %27, %24
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %34
store i32 10, ptr %6, align 4
br label %38
38: ; preds = %37, %34
br label %39
39: ; preds = %38, %33
br label %40
40: ; preds = %39, %23
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 16
br i1 %42, label %43, label %58
43: ; preds = %40
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 48
br i1 %48, label %49, label %58
49: ; preds = %43
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 2
store ptr %57, ptr %4, align 8
br label %58
58: ; preds = %55, %49, %43, %40
%59 = load i32, ptr %6, align 4
%60 = icmp eq i32 %59, 8
br i1 %60, label %61, label %70
61: ; preds = %58
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 0
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 48
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %4, align 8
br label %70
70: ; preds = %67, %61, %58
%71 = load ptr, ptr %4, align 8
%72 = load i8, ptr %71, align 1
%73 = icmp ne i8 %72, 0
br i1 %73, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %70
br label %74
74: ; preds = %.lr.ph, %90
%75 = load ptr, ptr %4, align 8
%76 = load i8, ptr %75, align 1
%77 = load i32, ptr %6, align 4
%78 = call i32 @ParseDigit(i8 noundef signext %76, i32 noundef %77)
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = icmp eq i32 %79, -1
br i1 %80, label %81, label %82
81: ; preds = %74
br label %96
82: ; preds = %74
%83 = load i64, ptr %7, align 8
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = mul nsw i64 %83, %85
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = add nsw i64 %86, %88
store i64 %89, ptr %7, align 8
br label %90
90: ; preds = %82
%91 = load ptr, ptr %4, align 8
%92 = getelementptr inbounds i8, ptr %91, i32 1
store ptr %92, ptr %4, align 8
%93 = load ptr, ptr %4, align 8
%94 = load i8, ptr %93, align 1
%95 = icmp ne i8 %94, 0
br i1 %95, label %74, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %90
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %70
br label %96
96: ; preds = %.loopexit, %81
%97 = load ptr, ptr %5, align 8
%98 = icmp ne ptr %97, null
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load ptr, ptr %4, align 8
%101 = load ptr, ptr %5, align 8
store ptr %100, ptr %101, align 8
br label %102
102: ; preds = %99, %96
%103 = load i64, ptr %7, align 8
ret i64 %103
}
declare i32 @ParseDigit(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjdvm3954.c'
source_filename = "/tmp/tmpjdvm3954.c"
target datalayout = "e-m:e-p270: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/tmpjdvm3954.c"
target datalayout = "e-m:e-p270: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/tmpvakw70cp.c'
source_filename = "/tmp/tmpvakw70cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_outrfc_news(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvakw70cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_outrfc_news(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_qca68l.c'
source_filename = "/tmp/tmph_qca68l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_long_big_endian_integer(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %8, 32
br i1 %9, label %10, label %29
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 32
store i32 %12, ptr %5, align 4
%13 = load i64, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = lshr i64 %13, %15
%17 = trunc i64 %16 to i32
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = load ptr, ptr %6, align 8
%21 = call i32 @encode_big_endian_integer(i64 noundef %19, i32 noundef 32, ptr noundef %20)
%22 = load i32, ptr %7, align 4
%23 = zext i32 %22 to i64
%24 = load i32, ptr %5, align 4
%25 = zext i32 %24 to i64
%26 = shl i64 %23, %25
%27 = load i64, ptr %4, align 8
%28 = sub i64 %27, %26
store i64 %28, ptr %4, align 8
br label %29
29: ; preds = %10, %3
%30 = load i64, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %6, align 8
%33 = call i32 @encode_big_endian_integer(i64 noundef %30, i32 noundef %31, ptr noundef %32)
ret void
}
declare i32 @encode_big_endian_integer(i64 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/tmph_qca68l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_long_big_endian_integer(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %8, 32
br i1 %9, label %10, label %29
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 32
store i32 %12, ptr %5, align 4
%13 = load i64, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = lshr i64 %13, %15
%17 = trunc i64 %16 to i32
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = load ptr, ptr %6, align 8
%21 = call i32 @encode_big_endian_integer(i64 noundef %19, i32 noundef 32, ptr noundef %20)
%22 = load i32, ptr %7, align 4
%23 = zext i32 %22 to i64
%24 = load i32, ptr %5, align 4
%25 = zext i32 %24 to i64
%26 = shl i64 %23, %25
%27 = load i64, ptr %4, align 8
%28 = sub i64 %27, %26
store i64 %28, ptr %4, align 8
br label %29
29: ; preds = %10, %3
%30 = load i64, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %6, align 8
%33 = call i32 @encode_big_endian_integer(i64 noundef %30, i32 noundef %31, ptr noundef %32)
ret void
}
declare i32 @encode_big_endian_integer(i64 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/tmpq5onrnwg.c'
source_filename = "/tmp/tmpq5onrnwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"getchar() != EOF evaluates to %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
; 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 i64 (...) @getchar()
%3 = load i64, ptr @EOF, align 8
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5onrnwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"getchar() != EOF evaluates to %d\0A\00", align 1
@EOF = dso_local global i64 0, align 8
; 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 i64 (...) @getchar()
%3 = load i64, ptr @EOF, align 8
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo2q8tpsr.c'
source_filename = "/tmp/tmpo2q8tpsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B19200 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo2q8tpsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B19200 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0w8l8v6j.c'
source_filename = "/tmp/tmp0w8l8v6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclone(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 i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @alloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strcpy(ptr noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @alloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0w8l8v6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclone(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 i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @alloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strcpy(ptr noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @alloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2e1yjso.c'
source_filename = "/tmp/tmpb2e1yjso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cb(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i8 42, ptr %6, align 1
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i8 46, ptr %6, align 1
br label %10
10: ; preds = %9, %2
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %10
store i8 43, ptr %6, align 1
br label %14
14: ; preds = %13, %10
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %18
17: ; preds = %14
store i8 42, ptr %6, align 1
br label %18
18: ; preds = %17, %14
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 3
br i1 %20, label %21, label %22
21: ; preds = %18
store i8 10, ptr %6, align 1
br label %22
22: ; preds = %21, %18
%23 = load i8, ptr %6, align 1
%24 = call i32 @printf(ptr noundef @.str, i8 noundef signext %23)
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fflush(i32 noundef %25)
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @fflush(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/tmpb2e1yjso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cb(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i8 42, ptr %6, align 1
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i8 46, ptr %6, align 1
br label %10
10: ; preds = %9, %2
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %10
store i8 43, ptr %6, align 1
br label %14
14: ; preds = %13, %10
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %18
17: ; preds = %14
store i8 42, ptr %6, align 1
br label %18
18: ; preds = %17, %14
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 3
br i1 %20, label %21, label %22
21: ; preds = %18
store i8 10, ptr %6, align 1
br label %22
22: ; preds = %21, %18
%23 = load i8, ptr %6, align 1
%24 = call i32 @printf(ptr noundef @.str, i8 noundef signext %23)
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fflush(i32 noundef %25)
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @fflush(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/tmpe4xyi02_.c'
source_filename = "/tmp/tmpe4xyi02_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Integer square root of 10 should be 3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_10() #0 {
%1 = call i32 @isqrt(i32 noundef 10)
%2 = icmp eq i32 %1, 3
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpe4xyi02_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Integer square root of 10 should be 3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_10() #0 {
%1 = call i32 @isqrt(i32 noundef 10)
%2 = icmp eq i32 %1, 3
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmp3y1p5sq5.c'
source_filename = "/tmp/tmp3y1p5sq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf%lf%lf\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"NAO FORMA TRIANGULO\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"TRIANGULO EQUILATERO\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"TRIANGULO ISOSCELES\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"TRIANGULO RETANGULO\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"TRIANGULO OBTUSANGULO\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"TRIANGULO ACUTANGULO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp olt double %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load double, ptr %2, align 8
store double %11, ptr %5, align 8
%12 = load double, ptr %3, align 8
store double %12, ptr %2, align 8
%13 = load double, ptr %5, align 8
store double %13, ptr %3, align 8
br label %14
14: ; preds = %10, %0
%15 = load double, ptr %3, align 8
%16 = load double, ptr %4, align 8
%17 = fcmp olt double %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load double, ptr %3, align 8
store double %19, ptr %5, align 8
%20 = load double, ptr %4, align 8
store double %20, ptr %3, align 8
%21 = load double, ptr %5, align 8
store double %21, ptr %4, align 8
br label %22
22: ; preds = %18, %14
%23 = load double, ptr %2, align 8
%24 = load double, ptr %3, align 8
%25 = fcmp olt double %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load double, ptr %2, align 8
store double %27, ptr %5, align 8
%28 = load double, ptr %3, align 8
store double %28, ptr %2, align 8
%29 = load double, ptr %5, align 8
store double %29, ptr %3, align 8
br label %30
30: ; preds = %26, %22
%31 = load double, ptr %2, align 8
%32 = load double, ptr %3, align 8
%33 = load double, ptr %4, align 8
%34 = fadd double %32, %33
%35 = fcmp oge double %31, %34
br i1 %35, label %36, label %75
36: ; preds = %30
%37 = call i32 @printf(ptr noundef @.str.1)
%38 = load double, ptr %2, align 8
%39 = load double, ptr %3, align 8
%40 = fcmp oeq double %38, %39
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load double, ptr %3, align 8
%43 = load double, ptr %4, align 8
%44 = fcmp oeq double %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.2)
br label %74
47: ; preds = %41, %36
%48 = load double, ptr %2, align 8
%49 = load double, ptr %3, align 8
%50 = fcmp oeq double %48, %49
br i1 %50, label %51, label %55
51: ; preds = %47
%52 = load double, ptr %3, align 8
%53 = load double, ptr %4, align 8
%54 = fcmp une double %52, %53
br i1 %54, label %71, label %55
55: ; preds = %51, %47
%56 = load double, ptr %2, align 8
%57 = load double, ptr %4, align 8
%58 = fcmp oeq double %56, %57
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load double, ptr %2, align 8
%61 = load double, ptr %3, align 8
%62 = fcmp une double %60, %61
br i1 %62, label %71, label %63
63: ; preds = %59, %55
%64 = load double, ptr %3, align 8
%65 = load double, ptr %4, align 8
%66 = fcmp oeq double %64, %65
br i1 %66, label %67, label %73
67: ; preds = %63
%68 = load double, ptr %4, align 8
%69 = load double, ptr %2, align 8
%70 = fcmp une double %68, %69
br i1 %70, label %71, label %73
71: ; preds = %67, %59, %51
%72 = call i32 @printf(ptr noundef @.str.3)
br label %73
73: ; preds = %71, %67, %63
br label %74
74: ; preds = %73, %45
br label %340
75: ; preds = %30
%76 = load double, ptr %2, align 8
%77 = load double, ptr %2, align 8
%78 = fmul double %76, %77
%79 = load double, ptr %3, align 8
%80 = load double, ptr %3, align 8
%81 = load double, ptr %4, align 8
%82 = load double, ptr %4, align 8
%83 = fmul double %81, %82
%84 = call double @llvm.fmuladd.f64(double %79, double %80, double %83)
%85 = fcmp oeq double %78, %84
br i1 %85, label %86, label %125
86: ; preds = %75
%87 = call i32 @printf(ptr noundef @.str.4)
%88 = load double, ptr %2, align 8
%89 = load double, ptr %3, align 8
%90 = fcmp oeq double %88, %89
br i1 %90, label %91, label %97
91: ; preds = %86
%92 = load double, ptr %3, align 8
%93 = load double, ptr %4, align 8
%94 = fcmp oeq double %92, %93
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = call i32 @printf(ptr noundef @.str.2)
br label %124
97: ; preds = %91, %86
%98 = load double, ptr %2, align 8
%99 = load double, ptr %3, align 8
%100 = fcmp oeq double %98, %99
br i1 %100, label %101, label %105
101: ; preds = %97
%102 = load double, ptr %3, align 8
%103 = load double, ptr %4, align 8
%104 = fcmp une double %102, %103
br i1 %104, label %121, label %105
105: ; preds = %101, %97
%106 = load double, ptr %2, align 8
%107 = load double, ptr %4, align 8
%108 = fcmp oeq double %106, %107
br i1 %108, label %109, label %113
109: ; preds = %105
%110 = load double, ptr %2, align 8
%111 = load double, ptr %3, align 8
%112 = fcmp une double %110, %111
br i1 %112, label %121, label %113
113: ; preds = %109, %105
%114 = load double, ptr %3, align 8
%115 = load double, ptr %4, align 8
%116 = fcmp oeq double %114, %115
br i1 %116, label %117, label %123
117: ; preds = %113
%118 = load double, ptr %4, align 8
%119 = load double, ptr %2, align 8
%120 = fcmp une double %118, %119
br i1 %120, label %121, label %123
121: ; preds = %117, %109, %101
%122 = call i32 @printf(ptr noundef @.str.3)
br label %123
123: ; preds = %121, %117, %113
br label %124
124: ; preds = %123, %95
br label %339
125: ; preds = %75
%126 = load double, ptr %2, align 8
%127 = load double, ptr %2, align 8
%128 = fmul double %126, %127
%129 = load double, ptr %3, align 8
%130 = load double, ptr %3, align 8
%131 = load double, ptr %4, align 8
%132 = load double, ptr %4, align 8
%133 = fmul double %131, %132
%134 = call double @llvm.fmuladd.f64(double %129, double %130, double %133)
%135 = fcmp ogt double %128, %134
br i1 %135, label %136, label %175
136: ; preds = %125
%137 = call i32 @printf(ptr noundef @.str.5)
%138 = load double, ptr %2, align 8
%139 = load double, ptr %3, align 8
%140 = fcmp oeq double %138, %139
br i1 %140, label %141, label %147
141: ; preds = %136
%142 = load double, ptr %3, align 8
%143 = load double, ptr %4, align 8
%144 = fcmp oeq double %142, %143
br i1 %144, label %145, label %147
145: ; preds = %141
%146 = call i32 @printf(ptr noundef @.str.2)
br label %174
147: ; preds = %141, %136
%148 = load double, ptr %2, align 8
%149 = load double, ptr %3, align 8
%150 = fcmp oeq double %148, %149
br i1 %150, label %151, label %155
151: ; preds = %147
%152 = load double, ptr %3, align 8
%153 = load double, ptr %4, align 8
%154 = fcmp une double %152, %153
br i1 %154, label %171, label %155
155: ; preds = %151, %147
%156 = load double, ptr %2, align 8
%157 = load double, ptr %4, align 8
%158 = fcmp oeq double %156, %157
br i1 %158, label %159, label %163
159: ; preds = %155
%160 = load double, ptr %2, align 8
%161 = load double, ptr %3, align 8
%162 = fcmp une double %160, %161
br i1 %162, label %171, label %163
163: ; preds = %159, %155
%164 = load double, ptr %3, align 8
%165 = load double, ptr %4, align 8
%166 = fcmp oeq double %164, %165
br i1 %166, label %167, label %173
167: ; preds = %163
%168 = load double, ptr %4, align 8
%169 = load double, ptr %2, align 8
%170 = fcmp une double %168, %169
br i1 %170, label %171, label %173
171: ; preds = %167, %159, %151
%172 = call i32 @printf(ptr noundef @.str.3)
br label %173
173: ; preds = %171, %167, %163
br label %174
174: ; preds = %173, %145
br label %338
175: ; preds = %125
%176 = load double, ptr %2, align 8
%177 = load double, ptr %2, align 8
%178 = fmul double %176, %177
%179 = load double, ptr %3, align 8
%180 = load double, ptr %3, align 8
%181 = load double, ptr %4, align 8
%182 = load double, ptr %4, align 8
%183 = fmul double %181, %182
%184 = call double @llvm.fmuladd.f64(double %179, double %180, double %183)
%185 = fcmp olt double %178, %184
br i1 %185, label %186, label %225
186: ; preds = %175
%187 = call i32 @printf(ptr noundef @.str.6)
%188 = load double, ptr %2, align 8
%189 = load double, ptr %3, align 8
%190 = fcmp oeq double %188, %189
br i1 %190, label %191, label %197
191: ; preds = %186
%192 = load double, ptr %3, align 8
%193 = load double, ptr %4, align 8
%194 = fcmp oeq double %192, %193
br i1 %194, label %195, label %197
195: ; preds = %191
%196 = call i32 @printf(ptr noundef @.str.2)
br label %224
197: ; preds = %191, %186
%198 = load double, ptr %2, align 8
%199 = load double, ptr %3, align 8
%200 = fcmp oeq double %198, %199
br i1 %200, label %201, label %205
201: ; preds = %197
%202 = load double, ptr %3, align 8
%203 = load double, ptr %4, align 8
%204 = fcmp une double %202, %203
br i1 %204, label %221, label %205
205: ; preds = %201, %197
%206 = load double, ptr %2, align 8
%207 = load double, ptr %4, align 8
%208 = fcmp oeq double %206, %207
br i1 %208, label %209, label %213
209: ; preds = %205
%210 = load double, ptr %2, align 8
%211 = load double, ptr %3, align 8
%212 = fcmp une double %210, %211
br i1 %212, label %221, label %213
213: ; preds = %209, %205
%214 = load double, ptr %3, align 8
%215 = load double, ptr %4, align 8
%216 = fcmp oeq double %214, %215
br i1 %216, label %217, label %223
217: ; preds = %213
%218 = load double, ptr %4, align 8
%219 = load double, ptr %2, align 8
%220 = fcmp une double %218, %219
br i1 %220, label %221, label %223
221: ; preds = %217, %209, %201
%222 = call i32 @printf(ptr noundef @.str.3)
br label %223
223: ; preds = %221, %217, %213
br label %224
224: ; preds = %223, %195
br label %337
225: ; preds = %175
%226 = load double, ptr %2, align 8
%227 = load double, ptr %3, align 8
%228 = fcmp oeq double %226, %227
br i1 %228, label %229, label %272
229: ; preds = %225
%230 = load double, ptr %3, align 8
%231 = load double, ptr %4, align 8
%232 = fcmp oeq double %230, %231
br i1 %232, label %233, label %272
233: ; preds = %229
%234 = call i32 @printf(ptr noundef @.str.2)
%235 = load double, ptr %2, align 8
%236 = load double, ptr %3, align 8
%237 = fcmp oeq double %235, %236
br i1 %237, label %238, label %244
238: ; preds = %233
%239 = load double, ptr %3, align 8
%240 = load double, ptr %4, align 8
%241 = fcmp oeq double %239, %240
br i1 %241, label %242, label %244
242: ; preds = %238
%243 = call i32 @printf(ptr noundef @.str.2)
br label %271
244: ; preds = %238, %233
%245 = load double, ptr %2, align 8
%246 = load double, ptr %3, align 8
%247 = fcmp oeq double %245, %246
br i1 %247, label %248, label %252
248: ; preds = %244
%249 = load double, ptr %3, align 8
%250 = load double, ptr %4, align 8
%251 = fcmp une double %249, %250
br i1 %251, label %268, label %252
252: ; preds = %248, %244
%253 = load double, ptr %2, align 8
%254 = load double, ptr %4, align 8
%255 = fcmp oeq double %253, %254
br i1 %255, label %256, label %260
256: ; preds = %252
%257 = load double, ptr %2, align 8
%258 = load double, ptr %3, align 8
%259 = fcmp une double %257, %258
br i1 %259, label %268, label %260
260: ; preds = %256, %252
%261 = load double, ptr %3, align 8
%262 = load double, ptr %4, align 8
%263 = fcmp oeq double %261, %262
br i1 %263, label %264, label %270
264: ; preds = %260
%265 = load double, ptr %4, align 8
%266 = load double, ptr %2, align 8
%267 = fcmp une double %265, %266
br i1 %267, label %268, label %270
268: ; preds = %264, %256, %248
%269 = call i32 @printf(ptr noundef @.str.3)
br label %270
270: ; preds = %268, %264, %260
br label %271
271: ; preds = %270, %242
br label %336
272: ; preds = %229, %225
%273 = load double, ptr %2, align 8
%274 = load double, ptr %3, align 8
%275 = fcmp oeq double %273, %274
br i1 %275, label %276, label %280
276: ; preds = %272
%277 = load double, ptr %3, align 8
%278 = load double, ptr %4, align 8
%279 = fcmp une double %277, %278
br i1 %279, label %296, label %280
280: ; preds = %276, %272
%281 = load double, ptr %2, align 8
%282 = load double, ptr %4, align 8
%283 = fcmp oeq double %281, %282
br i1 %283, label %284, label %288
284: ; preds = %280
%285 = load double, ptr %2, align 8
%286 = load double, ptr %3, align 8
%287 = fcmp une double %285, %286
br i1 %287, label %296, label %288
288: ; preds = %284, %280
%289 = load double, ptr %3, align 8
%290 = load double, ptr %4, align 8
%291 = fcmp oeq double %289, %290
br i1 %291, label %292, label %335
292: ; preds = %288
%293 = load double, ptr %4, align 8
%294 = load double, ptr %2, align 8
%295 = fcmp une double %293, %294
br i1 %295, label %296, label %335
296: ; preds = %292, %284, %276
%297 = call i32 @printf(ptr noundef @.str.3)
%298 = load double, ptr %2, align 8
%299 = load double, ptr %3, align 8
%300 = fcmp oeq double %298, %299
br i1 %300, label %301, label %307
301: ; preds = %296
%302 = load double, ptr %3, align 8
%303 = load double, ptr %4, align 8
%304 = fcmp oeq double %302, %303
br i1 %304, label %305, label %307
305: ; preds = %301
%306 = call i32 @printf(ptr noundef @.str.2)
br label %334
307: ; preds = %301, %296
%308 = load double, ptr %2, align 8
%309 = load double, ptr %3, align 8
%310 = fcmp oeq double %308, %309
br i1 %310, label %311, label %315
311: ; preds = %307
%312 = load double, ptr %3, align 8
%313 = load double, ptr %4, align 8
%314 = fcmp une double %312, %313
br i1 %314, label %331, label %315
315: ; preds = %311, %307
%316 = load double, ptr %2, align 8
%317 = load double, ptr %4, align 8
%318 = fcmp oeq double %316, %317
br i1 %318, label %319, label %323
319: ; preds = %315
%320 = load double, ptr %2, align 8
%321 = load double, ptr %3, align 8
%322 = fcmp une double %320, %321
br i1 %322, label %331, label %323
323: ; preds = %319, %315
%324 = load double, ptr %3, align 8
%325 = load double, ptr %4, align 8
%326 = fcmp oeq double %324, %325
br i1 %326, label %327, label %333
327: ; preds = %323
%328 = load double, ptr %4, align 8
%329 = load double, ptr %2, align 8
%330 = fcmp une double %328, %329
br i1 %330, label %331, label %333
331: ; preds = %327, %319, %311
%332 = call i32 @printf(ptr noundef @.str.3)
br label %333
333: ; preds = %331, %327, %323
br label %334
334: ; preds = %333, %305
br label %335
335: ; preds = %334, %292, %288
br label %336
336: ; preds = %335, %271
br label %337
337: ; preds = %336, %224
br label %338
338: ; preds = %337, %174
br label %339
339: ; preds = %338, %124
br label %340
340: ; preds = %339, %74
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3y1p5sq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf%lf%lf\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"NAO FORMA TRIANGULO\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"TRIANGULO EQUILATERO\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"TRIANGULO ISOSCELES\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"TRIANGULO RETANGULO\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"TRIANGULO OBTUSANGULO\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"TRIANGULO ACUTANGULO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp olt double %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load double, ptr %2, align 8
store double %11, ptr %5, align 8
%12 = load double, ptr %3, align 8
store double %12, ptr %2, align 8
%13 = load double, ptr %5, align 8
store double %13, ptr %3, align 8
br label %14
14: ; preds = %10, %0
%15 = load double, ptr %3, align 8
%16 = load double, ptr %4, align 8
%17 = fcmp olt double %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load double, ptr %3, align 8
store double %19, ptr %5, align 8
%20 = load double, ptr %4, align 8
store double %20, ptr %3, align 8
%21 = load double, ptr %5, align 8
store double %21, ptr %4, align 8
br label %22
22: ; preds = %18, %14
%23 = load double, ptr %2, align 8
%24 = load double, ptr %3, align 8
%25 = fcmp olt double %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load double, ptr %2, align 8
store double %27, ptr %5, align 8
%28 = load double, ptr %3, align 8
store double %28, ptr %2, align 8
%29 = load double, ptr %5, align 8
store double %29, ptr %3, align 8
br label %30
30: ; preds = %26, %22
%31 = load double, ptr %2, align 8
%32 = load double, ptr %3, align 8
%33 = load double, ptr %4, align 8
%34 = fadd double %32, %33
%35 = fcmp oge double %31, %34
br i1 %35, label %36, label %75
36: ; preds = %30
%37 = call i32 @printf(ptr noundef @.str.1)
%38 = load double, ptr %2, align 8
%39 = load double, ptr %3, align 8
%40 = fcmp oeq double %38, %39
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load double, ptr %3, align 8
%43 = load double, ptr %4, align 8
%44 = fcmp oeq double %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.2)
br label %74
47: ; preds = %41, %36
%48 = load double, ptr %2, align 8
%49 = load double, ptr %3, align 8
%50 = fcmp oeq double %48, %49
br i1 %50, label %51, label %55
51: ; preds = %47
%52 = load double, ptr %3, align 8
%53 = load double, ptr %4, align 8
%54 = fcmp une double %52, %53
br i1 %54, label %71, label %55
55: ; preds = %51, %47
%56 = load double, ptr %2, align 8
%57 = load double, ptr %4, align 8
%58 = fcmp oeq double %56, %57
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load double, ptr %2, align 8
%61 = load double, ptr %3, align 8
%62 = fcmp une double %60, %61
br i1 %62, label %71, label %63
63: ; preds = %59, %55
%64 = load double, ptr %3, align 8
%65 = load double, ptr %4, align 8
%66 = fcmp oeq double %64, %65
br i1 %66, label %67, label %73
67: ; preds = %63
%68 = load double, ptr %4, align 8
%69 = load double, ptr %2, align 8
%70 = fcmp une double %68, %69
br i1 %70, label %71, label %73
71: ; preds = %67, %59, %51
%72 = call i32 @printf(ptr noundef @.str.3)
br label %73
73: ; preds = %71, %67, %63
br label %74
74: ; preds = %73, %45
br label %340
75: ; preds = %30
%76 = load double, ptr %2, align 8
%77 = load double, ptr %2, align 8
%78 = fmul double %76, %77
%79 = load double, ptr %3, align 8
%80 = load double, ptr %3, align 8
%81 = load double, ptr %4, align 8
%82 = load double, ptr %4, align 8
%83 = fmul double %81, %82
%84 = call double @llvm.fmuladd.f64(double %79, double %80, double %83)
%85 = fcmp oeq double %78, %84
br i1 %85, label %86, label %125
86: ; preds = %75
%87 = call i32 @printf(ptr noundef @.str.4)
%88 = load double, ptr %2, align 8
%89 = load double, ptr %3, align 8
%90 = fcmp oeq double %88, %89
br i1 %90, label %91, label %97
91: ; preds = %86
%92 = load double, ptr %3, align 8
%93 = load double, ptr %4, align 8
%94 = fcmp oeq double %92, %93
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = call i32 @printf(ptr noundef @.str.2)
br label %124
97: ; preds = %91, %86
%98 = load double, ptr %2, align 8
%99 = load double, ptr %3, align 8
%100 = fcmp oeq double %98, %99
br i1 %100, label %101, label %105
101: ; preds = %97
%102 = load double, ptr %3, align 8
%103 = load double, ptr %4, align 8
%104 = fcmp une double %102, %103
br i1 %104, label %121, label %105
105: ; preds = %101, %97
%106 = load double, ptr %2, align 8
%107 = load double, ptr %4, align 8
%108 = fcmp oeq double %106, %107
br i1 %108, label %109, label %113
109: ; preds = %105
%110 = load double, ptr %2, align 8
%111 = load double, ptr %3, align 8
%112 = fcmp une double %110, %111
br i1 %112, label %121, label %113
113: ; preds = %109, %105
%114 = load double, ptr %3, align 8
%115 = load double, ptr %4, align 8
%116 = fcmp oeq double %114, %115
br i1 %116, label %117, label %123
117: ; preds = %113
%118 = load double, ptr %4, align 8
%119 = load double, ptr %2, align 8
%120 = fcmp une double %118, %119
br i1 %120, label %121, label %123
121: ; preds = %117, %109, %101
%122 = call i32 @printf(ptr noundef @.str.3)
br label %123
123: ; preds = %121, %117, %113
br label %124
124: ; preds = %123, %95
br label %339
125: ; preds = %75
%126 = load double, ptr %2, align 8
%127 = load double, ptr %2, align 8
%128 = fmul double %126, %127
%129 = load double, ptr %3, align 8
%130 = load double, ptr %3, align 8
%131 = load double, ptr %4, align 8
%132 = load double, ptr %4, align 8
%133 = fmul double %131, %132
%134 = call double @llvm.fmuladd.f64(double %129, double %130, double %133)
%135 = fcmp ogt double %128, %134
br i1 %135, label %136, label %175
136: ; preds = %125
%137 = call i32 @printf(ptr noundef @.str.5)
%138 = load double, ptr %2, align 8
%139 = load double, ptr %3, align 8
%140 = fcmp oeq double %138, %139
br i1 %140, label %141, label %147
141: ; preds = %136
%142 = load double, ptr %3, align 8
%143 = load double, ptr %4, align 8
%144 = fcmp oeq double %142, %143
br i1 %144, label %145, label %147
145: ; preds = %141
%146 = call i32 @printf(ptr noundef @.str.2)
br label %174
147: ; preds = %141, %136
%148 = load double, ptr %2, align 8
%149 = load double, ptr %3, align 8
%150 = fcmp oeq double %148, %149
br i1 %150, label %151, label %155
151: ; preds = %147
%152 = load double, ptr %3, align 8
%153 = load double, ptr %4, align 8
%154 = fcmp une double %152, %153
br i1 %154, label %171, label %155
155: ; preds = %151, %147
%156 = load double, ptr %2, align 8
%157 = load double, ptr %4, align 8
%158 = fcmp oeq double %156, %157
br i1 %158, label %159, label %163
159: ; preds = %155
%160 = load double, ptr %2, align 8
%161 = load double, ptr %3, align 8
%162 = fcmp une double %160, %161
br i1 %162, label %171, label %163
163: ; preds = %159, %155
%164 = load double, ptr %3, align 8
%165 = load double, ptr %4, align 8
%166 = fcmp oeq double %164, %165
br i1 %166, label %167, label %173
167: ; preds = %163
%168 = load double, ptr %4, align 8
%169 = load double, ptr %2, align 8
%170 = fcmp une double %168, %169
br i1 %170, label %171, label %173
171: ; preds = %167, %159, %151
%172 = call i32 @printf(ptr noundef @.str.3)
br label %173
173: ; preds = %171, %167, %163
br label %174
174: ; preds = %173, %145
br label %338
175: ; preds = %125
%176 = load double, ptr %2, align 8
%177 = load double, ptr %2, align 8
%178 = fmul double %176, %177
%179 = load double, ptr %3, align 8
%180 = load double, ptr %3, align 8
%181 = load double, ptr %4, align 8
%182 = load double, ptr %4, align 8
%183 = fmul double %181, %182
%184 = call double @llvm.fmuladd.f64(double %179, double %180, double %183)
%185 = fcmp olt double %178, %184
br i1 %185, label %186, label %225
186: ; preds = %175
%187 = call i32 @printf(ptr noundef @.str.6)
%188 = load double, ptr %2, align 8
%189 = load double, ptr %3, align 8
%190 = fcmp oeq double %188, %189
br i1 %190, label %191, label %197
191: ; preds = %186
%192 = load double, ptr %3, align 8
%193 = load double, ptr %4, align 8
%194 = fcmp oeq double %192, %193
br i1 %194, label %195, label %197
195: ; preds = %191
%196 = call i32 @printf(ptr noundef @.str.2)
br label %224
197: ; preds = %191, %186
%198 = load double, ptr %2, align 8
%199 = load double, ptr %3, align 8
%200 = fcmp oeq double %198, %199
br i1 %200, label %201, label %205
201: ; preds = %197
%202 = load double, ptr %3, align 8
%203 = load double, ptr %4, align 8
%204 = fcmp une double %202, %203
br i1 %204, label %221, label %205
205: ; preds = %201, %197
%206 = load double, ptr %2, align 8
%207 = load double, ptr %4, align 8
%208 = fcmp oeq double %206, %207
br i1 %208, label %209, label %213
209: ; preds = %205
%210 = load double, ptr %2, align 8
%211 = load double, ptr %3, align 8
%212 = fcmp une double %210, %211
br i1 %212, label %221, label %213
213: ; preds = %209, %205
%214 = load double, ptr %3, align 8
%215 = load double, ptr %4, align 8
%216 = fcmp oeq double %214, %215
br i1 %216, label %217, label %223
217: ; preds = %213
%218 = load double, ptr %4, align 8
%219 = load double, ptr %2, align 8
%220 = fcmp une double %218, %219
br i1 %220, label %221, label %223
221: ; preds = %217, %209, %201
%222 = call i32 @printf(ptr noundef @.str.3)
br label %223
223: ; preds = %221, %217, %213
br label %224
224: ; preds = %223, %195
br label %337
225: ; preds = %175
%226 = load double, ptr %2, align 8
%227 = load double, ptr %3, align 8
%228 = fcmp oeq double %226, %227
br i1 %228, label %229, label %272
229: ; preds = %225
%230 = load double, ptr %3, align 8
%231 = load double, ptr %4, align 8
%232 = fcmp oeq double %230, %231
br i1 %232, label %233, label %272
233: ; preds = %229
%234 = call i32 @printf(ptr noundef @.str.2)
%235 = load double, ptr %2, align 8
%236 = load double, ptr %3, align 8
%237 = fcmp oeq double %235, %236
br i1 %237, label %238, label %244
238: ; preds = %233
%239 = load double, ptr %3, align 8
%240 = load double, ptr %4, align 8
%241 = fcmp oeq double %239, %240
br i1 %241, label %242, label %244
242: ; preds = %238
%243 = call i32 @printf(ptr noundef @.str.2)
br label %271
244: ; preds = %238, %233
%245 = load double, ptr %2, align 8
%246 = load double, ptr %3, align 8
%247 = fcmp oeq double %245, %246
br i1 %247, label %248, label %252
248: ; preds = %244
%249 = load double, ptr %3, align 8
%250 = load double, ptr %4, align 8
%251 = fcmp une double %249, %250
br i1 %251, label %268, label %252
252: ; preds = %248, %244
%253 = load double, ptr %2, align 8
%254 = load double, ptr %4, align 8
%255 = fcmp oeq double %253, %254
br i1 %255, label %256, label %260
256: ; preds = %252
%257 = load double, ptr %2, align 8
%258 = load double, ptr %3, align 8
%259 = fcmp une double %257, %258
br i1 %259, label %268, label %260
260: ; preds = %256, %252
%261 = load double, ptr %3, align 8
%262 = load double, ptr %4, align 8
%263 = fcmp oeq double %261, %262
br i1 %263, label %264, label %270
264: ; preds = %260
%265 = load double, ptr %4, align 8
%266 = load double, ptr %2, align 8
%267 = fcmp une double %265, %266
br i1 %267, label %268, label %270
268: ; preds = %264, %256, %248
%269 = call i32 @printf(ptr noundef @.str.3)
br label %270
270: ; preds = %268, %264, %260
br label %271
271: ; preds = %270, %242
br label %336
272: ; preds = %229, %225
%273 = load double, ptr %2, align 8
%274 = load double, ptr %3, align 8
%275 = fcmp oeq double %273, %274
br i1 %275, label %276, label %280
276: ; preds = %272
%277 = load double, ptr %3, align 8
%278 = load double, ptr %4, align 8
%279 = fcmp une double %277, %278
br i1 %279, label %296, label %280
280: ; preds = %276, %272
%281 = load double, ptr %2, align 8
%282 = load double, ptr %4, align 8
%283 = fcmp oeq double %281, %282
br i1 %283, label %284, label %288
284: ; preds = %280
%285 = load double, ptr %2, align 8
%286 = load double, ptr %3, align 8
%287 = fcmp une double %285, %286
br i1 %287, label %296, label %288
288: ; preds = %284, %280
%289 = load double, ptr %3, align 8
%290 = load double, ptr %4, align 8
%291 = fcmp oeq double %289, %290
br i1 %291, label %292, label %335
292: ; preds = %288
%293 = load double, ptr %4, align 8
%294 = load double, ptr %2, align 8
%295 = fcmp une double %293, %294
br i1 %295, label %296, label %335
296: ; preds = %292, %284, %276
%297 = call i32 @printf(ptr noundef @.str.3)
%298 = load double, ptr %2, align 8
%299 = load double, ptr %3, align 8
%300 = fcmp oeq double %298, %299
br i1 %300, label %301, label %307
301: ; preds = %296
%302 = load double, ptr %3, align 8
%303 = load double, ptr %4, align 8
%304 = fcmp oeq double %302, %303
br i1 %304, label %305, label %307
305: ; preds = %301
%306 = call i32 @printf(ptr noundef @.str.2)
br label %334
307: ; preds = %301, %296
%308 = load double, ptr %2, align 8
%309 = load double, ptr %3, align 8
%310 = fcmp oeq double %308, %309
br i1 %310, label %311, label %315
311: ; preds = %307
%312 = load double, ptr %3, align 8
%313 = load double, ptr %4, align 8
%314 = fcmp une double %312, %313
br i1 %314, label %331, label %315
315: ; preds = %311, %307
%316 = load double, ptr %2, align 8
%317 = load double, ptr %4, align 8
%318 = fcmp oeq double %316, %317
br i1 %318, label %319, label %323
319: ; preds = %315
%320 = load double, ptr %2, align 8
%321 = load double, ptr %3, align 8
%322 = fcmp une double %320, %321
br i1 %322, label %331, label %323
323: ; preds = %319, %315
%324 = load double, ptr %3, align 8
%325 = load double, ptr %4, align 8
%326 = fcmp oeq double %324, %325
br i1 %326, label %327, label %333
327: ; preds = %323
%328 = load double, ptr %4, align 8
%329 = load double, ptr %2, align 8
%330 = fcmp une double %328, %329
br i1 %330, label %331, label %333
331: ; preds = %327, %319, %311
%332 = call i32 @printf(ptr noundef @.str.3)
br label %333
333: ; preds = %331, %327, %323
br label %334
334: ; preds = %333, %305
br label %335
335: ; preds = %334, %292, %288
br label %336
336: ; preds = %335, %271
br label %337
337: ; preds = %336, %224
br label %338
338: ; preds = %337, %174
br label %339
339: ; preds = %338, %124
br label %340
340: ; preds = %339, %74
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcd2f07yr.c'
source_filename = "/tmp/tmpcd2f07yr.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32 }
@getHomeDir.dir = internal global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getHomeDir() #0 {
%1 = alloca ptr, align 8
%2 = load ptr, ptr @getHomeDir.dir, align 8
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %19
4: ; preds = %0
%5 = call ptr @getenv(ptr noundef @.str)
store ptr %5, ptr @getHomeDir.dir, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = call i32 (...) @getuid()
%9 = call ptr @getpwuid(i32 noundef %8)
store ptr %9, ptr %1, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds %struct.passwd, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call ptr @getStringCopy(i32 noundef %14)
store ptr %15, ptr @getHomeDir.dir, align 8
br label %17
16: ; preds = %7
store ptr @.str.1, ptr @getHomeDir.dir, align 8
br label %17
17: ; preds = %16, %11
br label %18
18: ; preds = %17, %4
br label %19
19: ; preds = %18, %0
%20 = load ptr, ptr @getHomeDir.dir, align 8
ret ptr %20
}
declare ptr @getenv(ptr noundef) #1
declare ptr @getpwuid(i32 noundef) #1
declare i32 @getuid(...) #1
declare ptr @getStringCopy(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/tmpcd2f07yr.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32 }
@getHomeDir.dir = internal global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getHomeDir() #0 {
%1 = alloca ptr, align 8
%2 = load ptr, ptr @getHomeDir.dir, align 8
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %19
4: ; preds = %0
%5 = call ptr @getenv(ptr noundef @.str)
store ptr %5, ptr @getHomeDir.dir, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = call i32 (...) @getuid()
%9 = call ptr @getpwuid(i32 noundef %8)
store ptr %9, ptr %1, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds %struct.passwd, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call ptr @getStringCopy(i32 noundef %14)
store ptr %15, ptr @getHomeDir.dir, align 8
br label %17
16: ; preds = %7
store ptr @.str.1, ptr @getHomeDir.dir, align 8
br label %17
17: ; preds = %16, %11
br label %18
18: ; preds = %17, %4
br label %19
19: ; preds = %18, %0
%20 = load ptr, ptr @getHomeDir.dir, align 8
ret ptr %20
}
declare ptr @getenv(ptr noundef) #1
declare ptr @getpwuid(i32 noundef) #1
declare i32 @getuid(...) #1
declare ptr @getStringCopy(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/tmpf9pt_2nr.c'
source_filename = "/tmp/tmpf9pt_2nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E5\96\82\EF\BC\81\0A\0A\E4\BD\A0\E5\A5\BD\EF\BC\81\0A\E5\86\8D\E8\A7\81\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf9pt_2nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E5\96\82\EF\BC\81\0A\0A\E4\BD\A0\E5\A5\BD\EF\BC\81\0A\E5\86\8D\E8\A7\81\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxyrok77.c'
source_filename = "/tmp/tmpaxyrok77.c"
target datalayout = "e-m:e-p270: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/tmpaxyrok77.c"
target datalayout = "e-m:e-p270: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/tmpyqc6smhl.c'
source_filename = "/tmp/tmpyqc6smhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[P %f]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %2, %18
%9 = call i64 @read_stat(ptr noundef %7, ptr noundef %6)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %7, align 4
%13 = uitofp i32 %12 to double
%14 = load i32, ptr %6, align 4
%15 = uitofp i32 %14 to double
%16 = fdiv double %13, %15
%17 = call i32 @printf(ptr noundef @.str, double noundef %16)
br label %18
18: ; preds = %11, %8
%19 = call i32 @usleep(double noundef 5.000000e+05)
br label %8
}
declare i64 @read_stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @usleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqc6smhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[P %f]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %18, %2
%9 = call i64 @read_stat(ptr noundef %7, ptr noundef %6)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %7, align 4
%13 = uitofp i32 %12 to double
%14 = load i32, ptr %6, align 4
%15 = uitofp i32 %14 to double
%16 = fdiv double %13, %15
%17 = call i32 @printf(ptr noundef @.str, double noundef %16)
br label %18
18: ; preds = %11, %8
%19 = call i32 @usleep(double noundef 5.000000e+05)
br label %8
}
declare i64 @read_stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @usleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp95pt0mt7.c'
source_filename = "/tmp/tmp95pt0mt7.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 6) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp95pt0mt7.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 6) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi56c8d4c.c'
source_filename = "/tmp/tmpi56c8d4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [95 x i8] c"Hello, PetaLinux World! This application doesn't do anything! Look at the mylcd app, instead!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi56c8d4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [95 x i8] c"Hello, PetaLinux World! This application doesn't do anything! Look at the mylcd app, instead!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2veq2rs5.c'
source_filename = "/tmp/tmp2veq2rs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\22fenString\22: \22%s\22, \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\22score\22: %i\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printEvaluation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2veq2rs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\22fenString\22: \22%s\22, \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\22score\22: %i\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printEvaluation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = 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"}
|
; ModuleID = '/tmp/tmp4088k5f9.c'
source_filename = "/tmp/tmp4088k5f9.c"
target datalayout = "e-m:e-p270: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/tmp4088k5f9.c"
target datalayout = "e-m:e-p270: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/tmp7ai7dwit.c'
source_filename = "/tmp/tmp7ai7dwit.c"
target datalayout = "e-m:e-p270: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/tmp7ai7dwit.c"
target datalayout = "e-m:e-p270: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/tmpup8pwtao.c'
source_filename = "/tmp/tmpup8pwtao.c"
target datalayout = "e-m:e-p270: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/tmpup8pwtao.c"
target datalayout = "e-m:e-p270: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/tmp33zfqqjs.c'
source_filename = "/tmp/tmp33zfqqjs.c"
target datalayout = "e-m:e-p270: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/tmp33zfqqjs.c"
target datalayout = "e-m:e-p270: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/tmpzqmsl8dg.c'
source_filename = "/tmp/tmpzqmsl8dg.c"
target datalayout = "e-m:e-p270: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/tmpzqmsl8dg.c"
target datalayout = "e-m:e-p270: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/tmpfe_ikhby.c'
source_filename = "/tmp/tmpfe_ikhby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetSensorDiff() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = call zeroext i8 (...) @GetBeaconAmpLeft()
store i8 %4, ptr %1, align 1
%5 = call zeroext i8 (...) @GetBeaconAmpRight()
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %1, align 1
%7 = zext i8 %6 to i32
%8 = load i8, ptr %2, align 1
%9 = zext i8 %8 to i32
%10 = sub nsw i32 %7, %9
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare zeroext i8 @GetBeaconAmpLeft(...) #1
declare zeroext i8 @GetBeaconAmpRight(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfe_ikhby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetSensorDiff() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = call zeroext i8 (...) @GetBeaconAmpLeft()
store i8 %4, ptr %1, align 1
%5 = call zeroext i8 (...) @GetBeaconAmpRight()
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %1, align 1
%7 = zext i8 %6 to i32
%8 = load i8, ptr %2, align 1
%9 = zext i8 %8 to i32
%10 = sub nsw i32 %7, %9
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare zeroext i8 @GetBeaconAmpLeft(...) #1
declare zeroext i8 @GetBeaconAmpRight(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv6al55p8.c'
source_filename = "/tmp/tmpv6al55p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionCubicOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionCubicOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionCubicOut(float noundef, i32 noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv6al55p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionCubicOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionCubicOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionCubicOut(float noundef, i32 noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1j9utd8h.c'
source_filename = "/tmp/tmp1j9utd8h.c"
target datalayout = "e-m:e-p270: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.dmx_sct_filter_params = type { i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { ptr, ptr }
@DMX_IMMEDIATE_START = dso_local global i32 0, align 4
@DMX_SET_FILTER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sec(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.dmx_sct_filter_params, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr %8, align 4
%13 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 3
store i32 %12, ptr %13, align 8
%14 = load i32, ptr %9, align 4
%15 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 2
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 1
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
store i32 %14, ptr %18, align 4
%19 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
store i32 255, ptr %22, align 4
%23 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 0
store i32 2000, ptr %23, align 8
%24 = load i32, ptr @DMX_IMMEDIATE_START, align 4
%25 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @DMX_SET_FILTER, align 4
%28 = call i64 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %10)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %4
store i32 -1, ptr %5, align 4
br label %35
31: ; preds = %4
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %7, align 8
%34 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef 4096)
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %31, %30
%36 = load i32, ptr %5, align 4
ret i32 %36
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @read(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/tmp1j9utd8h.c"
target datalayout = "e-m:e-p270: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.dmx_sct_filter_params = type { i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { ptr, ptr }
@DMX_IMMEDIATE_START = dso_local global i32 0, align 4
@DMX_SET_FILTER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sec(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.dmx_sct_filter_params, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr %8, align 4
%13 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 3
store i32 %12, ptr %13, align 8
%14 = load i32, ptr %9, align 4
%15 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 2
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 1
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
store i32 %14, ptr %18, align 4
%19 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
store i32 255, ptr %22, align 4
%23 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 0
store i32 2000, ptr %23, align 8
%24 = load i32, ptr @DMX_IMMEDIATE_START, align 4
%25 = getelementptr inbounds %struct.dmx_sct_filter_params, ptr %10, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @DMX_SET_FILTER, align 4
%28 = call i64 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %10)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %4
store i32 -1, ptr %5, align 4
br label %35
31: ; preds = %4
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %7, align 8
%34 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef 4096)
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %31, %30
%36 = load i32, ptr %5, align 4
ret i32 %36
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @read(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/tmppsuar3ut.c'
source_filename = "/tmp/tmppsuar3ut.c"
target datalayout = "e-m:e-p270: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/tmppsuar3ut.c"
target datalayout = "e-m:e-p270: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/tmp0bco4kcg.c'
source_filename = "/tmp/tmp0bco4kcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call ptr @malloc(i32 noundef 40)
%4 = load ptr, ptr %2, align 8
store ptr %3, ptr %4, align 8
ret void
}
declare ptr @malloc(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/tmp0bco4kcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call ptr @malloc(i32 noundef 40)
%4 = load ptr, ptr %2, align 8
store ptr %3, ptr %4, align 8
ret void
}
declare ptr @malloc(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/tmp53otr7m8.c'
source_filename = "/tmp/tmp53otr7m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\0ASoma = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
store i32 10, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53otr7m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\0ASoma = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
store i32 10, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo0_5ixzy.c'
source_filename = "/tmp/tmpo0_5ixzy.c"
target datalayout = "e-m:e-p270: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/tmpo0_5ixzy.c"
target datalayout = "e-m:e-p270: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/tmpvq0c8dpl.c'
source_filename = "/tmp/tmpvq0c8dpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvq0c8dpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmk5wmgnz.c'
source_filename = "/tmp/tmpmk5wmgnz.c"
target datalayout = "e-m:e-p270: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/tmpmk5wmgnz.c"
target datalayout = "e-m:e-p270: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/tmpjkby30t1.c'
source_filename = "/tmp/tmpjkby30t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ooc_vma_gpool_free() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, 0
%4 = xor i1 %3, true
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjkby30t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ooc_vma_gpool_free() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, 0
%4 = xor i1 %3, true
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo7jfeveo.c'
source_filename = "/tmp/tmpo7jfeveo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_Shutdown() #0 {
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/tmpo7jfeveo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_Shutdown() #0 {
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/tmpiuylh3z3.c'
source_filename = "/tmp/tmpiuylh3z3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @man_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @man_free1(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @man_free1(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/tmpiuylh3z3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @man_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @man_free1(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @man_free1(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/tmpzfkaadqv.c'
source_filename = "/tmp/tmpzfkaadqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checked_grow_alloc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 -1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @memory_exhausted(i32 noundef 0)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr %5, align 8
%16 = udiv i64 %15, 2
%17 = icmp ult i64 %14, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %19, align 8
%21 = mul i64 2, %20
br label %24
22: ; preds = %12
%23 = load i64, ptr %5, align 8
br label %24
24: ; preds = %22, %18
%25 = phi i64 [ %21, %18 ], [ %23, %22 ]
%26 = load ptr, ptr %4, align 8
store i64 %25, ptr %26, align 8
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %28, align 8
%30 = call ptr @checked_realloc(ptr noundef %27, i64 noundef %29)
ret ptr %30
}
declare i32 @memory_exhausted(i32 noundef) #1
declare ptr @checked_realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzfkaadqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checked_grow_alloc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 -1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @memory_exhausted(i32 noundef 0)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr %5, align 8
%16 = udiv i64 %15, 2
%17 = icmp ult i64 %14, %16
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %19, align 8
%21 = mul i64 2, %20
br label %24
22: ; preds = %12
%23 = load i64, ptr %5, align 8
br label %24
24: ; preds = %22, %18
%25 = phi i64 [ %21, %18 ], [ %23, %22 ]
%26 = load ptr, ptr %4, align 8
store i64 %25, ptr %26, align 8
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %28, align 8
%30 = call ptr @checked_realloc(ptr noundef %27, i64 noundef %29)
ret ptr %30
}
declare i32 @memory_exhausted(i32 noundef) #1
declare ptr @checked_realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpam17w827.c'
source_filename = "/tmp/tmpam17w827.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep_us(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.pollfd, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = udiv i32 %5, 1000
store i32 %6, ptr %4, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %8, %1
%10 = load i32, ptr %4, align 4
%11 = call i32 @poll(ptr noundef %3, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @poll(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/tmpam17w827.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep_us(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.pollfd, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = udiv i32 %5, 1000
store i32 %6, ptr %4, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %8, %1
%10 = load i32, ptr %4, align 4
%11 = call i32 @poll(ptr noundef %3, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @poll(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/tmpszzz0vgs.c'
source_filename = "/tmp/tmpszzz0vgs.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i64, i64 }
%struct.TYPE_3__ = type { i64, i64, i32, i32, i32, i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_time(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
br label %47
9: ; preds = %2
%10 = call ptr @localtime(ptr noundef %3)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 5
%13 = load i64, ptr %12, align 8
%14 = add nsw i64 %13, 1900
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 7
store i64 %14, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 4
%19 = load i64, ptr %18, align 8
%20 = add nsw i64 %19, 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 6
store i64 %20, ptr %22, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 5
store i32 %25, ptr %27, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 2
%30 = load i32, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 4
store i32 %30, ptr %32, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.TYPE_3__, ptr %36, i32 0, i32 3
store i32 %35, ptr %37, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 2
store i32 %40, ptr %42, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 1
store i64 0, ptr %44, align 8
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %45, i32 0, i32 0
store i64 0, ptr %46, align 8
br label %47
47: ; preds = %9, %8
ret void
}
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpszzz0vgs.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i64, i64 }
%struct.TYPE_3__ = type { i64, i64, i32, i32, i32, i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_time(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
br label %47
9: ; preds = %2
%10 = call ptr @localtime(ptr noundef %3)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 5
%13 = load i64, ptr %12, align 8
%14 = add nsw i64 %13, 1900
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 7
store i64 %14, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 4
%19 = load i64, ptr %18, align 8
%20 = add nsw i64 %19, 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 6
store i64 %20, ptr %22, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 5
store i32 %25, ptr %27, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds %struct.tm, ptr %28, i32 0, i32 2
%30 = load i32, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 4
store i32 %30, ptr %32, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.TYPE_3__, ptr %36, i32 0, i32 3
store i32 %35, ptr %37, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 2
store i32 %40, ptr %42, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 1
store i64 0, ptr %44, align 8
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %45, i32 0, i32 0
store i64 0, ptr %46, align 8
br label %47
47: ; preds = %9, %8
ret void
}
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzc8bbnxj.c'
source_filename = "/tmp/tmpzc8bbnxj.c"
target datalayout = "e-m:e-p270: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/tmpzc8bbnxj.c"
target datalayout = "e-m:e-p270: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/tmptqgleaa9.c'
source_filename = "/tmp/tmptqgleaa9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udev_queue_get_seqnum_is_finished(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i32 @udev_queue_get_seqnum_sequence_is_finished(ptr noundef %6, i64 noundef %7, i64 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @udev_queue_get_seqnum_sequence_is_finished(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptqgleaa9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udev_queue_get_seqnum_is_finished(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i32 @udev_queue_get_seqnum_sequence_is_finished(ptr noundef %6, i64 noundef %7, i64 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @udev_queue_get_seqnum_sequence_is_finished(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphw7wlyhj.c'
source_filename = "/tmp/tmphw7wlyhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test2()
%3 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test2(...) #1
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphw7wlyhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test2()
%3 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test2(...) #1
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe_yfvlts.c'
source_filename = "/tmp/tmpe_yfvlts.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_yfvlts.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpciggf2tl.c'
source_filename = "/tmp/tmpciggf2tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aquatic troll\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"MM 291\00", align 1
@.str.2 = private unnamed_addr constant [122 x i8] c"Aquatic trolls have the same abilities as normal trolls, but can also breath water and has a swimming speed of 30 feet.\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aquatroll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @niceprint(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %36, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %11, label %39
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
%14 = call i32 @d(i32 noundef 10)
%15 = call i32 @d(i32 noundef 10)
%16 = add nsw i32 %14, %15
%17 = call i32 @d(i32 noundef 10)
%18 = add nsw i32 %16, %17
%19 = call i32 @d(i32 noundef 10)
%20 = add nsw i32 %18, %19
%21 = call i32 @d(i32 noundef 10)
%22 = add nsw i32 %20, %21
%23 = call i32 @d(i32 noundef 10)
%24 = add nsw i32 %22, %23
%25 = call i32 @d(i32 noundef 10)
%26 = add nsw i32 %24, %25
%27 = call i32 @d(i32 noundef 10)
%28 = add nsw i32 %26, %27
%29 = call i32 @d(i32 noundef 10)
%30 = add nsw i32 %28, %29
%31 = call i32 @d(i32 noundef 10)
%32 = add nsw i32 %30, %31
%33 = add nsw i32 %32, 40
%34 = call i32 @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %33)
%35 = call i32 @putchar(i8 noundef signext 10)
br label %36
36: ; preds = %11
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
br label %7, !llvm.loop !6
39: ; preds = %7
%40 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @niceprint(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpciggf2tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aquatic troll\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"MM 291\00", align 1
@.str.2 = private unnamed_addr constant [122 x i8] c"Aquatic trolls have the same abilities as normal trolls, but can also breath water and has a swimming speed of 30 feet.\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aquatroll(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @niceprint(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %.lr.ph, label %41
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %35
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @d(i32 noundef 10)
%14 = call i32 @d(i32 noundef 10)
%15 = add nsw i32 %13, %14
%16 = call i32 @d(i32 noundef 10)
%17 = add nsw i32 %15, %16
%18 = call i32 @d(i32 noundef 10)
%19 = add nsw i32 %17, %18
%20 = call i32 @d(i32 noundef 10)
%21 = add nsw i32 %19, %20
%22 = call i32 @d(i32 noundef 10)
%23 = add nsw i32 %21, %22
%24 = call i32 @d(i32 noundef 10)
%25 = add nsw i32 %23, %24
%26 = call i32 @d(i32 noundef 10)
%27 = add nsw i32 %25, %26
%28 = call i32 @d(i32 noundef 10)
%29 = add nsw i32 %27, %28
%30 = call i32 @d(i32 noundef 10)
%31 = add nsw i32 %29, %30
%32 = add nsw i32 %31, 40
%33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %32)
%34 = call i32 @putchar(i8 noundef signext 10)
br label %35
35: ; preds = %10
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp ult i32 %38, %39
br i1 %40, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %1
%42 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @niceprint(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpel83ycm4.c'
source_filename = "/tmp/tmpel83ycm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename_extension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %9, %1
store ptr @.str, ptr %2, align 8
br label %17
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %14, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpel83ycm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename_extension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %9, %1
store ptr @.str, ptr %2, align 8
br label %17
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %14, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpig_obsen.c'
source_filename = "/tmp/tmpig_obsen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expand_by_doubling(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr null, ptr %10, align 8
store i64 1, ptr %11, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %14, %4
%18 = load i32, ptr @EINVAL, align 4
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
19: ; preds = %14
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %20, align 8
%22 = load i64, ptr %9, align 8
%23 = icmp uge i64 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr %5, align 4
br label %78
25: ; preds = %19
%26 = load i64, ptr %11, align 8
%27 = load i64, ptr %7, align 8
%28 = mul i64 %26, %27
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %7, align 8
%31 = mul i64 %29, %30
%32 = icmp ugt i64 %28, %31
br i1 %32, label %33, label %35
33: ; preds = %25
%34 = load i64, ptr %11, align 8
br label %37
35: ; preds = %25
%36 = load i64, ptr %9, align 8
br label %37
37: ; preds = %35, %33
%38 = phi i64 [ %34, %33 ], [ %36, %35 ]
store i64 %38, ptr %11, align 8
%39 = load i64, ptr %11, align 8
%40 = load i64, ptr %7, align 8
%41 = mul i64 %39, %40
%42 = load ptr, ptr %8, align 8
%43 = load i64, ptr %42, align 8
%44 = mul i64 2, %43
%45 = load i64, ptr %7, align 8
%46 = mul i64 %44, %45
%47 = icmp ugt i64 %41, %46
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = load i64, ptr %11, align 8
br label %54
50: ; preds = %37
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %51, align 8
%53 = mul i64 2, %52
br label %54
54: ; preds = %50, %48
%55 = phi i64 [ %49, %48 ], [ %53, %50 ]
store i64 %55, ptr %11, align 8
%56 = load ptr, ptr %8, align 8
%57 = load i64, ptr %56, align 8
%58 = load i64, ptr %11, align 8
%59 = icmp uge i64 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = load i32, ptr @ENOMEM, align 4
store i32 %61, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
62: ; preds = %54
%63 = load ptr, ptr %6, align 8
%64 = load ptr, ptr %63, align 8
%65 = load i64, ptr %11, align 8
%66 = load i64, ptr %7, align 8
%67 = mul i64 %65, %66
%68 = call ptr @realloc(ptr noundef %64, i64 noundef %67) #2
store ptr %68, ptr %10, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %73, label %71
71: ; preds = %62
%72 = load i32, ptr @ENOMEM, align 4
store i32 %72, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
73: ; preds = %62
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %6, align 8
store ptr %74, ptr %75, align 8
%76 = load i64, ptr %11, align 8
%77 = load ptr, ptr %8, align 8
store i64 %76, ptr %77, align 8
store i32 0, ptr %5, align 4
br label %78
78: ; preds = %73, %71, %60, %24, %17
%79 = load i32, ptr %5, align 4
ret i32 %79
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpig_obsen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expand_by_doubling(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr null, ptr %10, align 8
store i64 1, ptr %11, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %14, %4
%18 = load i32, ptr @EINVAL, align 4
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
19: ; preds = %14
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %20, align 8
%22 = load i64, ptr %9, align 8
%23 = icmp uge i64 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr %5, align 4
br label %78
25: ; preds = %19
%26 = load i64, ptr %11, align 8
%27 = load i64, ptr %7, align 8
%28 = mul i64 %26, %27
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %7, align 8
%31 = mul i64 %29, %30
%32 = icmp ugt i64 %28, %31
br i1 %32, label %33, label %35
33: ; preds = %25
%34 = load i64, ptr %11, align 8
br label %37
35: ; preds = %25
%36 = load i64, ptr %9, align 8
br label %37
37: ; preds = %35, %33
%38 = phi i64 [ %34, %33 ], [ %36, %35 ]
store i64 %38, ptr %11, align 8
%39 = load i64, ptr %11, align 8
%40 = load i64, ptr %7, align 8
%41 = mul i64 %39, %40
%42 = load ptr, ptr %8, align 8
%43 = load i64, ptr %42, align 8
%44 = mul i64 2, %43
%45 = load i64, ptr %7, align 8
%46 = mul i64 %44, %45
%47 = icmp ugt i64 %41, %46
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = load i64, ptr %11, align 8
br label %54
50: ; preds = %37
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %51, align 8
%53 = mul i64 2, %52
br label %54
54: ; preds = %50, %48
%55 = phi i64 [ %49, %48 ], [ %53, %50 ]
store i64 %55, ptr %11, align 8
%56 = load ptr, ptr %8, align 8
%57 = load i64, ptr %56, align 8
%58 = load i64, ptr %11, align 8
%59 = icmp uge i64 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = load i32, ptr @ENOMEM, align 4
store i32 %61, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
62: ; preds = %54
%63 = load ptr, ptr %6, align 8
%64 = load ptr, ptr %63, align 8
%65 = load i64, ptr %11, align 8
%66 = load i64, ptr %7, align 8
%67 = mul i64 %65, %66
%68 = call ptr @realloc(ptr noundef %64, i64 noundef %67) #2
store ptr %68, ptr %10, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %73, label %71
71: ; preds = %62
%72 = load i32, ptr @ENOMEM, align 4
store i32 %72, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %78
73: ; preds = %62
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %6, align 8
store ptr %74, ptr %75, align 8
%76 = load i64, ptr %11, align 8
%77 = load ptr, ptr %8, align 8
store i64 %76, ptr %77, align 8
store i32 0, ptr %5, align 4
br label %78
78: ; preds = %73, %71, %60, %24, %17
%79 = load i32, ptr %5, align 4
ret i32 %79
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5kerj22.c'
source_filename = "/tmp/tmpu5kerj22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%d * %d = %d\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
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 %10, %11
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5kerj22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%d * %d = %d\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
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 10
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %11)
br label %13
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfflq865u.c'
source_filename = "/tmp/tmpfflq865u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @file_exists(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 %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
ret i32 %14
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfflq865u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @file_exists(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 %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
ret i32 %14
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk4a5ur_e.c'
source_filename = "/tmp/tmpk4a5ur_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Norte(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %11, align 4
store i32 0, ptr %13, align 4
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %12, align 4
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %10, align 4
br label %20
20: ; preds = %48, %4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %12, align 4
%24 = add nsw i32 %22, %23
%25 = icmp slt i32 %21, %24
br i1 %25, label %26, label %51
26: ; preds = %20
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i8], ptr %27, i64 %29
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100 x i8], ptr %30, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %35, %41
br i1 %42, label %43, label %44
43: ; preds = %26
store i32 -1, ptr %5, align 4
br label %54
44: ; preds = %26
%45 = load i32, ptr %13, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %13, align 4
br label %47
47: ; preds = %44
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %20, !llvm.loop !6
51: ; preds = %20
%52 = load i32, ptr %10, align 4
%53 = load ptr, ptr %9, align 8
store i32 %52, ptr %53, align 4
store i32 0, ptr %5, align 4
br label %54
54: ; preds = %51, %43
%55 = load i32, ptr %5, align 4
ret i32 %55
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk4a5ur_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Norte(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %11, align 4
store i32 0, ptr %13, align 4
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %12, align 4
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %12, align 4
%23 = add nsw i32 %21, %22
%24 = icmp slt i32 %20, %23
br i1 %24, label %.lr.ph, label %55
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %47
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i8], ptr %26, i64 %28
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %34, %40
br i1 %41, label %42, label %43
42: ; preds = %25
store i32 -1, ptr %5, align 4
br label %58
43: ; preds = %25
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %43
br label %47
47: ; preds = %46
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %12, align 4
%53 = add nsw i32 %51, %52
%54 = icmp slt i32 %50, %53
br i1 %54, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %55
55: ; preds = %._crit_edge, %4
%56 = load i32, ptr %10, align 4
%57 = load ptr, ptr %9, align 8
store i32 %56, ptr %57, align 4
store i32 0, ptr %5, align 4
br label %58
58: ; preds = %55, %42
%59 = load i32, ptr %5, align 4
ret i32 %59
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfkbevid9.c'
source_filename = "/tmp/tmpfkbevid9.c"
target datalayout = "e-m:e-p270: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/tmpfkbevid9.c"
target datalayout = "e-m:e-p270: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/tmpzfhrexbp.c'
source_filename = "/tmp/tmpzfhrexbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCE_Mem_Calloc(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = mul i64 %12, %13
%15 = call ptr @SCE_Mem_Alloc(ptr noundef %10, i32 noundef %11, i64 noundef %14)
store ptr %15, ptr %9, align 8
%16 = load ptr, ptr %9, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %4
%19 = load ptr, ptr %9, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = mul i64 %20, %21
%23 = call i32 @memset(ptr noundef %19, i32 noundef 0, i64 noundef %22)
br label %24
24: ; preds = %18, %4
%25 = load ptr, ptr %9, align 8
ret ptr %25
}
declare ptr @SCE_Mem_Alloc(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzfhrexbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCE_Mem_Calloc(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = mul i64 %12, %13
%15 = call ptr @SCE_Mem_Alloc(ptr noundef %10, i32 noundef %11, i64 noundef %14)
store ptr %15, ptr %9, align 8
%16 = load ptr, ptr %9, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %4
%19 = load ptr, ptr %9, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = mul i64 %20, %21
%23 = call i32 @memset(ptr noundef %19, i32 noundef 0, i64 noundef %22)
br label %24
24: ; preds = %18, %4
%25 = load ptr, ptr %9, align 8
ret ptr %25
}
declare ptr @SCE_Mem_Alloc(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpisj6w_k4.c'
source_filename = "/tmp/tmpisj6w_k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
store i64 0, ptr %8, align 8
br label %13
13: ; preds = %45, %3
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %48
17: ; preds = %13
%18 = load ptr, ptr %9, align 8
%19 = load i64, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %10, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %22, %27
br i1 %28, label %29, label %44
29: ; preds = %17
%30 = load ptr, ptr %9, align 8
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %10, align 8
%36 = load i64, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sgt i32 %34, %39
%41 = zext i1 %40 to i32
%42 = shl i32 %41, 1
%43 = sub nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %49
44: ; preds = %17
br label %45
45: ; preds = %44
%46 = load i64, ptr %8, align 8
%47 = add i64 %46, 1
store i64 %47, ptr %8, align 8
br label %13, !llvm.loop !6
48: ; preds = %13
store i32 0, ptr %4, align 4
br label %49
49: ; preds = %48, %29
%50 = load i32, ptr %4, align 4
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpisj6w_k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
store i64 0, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %44
%17 = load ptr, ptr %9, align 8
%18 = load i64, ptr %8, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load ptr, ptr %10, align 8
%23 = load i64, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %21, %26
br i1 %27, label %28, label %43
28: ; preds = %16
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %10, align 8
%35 = load i64, ptr %8, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sgt i32 %33, %38
%40 = zext i1 %39 to i32
%41 = shl i32 %40, 1
%42 = sub nsw i32 %41, 1
store i32 %42, ptr %4, align 4
br label %51
43: ; preds = %16
br label %44
44: ; preds = %43
%45 = load i64, ptr %8, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %8, align 8
%47 = load i64, ptr %8, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp ult i64 %47, %48
br i1 %49, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %51
51: ; preds = %50, %28
%52 = load i32, ptr %4, align 4
ret i32 %52
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmfolowq5.c'
source_filename = "/tmp/tmpmfolowq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Can't write a file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fwrite(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @fwrite(ptr noundef %8, i32 noundef 1, i64 noundef %9, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %5, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @error(ptr noundef @.str)
br label %17
17: ; preds = %15, %3
ret void
}
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmfolowq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Can't write a file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fwrite(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @fwrite(ptr noundef %8, i32 noundef 1, i64 noundef %9, ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %5, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @error(ptr noundef @.str)
br label %17
17: ; preds = %15, %3
ret void
}
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6q9zzs7g.c'
source_filename = "/tmp/tmp6q9zzs7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sknobs_get_filename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @sknobs_get_string(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = call i32 (...) @check_sknobs_init()
%10 = load ptr, ptr %5, align 8
%11 = call ptr @sknobs_find_file(ptr noundef %10)
ret ptr %11
}
declare ptr @sknobs_get_string(ptr noundef, ptr noundef) #1
declare i32 @check_sknobs_init(...) #1
declare ptr @sknobs_find_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6q9zzs7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sknobs_get_filename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @sknobs_get_string(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = call i32 (...) @check_sknobs_init()
%10 = load ptr, ptr %5, align 8
%11 = call ptr @sknobs_find_file(ptr noundef %10)
ret ptr %11
}
declare ptr @sknobs_get_string(ptr noundef, ptr noundef) #1
declare i32 @check_sknobs_init(...) #1
declare ptr @sknobs_find_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpulnexx62.c'
source_filename = "/tmp/tmpulnexx62.c"
target datalayout = "e-m:e-p270: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/tmpulnexx62.c"
target datalayout = "e-m:e-p270: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/tmpulx5h6j1.c'
source_filename = "/tmp/tmpulx5h6j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ShowWhere.j = internal global i32 -1, align 4
@ShowWhere.s = internal global i32 -1, align 4
@ShowWhere.m = internal global i32 -1, align 4
@.str = private unnamed_addr constant [14 x i8] c"\0A State %d: \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\0A Stream %d: \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0A Mix %d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowWhere(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @ShowWhere.j, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
store i32 -1, ptr @ShowWhere.s, align 4
store i32 -1, ptr @ShowWhere.m, align 4
%13 = load i32, ptr %4, align 4
store i32 %13, ptr @ShowWhere.j, align 4
br label %14
14: ; preds = %10, %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr @ShowWhere.s, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %5, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
store i32 -1, ptr @ShowWhere.m, align 4
%24 = load i32, ptr %5, align 4
store i32 %24, ptr @ShowWhere.s, align 4
br label %25
25: ; preds = %21, %18, %14
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @ShowWhere.m, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, -1
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load i32, ptr %6, align 4
%34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load i32, ptr %6, align 4
store i32 %35, ptr @ShowWhere.m, align 4
br label %36
36: ; preds = %32, %29, %25
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/tmpulx5h6j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ShowWhere.j = internal global i32 -1, align 4
@ShowWhere.s = internal global i32 -1, align 4
@ShowWhere.m = internal global i32 -1, align 4
@.str = private unnamed_addr constant [14 x i8] c"\0A State %d: \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\0A Stream %d: \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0A Mix %d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowWhere(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @ShowWhere.j, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
store i32 -1, ptr @ShowWhere.s, align 4
store i32 -1, ptr @ShowWhere.m, align 4
%13 = load i32, ptr %4, align 4
store i32 %13, ptr @ShowWhere.j, align 4
br label %14
14: ; preds = %10, %3
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr @ShowWhere.s, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %5, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
store i32 -1, ptr @ShowWhere.m, align 4
%24 = load i32, ptr %5, align 4
store i32 %24, ptr @ShowWhere.s, align 4
br label %25
25: ; preds = %21, %18, %14
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @ShowWhere.m, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, -1
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load i32, ptr %6, align 4
%34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33)
%35 = load i32, ptr %6, align 4
store i32 %35, ptr @ShowWhere.m, align 4
br label %36
36: ; preds = %32, %29, %25
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/tmpibjoy_ya.c'
source_filename = "/tmp/tmpibjoy_ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@L_tmpnam = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"tmpfile error\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"one line of output\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"fgets error\0A\00", align 1
@stdout = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @L_tmpnam, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %2, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %3, align 8
%10 = call ptr @tmpnam(ptr noundef null)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = call ptr @tmpnam(ptr noundef %9)
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%14 = call ptr (...) @tmpfile()
store ptr %14, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 1) #4
unreachable
20: ; preds = %0
%21 = load ptr, ptr %5, align 8
%22 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @rewind(ptr noundef %23)
%25 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%26 = load ptr, ptr %5, align 8
%27 = call ptr @fgets(ptr noundef %25, i32 noundef 1024, ptr noundef %26)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.3)
%32 = call i32 @exit(i32 noundef 1) #4
unreachable
33: ; preds = %20
%34 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%35 = load ptr, ptr @stdout, align 8
%36 = call i32 @fputs(ptr noundef %34, ptr noundef %35)
store i32 0, ptr %1, align 4
%37 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %37)
%38 = load i32, ptr %1, align 4
ret i32 %38
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @tmpnam(ptr noundef) #2
declare ptr @tmpfile(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fputs(ptr noundef, ptr noundef) #2
declare i32 @rewind(ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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/tmpibjoy_ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@L_tmpnam = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"tmpfile error\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"one line of output\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"fgets error\0A\00", align 1
@stdout = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @L_tmpnam, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %2, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %3, align 8
%10 = call ptr @tmpnam(ptr noundef null)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = call ptr @tmpnam(ptr noundef %9)
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%14 = call ptr (...) @tmpfile()
store ptr %14, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 1) #4
unreachable
20: ; preds = %0
%21 = load ptr, ptr %5, align 8
%22 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @rewind(ptr noundef %23)
%25 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%26 = load ptr, ptr %5, align 8
%27 = call ptr @fgets(ptr noundef %25, i32 noundef 1024, ptr noundef %26)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.3)
%32 = call i32 @exit(i32 noundef 1) #4
unreachable
33: ; preds = %20
%34 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%35 = load ptr, ptr @stdout, align 8
%36 = call i32 @fputs(ptr noundef %34, ptr noundef %35)
store i32 0, ptr %1, align 4
%37 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %37)
%38 = load i32, ptr %1, align 4
ret i32 %38
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @tmpnam(ptr noundef) #2
declare ptr @tmpfile(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fputs(ptr noundef, ptr noundef) #2
declare i32 @rewind(ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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/tmpxcddbbnr.c'
source_filename = "/tmp/tmpxcddbbnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pRand() #0 {
%1 = call i32 (...) @checkSeed()
%2 = call i32 @uRand(i32 noundef 1, i32 noundef 100)
%3 = sdiv i32 %2, 100
%4 = sitofp i32 %3 to float
ret float %4
}
declare i32 @checkSeed(...) #1
declare i32 @uRand(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/tmpxcddbbnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pRand() #0 {
%1 = call i32 (...) @checkSeed()
%2 = call i32 @uRand(i32 noundef 1, i32 noundef 100)
%3 = sdiv i32 %2, 100
%4 = sitofp i32 %3 to float
ret float %4
}
declare i32 @checkSeed(...) #1
declare i32 @uRand(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/tmpzmyca170.c'
source_filename = "/tmp/tmpzmyca170.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"last sec qps: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dtserv_run(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca [64 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %11, align 4
%12 = call i64 @time(i32 noundef 0)
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %48, %18, %1
store i32 4, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = call i32 @accept(i32 noundef %14, ptr noundef %4, ptr noundef %5)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr @errno, align 4
%20 = call i32 @error(i32 noundef 0, i32 noundef %19, ptr noundef @.str)
br label %13
21: ; preds = %13
%22 = call i64 @time(i32 noundef 0)
store i64 %22, ptr %7, align 8
%23 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%24 = call ptr @ctime(ptr noundef %7)
%25 = call i32 @snprintf(ptr noundef %23, i32 noundef 64, ptr noundef @.str.1, ptr noundef %24)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%28 = load i32, ptr %10, align 4
%29 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %21
%33 = load i32, ptr @errno, align 4
%34 = call i32 @error(i32 noundef 0, i32 noundef %33, ptr noundef @.str.2)
br label %35
35: ; preds = %32, %21
%36 = load i32, ptr %3, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
%40 = call i64 @time(i32 noundef 0)
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %9, align 8
%42 = load i64, ptr %8, align 8
%43 = icmp sgt i64 %41, %42
br i1 %43, label %44, label %48
44: ; preds = %35
%45 = load i32, ptr %11, align 4
%46 = call i32 @printf(ptr noundef @.str.3, i32 noundef %45)
store i32 0, ptr %11, align 4
%47 = load i64, ptr %9, align 8
store i64 %47, ptr %8, align 8
br label %48
48: ; preds = %44, %35
br label %13
}
declare i64 @time(i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmyca170.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"last sec qps: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dtserv_run(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca [64 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %11, align 4
%12 = call i64 @time(i32 noundef 0)
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %.backedge, %1
store i32 4, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = call i32 @accept(i32 noundef %14, ptr noundef %4, ptr noundef %5)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr @errno, align 4
%20 = call i32 @error(i32 noundef 0, i32 noundef %19, ptr noundef @.str)
br label %.backedge
.backedge: ; preds = %18, %48
br label %13
21: ; preds = %13
%22 = call i64 @time(i32 noundef 0)
store i64 %22, ptr %7, align 8
%23 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%24 = call ptr @ctime(ptr noundef %7)
%25 = call i32 @snprintf(ptr noundef %23, i32 noundef 64, ptr noundef @.str.1, ptr noundef %24)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%28 = load i32, ptr %10, align 4
%29 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %21
%33 = load i32, ptr @errno, align 4
%34 = call i32 @error(i32 noundef 0, i32 noundef %33, ptr noundef @.str.2)
br label %35
35: ; preds = %32, %21
%36 = load i32, ptr %3, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
%40 = call i64 @time(i32 noundef 0)
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %9, align 8
%42 = load i64, ptr %8, align 8
%43 = icmp sgt i64 %41, %42
br i1 %43, label %44, label %48
44: ; preds = %35
%45 = load i32, ptr %11, align 4
%46 = call i32 @printf(ptr noundef @.str.3, i32 noundef %45)
store i32 0, ptr %11, align 4
%47 = load i64, ptr %9, align 8
store i64 %47, ptr %8, align 8
br label %48
48: ; preds = %44, %35
br label %.backedge
}
declare i64 @time(i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplrox9eiw.c'
source_filename = "/tmp/tmplrox9eiw.c"
target datalayout = "e-m:e-p270: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/tmplrox9eiw.c"
target datalayout = "e-m:e-p270: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/tmpeaejfj9v.c'
source_filename = "/tmp/tmpeaejfj9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_LOCAL = dso_local global i32 0, align 4
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Unable to create PF_LOCAL socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"cannot bind socket to %s: %m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_un, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 1, ptr %10, align 4
%11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%12 = load i32, ptr @AF_LOCAL, align 4
%13 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strcpy(i32 noundef %15, ptr noundef %16)
%18 = call i32 @SUN_LEN(ptr noundef %6)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr @PF_LOCAL, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %2
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %46
27: ; preds = %2
%28 = load i32, ptr %5, align 4
%29 = xor i32 %28, -1
%30 = and i32 %29, 511
%31 = call i32 @umask(i32 noundef %30)
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = call i64 @bind(i32 noundef %32, ptr noundef %6, i32 noundef %33)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %27
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %4, align 8
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.1, ptr noundef %38)
store i32 0, ptr %10, align 4
br label %40
40: ; preds = %36, %27
%41 = load i32, ptr %8, align 4
%42 = call i32 @umask(i32 noundef %41)
%43 = load i32, ptr %9, align 4
%44 = call i32 @close(i32 noundef %43)
%45 = load i32, ptr %10, align 4
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %40, %24
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @SUN_LEN(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @umask(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeaejfj9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_LOCAL = dso_local global i32 0, align 4
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Unable to create PF_LOCAL socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"cannot bind socket to %s: %m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_un, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 1, ptr %10, align 4
%11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%12 = load i32, ptr @AF_LOCAL, align 4
%13 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strcpy(i32 noundef %15, ptr noundef %16)
%18 = call i32 @SUN_LEN(ptr noundef %6)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr @PF_LOCAL, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %2
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %46
27: ; preds = %2
%28 = load i32, ptr %5, align 4
%29 = xor i32 %28, -1
%30 = and i32 %29, 511
%31 = call i32 @umask(i32 noundef %30)
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = call i64 @bind(i32 noundef %32, ptr noundef %6, i32 noundef %33)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %27
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %4, align 8
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.1, ptr noundef %38)
store i32 0, ptr %10, align 4
br label %40
40: ; preds = %36, %27
%41 = load i32, ptr %8, align 4
%42 = call i32 @umask(i32 noundef %41)
%43 = load i32, ptr %9, align 4
%44 = call i32 @close(i32 noundef %43)
%45 = load i32, ptr %10, align 4
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %40, %24
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @SUN_LEN(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @umask(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6bgf0khf.c'
source_filename = "/tmp/tmp6bgf0khf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ip_client(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i64 @malloc(i32 noundef 20)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %25, %1
%13 = load i32, ptr %4, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %15, label %28
15: ; preds = %12
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 124
br i1 %22, label %23, label %24
23: ; preds = %15
br label %28
24: ; preds = %15
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
br label %12, !llvm.loop !6
28: ; preds = %23, %12
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %53, %28
%32 = load i32, ptr %4, align 4
%33 = load ptr, ptr %2, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = icmp slt i32 %32, %34
br i1 %35, label %36, label %56
36: ; preds = %31
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 0, ptr %50, align 1
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %36
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %31, !llvm.loop !8
56: ; preds = %31
%57 = load ptr, ptr %3, align 8
ret ptr %57
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6bgf0khf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ip_client(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i64 @malloc(i32 noundef 20)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 124
br i1 %21, label %22, label %23
22: ; preds = %14
br label %29
23: ; preds = %14
br label %24
24: ; preds = %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sge i32 %27, 0
br i1 %28, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %29
29: ; preds = %.loopexit, %22
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = load ptr, ptr %2, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph1, label %60
.lr.ph1: ; preds = %29
br label %36
36: ; preds = %.lr.ph1, %53
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 0, ptr %50, align 1
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %36
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = load ptr, ptr %2, align 8
%58 = call i32 @strlen(ptr noundef %57)
%59 = icmp slt i32 %56, %58
br i1 %59, label %36, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %53
br label %60
60: ; preds = %._crit_edge, %29
%61 = load ptr, ptr %3, align 8
ret ptr %61
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp444p74ra.c'
source_filename = "/tmp/tmp444p74ra.c"
target datalayout = "e-m:e-p270: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/tmp444p74ra.c"
target datalayout = "e-m:e-p270: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/tmprt6kx4x1.c'
source_filename = "/tmp/tmprt6kx4x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n=\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [20 x i32], align 16
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %18, %0
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %12
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 20
br label %18
18: ; preds = %15, %12
%19 = phi i1 [ true, %12 ], [ %17, %15 ]
br i1 %19, label %9, label %20, !llvm.loop !6
20: ; preds = %18
br label %21
21: ; preds = %20, %47
%22 = call signext i8 (...) @getchar()
store i8 %22, ptr %2, align 1
%23 = load i8, ptr %2, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 49
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %28
store i32 1, ptr %29, align 4
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %32
32: ; preds = %26, %21
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 48
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %38
store i32 0, ptr %39, align 4
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %36, %32
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %42
br label %48
47: ; preds = %42
br label %21
48: ; preds = %46
%49 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
br label %50
50: ; preds = %65, %48
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %68
54: ; preds = %50
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = call i32 @printf(ptr noundef @.str.3)
br label %64
62: ; preds = %54
%63 = call i32 @printf(ptr noundef @.str.4)
br label %64
64: ; preds = %62, %60
br label %65
65: ; preds = %64
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %6, align 4
br label %50, !llvm.loop !8
68: ; preds = %50
%69 = call i32 @printf(ptr noundef @.str.2)
br label %70
70: ; preds = %113, %68
%71 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%72 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%73 = load i32, ptr %5, align 4
%74 = call i32 @next_generation(ptr noundef %71, ptr noundef %72, i32 noundef %73)
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %75
75: ; preds = %99, %70
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %5, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %102
79: ; preds = %75
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %89
85: ; preds = %79
%86 = load i32, ptr %7, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %7, align 4
%88 = call i32 @printf(ptr noundef @.str.3)
br label %91
89: ; preds = %79
%90 = call i32 @printf(ptr noundef @.str.4)
br label %91
91: ; preds = %89, %85
%92 = load i32, ptr %6, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %97
store i32 %95, ptr %98, align 4
br label %99
99: ; preds = %91
%100 = load i32, ptr %6, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %6, align 4
br label %75, !llvm.loop !9
102: ; preds = %75
%103 = call i32 @printf(ptr noundef @.str.2)
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %8, align 4
br label %106
106: ; preds = %102
%107 = load i32, ptr %7, align 4
%108 = load i32, ptr %5, align 4
%109 = icmp ne i32 %107, %108
br i1 %109, label %110, label %113
110: ; preds = %106
%111 = load i32, ptr %8, align 4
%112 = icmp slt i32 %111, 1000
br label %113
113: ; preds = %110, %106
%114 = phi i1 [ false, %106 ], [ %112, %110 ]
br i1 %114, label %70, label %115, !llvm.loop !10
115: ; preds = %113
%116 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @next_generation(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprt6kx4x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n=\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [20 x i32], align 16
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %18, %0
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %12
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 20
br label %18
18: ; preds = %15, %12
%19 = phi i1 [ true, %12 ], [ %17, %15 ]
br i1 %19, label %9, label %20, !llvm.loop !6
20: ; preds = %18
br label %21
21: ; preds = %42, %20
%22 = call signext i8 (...) @getchar()
store i8 %22, ptr %2, align 1
%23 = load i8, ptr %2, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 49
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %28
store i32 1, ptr %29, align 4
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %32
32: ; preds = %26, %21
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 48
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %38
store i32 0, ptr %39, align 4
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %36, %32
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %21
46: ; preds = %42
br label %47
47: ; preds = %46
%48 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %69
.lr.ph: ; preds = %47
br label %52
52: ; preds = %.lr.ph, %63
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %52
%59 = call i32 @printf(ptr noundef @.str.3)
br label %62
60: ; preds = %52
%61 = call i32 @printf(ptr noundef @.str.4)
br label %62
62: ; preds = %60, %58
br label %63
63: ; preds = %62
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %52, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %47
%70 = call i32 @printf(ptr noundef @.str.2)
br label %71
71: ; preds = %116, %69
%72 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%73 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%74 = load i32, ptr %5, align 4
%75 = call i32 @next_generation(ptr noundef %72, ptr noundef %73, i32 noundef %74)
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %5, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph2, label %105
.lr.ph2: ; preds = %71
br label %79
79: ; preds = %.lr.ph2, %99
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %89
85: ; preds = %79
%86 = load i32, ptr %7, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %7, align 4
%88 = call i32 @printf(ptr noundef @.str.3)
br label %91
89: ; preds = %79
%90 = call i32 @printf(ptr noundef @.str.4)
br label %91
91: ; preds = %89, %85
%92 = load i32, ptr %6, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %97
store i32 %95, ptr %98, align 4
br label %99
99: ; preds = %91
%100 = load i32, ptr %6, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %6, align 4
%102 = load i32, ptr %6, align 4
%103 = load i32, ptr %5, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %79, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %99
br label %105
105: ; preds = %._crit_edge3, %71
%106 = call i32 @printf(ptr noundef @.str.2)
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %8, align 4
br label %109
109: ; preds = %105
%110 = load i32, ptr %7, align 4
%111 = load i32, ptr %5, align 4
%112 = icmp ne i32 %110, %111
br i1 %112, label %113, label %116
113: ; preds = %109
%114 = load i32, ptr %8, align 4
%115 = icmp slt i32 %114, 1000
br label %116
116: ; preds = %113, %109
%117 = phi i1 [ false, %109 ], [ %115, %113 ]
br i1 %117, label %71, label %118, !llvm.loop !10
118: ; preds = %116
%119 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @next_generation(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpnlvwcs0s.c'
source_filename = "/tmp/tmpnlvwcs0s.c"
target datalayout = "e-m:e-p270: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/tmpnlvwcs0s.c"
target datalayout = "e-m:e-p270: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/tmpq17a_uef.c'
source_filename = "/tmp/tmpq17a_uef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_idxset_remove_by_data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_idxset_remove_by_data() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq17a_uef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_idxset_remove_by_data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_idxset_remove_by_data() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpln0hpzfj.c'
source_filename = "/tmp/tmpln0hpzfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Please input two number:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AOutput is:%d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = call i32 @swap(ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpln0hpzfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Please input two number:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AOutput is:%d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = call i32 @swap(ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmp8qje1m2v.c'
source_filename = "/tmp/tmp8qje1m2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"UPDATE semiquaver SET pchange= %f, pchange_3qrt = %f, pchange_3qvr = %f, pchange_3smq = %f, pnote = '{ \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%f,\00", align 1
@.str.2 = private unnamed_addr constant [110 x i8] c"%s%f}' WHERE id in (SELECT sq.id FROM semiquaver AS sq, quarter AS q WHERE q.id = sq.quarter AND solo = 't');\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_update_query(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store float %0, ptr %8, align 4
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
%17 = load float, ptr %8, align 4
%18 = fpext float %17 to double
%19 = load float, ptr %9, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %10, align 4
%22 = fpext float %21 to double
%23 = load float, ptr %11, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str, double noundef %18, double noundef %20, double noundef %22, double noundef %24)
store i32 0, ptr %16, align 4
br label %26
26: ; preds = %34, %6
%27 = load i32, ptr %16, align 4
%28 = icmp slt i32 %27, 12
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load ptr, ptr %14, align 8
%31 = load float, ptr %12, align 4
%32 = fpext float %31 to double
%33 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %30, double noundef %32)
br label %34
34: ; preds = %29
%35 = load i32, ptr %16, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %16, align 4
br label %26, !llvm.loop !6
37: ; preds = %26
%38 = load ptr, ptr %14, align 8
%39 = load float, ptr %13, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %38, double noundef %40)
%42 = load ptr, ptr %14, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 1
%47 = trunc i64 %46 to i32
%48 = call ptr @malloc(i32 noundef %47)
store ptr %48, ptr %15, align 8
%49 = load ptr, ptr %15, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %52, label %51
51: ; preds = %37
store ptr null, ptr %7, align 8
br label %66
52: ; preds = %37
%53 = load ptr, ptr %15, align 8
%54 = load ptr, ptr %14, align 8
%55 = load ptr, ptr %14, align 8
%56 = call i32 @strlen(ptr noundef %55)
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 1
%60 = trunc i64 %59 to i32
%61 = call i32 @memcpy(ptr noundef %53, ptr noundef %54, i32 noundef %60)
%62 = icmp ne i32 %61, 0
br i1 %62, label %64, label %63
63: ; preds = %52
store ptr null, ptr %7, align 8
br label %66
64: ; preds = %52
%65 = load ptr, ptr %15, align 8
store ptr %65, ptr %7, align 8
br label %66
66: ; preds = %64, %63, %51
%67 = load ptr, ptr %7, align 8
ret ptr %67
}
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8qje1m2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"UPDATE semiquaver SET pchange= %f, pchange_3qrt = %f, pchange_3qvr = %f, pchange_3smq = %f, pnote = '{ \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%f,\00", align 1
@.str.2 = private unnamed_addr constant [110 x i8] c"%s%f}' WHERE id in (SELECT sq.id FROM semiquaver AS sq, quarter AS q WHERE q.id = sq.quarter AND solo = 't');\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_update_query(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
store float %0, ptr %8, align 4
store float %1, ptr %9, align 4
store float %2, ptr %10, align 4
store float %3, ptr %11, align 4
store float %4, ptr %12, align 4
store float %5, ptr %13, align 4
%17 = load float, ptr %8, align 4
%18 = fpext float %17 to double
%19 = load float, ptr %9, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %10, align 4
%22 = fpext float %21 to double
%23 = load float, ptr %11, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str, double noundef %18, double noundef %20, double noundef %22, double noundef %24)
store i32 0, ptr %16, align 4
%26 = load i32, ptr %16, align 4
%27 = icmp slt i32 %26, 12
br i1 %27, label %.lr.ph, label %38
.lr.ph: ; preds = %6
br label %28
28: ; preds = %.lr.ph, %33
%29 = load ptr, ptr %14, align 8
%30 = load float, ptr %12, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %29, double noundef %31)
br label %33
33: ; preds = %28
%34 = load i32, ptr %16, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %16, align 4
%36 = load i32, ptr %16, align 4
%37 = icmp slt i32 %36, 12
br i1 %37, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %6
%39 = load ptr, ptr %14, align 8
%40 = load float, ptr %13, align 4
%41 = fpext float %40 to double
%42 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %39, double noundef %41)
%43 = load ptr, ptr %14, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = mul i64 %46, 1
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %15, align 8
%50 = load ptr, ptr %15, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %53, label %52
52: ; preds = %38
store ptr null, ptr %7, align 8
br label %67
53: ; preds = %38
%54 = load ptr, ptr %15, align 8
%55 = load ptr, ptr %14, align 8
%56 = load ptr, ptr %14, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = mul i64 %59, 1
%61 = trunc i64 %60 to i32
%62 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %53
store ptr null, ptr %7, align 8
br label %67
65: ; preds = %53
%66 = load ptr, ptr %15, align 8
store ptr %66, ptr %7, align 8
br label %67
67: ; preds = %65, %64, %52
%68 = load ptr, ptr %7, align 8
ret ptr %68
}
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ctngn_1.c'
source_filename = "/tmp/tmp2ctngn_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"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getPageNumber(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [101 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, 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
store i32 -1, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 101, i1 false)
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %125, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 32
br i1 %18, label %19, label %123
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 9
br i1 %26, label %27, label %123
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 46
br i1 %34, label %35, label %123
35: ; preds = %27
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 48
br i1 %42, label %43, label %123
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 49
br i1 %50, label %51, label %123
51: ; preds = %43
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 50
br i1 %58, label %59, label %123
59: ; preds = %51
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 51
br i1 %66, label %67, label %123
67: ; preds = %59
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 52
br i1 %74, label %75, label %123
75: ; preds = %67
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 53
br i1 %82, label %83, label %123
83: ; preds = %75
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp ne i32 %89, 54
br i1 %90, label %91, label %123
91: ; preds = %83
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp ne i32 %97, 55
br i1 %98, label %99, label %123
99: ; preds = %91
%100 = load ptr, ptr %3, align 8
%101 = load i32, ptr %5, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %105, 56
br i1 %106, label %107, label %123
107: ; preds = %99
%108 = load ptr, ptr %3, align 8
%109 = load i32, ptr %5, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 57
br i1 %114, label %115, label %123
115: ; preds = %107
%116 = load ptr, ptr %3, align 8
%117 = load i32, ptr %5, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br label %123
123: ; preds = %115, %107, %99, %91, %83, %75, %67, %59, %51, %43, %35, %27, %19, %11
%124 = phi i1 [ false, %107 ], [ false, %99 ], [ false, %91 ], [ false, %83 ], [ false, %75 ], [ false, %67 ], [ false, %59 ], [ false, %51 ], [ false, %43 ], [ false, %35 ], [ false, %27 ], [ false, %19 ], [ false, %11 ], [ %122, %115 ]
br i1 %124, label %125, label %128
125: ; preds = %123
%126 = load i32, ptr %5, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %5, align 4
br label %11, !llvm.loop !6
128: ; preds = %123
%129 = load i32, ptr %5, align 4
store i32 %129, ptr %6, align 4
br label %130
130: ; preds = %156, %128
%131 = load ptr, ptr %3, align 8
%132 = load i32, ptr %5, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %131, i64 %133
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 32
br i1 %137, label %154, label %138
138: ; preds = %130
%139 = load ptr, ptr %3, align 8
%140 = load i32, ptr %5, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %139, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 9
br i1 %145, label %154, label %146
146: ; preds = %138
%147 = load ptr, ptr %3, align 8
%148 = load i32, ptr %5, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, ptr %147, i64 %149
%151 = load i8, ptr %150, align 1
%152 = sext i8 %151 to i32
%153 = icmp eq i32 %152, 46
br label %154
154: ; preds = %146, %138, %130
%155 = phi i1 [ true, %138 ], [ true, %130 ], [ %153, %146 ]
br i1 %155, label %156, label %159
156: ; preds = %154
%157 = load i32, ptr %5, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %5, align 4
br label %130, !llvm.loop !8
159: ; preds = %154
%160 = load i32, ptr %5, align 4
store i32 %160, ptr %6, align 4
br label %161
161: ; preds = %243, %159
%162 = load ptr, ptr %3, align 8
%163 = load i32, ptr %5, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 48
br i1 %168, label %241, label %169
169: ; preds = %161
%170 = load ptr, ptr %3, align 8
%171 = load i32, ptr %5, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i8, ptr %170, i64 %172
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp eq i32 %175, 49
br i1 %176, label %241, label %177
177: ; preds = %169
%178 = load ptr, ptr %3, align 8
%179 = load i32, ptr %5, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8, ptr %178, i64 %180
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp eq i32 %183, 50
br i1 %184, label %241, label %185
185: ; preds = %177
%186 = load ptr, ptr %3, align 8
%187 = load i32, ptr %5, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %186, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 51
br i1 %192, label %241, label %193
193: ; preds = %185
%194 = load ptr, ptr %3, align 8
%195 = load i32, ptr %5, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i8, ptr %194, i64 %196
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 52
br i1 %200, label %241, label %201
201: ; preds = %193
%202 = load ptr, ptr %3, align 8
%203 = load i32, ptr %5, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, ptr %202, i64 %204
%206 = load i8, ptr %205, align 1
%207 = sext i8 %206 to i32
%208 = icmp eq i32 %207, 53
br i1 %208, label %241, label %209
209: ; preds = %201
%210 = load ptr, ptr %3, align 8
%211 = load i32, ptr %5, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds i8, ptr %210, i64 %212
%214 = load i8, ptr %213, align 1
%215 = sext i8 %214 to i32
%216 = icmp eq i32 %215, 54
br i1 %216, label %241, label %217
217: ; preds = %209
%218 = load ptr, ptr %3, align 8
%219 = load i32, ptr %5, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, ptr %218, i64 %220
%222 = load i8, ptr %221, align 1
%223 = sext i8 %222 to i32
%224 = icmp eq i32 %223, 55
br i1 %224, label %241, label %225
225: ; preds = %217
%226 = load ptr, ptr %3, align 8
%227 = load i32, ptr %5, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds i8, ptr %226, i64 %228
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = icmp eq i32 %231, 56
br i1 %232, label %241, label %233
233: ; preds = %225
%234 = load ptr, ptr %3, align 8
%235 = load i32, ptr %5, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds i8, ptr %234, i64 %236
%238 = load i8, ptr %237, align 1
%239 = sext i8 %238 to i32
%240 = icmp eq i32 %239, 57
br label %241
241: ; preds = %233, %225, %217, %209, %201, %193, %185, %177, %169, %161
%242 = phi i1 [ true, %225 ], [ true, %217 ], [ true, %209 ], [ true, %201 ], [ true, %193 ], [ true, %185 ], [ true, %177 ], [ true, %169 ], [ true, %161 ], [ %240, %233 ]
br i1 %242, label %243, label %246
243: ; preds = %241
%244 = load i32, ptr %5, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %5, align 4
br label %161, !llvm.loop !9
246: ; preds = %241
%247 = load i32, ptr %5, align 4
%248 = load i32, ptr %6, align 4
%249 = icmp sgt i32 %247, %248
br i1 %249, label %250, label %275
250: ; preds = %246
store i32 0, ptr %7, align 4
br label %251
251: ; preds = %255, %250
%252 = load i32, ptr %6, align 4
%253 = load i32, ptr %5, align 4
%254 = icmp sle i32 %252, %253
br i1 %254, label %255, label %268
255: ; preds = %251
%256 = load ptr, ptr %3, align 8
%257 = load i32, ptr %6, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i8, ptr %256, i64 %258
%260 = load i8, ptr %259, align 1
%261 = load i32, ptr %7, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 %262
store i8 %260, ptr %263, align 1
%264 = load i32, ptr %7, align 4
%265 = add nsw i32 %264, 1
store i32 %265, ptr %7, align 4
%266 = load i32, ptr %6, align 4
%267 = add nsw i32 %266, 1
store i32 %267, ptr %6, align 4
br label %251, !llvm.loop !10
268: ; preds = %251
%269 = load i32, ptr %7, align 4
%270 = sub nsw i32 %269, 1
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 %271
store i8 0, ptr %272, align 1
%273 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 0
%274 = call i32 @sscanf(ptr noundef %273, ptr noundef @.str, ptr noundef %8)
br label %275
275: ; preds = %268, %246
%276 = load i32, ptr %8, align 4
ret i32 %276
}
; 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 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ctngn_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"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getPageNumber(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [101 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, 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
store i32 -1, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 101, i1 false)
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %125, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 32
br i1 %18, label %19, label %123
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 9
br i1 %26, label %27, label %123
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 46
br i1 %34, label %35, label %123
35: ; preds = %27
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 48
br i1 %42, label %43, label %123
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 49
br i1 %50, label %51, label %123
51: ; preds = %43
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 50
br i1 %58, label %59, label %123
59: ; preds = %51
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 51
br i1 %66, label %67, label %123
67: ; preds = %59
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 52
br i1 %74, label %75, label %123
75: ; preds = %67
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 53
br i1 %82, label %83, label %123
83: ; preds = %75
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp ne i32 %89, 54
br i1 %90, label %91, label %123
91: ; preds = %83
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp ne i32 %97, 55
br i1 %98, label %99, label %123
99: ; preds = %91
%100 = load ptr, ptr %3, align 8
%101 = load i32, ptr %5, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %105, 56
br i1 %106, label %107, label %123
107: ; preds = %99
%108 = load ptr, ptr %3, align 8
%109 = load i32, ptr %5, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 57
br i1 %114, label %115, label %123
115: ; preds = %107
%116 = load ptr, ptr %3, align 8
%117 = load i32, ptr %5, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br label %123
123: ; preds = %115, %107, %99, %91, %83, %75, %67, %59, %51, %43, %35, %27, %19, %11
%124 = phi i1 [ false, %107 ], [ false, %99 ], [ false, %91 ], [ false, %83 ], [ false, %75 ], [ false, %67 ], [ false, %59 ], [ false, %51 ], [ false, %43 ], [ false, %35 ], [ false, %27 ], [ false, %19 ], [ false, %11 ], [ %122, %115 ]
br i1 %124, label %125, label %128
125: ; preds = %123
%126 = load i32, ptr %5, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %5, align 4
br label %11, !llvm.loop !6
128: ; preds = %123
%129 = load i32, ptr %5, align 4
store i32 %129, ptr %6, align 4
br label %130
130: ; preds = %156, %128
%131 = load ptr, ptr %3, align 8
%132 = load i32, ptr %5, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %131, i64 %133
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 32
br i1 %137, label %154, label %138
138: ; preds = %130
%139 = load ptr, ptr %3, align 8
%140 = load i32, ptr %5, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %139, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 9
br i1 %145, label %154, label %146
146: ; preds = %138
%147 = load ptr, ptr %3, align 8
%148 = load i32, ptr %5, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, ptr %147, i64 %149
%151 = load i8, ptr %150, align 1
%152 = sext i8 %151 to i32
%153 = icmp eq i32 %152, 46
br label %154
154: ; preds = %146, %138, %130
%155 = phi i1 [ true, %138 ], [ true, %130 ], [ %153, %146 ]
br i1 %155, label %156, label %159
156: ; preds = %154
%157 = load i32, ptr %5, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %5, align 4
br label %130, !llvm.loop !8
159: ; preds = %154
%160 = load i32, ptr %5, align 4
store i32 %160, ptr %6, align 4
br label %161
161: ; preds = %243, %159
%162 = load ptr, ptr %3, align 8
%163 = load i32, ptr %5, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 48
br i1 %168, label %241, label %169
169: ; preds = %161
%170 = load ptr, ptr %3, align 8
%171 = load i32, ptr %5, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i8, ptr %170, i64 %172
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp eq i32 %175, 49
br i1 %176, label %241, label %177
177: ; preds = %169
%178 = load ptr, ptr %3, align 8
%179 = load i32, ptr %5, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8, ptr %178, i64 %180
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp eq i32 %183, 50
br i1 %184, label %241, label %185
185: ; preds = %177
%186 = load ptr, ptr %3, align 8
%187 = load i32, ptr %5, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %186, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 51
br i1 %192, label %241, label %193
193: ; preds = %185
%194 = load ptr, ptr %3, align 8
%195 = load i32, ptr %5, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i8, ptr %194, i64 %196
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 52
br i1 %200, label %241, label %201
201: ; preds = %193
%202 = load ptr, ptr %3, align 8
%203 = load i32, ptr %5, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, ptr %202, i64 %204
%206 = load i8, ptr %205, align 1
%207 = sext i8 %206 to i32
%208 = icmp eq i32 %207, 53
br i1 %208, label %241, label %209
209: ; preds = %201
%210 = load ptr, ptr %3, align 8
%211 = load i32, ptr %5, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds i8, ptr %210, i64 %212
%214 = load i8, ptr %213, align 1
%215 = sext i8 %214 to i32
%216 = icmp eq i32 %215, 54
br i1 %216, label %241, label %217
217: ; preds = %209
%218 = load ptr, ptr %3, align 8
%219 = load i32, ptr %5, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, ptr %218, i64 %220
%222 = load i8, ptr %221, align 1
%223 = sext i8 %222 to i32
%224 = icmp eq i32 %223, 55
br i1 %224, label %241, label %225
225: ; preds = %217
%226 = load ptr, ptr %3, align 8
%227 = load i32, ptr %5, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds i8, ptr %226, i64 %228
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = icmp eq i32 %231, 56
br i1 %232, label %241, label %233
233: ; preds = %225
%234 = load ptr, ptr %3, align 8
%235 = load i32, ptr %5, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds i8, ptr %234, i64 %236
%238 = load i8, ptr %237, align 1
%239 = sext i8 %238 to i32
%240 = icmp eq i32 %239, 57
br label %241
241: ; preds = %233, %225, %217, %209, %201, %193, %185, %177, %169, %161
%242 = phi i1 [ true, %225 ], [ true, %217 ], [ true, %209 ], [ true, %201 ], [ true, %193 ], [ true, %185 ], [ true, %177 ], [ true, %169 ], [ true, %161 ], [ %240, %233 ]
br i1 %242, label %243, label %246
243: ; preds = %241
%244 = load i32, ptr %5, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %5, align 4
br label %161, !llvm.loop !9
246: ; preds = %241
%247 = load i32, ptr %5, align 4
%248 = load i32, ptr %6, align 4
%249 = icmp sgt i32 %247, %248
br i1 %249, label %250, label %277
250: ; preds = %246
store i32 0, ptr %7, align 4
%251 = load i32, ptr %6, align 4
%252 = load i32, ptr %5, align 4
%253 = icmp sle i32 %251, %252
br i1 %253, label %.lr.ph, label %270
.lr.ph: ; preds = %250
br label %254
254: ; preds = %.lr.ph, %254
%255 = load ptr, ptr %3, align 8
%256 = load i32, ptr %6, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i8, ptr %255, i64 %257
%259 = load i8, ptr %258, align 1
%260 = load i32, ptr %7, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 %261
store i8 %259, ptr %262, align 1
%263 = load i32, ptr %7, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %7, align 4
%265 = load i32, ptr %6, align 4
%266 = add nsw i32 %265, 1
store i32 %266, ptr %6, align 4
%267 = load i32, ptr %6, align 4
%268 = load i32, ptr %5, align 4
%269 = icmp sle i32 %267, %268
br i1 %269, label %254, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %254
br label %270
270: ; preds = %._crit_edge, %250
%271 = load i32, ptr %7, align 4
%272 = sub nsw i32 %271, 1
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 %273
store i8 0, ptr %274, align 1
%275 = getelementptr inbounds [101 x i8], ptr %9, i64 0, i64 0
%276 = call i32 @sscanf(ptr noundef %275, ptr noundef @.str, ptr noundef %8)
br label %277
277: ; preds = %270, %246
%278 = load i32, ptr %8, align 4
ret i32 %278
}
; 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 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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}
|
; ModuleID = '/tmp/tmppxts30jz.c'
source_filename = "/tmp/tmppxts30jz.c"
target datalayout = "e-m:e-p270: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/tmppxts30jz.c"
target datalayout = "e-m:e-p270: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/tmpzox4qll6.c'
source_filename = "/tmp/tmpzox4qll6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdSurEncPhase2_D2_13_15(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 7, ptr %3, align 4
br label %4
4: ; preds = %26, %1
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %29
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = and i32 %8, 1
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i32, ptr %3, align 4
%17 = call i32 @Common_D2_13_15(ptr noundef %13, ptr noundef %15, i32 noundef %16)
br label %25
18: ; preds = %7
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 8
%23 = load i32, ptr %3, align 4
%24 = call i32 @Common_D2_13_15(ptr noundef %20, ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %18, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %3, align 4
br label %4, !llvm.loop !6
29: ; preds = %4
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 8
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
%34 = call i32 @ExchangeCWs(ptr noundef %31, ptr noundef %33)
ret void
}
declare i32 @Common_D2_13_15(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ExchangeCWs(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzox4qll6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdSurEncPhase2_D2_13_15(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 7, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %25
%7 = load i32, ptr %3, align 4
%8 = and i32 %7, 1
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @Common_D2_13_15(ptr noundef %12, ptr noundef %14, i32 noundef %15)
br label %24
17: ; preds = %6
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 8
%22 = load i32, ptr %3, align 4
%23 = call i32 @Common_D2_13_15(ptr noundef %19, ptr noundef %21, i32 noundef %22)
br label %24
24: ; preds = %17, %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %1
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = call i32 @ExchangeCWs(ptr noundef %32, ptr noundef %34)
ret void
}
declare i32 @Common_D2_13_15(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ExchangeCWs(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4nkfedp9.c'
source_filename = "/tmp/tmp4nkfedp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64encode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%9 = call i32 (...) @BIO_f_base64()
%10 = call ptr @BIO_new(i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%13 = call i32 @BIO_set_flags(ptr noundef %11, i32 noundef %12)
%14 = call i32 (...) @BIO_s_mem()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @BIO_push(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @BIO_write(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @BIO_flush(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @BIO_get_mem_ptr(ptr noundef %25, ptr noundef %7)
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %29, 1
%31 = call ptr @malloc(i32 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i32 0, i32 1
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.TYPE_3__, ptr %36, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @bcopy(i32 noundef %34, ptr noundef %35, i32 noundef %38)
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %40, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %6, align 8
%47 = call i32 @BIO_free_all(ptr noundef %46)
%48 = load ptr, ptr %8, align 8
ret ptr %48
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @BIO_flush(ptr noundef) #1
declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bcopy(i32 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/tmp4nkfedp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64encode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%9 = call i32 (...) @BIO_f_base64()
%10 = call ptr @BIO_new(i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%13 = call i32 @BIO_set_flags(ptr noundef %11, i32 noundef %12)
%14 = call i32 (...) @BIO_s_mem()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @BIO_push(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @BIO_write(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @BIO_flush(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @BIO_get_mem_ptr(ptr noundef %25, ptr noundef %7)
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %29, 1
%31 = call ptr @malloc(i32 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i32 0, i32 1
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.TYPE_3__, ptr %36, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @bcopy(i32 noundef %34, ptr noundef %35, i32 noundef %38)
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %40, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %6, align 8
%47 = call i32 @BIO_free_all(ptr noundef %46)
%48 = load ptr, ptr %8, align 8
ret ptr %48
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @BIO_flush(ptr noundef) #1
declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bcopy(i32 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/tmpwgd0eumw.c'
source_filename = "/tmp/tmpwgd0eumw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hexEncodeValidate(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr null, %4
br i1 %5, label %16, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 0, %9
br i1 %10, label %16, label %11
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = srem i32 %13, 2
%15 = icmp ne i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %6, %1
store i32 0, ptr %2, align 4
br label %32
17: ; preds = %11
br label %18
18: ; preds = %30, %17
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
%25 = load i8, ptr %23, align 1
%26 = sext i8 %25 to i32
%27 = call i32 @isxdigit(i32 noundef %26) #3
%28 = icmp ne i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %22
store i32 0, ptr %2, align 4
br label %32
30: ; preds = %22
br label %18, !llvm.loop !6
31: ; preds = %18
store i32 1, ptr %2, align 4
br label %32
32: ; preds = %31, %29, %16
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwgd0eumw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hexEncodeValidate(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr null, %4
br i1 %5, label %16, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 0, %9
br i1 %10, label %16, label %11
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = srem i32 %13, 2
%15 = icmp ne i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %6, %1
store i32 0, ptr %2, align 4
br label %34
17: ; preds = %11
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %.lr.ph, label %33
.lr.ph: ; preds = %17
br label %25
21: ; preds = %25
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %._crit_edge, !llvm.loop !6
25: ; preds = %.lr.ph, %21
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %3, align 8
%28 = load i8, ptr %26, align 1
%29 = sext i8 %28 to i32
%30 = call i32 @isxdigit(i32 noundef %29) #3
%31 = icmp ne i32 %30, 0
br i1 %31, label %21, label %32
32: ; preds = %25
store i32 0, ptr %2, align 4
br label %34
._crit_edge: ; preds = %21
br label %33
33: ; preds = %._crit_edge, %17
store i32 1, ptr %2, align 4
br label %34
34: ; preds = %33, %32, %16
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplckkp1sq.c'
source_filename = "/tmp/tmplckkp1sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in GERMANY.\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"I am back in GERMANY.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @germany() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @india()
%3 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @india(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplckkp1sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in GERMANY.\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"I am back in GERMANY.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @germany() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @india()
%3 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @india(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcg38m_pi.c'
source_filename = "/tmp/tmpcg38m_pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"E natal!\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"E vespera de natal!\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Ja passou!\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Faltam %d dias para o natal!\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 [13 x i32], align 16
%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 %5, i8 0, i64 52, i1 false)
%8 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 1
store i32 31, ptr %8, align 4
%9 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 2
store i32 29, ptr %9, align 8
%10 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 3
store i32 31, ptr %10, align 4
%11 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 4
store i32 30, ptr %11, align 16
%12 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 5
store i32 31, ptr %12, align 4
%13 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 6
store i32 30, ptr %13, align 8
%14 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 7
store i32 31, ptr %14, align 4
%15 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 8
store i32 31, ptr %15, align 16
%16 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 9
store i32 30, ptr %16, align 4
%17 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 10
store i32 31, ptr %17, align 8
%18 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 11
store i32 30, ptr %18, align 4
%19 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 12
store i32 31, ptr %19, align 16
store i32 360, ptr %7, align 4
br label %20
20: ; preds = %72, %0
%21 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2)
%22 = load i64, ptr @EOF, align 8
%23 = icmp ne i64 %21, %22
br i1 %23, label %24, label %73
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, 12
br i1 %26, label %27, label %49
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 25
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
32: ; preds = %27
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 24
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %47
37: ; preds = %32
%38 = load i32, ptr %2, align 4
%39 = icmp sgt i32 %38, 25
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %46
42: ; preds = %37
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 25, %43
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44)
br label %46
46: ; preds = %42, %40
br label %47
47: ; preds = %46, %35
br label %48
48: ; preds = %47, %30
br label %72
49: ; preds = %24
store i32 0, ptr %4, align 4
store i32 1, ptr %6, align 4
br label %50
50: ; preds = %61, %49
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %64
54: ; preds = %50
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %4, align 4
br label %61
61: ; preds = %54
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %50, !llvm.loop !6
64: ; preds = %50
%65 = load i32, ptr %2, align 4
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, %65
store i32 %67, ptr %4, align 4
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %4, align 4
%70 = sub nsw i32 %68, %69
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %70)
br label %72
72: ; preds = %64, %48
br label %20, !llvm.loop !8
73: ; preds = %20
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcg38m_pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"E natal!\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"E vespera de natal!\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Ja passou!\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Faltam %d dias para o natal!\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 [13 x i32], align 16
%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 %5, i8 0, i64 52, i1 false)
%8 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 1
store i32 31, ptr %8, align 4
%9 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 2
store i32 29, ptr %9, align 8
%10 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 3
store i32 31, ptr %10, align 4
%11 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 4
store i32 30, ptr %11, align 16
%12 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 5
store i32 31, ptr %12, align 4
%13 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 6
store i32 30, ptr %13, align 8
%14 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 7
store i32 31, ptr %14, align 4
%15 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 8
store i32 31, ptr %15, align 16
%16 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 9
store i32 30, ptr %16, align 4
%17 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 10
store i32 31, ptr %17, align 8
%18 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 11
store i32 30, ptr %18, align 4
%19 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 12
store i32 31, ptr %19, align 16
store i32 360, ptr %7, align 4
%20 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2)
%21 = load i64, ptr @EOF, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %.lr.ph2, label %77
.lr.ph2: ; preds = %0
br label %23
23: ; preds = %.lr.ph2, %73
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 12
br i1 %25, label %26, label %48
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 25
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
31: ; preds = %26
%32 = load i32, ptr %2, align 4
%33 = icmp eq i32 %32, 24
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %46
36: ; preds = %31
%37 = load i32, ptr %2, align 4
%38 = icmp sgt i32 %37, 25
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
41: ; preds = %36
%42 = load i32, ptr %2, align 4
%43 = sub nsw i32 25, %42
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
br label %45
45: ; preds = %41, %39
br label %46
46: ; preds = %45, %34
br label %47
47: ; preds = %46, %29
br label %73
48: ; preds = %23
store i32 0, ptr %4, align 4
store i32 1, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %65
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %59
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, %56
store i32 %58, ptr %4, align 4
br label %59
59: ; preds = %52
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %48
%66 = load i32, ptr %2, align 4
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, %66
store i32 %68, ptr %4, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %4, align 4
%71 = sub nsw i32 %69, %70
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %71)
br label %73
73: ; preds = %65, %47
%74 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2)
%75 = load i64, ptr @EOF, align 8
%76 = icmp ne i64 %74, %75
br i1 %76, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %77
77: ; preds = %._crit_edge3, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpf6yux38k.c'
source_filename = "/tmp/tmpf6yux38k.c"
target datalayout = "e-m:e-p270: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/tmpf6yux38k.c"
target datalayout = "e-m:e-p270: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/tmpys49m_s4.c'
source_filename = "/tmp/tmpys49m_s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Substring2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @GetStringLength(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %21, label %13
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp sgt i32 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %16, %13, %3
%22 = load ptr, ptr %5, align 8
%23 = call ptr @ReturnNullMallocStack(ptr noundef %22)
store ptr %23, ptr %4, align 8
br label %32
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = sub nsw i32 %28, %29
%31 = call ptr @Substring(ptr noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef %30)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %24, %21
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
declare i32 @GetStringLength(ptr noundef) #1
declare ptr @ReturnNullMallocStack(ptr noundef) #1
declare ptr @Substring(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpys49m_s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Substring2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @GetStringLength(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %21, label %13
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp sgt i32 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %16, %13, %3
%22 = load ptr, ptr %5, align 8
%23 = call ptr @ReturnNullMallocStack(ptr noundef %22)
store ptr %23, ptr %4, align 8
br label %32
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = sub nsw i32 %28, %29
%31 = call ptr @Substring(ptr noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef %30)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %24, %21
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
declare i32 @GetStringLength(ptr noundef) #1
declare ptr @ReturnNullMallocStack(ptr noundef) #1
declare ptr @Substring(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgl4b7fgj.c'
source_filename = "/tmp/tmpgl4b7fgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, -806125863
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/tmpgl4b7fgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, -806125863
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/tmpy29vfyj1.c'
source_filename = "/tmp/tmpy29vfyj1.c"
target datalayout = "e-m:e-p270: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/tmpy29vfyj1.c"
target datalayout = "e-m:e-p270: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/tmp08shtbmt.c'
source_filename = "/tmp/tmp08shtbmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo3(i32 noundef 97)
ret i32 0
}
declare i32 @foo3(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/tmp08shtbmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo3(i32 noundef 97)
ret i32 0
}
declare i32 @foo3(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/tmpwi38t8ez.c'
source_filename = "/tmp/tmpwi38t8ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"e %d %d %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"d %d %d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"u %d %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GP_add_edge_s(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %7, align 4
%12 = icmp eq i32 %11, 265
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, ptr noundef %16)
br label %37
18: ; preds = %5
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 266
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = load ptr, ptr %10, align 8
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23, ptr noundef %24)
br label %36
26: ; preds = %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 267
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %31, ptr noundef %32)
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %29
br label %36
36: ; preds = %35, %21
br label %37
37: ; preds = %36, %13
%38 = load ptr, ptr %10, align 8
%39 = call i32 @free(ptr noundef %38)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwi38t8ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"e %d %d %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"d %d %d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"u %d %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GP_add_edge_s(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %7, align 4
%12 = icmp eq i32 %11, 265
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, ptr noundef %16)
br label %37
18: ; preds = %5
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 266
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = load ptr, ptr %10, align 8
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23, ptr noundef %24)
br label %36
26: ; preds = %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 267
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %31, ptr noundef %32)
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %29
br label %36
36: ; preds = %35, %21
br label %37
37: ; preds = %36, %13
%38 = load ptr, ptr %10, align 8
%39 = call i32 @free(ptr noundef %38)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.