llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp5lu5v0qh.c'
source_filename = "/tmp/tmp5lu5v0qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5lu5v0qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps74938sd.c'
source_filename = "/tmp/tmps74938sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_d_parse_noun(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @__d_parse_noun(ptr noundef %9, ptr noundef %8)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %16
13: ; preds = %3
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %7, align 8
store i32 %14, ptr %15, align 4
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %13, %12
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i64 @__d_parse_noun(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/tmps74938sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_d_parse_noun(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @__d_parse_noun(ptr noundef %9, ptr noundef %8)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %16
13: ; preds = %3
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %7, align 8
store i32 %14, ptr %15, align 4
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %13, %12
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i64 @__d_parse_noun(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/tmpemkcweo_.c'
source_filename = "/tmp/tmpemkcweo_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consoleCmdGetHistory() #0 {
%1 = call i32 (...) @consoleGetHistoryMaxCount()
ret i32 %1
}
declare i32 @consoleGetHistoryMaxCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemkcweo_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consoleCmdGetHistory() #0 {
%1 = call i32 (...) @consoleGetHistoryMaxCount()
ret i32 %1
}
declare i32 @consoleGetHistoryMaxCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6m0_0_z8.c'
source_filename = "/tmp/tmp6m0_0_z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f288(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 @f287(ptr noundef %3)
ret i32 %4
}
declare i32 @f287(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6m0_0_z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f288(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 @f287(ptr noundef %3)
ret i32 %4
}
declare i32 @f287(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgzviw7j5.c'
source_filename = "/tmp/tmpgzviw7j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"Thread %d -> ERROR 08: cannot allocate memory for buffer.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Thread %d -> file selected: %s\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Thread %d -> file doesn't exist\0A\00", align 1
@.str.3 = private unnamed_addr constant [55 x i8] c"Thread %d -> the file exists, sending notification...\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"+OK\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"Thread %d -> ERROR 09: error during sending \22+OK\22 reply.\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Thread %d -> [OK]\0A\00", align 1
@.str.7 = private unnamed_addr constant [49 x i8] c"Thread %d -> get the information of the file...\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Cannot open file descriptor\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"Thread %d -> send dimension of the file...\0A\00", align 1
@.str.10 = private unnamed_addr constant [73 x i8] c"Thread %d -> ERROR 10: error during sending information about the file.\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"Thread %d -> dimension sent, value:%ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"Thread %d -> send the selected file...\0A\00", align 1
@.str.13 = private unnamed_addr constant [55 x i8] c"Thread %d -> ERROR 11: error during sending the file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_management(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca %struct.stat, align 8
%13 = alloca i8, align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%14 = call i64 @malloc(i32 noundef 1024)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr %7, align 4
%21 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %135
22: ; preds = %3
%23 = load i32, ptr @stdout, align 4
%24 = load i32, ptr %7, align 4
%25 = load ptr, ptr %6, align 8
%26 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1, i32 noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr @O_RDONLY, align 4
%29 = call i32 @open(ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %44
32: ; preds = %22
%33 = load i32, ptr @stdout, align 4
%34 = load i32, ptr %7, align 4
%35 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2, i32 noundef %34)
%36 = load ptr, ptr %10, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load i32, ptr %8, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = call i32 @get_management_to_other_servers(i32 noundef %40, ptr noundef %41, i32 noundef %42)
store i32 %43, ptr %4, align 4
br label %135
44: ; preds = %22
%45 = load i32, ptr @stdout, align 4
%46 = load i32, ptr %7, align 4
%47 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %45, ptr noundef @.str.3, i32 noundef %46)
%48 = load ptr, ptr %10, align 8
%49 = call i32 @clean_buff(ptr noundef %48)
%50 = load i32, ptr %5, align 4
%51 = call i32 @strlen(ptr noundef @.str.4)
%52 = call i64 @send_stuff(i32 noundef %50, ptr noundef @.str.4, i32 noundef %51)
store i64 %52, ptr %11, align 8
%53 = load i64, ptr %11, align 8
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %44
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %56, ptr noundef @.str.5, i32 noundef %57)
%59 = load ptr, ptr %10, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %135
61: ; preds = %44
%62 = load i32, ptr @stdout, align 4
%63 = load i32, ptr %7, align 4
%64 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %62, ptr noundef @.str.6, i32 noundef %63)
%65 = load i32, ptr @stdout, align 4
%66 = load i32, ptr %7, align 4
%67 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %65, ptr noundef @.str.7, i32 noundef %66)
%68 = load i32, ptr %8, align 4
%69 = call i32 @fstat(i32 noundef %68, ptr noundef %12)
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %77
71: ; preds = %61
%72 = call i32 @perror(ptr noundef @.str.8)
%73 = load ptr, ptr %10, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = load i32, ptr %8, align 4
%76 = call i32 @close(i32 noundef %75)
store i32 -1, ptr %4, align 4
br label %135
77: ; preds = %61
%78 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%79 = load i64, ptr %78, align 8
store i64 %79, ptr %9, align 8
%80 = load i32, ptr @stdout, align 4
%81 = load i32, ptr %7, align 4
%82 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %80, ptr noundef @.str.6, i32 noundef %81)
%83 = load i64, ptr %9, align 8
%84 = trunc i64 %83 to i8
%85 = call signext i8 @htonl(i8 noundef signext %84)
store i8 %85, ptr %13, align 1
%86 = load i32, ptr @stdout, align 4
%87 = load i32, ptr %7, align 4
%88 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %86, ptr noundef @.str.9, i32 noundef %87)
%89 = load ptr, ptr %10, align 8
%90 = call i32 @clean_buff(ptr noundef %89)
%91 = load i32, ptr %5, align 4
%92 = call i64 @send_stuff(i32 noundef %91, ptr noundef %13, i32 noundef 1)
store i64 %92, ptr %11, align 8
%93 = load i64, ptr %11, align 8
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %103
95: ; preds = %77
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr %7, align 4
%98 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %96, ptr noundef @.str.10, i32 noundef %97)
%99 = load ptr, ptr %10, align 8
%100 = call i32 @free(ptr noundef %99)
%101 = load i32, ptr %8, align 4
%102 = call i32 @close(i32 noundef %101)
store i32 -2, ptr %4, align 4
br label %135
103: ; preds = %77
%104 = load i32, ptr @stdout, align 4
%105 = load i32, ptr %7, align 4
%106 = load i64, ptr %9, align 8
%107 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %104, ptr noundef @.str.11, i32 noundef %105, i64 noundef %106)
%108 = load i32, ptr @stdout, align 4
%109 = load i32, ptr %7, align 4
%110 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %108, ptr noundef @.str.6, i32 noundef %109)
%111 = load i32, ptr @stdout, align 4
%112 = load i32, ptr %7, align 4
%113 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %111, ptr noundef @.str.12, i32 noundef %112)
%114 = load ptr, ptr %10, align 8
%115 = call i32 @clean_buff(ptr noundef %114)
%116 = load i32, ptr %5, align 4
%117 = load i32, ptr %8, align 4
%118 = load i64, ptr %9, align 8
%119 = call i64 @send_file(i32 noundef %116, i32 noundef %117, i64 noundef %118)
store i64 %119, ptr %11, align 8
%120 = load i64, ptr %11, align 8
%121 = load i64, ptr %9, align 8
%122 = icmp ne i64 %120, %121
br i1 %122, label %123, label %127
123: ; preds = %103
%124 = load i32, ptr @stderr, align 4
%125 = load i32, ptr %7, align 4
%126 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %124, ptr noundef @.str.13, i32 noundef %125)
store i32 -2, ptr %4, align 4
br label %135
127: ; preds = %103
%128 = load i32, ptr @stdout, align 4
%129 = load i32, ptr %7, align 4
%130 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %128, ptr noundef @.str.6, i32 noundef %129)
%131 = load ptr, ptr %10, align 8
%132 = call i32 @free(ptr noundef %131)
%133 = load i32, ptr %8, align 4
%134 = call i32 @close(i32 noundef %133)
store i32 1, ptr %4, align 4
br label %135
135: ; preds = %127, %123, %95, %71, %55, %32, %18
%136 = load i32, ptr %4, align 4
ret i32 %136
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @get_management_to_other_servers(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @clean_buff(ptr noundef) #1
declare i64 @send_stuff(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare signext i8 @htonl(i8 noundef signext) #1
declare i64 @send_file(i32 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/tmpgzviw7j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"Thread %d -> ERROR 08: cannot allocate memory for buffer.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Thread %d -> file selected: %s\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Thread %d -> file doesn't exist\0A\00", align 1
@.str.3 = private unnamed_addr constant [55 x i8] c"Thread %d -> the file exists, sending notification...\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"+OK\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"Thread %d -> ERROR 09: error during sending \22+OK\22 reply.\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Thread %d -> [OK]\0A\00", align 1
@.str.7 = private unnamed_addr constant [49 x i8] c"Thread %d -> get the information of the file...\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Cannot open file descriptor\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"Thread %d -> send dimension of the file...\0A\00", align 1
@.str.10 = private unnamed_addr constant [73 x i8] c"Thread %d -> ERROR 10: error during sending information about the file.\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"Thread %d -> dimension sent, value:%ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"Thread %d -> send the selected file...\0A\00", align 1
@.str.13 = private unnamed_addr constant [55 x i8] c"Thread %d -> ERROR 11: error during sending the file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_management(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca %struct.stat, align 8
%13 = alloca i8, align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%14 = call i64 @malloc(i32 noundef 1024)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr %7, align 4
%21 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %135
22: ; preds = %3
%23 = load i32, ptr @stdout, align 4
%24 = load i32, ptr %7, align 4
%25 = load ptr, ptr %6, align 8
%26 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1, i32 noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr @O_RDONLY, align 4
%29 = call i32 @open(ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %44
32: ; preds = %22
%33 = load i32, ptr @stdout, align 4
%34 = load i32, ptr %7, align 4
%35 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2, i32 noundef %34)
%36 = load ptr, ptr %10, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load i32, ptr %8, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = call i32 @get_management_to_other_servers(i32 noundef %40, ptr noundef %41, i32 noundef %42)
store i32 %43, ptr %4, align 4
br label %135
44: ; preds = %22
%45 = load i32, ptr @stdout, align 4
%46 = load i32, ptr %7, align 4
%47 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %45, ptr noundef @.str.3, i32 noundef %46)
%48 = load ptr, ptr %10, align 8
%49 = call i32 @clean_buff(ptr noundef %48)
%50 = load i32, ptr %5, align 4
%51 = call i32 @strlen(ptr noundef @.str.4)
%52 = call i64 @send_stuff(i32 noundef %50, ptr noundef @.str.4, i32 noundef %51)
store i64 %52, ptr %11, align 8
%53 = load i64, ptr %11, align 8
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %44
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %56, ptr noundef @.str.5, i32 noundef %57)
%59 = load ptr, ptr %10, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %135
61: ; preds = %44
%62 = load i32, ptr @stdout, align 4
%63 = load i32, ptr %7, align 4
%64 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %62, ptr noundef @.str.6, i32 noundef %63)
%65 = load i32, ptr @stdout, align 4
%66 = load i32, ptr %7, align 4
%67 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %65, ptr noundef @.str.7, i32 noundef %66)
%68 = load i32, ptr %8, align 4
%69 = call i32 @fstat(i32 noundef %68, ptr noundef %12)
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %77
71: ; preds = %61
%72 = call i32 @perror(ptr noundef @.str.8)
%73 = load ptr, ptr %10, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = load i32, ptr %8, align 4
%76 = call i32 @close(i32 noundef %75)
store i32 -1, ptr %4, align 4
br label %135
77: ; preds = %61
%78 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%79 = load i64, ptr %78, align 8
store i64 %79, ptr %9, align 8
%80 = load i32, ptr @stdout, align 4
%81 = load i32, ptr %7, align 4
%82 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %80, ptr noundef @.str.6, i32 noundef %81)
%83 = load i64, ptr %9, align 8
%84 = trunc i64 %83 to i8
%85 = call signext i8 @htonl(i8 noundef signext %84)
store i8 %85, ptr %13, align 1
%86 = load i32, ptr @stdout, align 4
%87 = load i32, ptr %7, align 4
%88 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %86, ptr noundef @.str.9, i32 noundef %87)
%89 = load ptr, ptr %10, align 8
%90 = call i32 @clean_buff(ptr noundef %89)
%91 = load i32, ptr %5, align 4
%92 = call i64 @send_stuff(i32 noundef %91, ptr noundef %13, i32 noundef 1)
store i64 %92, ptr %11, align 8
%93 = load i64, ptr %11, align 8
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %103
95: ; preds = %77
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr %7, align 4
%98 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %96, ptr noundef @.str.10, i32 noundef %97)
%99 = load ptr, ptr %10, align 8
%100 = call i32 @free(ptr noundef %99)
%101 = load i32, ptr %8, align 4
%102 = call i32 @close(i32 noundef %101)
store i32 -2, ptr %4, align 4
br label %135
103: ; preds = %77
%104 = load i32, ptr @stdout, align 4
%105 = load i32, ptr %7, align 4
%106 = load i64, ptr %9, align 8
%107 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %104, ptr noundef @.str.11, i32 noundef %105, i64 noundef %106)
%108 = load i32, ptr @stdout, align 4
%109 = load i32, ptr %7, align 4
%110 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %108, ptr noundef @.str.6, i32 noundef %109)
%111 = load i32, ptr @stdout, align 4
%112 = load i32, ptr %7, align 4
%113 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %111, ptr noundef @.str.12, i32 noundef %112)
%114 = load ptr, ptr %10, align 8
%115 = call i32 @clean_buff(ptr noundef %114)
%116 = load i32, ptr %5, align 4
%117 = load i32, ptr %8, align 4
%118 = load i64, ptr %9, align 8
%119 = call i64 @send_file(i32 noundef %116, i32 noundef %117, i64 noundef %118)
store i64 %119, ptr %11, align 8
%120 = load i64, ptr %11, align 8
%121 = load i64, ptr %9, align 8
%122 = icmp ne i64 %120, %121
br i1 %122, label %123, label %127
123: ; preds = %103
%124 = load i32, ptr @stderr, align 4
%125 = load i32, ptr %7, align 4
%126 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %124, ptr noundef @.str.13, i32 noundef %125)
store i32 -2, ptr %4, align 4
br label %135
127: ; preds = %103
%128 = load i32, ptr @stdout, align 4
%129 = load i32, ptr %7, align 4
%130 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %128, ptr noundef @.str.6, i32 noundef %129)
%131 = load ptr, ptr %10, align 8
%132 = call i32 @free(ptr noundef %131)
%133 = load i32, ptr %8, align 4
%134 = call i32 @close(i32 noundef %133)
store i32 1, ptr %4, align 4
br label %135
135: ; preds = %127, %123, %95, %71, %55, %32, %18
%136 = load i32, ptr %4, align 4
ret i32 %136
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @get_management_to_other_servers(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @clean_buff(ptr noundef) #1
declare i64 @send_stuff(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare signext i8 @htonl(i8 noundef signext) #1
declare i64 @send_file(i32 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/tmpdk2z1xdd.c'
source_filename = "/tmp/tmpdk2z1xdd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 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/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xa8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0xa8() #0 {
%1 = call i64 @islower(i32 noundef 168)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 845, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpdk2z1xdd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 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/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xa8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0xa8() #0 {
%1 = call i64 @islower(i32 noundef 168)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 845, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpzu4of0cw.c'
source_filename = "/tmp/tmpzu4of0cw.c"
target datalayout = "e-m:e-p270: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/tmpzu4of0cw.c"
target datalayout = "e-m:e-p270: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/tmpdavziddr.c'
source_filename = "/tmp/tmpdavziddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ln_solve_hyp_barker(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %7, align 8
%21 = fmul double %19, %20
store double %21, ptr %13, align 8
%22 = load double, ptr %13, align 8
%23 = call i32 @fabs(double noundef %22)
%24 = mul nsw i32 3, %23
%25 = sdiv i32 2, %24
%26 = sitofp i32 %25 to double
store double %26, ptr %8, align 8
%27 = load double, ptr %8, align 8
%28 = call i32 @atan(double noundef %27)
%29 = sdiv i32 %28, 2
%30 = call i32 @tan(i32 noundef %29)
%31 = call double @cbrt(i32 noundef %30)
%32 = call i32 @atan(double noundef %31)
%33 = mul nsw i32 2, %32
%34 = call i32 @tan(i32 noundef %33)
%35 = sdiv i32 2, %34
%36 = sitofp i32 %35 to double
store double %36, ptr %8, align 8
%37 = load double, ptr %7, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %39, label %42
39: ; preds = %3
%40 = load double, ptr %8, align 8
%41 = fneg double %40
store double %41, ptr %8, align 8
br label %42
42: ; preds = %39, %3
store i32 0, ptr %18, align 4
br label %43
43: ; preds = %133, %42
%44 = load double, ptr %8, align 8
store double %44, ptr %9, align 8
store i32 1, ptr %17, align 4
%45 = load double, ptr %8, align 8
%46 = load double, ptr %8, align 8
%47 = fmul double %45, %46
store double %47, ptr %11, align 8
%48 = load double, ptr %11, align 8
%49 = fneg double %48
%50 = load double, ptr %8, align 8
%51 = fmul double %49, %50
store double %51, ptr %12, align 8
%52 = load double, ptr %13, align 8
%53 = load double, ptr %6, align 8
%54 = fmul double 2.000000e+00, %53
%55 = load double, ptr %8, align 8
%56 = fmul double %54, %55
%57 = load double, ptr %11, align 8
%58 = fmul double %56, %57
%59 = fdiv double %58, 3.000000e+00
%60 = fadd double %52, %59
store double %60, ptr %14, align 8
br label %61
61: ; preds = %101, %43
%62 = load i32, ptr %17, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %17, align 4
%64 = load double, ptr %12, align 8
%65 = fneg double %64
%66 = load double, ptr %6, align 8
%67 = fmul double %65, %66
%68 = load double, ptr %11, align 8
%69 = fmul double %67, %68
store double %69, ptr %12, align 8
%70 = load i32, ptr %17, align 4
%71 = sitofp i32 %70 to double
%72 = load i32, ptr %17, align 4
%73 = add nsw i32 %72, 1
%74 = sitofp i32 %73 to double
%75 = load double, ptr %6, align 8
%76 = fneg double %74
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %71)
%78 = load i32, ptr %17, align 4
%79 = sitofp i32 %78 to double
%80 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %79, double 1.000000e+00)
%81 = fdiv double %77, %80
store double %81, ptr %15, align 8
%82 = load double, ptr %15, align 8
%83 = load double, ptr %12, align 8
%84 = fmul double %82, %83
store double %84, ptr %16, align 8
%85 = load double, ptr %14, align 8
%86 = load double, ptr %16, align 8
%87 = fadd double %85, %86
store double %87, ptr %14, align 8
%88 = load i32, ptr %17, align 4
%89 = icmp sgt i32 %88, 100
br i1 %89, label %94, label %90
90: ; preds = %61
%91 = load double, ptr %16, align 8
%92 = call i32 @fabs(double noundef %91)
%93 = icmp sgt i32 %92, 10000
br i1 %93, label %94, label %96
94: ; preds = %90, %61
%95 = call double @nan(ptr noundef @.str)
store double %95, ptr %4, align 8
br label %142
96: ; preds = %90
%97 = load double, ptr %16, align 8
%98 = call i32 @fabs(double noundef %97)
%99 = sitofp i32 %98 to double
%100 = fcmp ogt double %99, 1.000000e-10
br i1 %100, label %101, label %102
101: ; preds = %96
br label %61
102: ; preds = %96
%103 = load i32, ptr %18, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %18, align 4
%105 = load i32, ptr %18, align 4
%106 = icmp sgt i32 %105, 100
br i1 %106, label %107, label %109
107: ; preds = %102
%108 = call double @nan(ptr noundef @.str)
store double %108, ptr %4, align 8
br label %142
109: ; preds = %102
br label %110
110: ; preds = %125, %109
%111 = load double, ptr %8, align 8
store double %111, ptr %10, align 8
%112 = load double, ptr %8, align 8
%113 = fmul double 2.000000e+00, %112
%114 = load double, ptr %8, align 8
%115 = fmul double %113, %114
%116 = load double, ptr %8, align 8
%117 = fmul double %115, %116
%118 = fdiv double %117, 3.000000e+00
%119 = load double, ptr %14, align 8
%120 = fadd double %118, %119
%121 = load double, ptr %8, align 8
%122 = load double, ptr %8, align 8
%123 = call double @llvm.fmuladd.f64(double %121, double %122, double 1.000000e+00)
%124 = fdiv double %120, %123
store double %124, ptr %8, align 8
br label %125
125: ; preds = %110
%126 = load double, ptr %8, align 8
%127 = load double, ptr %10, align 8
%128 = fsub double %126, %127
%129 = call i32 @fabs(double noundef %128)
%130 = sitofp i32 %129 to double
%131 = fcmp ogt double %130, 1.000000e-10
br i1 %131, label %110, label %132, !llvm.loop !6
132: ; preds = %125
br label %133
133: ; preds = %132
%134 = load double, ptr %8, align 8
%135 = load double, ptr %9, align 8
%136 = fsub double %134, %135
%137 = call i32 @fabs(double noundef %136)
%138 = sitofp i32 %137 to double
%139 = fcmp ogt double %138, 1.000000e-10
br i1 %139, label %43, label %140, !llvm.loop !8
140: ; preds = %133
%141 = load double, ptr %8, align 8
store double %141, ptr %4, align 8
br label %142
142: ; preds = %140, %107, %94
%143 = load double, ptr %4, align 8
ret double %143
}
declare i32 @fabs(double noundef) #1
declare i32 @tan(i32 noundef) #1
declare i32 @atan(double noundef) #1
declare double @cbrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @nan(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdavziddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ln_solve_hyp_barker(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %7, align 8
%21 = fmul double %19, %20
store double %21, ptr %13, align 8
%22 = load double, ptr %13, align 8
%23 = call i32 @fabs(double noundef %22)
%24 = mul nsw i32 3, %23
%25 = sdiv i32 2, %24
%26 = sitofp i32 %25 to double
store double %26, ptr %8, align 8
%27 = load double, ptr %8, align 8
%28 = call i32 @atan(double noundef %27)
%29 = sdiv i32 %28, 2
%30 = call i32 @tan(i32 noundef %29)
%31 = call double @cbrt(i32 noundef %30)
%32 = call i32 @atan(double noundef %31)
%33 = mul nsw i32 2, %32
%34 = call i32 @tan(i32 noundef %33)
%35 = sdiv i32 2, %34
%36 = sitofp i32 %35 to double
store double %36, ptr %8, align 8
%37 = load double, ptr %7, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %39, label %42
39: ; preds = %3
%40 = load double, ptr %8, align 8
%41 = fneg double %40
store double %41, ptr %8, align 8
br label %42
42: ; preds = %39, %3
store i32 0, ptr %18, align 4
br label %43
43: ; preds = %132, %42
%44 = load double, ptr %8, align 8
store double %44, ptr %9, align 8
store i32 1, ptr %17, align 4
%45 = load double, ptr %8, align 8
%46 = load double, ptr %8, align 8
%47 = fmul double %45, %46
store double %47, ptr %11, align 8
%48 = load double, ptr %11, align 8
%49 = fneg double %48
%50 = load double, ptr %8, align 8
%51 = fmul double %49, %50
store double %51, ptr %12, align 8
%52 = load double, ptr %13, align 8
%53 = load double, ptr %6, align 8
%54 = fmul double 2.000000e+00, %53
%55 = load double, ptr %8, align 8
%56 = fmul double %54, %55
%57 = load double, ptr %11, align 8
%58 = fmul double %56, %57
%59 = fdiv double %58, 3.000000e+00
%60 = fadd double %52, %59
store double %60, ptr %14, align 8
br label %61
61: ; preds = %96, %43
%62 = load i32, ptr %17, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %17, align 4
%64 = load double, ptr %12, align 8
%65 = fneg double %64
%66 = load double, ptr %6, align 8
%67 = fmul double %65, %66
%68 = load double, ptr %11, align 8
%69 = fmul double %67, %68
store double %69, ptr %12, align 8
%70 = load i32, ptr %17, align 4
%71 = sitofp i32 %70 to double
%72 = load i32, ptr %17, align 4
%73 = add nsw i32 %72, 1
%74 = sitofp i32 %73 to double
%75 = load double, ptr %6, align 8
%76 = fneg double %74
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %71)
%78 = load i32, ptr %17, align 4
%79 = sitofp i32 %78 to double
%80 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %79, double 1.000000e+00)
%81 = fdiv double %77, %80
store double %81, ptr %15, align 8
%82 = load double, ptr %15, align 8
%83 = load double, ptr %12, align 8
%84 = fmul double %82, %83
store double %84, ptr %16, align 8
%85 = load double, ptr %14, align 8
%86 = load double, ptr %16, align 8
%87 = fadd double %85, %86
store double %87, ptr %14, align 8
%88 = load i32, ptr %17, align 4
%89 = icmp sgt i32 %88, 100
br i1 %89, label %94, label %90
90: ; preds = %61
%91 = load double, ptr %16, align 8
%92 = call i32 @fabs(double noundef %91)
%93 = icmp sgt i32 %92, 10000
br i1 %93, label %94, label %96
94: ; preds = %90, %61
%95 = call double @nan(ptr noundef @.str)
store double %95, ptr %4, align 8
br label %141
96: ; preds = %90
%97 = load double, ptr %16, align 8
%98 = call i32 @fabs(double noundef %97)
%99 = sitofp i32 %98 to double
%100 = fcmp ogt double %99, 1.000000e-10
br i1 %100, label %61, label %101
101: ; preds = %96
%102 = load i32, ptr %18, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %18, align 4
%104 = load i32, ptr %18, align 4
%105 = icmp sgt i32 %104, 100
br i1 %105, label %106, label %108
106: ; preds = %101
%107 = call double @nan(ptr noundef @.str)
store double %107, ptr %4, align 8
br label %141
108: ; preds = %101
br label %109
109: ; preds = %124, %108
%110 = load double, ptr %8, align 8
store double %110, ptr %10, align 8
%111 = load double, ptr %8, align 8
%112 = fmul double 2.000000e+00, %111
%113 = load double, ptr %8, align 8
%114 = fmul double %112, %113
%115 = load double, ptr %8, align 8
%116 = fmul double %114, %115
%117 = fdiv double %116, 3.000000e+00
%118 = load double, ptr %14, align 8
%119 = fadd double %117, %118
%120 = load double, ptr %8, align 8
%121 = load double, ptr %8, align 8
%122 = call double @llvm.fmuladd.f64(double %120, double %121, double 1.000000e+00)
%123 = fdiv double %119, %122
store double %123, ptr %8, align 8
br label %124
124: ; preds = %109
%125 = load double, ptr %8, align 8
%126 = load double, ptr %10, align 8
%127 = fsub double %125, %126
%128 = call i32 @fabs(double noundef %127)
%129 = sitofp i32 %128 to double
%130 = fcmp ogt double %129, 1.000000e-10
br i1 %130, label %109, label %131, !llvm.loop !6
131: ; preds = %124
br label %132
132: ; preds = %131
%133 = load double, ptr %8, align 8
%134 = load double, ptr %9, align 8
%135 = fsub double %133, %134
%136 = call i32 @fabs(double noundef %135)
%137 = sitofp i32 %136 to double
%138 = fcmp ogt double %137, 1.000000e-10
br i1 %138, label %43, label %139, !llvm.loop !8
139: ; preds = %132
%140 = load double, ptr %8, align 8
store double %140, ptr %4, align 8
br label %141
141: ; preds = %139, %106, %94
%142 = load double, ptr %4, align 8
ret double %142
}
declare i32 @fabs(double noundef) #1
declare i32 @tan(i32 noundef) #1
declare i32 @atan(double noundef) #1
declare double @cbrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @nan(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqoztmd3p.c'
source_filename = "/tmp/tmpqoztmd3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_total_jiffies_stat() #0 {
%1 = alloca ptr, align 8
store ptr null, ptr %1, align 8
%2 = call ptr (...) @proc_get_total_jiffies_stat()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
declare ptr @proc_get_total_jiffies_stat(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqoztmd3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_total_jiffies_stat() #0 {
%1 = alloca ptr, align 8
store ptr null, ptr %1, align 8
%2 = call ptr (...) @proc_get_total_jiffies_stat()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
declare ptr @proc_get_total_jiffies_stat(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplf4pu53g.c'
source_filename = "/tmp/tmplf4pu53g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sort_data(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [25 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %61, %2
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %64
13: ; preds = %9
%14 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcpy(ptr noundef %14, ptr noundef %19)
%21 = load i32, ptr %7, align 4
store i32 %21, ptr %8, align 4
br label %22
22: ; preds = %50, %13
%23 = load i32, ptr %8, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %8, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %26, ptr noundef %32)
%34 = icmp slt i64 %33, 0
br label %35
35: ; preds = %25, %22
%36 = phi i1 [ false, %22 ], [ %34, %25 ]
br i1 %36, label %37, label %53
37: ; preds = %35
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %8, align 4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %43, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = call i32 @strcpy(ptr noundef %42, ptr noundef %48)
br label %50
50: ; preds = %37
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %8, align 4
br label %22, !llvm.loop !6
53: ; preds = %35
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59)
br label %61
61: ; preds = %53
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %9, !llvm.loop !8
64: ; preds = %9
store i32 0, ptr %7, align 4
br label %65
65: ; preds = %76, %64
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %79
69: ; preds = %65
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = call i32 @printf(ptr noundef @.str, ptr noundef %74)
br label %76
76: ; preds = %69
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %7, align 4
br label %65, !llvm.loop !9
79: ; preds = %65
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplf4pu53g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sort_data(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [25 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %66
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %60
%13 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strcpy(ptr noundef %13, ptr noundef %18)
%20 = load i32, ptr %7, align 4
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %49, %12
%22 = load i32, ptr %8, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %21
%25 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = call i64 @strcmp(ptr noundef %25, ptr noundef %31)
%33 = icmp slt i64 %32, 0
br label %34
34: ; preds = %24, %21
%35 = phi i1 [ false, %21 ], [ %33, %24 ]
br i1 %35, label %36, label %52
36: ; preds = %34
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %8, align 4
%44 = sub nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %42, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strcpy(ptr noundef %41, ptr noundef %47)
br label %49
49: ; preds = %36
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %8, align 4
br label %21, !llvm.loop !6
52: ; preds = %34
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%59 = call i32 @strcpy(ptr noundef %57, ptr noundef %58)
br label %60
60: ; preds = %52
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %2
store i32 0, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %5, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %.lr.ph2, label %83
.lr.ph2: ; preds = %66
br label %70
70: ; preds = %.lr.ph2, %77
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = call i32 @printf(ptr noundef @.str, ptr noundef %75)
br label %77
77: ; preds = %70
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = load i32, ptr %5, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %70, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %77
br label %83
83: ; preds = %._crit_edge3, %66
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp5cb90h29.c'
source_filename = "/tmp/tmp5cb90h29.c"
target datalayout = "e-m:e-p270: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/tmp5cb90h29.c"
target datalayout = "e-m:e-p270: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/tmphyzq5suh.c'
source_filename = "/tmp/tmphyzq5suh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyzq5suh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_db3sv3.c'
source_filename = "/tmp/tmp4_db3sv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @capi20_get_manufacturer(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i64 (...) @loadlib()
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fptr_capi20_get_manufacturer(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare i64 @loadlib(...) #1
declare ptr @fptr_capi20_get_manufacturer(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/tmp4_db3sv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @capi20_get_manufacturer(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i64 (...) @loadlib()
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fptr_capi20_get_manufacturer(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare i64 @loadlib(...) #1
declare ptr @fptr_capi20_get_manufacturer(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/tmpmin39q2d.c'
source_filename = "/tmp/tmpmin39q2d.c"
target datalayout = "e-m:e-p270: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/tmpmin39q2d.c"
target datalayout = "e-m:e-p270: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/tmplu136ajq.c'
source_filename = "/tmp/tmplu136ajq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bitmap(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %41, %2
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 16
%15 = icmp ult i64 %11, %14
br i1 %15, label %16, label %44
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = udiv i64 %18, 16
%20 = trunc i64 %19 to i32
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = urem i64 %22, 16
%24 = sub i64 15, %23
%25 = trunc i64 %24 to i32
store i32 %25, ptr %7, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i16, ptr %26, i64 %28
%30 = load i16, ptr %29, align 2
%31 = zext i16 %30 to i32
%32 = load i32, ptr %7, align 4
%33 = shl i32 1, %32
%34 = and i32 %31, %33
%35 = icmp ne i32 %34, 0
%36 = xor i1 %35, true
%37 = xor i1 %36, true
%38 = zext i1 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39)
br label %41
41: ; preds = %16
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %9, !llvm.loop !6
44: ; preds = %9
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplu136ajq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bitmap(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 16
%14 = icmp ult i64 %10, %13
br i1 %14, label %.lr.ph, label %49
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %40
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = udiv i64 %17, 16
%19 = trunc i64 %18 to i32
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = urem i64 %21, 16
%23 = sub i64 15, %22
%24 = trunc i64 %23 to i32
store i32 %24, ptr %7, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i16, ptr %25, i64 %27
%29 = load i16, ptr %28, align 2
%30 = zext i16 %29 to i32
%31 = load i32, ptr %7, align 4
%32 = shl i32 1, %31
%33 = and i32 %30, %32
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = xor i1 %35, true
%37 = zext i1 %36 to i32
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38)
br label %40
40: ; preds = %15
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 %46, 16
%48 = icmp ult i64 %44, %47
br i1 %48, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %49
49: ; preds = %._crit_edge, %2
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv01g1o5_.c'
source_filename = "/tmp/tmpv01g1o5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pix2vec_ring64(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @pix2ang_ring_z_phi64(i32 noundef %10, i32 noundef %11, ptr noundef %7, ptr noundef %9, ptr noundef %8)
%13 = load double, ptr %9, align 8
%14 = fcmp olt double %13, -2.000000e+00
br i1 %14, label %15, label %23
15: ; preds = %3
%16 = load double, ptr %7, align 8
%17 = fsub double 1.000000e+00, %16
%18 = load double, ptr %7, align 8
%19 = fadd double 1.000000e+00, %18
%20 = fmul double %17, %19
%21 = fptosi double %20 to i32
%22 = call double @sqrt(i32 noundef %21)
store double %22, ptr %9, align 8
br label %23
23: ; preds = %15, %3
%24 = load double, ptr %9, align 8
%25 = load double, ptr %8, align 8
%26 = call double @cos(double noundef %25) #3
%27 = fmul double %24, %26
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double %27, ptr %29, align 8
%30 = load double, ptr %9, align 8
%31 = load double, ptr %8, align 8
%32 = call double @sin(double noundef %31) #3
%33 = fmul double %30, %32
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds double, ptr %34, i64 1
store double %33, ptr %35, align 8
%36 = load double, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds double, ptr %37, i64 2
store double %36, ptr %38, align 8
ret void
}
declare i32 @pix2ang_ring_z_phi64(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv01g1o5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pix2vec_ring64(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @pix2ang_ring_z_phi64(i32 noundef %10, i32 noundef %11, ptr noundef %7, ptr noundef %9, ptr noundef %8)
%13 = load double, ptr %9, align 8
%14 = fcmp olt double %13, -2.000000e+00
br i1 %14, label %15, label %23
15: ; preds = %3
%16 = load double, ptr %7, align 8
%17 = fsub double 1.000000e+00, %16
%18 = load double, ptr %7, align 8
%19 = fadd double 1.000000e+00, %18
%20 = fmul double %17, %19
%21 = fptosi double %20 to i32
%22 = call double @sqrt(i32 noundef %21)
store double %22, ptr %9, align 8
br label %23
23: ; preds = %15, %3
%24 = load double, ptr %9, align 8
%25 = load double, ptr %8, align 8
%26 = call double @cos(double noundef %25) #3
%27 = fmul double %24, %26
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double %27, ptr %29, align 8
%30 = load double, ptr %9, align 8
%31 = load double, ptr %8, align 8
%32 = call double @sin(double noundef %31) #3
%33 = fmul double %30, %32
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds double, ptr %34, i64 1
store double %33, ptr %35, align 8
%36 = load double, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds double, ptr %37, i64 2
store double %36, ptr %38, align 8
ret void
}
declare i32 @pix2ang_ring_z_phi64(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3yzwa2w1.c'
source_filename = "/tmp/tmp3yzwa2w1.c"
target datalayout = "e-m:e-p270: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/tmp3yzwa2w1.c"
target datalayout = "e-m:e-p270: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/tmp6h2proqw.c'
source_filename = "/tmp/tmp6h2proqw.c"
target datalayout = "e-m:e-p270: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/tmp6h2proqw.c"
target datalayout = "e-m:e-p270: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/tmphr8u0845.c'
source_filename = "/tmp/tmphr8u0845.c"
target datalayout = "e-m:e-p270: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/tmphr8u0845.c"
target datalayout = "e-m:e-p270: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/tmpk01ijdy2.c'
source_filename = "/tmp/tmpk01ijdy2.c"
target datalayout = "e-m:e-p270: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/tmpk01ijdy2.c"
target datalayout = "e-m:e-p270: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/tmprh2cbubn.c'
source_filename = "/tmp/tmprh2cbubn.c"
target datalayout = "e-m:e-p270: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.netent = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"%u.%u.%u.%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @setnetent(i32 noundef 0)
br label %4
4: ; preds = %28, %0
%5 = call ptr (...) @getnetent()
store ptr %5, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %49
7: ; preds = %4
br label %8
8: ; preds = %23, %7
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.netent, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds %struct.netent, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = ashr i32 %16, 24
%18 = and i32 %17, 255
%19 = icmp ne i32 %18, 0
%20 = xor i1 %19, true
br label %21
21: ; preds = %13, %8
%22 = phi i1 [ false, %8 ], [ %20, %13 ]
br i1 %22, label %23, label %28
23: ; preds = %21
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds %struct.netent, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = shl i32 %26, 8
store i32 %27, ptr %25, align 4
br label %8, !llvm.loop !6
28: ; preds = %21
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds %struct.netent, ptr %29, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = ashr i32 %31, 24
%33 = and i32 %32, 255
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds %struct.netent, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = ashr i32 %36, 16
%38 = and i32 %37, 255
%39 = load ptr, ptr %2, align 8
%40 = getelementptr inbounds %struct.netent, ptr %39, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = ashr i32 %41, 8
%43 = and i32 %42, 255
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds %struct.netent, ptr %44, i32 0, i32 0
%46 = load i32, ptr %45, align 4
%47 = and i32 %46, 255
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %33, i32 noundef %38, i32 noundef %43, i32 noundef %47)
br label %4, !llvm.loop !8
49: ; preds = %4
%50 = call i32 (...) @endnetent()
ret i32 0
}
declare i32 @setnetent(i32 noundef) #1
declare ptr @getnetent(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @endnetent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprh2cbubn.c"
target datalayout = "e-m:e-p270: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.netent = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"%u.%u.%u.%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @setnetent(i32 noundef 0)
%4 = call ptr (...) @getnetent()
store ptr %4, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %.lr.ph, label %50
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %27
br label %7
7: ; preds = %22, %6
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds %struct.netent, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds %struct.netent, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = ashr i32 %15, 24
%17 = and i32 %16, 255
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
br label %20
20: ; preds = %12, %7
%21 = phi i1 [ false, %7 ], [ %19, %12 ]
br i1 %21, label %22, label %27
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds %struct.netent, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = shl i32 %25, 8
store i32 %26, ptr %24, align 4
br label %7, !llvm.loop !6
27: ; preds = %20
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds %struct.netent, ptr %28, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = ashr i32 %30, 24
%32 = and i32 %31, 255
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds %struct.netent, ptr %33, i32 0, i32 0
%35 = load i32, ptr %34, align 4
%36 = ashr i32 %35, 16
%37 = and i32 %36, 255
%38 = load ptr, ptr %2, align 8
%39 = getelementptr inbounds %struct.netent, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = ashr i32 %40, 8
%42 = and i32 %41, 255
%43 = load ptr, ptr %2, align 8
%44 = getelementptr inbounds %struct.netent, ptr %43, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = and i32 %45, 255
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %37, i32 noundef %42, i32 noundef %46)
%48 = call ptr (...) @getnetent()
store ptr %48, ptr %2, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %6, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %27
br label %50
50: ; preds = %._crit_edge, %0
%51 = call i32 (...) @endnetent()
ret i32 0
}
declare i32 @setnetent(i32 noundef) #1
declare ptr @getnetent(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @endnetent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl8oenqoo.c'
source_filename = "/tmp/tmpl8oenqoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ola mundo\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/tmpl8oenqoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ola mundo\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/tmp1s39ioqm.c'
source_filename = "/tmp/tmp1s39ioqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @round_f(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call float @pow(i32 noundef 10, i32 noundef %7)
%9 = fmul float %6, %8
%10 = fptosi float %9 to i32
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = srem i32 %11, 10
%13 = icmp sge i32 %12, 5
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %16, 10
%18 = sub nsw i32 10, %17
%19 = add nsw i32 %15, %18
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %14, %2
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to float
%23 = load i32, ptr %4, align 4
%24 = call float @pow(i32 noundef 10, i32 noundef %23)
%25 = fdiv float %22, %24
ret float %25
}
declare float @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1s39ioqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @round_f(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call float @pow(i32 noundef 10, i32 noundef %7)
%9 = fmul float %6, %8
%10 = fptosi float %9 to i32
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = srem i32 %11, 10
%13 = icmp sge i32 %12, 5
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %16, 10
%18 = sub nsw i32 10, %17
%19 = add nsw i32 %15, %18
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %14, %2
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to float
%23 = load i32, ptr %4, align 4
%24 = call float @pow(i32 noundef 10, i32 noundef %23)
%25 = fdiv float %22, %24
ret float %25
}
declare float @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsybn1icd.c'
source_filename = "/tmp/tmpsybn1icd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"Invoke: UpnpMediaServer_ConnectionManager_GetProtocolInfo();\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpMediaServer_ConnectionManager_GetProtocolInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @UpnpResponse_MediaServer_ConnectionManager_GetProtocolInfo(ptr noundef %4, ptr noundef @.str.1, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @UpnpResponse_MediaServer_ConnectionManager_GetProtocolInfo(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsybn1icd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"Invoke: UpnpMediaServer_ConnectionManager_GetProtocolInfo();\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpMediaServer_ConnectionManager_GetProtocolInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @UpnpResponse_MediaServer_ConnectionManager_GetProtocolInfo(ptr noundef %4, ptr noundef @.str.1, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @UpnpResponse_MediaServer_ConnectionManager_GetProtocolInfo(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqn656jus.c'
source_filename = "/tmp/tmpqn656jus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%c,%c\0A\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 i8, align 1
store i32 0, ptr %1, align 4
store i8 95, ptr %2, align 1
store i8 68, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = load i8, ptr %3, align 1
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %4, i8 noundef signext %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmpqn656jus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%c,%c\0A\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 i8, align 1
store i32 0, ptr %1, align 4
store i8 95, ptr %2, align 1
store i8 68, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = load i8, ptr %3, align 1
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %4, i8 noundef signext %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmpqnqzdnwp.c'
source_filename = "/tmp/tmpqnqzdnwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_nonblock(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 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = or i32 %13, %14
%16 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %15)
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, -1
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
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/tmpqnqzdnwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_nonblock(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 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = or i32 %13, %14
%16 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %15)
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, -1
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
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/tmp7ij51p_c.c'
source_filename = "/tmp/tmp7ij51p_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ij51p_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvsbc_mhc.c'
source_filename = "/tmp/tmpvsbc_mhc.c"
target datalayout = "e-m:e-p270: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 { double, i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_time() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load double, ptr %4, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, 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/tmpvsbc_mhc.c"
target datalayout = "e-m:e-p270: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 { double, i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_time() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load double, ptr %4, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, 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/tmpgvvt74o9.c'
source_filename = "/tmp/tmpgvvt74o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_map(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 195
br i1 %8, label %9, label %21
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 2
store ptr %17, ptr %3, align 8
br label %18
18: ; preds = %9
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvvt74o9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_map(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 195
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %17
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 2
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %8
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 195
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0homy52j.c'
source_filename = "/tmp/tmp0homy52j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"lesser!\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Greater!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 101, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 100
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmp0homy52j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"lesser!\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Greater!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 101, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 100
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmp29e1dkoi.c'
source_filename = "/tmp/tmp29e1dkoi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @albedoModel(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = fdiv double %7, 0x3FE921FB67EACAE5
%9 = call double @pow(double noundef %8, i32 noundef 3)
%10 = fmul double 6.000000e-02, %9
store double %10, ptr %5, align 8
%11 = load double, ptr %4, align 8
%12 = fdiv double %11, 0x3FF921FB4D12D84A
%13 = call double @pow(double noundef %12, i32 noundef 8)
%14 = fmul double 2.500000e-01, %13
store double %14, ptr %6, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %5, align 8
%17 = fadd double %15, %16
%18 = load double, ptr %6, align 8
%19 = fadd double %17, %18
ret double %19
}
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp29e1dkoi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @albedoModel(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = load double, ptr %4, align 8
%8 = fdiv double %7, 0x3FE921FB67EACAE5
%9 = call double @pow(double noundef %8, i32 noundef 3)
%10 = fmul double 6.000000e-02, %9
store double %10, ptr %5, align 8
%11 = load double, ptr %4, align 8
%12 = fdiv double %11, 0x3FF921FB4D12D84A
%13 = call double @pow(double noundef %12, i32 noundef 8)
%14 = fmul double 2.500000e-01, %13
store double %14, ptr %6, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %5, align 8
%17 = fadd double %15, %16
%18 = load double, ptr %6, align 8
%19 = fadd double %17, %18
ret double %19
}
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm4bz8zbg.c'
source_filename = "/tmp/tmpm4bz8zbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = call i32 @check_prime(i32 noundef %13)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18)
br label %20
20: ; preds = %17, %12
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @check_prime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4bz8zbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %20
%12 = load i32, ptr %4, align 4
%13 = call i32 @check_prime(i32 noundef %12)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %16, %11
br label %20
20: ; preds = %19
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @check_prime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsm20tsvp.c'
source_filename = "/tmp/tmpsm20tsvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = icmp eq i64 %5, -2147483648
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @ft_putstr(ptr noundef @.str)
br label %38
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = call i32 @ft_putchar(i32 noundef 45)
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %14, -1
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %9
br label %17
17: ; preds = %22, %16
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = sdiv i32 %18, %19
%21 = icmp sge i32 %20, 10
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %23, 10
store i32 %24, ptr %3, align 4
br label %17, !llvm.loop !6
25: ; preds = %17
br label %26
26: ; preds = %29, %25
%27 = load i32, ptr %3, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = sdiv i32 %30, %31
%33 = srem i32 %32, 10
%34 = add nsw i32 %33, 48
%35 = call i32 @ft_putchar(i32 noundef %34)
%36 = load i32, ptr %3, align 4
%37 = sdiv i32 %36, 10
store i32 %37, ptr %3, align 4
br label %26, !llvm.loop !8
38: ; preds = %7, %26
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsm20tsvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = icmp eq i64 %5, -2147483648
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @ft_putstr(ptr noundef @.str)
br label %42
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = call i32 @ft_putchar(i32 noundef 45)
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %14, -1
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %9
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = sdiv i32 %17, %18
%20 = icmp sge i32 %19, 10
br i1 %20, label %.lr.ph, label %28
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %3, align 4
%23 = mul nsw i32 %22, 10
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %24, %25
%27 = icmp sge i32 %26, 10
br i1 %27, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %16
%29 = load i32, ptr %3, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %28
br label %31
31: ; preds = %.lr.ph2, %31
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %3, align 4
%34 = sdiv i32 %32, %33
%35 = srem i32 %34, 10
%36 = add nsw i32 %35, 48
%37 = call i32 @ft_putchar(i32 noundef %36)
%38 = load i32, ptr %3, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %31, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %31
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %28
br label %42
42: ; preds = %.loopexit, %7
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb2r8d45j.c'
source_filename = "/tmp/tmpb2r8d45j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_mq_close_prototype() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i64 0, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = call i32 @mq_close(i64 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
ret void
}
declare i32 @mq_close(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/tmpb2r8d45j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_mq_close_prototype() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i64 0, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = call i32 @mq_close(i64 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
ret void
}
declare i32 @mq_close(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/tmp94oub_bw.c'
source_filename = "/tmp/tmp94oub_bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_function(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp94oub_bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_function(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr6q51cqz.c'
source_filename = "/tmp/tmpr6q51cqz.c"
target datalayout = "e-m:e-p270: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/tmpr6q51cqz.c"
target datalayout = "e-m:e-p270: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/tmpr8d8iha7.c'
source_filename = "/tmp/tmpr8d8iha7.c"
target datalayout = "e-m:e-p270: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/tmpr8d8iha7.c"
target datalayout = "e-m:e-p270: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/tmph366_e1r.c'
source_filename = "/tmp/tmph366_e1r.c"
target datalayout = "e-m:e-p270: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 { ptr, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reception(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca %struct.sockaddr_in, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strtol(ptr noundef %7, ptr noundef null, i32 noundef 0)
store i64 %8, ptr %5, align 8
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
%12 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24)
%13 = load i32, ptr @AF_INET, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %13, ptr %14, align 8
%15 = load i64, ptr @INADDR_ANY, align 8
%16 = call ptr @htons(i64 noundef %15)
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0
store ptr %16, ptr %18, align 8
%19 = load i64, ptr %5, align 8
%20 = call ptr @htons(i64 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store ptr %20, ptr %21, align 8
%22 = load i32, ptr %3, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %6, i32 noundef 24)
%24 = load i32, ptr %3, align 4
%25 = call i32 @listen(i32 noundef %24, i32 noundef 10)
%26 = load i32, ptr %3, align 4
%27 = call i32 @accept(i32 noundef %26, ptr noundef null, ptr noundef null)
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @htons(i64 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph366_e1r.c"
target datalayout = "e-m:e-p270: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 { ptr, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reception(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca %struct.sockaddr_in, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strtol(ptr noundef %7, ptr noundef null, i32 noundef 0)
store i64 %8, ptr %5, align 8
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
%12 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24)
%13 = load i32, ptr @AF_INET, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %13, ptr %14, align 8
%15 = load i64, ptr @INADDR_ANY, align 8
%16 = call ptr @htons(i64 noundef %15)
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0
store ptr %16, ptr %18, align 8
%19 = load i64, ptr %5, align 8
%20 = call ptr @htons(i64 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store ptr %20, ptr %21, align 8
%22 = load i32, ptr %3, align 4
%23 = call i32 @bind(i32 noundef %22, ptr noundef %6, i32 noundef 24)
%24 = load i32, ptr %3, align 4
%25 = call i32 @listen(i32 noundef %24, i32 noundef 10)
%26 = load i32, ptr %3, align 4
%27 = call i32 @accept(i32 noundef %26, ptr noundef null, ptr noundef null)
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @htons(i64 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv20yk1qn.c'
source_filename = "/tmp/tmpv20yk1qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"error: requested block (%I64d bytes) is too large\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"error: requested a block with size 0 bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Sorry, unsupported mode (-m=%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_test_block(i64 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i64 %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%12 = load i64, ptr %9, align 8
%13 = icmp sgt i64 %12, 1048576
br i1 %13, label %14, label %18
14: ; preds = %5
%15 = load i64, ptr %9, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %15)
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %5
%19 = load i64, ptr %9, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %18
%25 = load i32, ptr %11, align 4
switch i32 %25, label %42 [
i32 0, label %26
i32 1, label %36
]
26: ; preds = %24
%27 = load i64, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %9, align 8
%33 = mul nsw i64 %31, %32
%34 = trunc i64 %33 to i32
%35 = call ptr @create_incremental_block(i64 noundef %27, i32 noundef %28, i64 noundef %29, i32 noundef %34)
store ptr %35, ptr %6, align 8
br label %46
36: ; preds = %24
%37 = load i64, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = load i64, ptr %9, align 8
%40 = load i32, ptr %10, align 4
%41 = call ptr @create_chess_block(i64 noundef %37, i32 noundef %38, i64 noundef %39, i32 noundef %40)
store ptr %41, ptr %6, align 8
br label %46
42: ; preds = %24
%43 = load i32, ptr %11, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
%45 = call i32 @exit(i32 noundef 0) #3
unreachable
46: ; preds = %36, %26
%47 = load ptr, ptr %6, align 8
ret ptr %47
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @create_incremental_block(i64 noundef, i32 noundef, i64 noundef, i32 noundef) #2
declare ptr @create_chess_block(i64 noundef, i32 noundef, i64 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmpv20yk1qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"error: requested block (%I64d bytes) is too large\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"error: requested a block with size 0 bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Sorry, unsupported mode (-m=%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_test_block(i64 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i64 %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%12 = load i64, ptr %9, align 8
%13 = icmp sgt i64 %12, 1048576
br i1 %13, label %14, label %18
14: ; preds = %5
%15 = load i64, ptr %9, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %15)
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %5
%19 = load i64, ptr %9, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %18
%25 = load i32, ptr %11, align 4
switch i32 %25, label %42 [
i32 0, label %26
i32 1, label %36
]
26: ; preds = %24
%27 = load i64, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %9, align 8
%33 = mul nsw i64 %31, %32
%34 = trunc i64 %33 to i32
%35 = call ptr @create_incremental_block(i64 noundef %27, i32 noundef %28, i64 noundef %29, i32 noundef %34)
store ptr %35, ptr %6, align 8
br label %46
36: ; preds = %24
%37 = load i64, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = load i64, ptr %9, align 8
%40 = load i32, ptr %10, align 4
%41 = call ptr @create_chess_block(i64 noundef %37, i32 noundef %38, i64 noundef %39, i32 noundef %40)
store ptr %41, ptr %6, align 8
br label %46
42: ; preds = %24
%43 = load i32, ptr %11, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
%45 = call i32 @exit(i32 noundef 0) #3
unreachable
46: ; preds = %36, %26
%47 = load ptr, ptr %6, align 8
ret ptr %47
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @create_incremental_block(i64 noundef, i32 noundef, i64 noundef, i32 noundef) #2
declare ptr @create_chess_block(i64 noundef, i32 noundef, i64 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmp0nx3o_yz.c'
source_filename = "/tmp/tmp0nx3o_yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @status_exit() #0 {
%1 = call i32 (...) @closelog()
ret void
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0nx3o_yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @status_exit() #0 {
%1 = call i32 (...) @closelog()
ret void
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpobwr3d6f.c'
source_filename = "/tmp/tmpobwr3d6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter the 9 elements of matrix: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0AThe matrix is\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"\0AInverse of matrix is: \0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%.2f\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %26, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %29
10: ; preds = %7
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %22, %10
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19
%21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %11, !llvm.loop !6
25: ; preds = %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 %7, !llvm.loop !8
29: ; preds = %7
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %52, %29
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 3
br i1 %33, label %34, label %55
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %48, %34
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 3
br i1 %38, label %39, label %51
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %41
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [3 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46)
br label %48
48: ; preds = %39
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %36, !llvm.loop !9
51: ; preds = %36
br label %52
52: ; preds = %51
%53 = load i32, ptr %3, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %3, align 4
br label %31, !llvm.loop !10
55: ; preds = %31
store i32 0, ptr %3, align 4
br label %56
56: ; preds = %170, %55
%57 = load i32, ptr %3, align 4
%58 = icmp slt i32 %57, 3
br i1 %58, label %59, label %173
59: ; preds = %56
%60 = load float, ptr %5, align 4
%61 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%62 = load i32, ptr %3, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [3 x i32], ptr %61, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
%69 = srem i32 %68, 3
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [3 x i32], ptr %66, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2
%74 = load i32, ptr %3, align 4
%75 = add nsw i32 %74, 2
%76 = srem i32 %75, 3
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [3 x i32], ptr %73, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = mul nsw i32 %72, %79
%81 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1
%82 = load i32, ptr %3, align 4
%83 = add nsw i32 %82, 2
%84 = srem i32 %83, 3
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [3 x i32], ptr %81, i64 0, i64 %85
%87 = load i32, ptr %86, align 4
%88 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2
%89 = load i32, ptr %3, align 4
%90 = add nsw i32 %89, 1
%91 = srem i32 %90, 3
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [3 x i32], ptr %88, i64 0, i64 %92
%94 = load i32, ptr %93, align 4
%95 = mul nsw i32 %87, %94
%96 = sub nsw i32 %80, %95
%97 = mul nsw i32 %65, %96
%98 = sitofp i32 %97 to float
%99 = fadd float %60, %98
store float %99, ptr %5, align 4
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %101
101: ; preds = %166, %59
%102 = load i32, ptr %3, align 4
%103 = icmp slt i32 %102, 3
br i1 %103, label %104, label %169
104: ; preds = %101
store i32 0, ptr %4, align 4
br label %105
105: ; preds = %161, %104
%106 = load i32, ptr %4, align 4
%107 = icmp slt i32 %106, 3
br i1 %107, label %108, label %164
108: ; preds = %105
%109 = load i32, ptr %3, align 4
%110 = add nsw i32 %109, 1
%111 = srem i32 %110, 3
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %112
%114 = load i32, ptr %4, align 4
%115 = add nsw i32 %114, 1
%116 = srem i32 %115, 3
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [3 x i32], ptr %113, i64 0, i64 %117
%119 = load i32, ptr %118, align 4
%120 = load i32, ptr %3, align 4
%121 = add nsw i32 %120, 2
%122 = srem i32 %121, 3
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %123
%125 = load i32, ptr %4, align 4
%126 = add nsw i32 %125, 2
%127 = srem i32 %126, 3
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [3 x i32], ptr %124, i64 0, i64 %128
%130 = load i32, ptr %129, align 4
%131 = mul nsw i32 %119, %130
%132 = load i32, ptr %3, align 4
%133 = add nsw i32 %132, 1
%134 = srem i32 %133, 3
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %135
%137 = load i32, ptr %4, align 4
%138 = add nsw i32 %137, 2
%139 = srem i32 %138, 3
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [3 x i32], ptr %136, i64 0, i64 %140
%142 = load i32, ptr %141, align 4
%143 = load i32, ptr %3, align 4
%144 = add nsw i32 %143, 2
%145 = srem i32 %144, 3
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %146
%148 = load i32, ptr %4, align 4
%149 = add nsw i32 %148, 1
%150 = srem i32 %149, 3
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [3 x i32], ptr %147, i64 0, i64 %151
%153 = load i32, ptr %152, align 4
%154 = mul nsw i32 %142, %153
%155 = sub nsw i32 %131, %154
%156 = sitofp i32 %155 to float
%157 = load float, ptr %5, align 4
%158 = fdiv float %156, %157
%159 = fpext float %158 to double
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %159)
br label %161
161: ; preds = %108
%162 = load i32, ptr %4, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %4, align 4
br label %105, !llvm.loop !11
164: ; preds = %105
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %166
166: ; preds = %164
%167 = load i32, ptr %3, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %3, align 4
br label %101, !llvm.loop !12
169: ; preds = %101
br label %170
170: ; preds = %169
%171 = load i32, ptr %3, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %3, align 4
br label %56, !llvm.loop !13
173: ; preds = %56
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpobwr3d6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter the 9 elements of matrix: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0AThe matrix is\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"\0AInverse of matrix is: \0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%.2f\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph2, label %31
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %26
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %14
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %17
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 3
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %9
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
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 3
br i1 %30, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 3
br i1 %34, label %.lr.ph8, label %59
.lr.ph8: ; preds = %31
br label %35
35: ; preds = %.lr.ph8, %54
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 3
br i1 %38, label %.lr.ph5, label %53
.lr.ph5: ; preds = %35
br label %39
39: ; preds = %.lr.ph5, %48
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %41
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [3 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46)
br label %48
48: ; preds = %39
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %51, 3
br i1 %52, label %39, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %48
br label %53
53: ; preds = %._crit_edge6, %35
br label %54
54: ; preds = %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp slt i32 %57, 3
br i1 %58, label %35, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %54
br label %59
59: ; preds = %._crit_edge9, %31
store i32 0, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = icmp slt i32 %60, 3
br i1 %61, label %.lr.ph17, label %180
.lr.ph17: ; preds = %59
br label %62
62: ; preds = %.lr.ph17, %175
%63 = load float, ptr %5, align 4
%64 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [3 x i32], ptr %64, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 1
%72 = srem i32 %71, 3
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [3 x i32], ptr %69, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 2
%79 = srem i32 %78, 3
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [3 x i32], ptr %76, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = mul nsw i32 %75, %82
%84 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1
%85 = load i32, ptr %3, align 4
%86 = add nsw i32 %85, 2
%87 = srem i32 %86, 3
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [3 x i32], ptr %84, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
%91 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2
%92 = load i32, ptr %3, align 4
%93 = add nsw i32 %92, 1
%94 = srem i32 %93, 3
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [3 x i32], ptr %91, i64 0, i64 %95
%97 = load i32, ptr %96, align 4
%98 = mul nsw i32 %90, %97
%99 = sub nsw i32 %83, %98
%100 = mul nsw i32 %68, %99
%101 = sitofp i32 %100 to float
%102 = fadd float %63, %101
store float %102, ptr %5, align 4
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
%104 = load i32, ptr %3, align 4
%105 = icmp slt i32 %104, 3
br i1 %105, label %.lr.ph14, label %174
.lr.ph14: ; preds = %62
br label %106
106: ; preds = %.lr.ph14, %169
store i32 0, ptr %4, align 4
%107 = load i32, ptr %4, align 4
%108 = icmp slt i32 %107, 3
br i1 %108, label %.lr.ph11, label %167
.lr.ph11: ; preds = %106
br label %109
109: ; preds = %.lr.ph11, %162
%110 = load i32, ptr %3, align 4
%111 = add nsw i32 %110, 1
%112 = srem i32 %111, 3
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %113
%115 = load i32, ptr %4, align 4
%116 = add nsw i32 %115, 1
%117 = srem i32 %116, 3
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [3 x i32], ptr %114, i64 0, i64 %118
%120 = load i32, ptr %119, align 4
%121 = load i32, ptr %3, align 4
%122 = add nsw i32 %121, 2
%123 = srem i32 %122, 3
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %124
%126 = load i32, ptr %4, align 4
%127 = add nsw i32 %126, 2
%128 = srem i32 %127, 3
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [3 x i32], ptr %125, i64 0, i64 %129
%131 = load i32, ptr %130, align 4
%132 = mul nsw i32 %120, %131
%133 = load i32, ptr %3, align 4
%134 = add nsw i32 %133, 1
%135 = srem i32 %134, 3
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %136
%138 = load i32, ptr %4, align 4
%139 = add nsw i32 %138, 2
%140 = srem i32 %139, 3
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [3 x i32], ptr %137, i64 0, i64 %141
%143 = load i32, ptr %142, align 4
%144 = load i32, ptr %3, align 4
%145 = add nsw i32 %144, 2
%146 = srem i32 %145, 3
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %147
%149 = load i32, ptr %4, align 4
%150 = add nsw i32 %149, 1
%151 = srem i32 %150, 3
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [3 x i32], ptr %148, i64 0, i64 %152
%154 = load i32, ptr %153, align 4
%155 = mul nsw i32 %143, %154
%156 = sub nsw i32 %132, %155
%157 = sitofp i32 %156 to float
%158 = load float, ptr %5, align 4
%159 = fdiv float %157, %158
%160 = fpext float %159 to double
%161 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %160)
br label %162
162: ; preds = %109
%163 = load i32, ptr %4, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %4, align 4
%165 = load i32, ptr %4, align 4
%166 = icmp slt i32 %165, 3
br i1 %166, label %109, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %162
br label %167
167: ; preds = %._crit_edge12, %106
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %169
169: ; preds = %167
%170 = load i32, ptr %3, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %3, align 4
%172 = load i32, ptr %3, align 4
%173 = icmp slt i32 %172, 3
br i1 %173, label %106, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %169
br label %174
174: ; preds = %._crit_edge15, %62
br label %175
175: ; preds = %174
%176 = load i32, ptr %3, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %3, align 4
%178 = load i32, ptr %3, align 4
%179 = icmp slt i32 %178, 3
br i1 %179, label %62, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %175
br label %180
180: ; preds = %._crit_edge18, %59
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpkpfntufa.c'
source_filename = "/tmp/tmpkpfntufa.c"
target datalayout = "e-m:e-p270: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_in6 = type { i32, i32, i32 }
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@in6addr_any = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@IPPROTO_IPV6 = dso_local global i32 0, align 4
@IPV6_V6ONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"setsockopt IPV6_V6ONLY\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"setsockopt SO_REUSEADDR\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_port(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in6, align 4
%14 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 -1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 -1, ptr %10, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = load i32, ptr @AF_INET6, align 4
br label %21
19: ; preds = %2
%20 = load i32, ptr @AF_INET, align 4
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
store i32 %22, ptr %12, align 4
%23 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 0
%24 = load i32, ptr @AF_INET6, align 4
store i32 %24, ptr %23, align 4
%25 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 1
%26 = load i32, ptr @in6addr_any, align 4
store i32 %26, ptr %25, align 4
%27 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 2
%28 = call i32 @htons(i32 noundef 9999)
store i32 %28, ptr %27, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
%30 = load i32, ptr @AF_INET, align 4
store i32 %30, ptr %29, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %5, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %21
%36 = load i32, ptr @INADDR_ANY, align 4
%37 = call i32 @htonl(i32 noundef %36)
br label %40
38: ; preds = %21
%39 = call i32 @inet_addr(ptr noundef @.str)
br label %40
40: ; preds = %38, %35
%41 = phi i32 [ %37, %35 ], [ %39, %38 ]
store i32 %41, ptr %32, align 4
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2
%43 = call i32 @htons(i32 noundef 9999)
store i32 %43, ptr %42, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
store ptr %13, ptr %11, align 8
store i32 12, ptr %9, align 4
br label %48
47: ; preds = %40
store ptr %14, ptr %11, align 8
store i32 12, ptr %9, align 4
br label %48
48: ; preds = %47, %46
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr @SOCK_STREAM, align 4
%51 = load i32, ptr @IPPROTO_TCP, align 4
%52 = call i32 @socket(i32 noundef %49, i32 noundef %50, i32 noundef %51)
store i32 %52, ptr %6, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.1)
br label %96
56: ; preds = %48
%57 = load i32, ptr %4, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr @IPPROTO_IPV6, align 4
%62 = load i32, ptr @IPV6_V6ONLY, align 4
%63 = call i64 @setsockopt(i32 noundef %60, i32 noundef %61, i32 noundef %62, ptr noundef %8, i32 noundef 4)
%64 = icmp slt i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = call i32 @perror(ptr noundef @.str.2)
br label %96
67: ; preds = %59, %56
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr @SOL_SOCKET, align 4
%70 = load i32, ptr @SO_REUSEADDR, align 4
%71 = call i64 @setsockopt(i32 noundef %68, i32 noundef %69, i32 noundef %70, ptr noundef %7, i32 noundef 4)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %67
%74 = call i32 @perror(ptr noundef @.str.3)
br label %96
75: ; preds = %67
%76 = load i32, ptr %6, align 4
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %9, align 4
%79 = call i64 @bind(i32 noundef %76, ptr noundef %77, i32 noundef %78)
%80 = icmp slt i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 @perror(ptr noundef @.str.4)
br label %96
83: ; preds = %75
%84 = load i32, ptr %5, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = load i32, ptr %6, align 4
store i32 %87, ptr %3, align 4
br label %100
88: ; preds = %83
%89 = load i32, ptr %6, align 4
%90 = call i64 @listen(i32 noundef %89, i32 noundef 1)
%91 = icmp slt i64 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 @perror(ptr noundef @.str.5)
br label %96
94: ; preds = %88
%95 = load i32, ptr %6, align 4
store i32 %95, ptr %3, align 4
br label %100
96: ; preds = %92, %81, %73, %65, %54
%97 = load i32, ptr %6, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = load i32, ptr %10, align 4
store i32 %99, ptr %3, align 4
br label %100
100: ; preds = %96, %94, %86
%101 = load i32, ptr %3, align 4
ret i32 %101
}
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 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/tmpkpfntufa.c"
target datalayout = "e-m:e-p270: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_in6 = type { i32, i32, i32 }
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@in6addr_any = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@IPPROTO_IPV6 = dso_local global i32 0, align 4
@IPV6_V6ONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"setsockopt IPV6_V6ONLY\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"setsockopt SO_REUSEADDR\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_port(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in6, align 4
%14 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 -1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 -1, ptr %10, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = load i32, ptr @AF_INET6, align 4
br label %21
19: ; preds = %2
%20 = load i32, ptr @AF_INET, align 4
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
store i32 %22, ptr %12, align 4
%23 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 0
%24 = load i32, ptr @AF_INET6, align 4
store i32 %24, ptr %23, align 4
%25 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 1
%26 = load i32, ptr @in6addr_any, align 4
store i32 %26, ptr %25, align 4
%27 = getelementptr inbounds %struct.sockaddr_in6, ptr %13, i32 0, i32 2
%28 = call i32 @htons(i32 noundef 9999)
store i32 %28, ptr %27, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
%30 = load i32, ptr @AF_INET, align 4
store i32 %30, ptr %29, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %5, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %21
%36 = load i32, ptr @INADDR_ANY, align 4
%37 = call i32 @htonl(i32 noundef %36)
br label %40
38: ; preds = %21
%39 = call i32 @inet_addr(ptr noundef @.str)
br label %40
40: ; preds = %38, %35
%41 = phi i32 [ %37, %35 ], [ %39, %38 ]
store i32 %41, ptr %32, align 4
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2
%43 = call i32 @htons(i32 noundef 9999)
store i32 %43, ptr %42, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
store ptr %13, ptr %11, align 8
store i32 12, ptr %9, align 4
br label %48
47: ; preds = %40
store ptr %14, ptr %11, align 8
store i32 12, ptr %9, align 4
br label %48
48: ; preds = %47, %46
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr @SOCK_STREAM, align 4
%51 = load i32, ptr @IPPROTO_TCP, align 4
%52 = call i32 @socket(i32 noundef %49, i32 noundef %50, i32 noundef %51)
store i32 %52, ptr %6, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.1)
br label %96
56: ; preds = %48
%57 = load i32, ptr %4, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr @IPPROTO_IPV6, align 4
%62 = load i32, ptr @IPV6_V6ONLY, align 4
%63 = call i64 @setsockopt(i32 noundef %60, i32 noundef %61, i32 noundef %62, ptr noundef %8, i32 noundef 4)
%64 = icmp slt i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = call i32 @perror(ptr noundef @.str.2)
br label %96
67: ; preds = %59, %56
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr @SOL_SOCKET, align 4
%70 = load i32, ptr @SO_REUSEADDR, align 4
%71 = call i64 @setsockopt(i32 noundef %68, i32 noundef %69, i32 noundef %70, ptr noundef %7, i32 noundef 4)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %67
%74 = call i32 @perror(ptr noundef @.str.3)
br label %96
75: ; preds = %67
%76 = load i32, ptr %6, align 4
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %9, align 4
%79 = call i64 @bind(i32 noundef %76, ptr noundef %77, i32 noundef %78)
%80 = icmp slt i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 @perror(ptr noundef @.str.4)
br label %96
83: ; preds = %75
%84 = load i32, ptr %5, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = load i32, ptr %6, align 4
store i32 %87, ptr %3, align 4
br label %100
88: ; preds = %83
%89 = load i32, ptr %6, align 4
%90 = call i64 @listen(i32 noundef %89, i32 noundef 1)
%91 = icmp slt i64 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 @perror(ptr noundef @.str.5)
br label %96
94: ; preds = %88
%95 = load i32, ptr %6, align 4
store i32 %95, ptr %3, align 4
br label %100
96: ; preds = %92, %81, %73, %65, %54
%97 = load i32, ptr %6, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = load i32, ptr %10, align 4
store i32 %99, ptr %3, align 4
br label %100
100: ; preds = %96, %94, %86
%101 = load i32, ptr %3, align 4
ret i32 %101
}
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 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/tmplqjlsx9y.c'
source_filename = "/tmp/tmplqjlsx9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@_PC_NAME_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENAMETOOLONG = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"FAILED: shm_unlink() succeeded\0A\00", align 1
@_SC_VERSION = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [52 x i8] c"UNTESTED: shm_open() did not fail with ENAMETOLONG\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"FAILED: shm_unlink\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 i64, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @_PC_NAME_MAX, align 4
%7 = call i64 @pathconf(ptr noundef @.str, i32 noundef %6)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = add nsw i64 %8, 3
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 47, ptr %12, align 1
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %24, %0
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = load i64, ptr %4, align 8
%17 = add nsw i64 %16, 2
%18 = icmp slt i64 %15, %17
br i1 %18, label %19, label %27
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 97, ptr %23, align 1
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %13, !llvm.loop !6
27: ; preds = %13
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %4, align 8
%30 = add nsw i64 %29, 2
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %5, align 8
%33 = call i32 @shm_unlink(ptr noundef %32)
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %42
36: ; preds = %27
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @ENAMETOOLONG, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %56
42: ; preds = %36, %27
%43 = load i32, ptr %2, align 4
%44 = icmp ne i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %56
47: ; preds = %42
br label %48
48: ; preds = %47
%49 = load i32, ptr @_SC_VERSION, align 4
%50 = call i64 @sysconf(i32 noundef %49)
%51 = icmp sge i64 %50, 200800
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 @printf(ptr noundef @.str.3)
store i32 5, ptr %1, align 4
br label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %56
56: ; preds = %54, %52, %45, %40
%57 = load i32, ptr %1, align 4
ret i32 %57
}
declare i64 @pathconf(ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @shm_unlink(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @sysconf(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqjlsx9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@_PC_NAME_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENAMETOOLONG = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"FAILED: shm_unlink() succeeded\0A\00", align 1
@_SC_VERSION = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [52 x i8] c"UNTESTED: shm_open() did not fail with ENAMETOLONG\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"FAILED: shm_unlink\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 i64, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @_PC_NAME_MAX, align 4
%7 = call i64 @pathconf(ptr noundef @.str, i32 noundef %6)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = add nsw i64 %8, 3
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 47, ptr %12, align 1
store i32 1, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, 2
%17 = icmp slt i64 %14, %16
br i1 %17, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 97, ptr %22, align 1
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = load i64, ptr %4, align 8
%29 = add nsw i64 %28, 2
%30 = icmp slt i64 %27, %29
br i1 %30, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %31
31: ; preds = %._crit_edge, %0
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %4, align 8
%34 = add nsw i64 %33, 2
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 0, ptr %35, align 1
%36 = load ptr, ptr %5, align 8
%37 = call i32 @shm_unlink(ptr noundef %36)
store i32 %37, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %46
40: ; preds = %31
%41 = load i64, ptr @errno, align 8
%42 = load i64, ptr @ENAMETOOLONG, align 8
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %60
46: ; preds = %40, %31
%47 = load i32, ptr %2, align 4
%48 = icmp ne i32 %47, -1
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %60
51: ; preds = %46
br label %52
52: ; preds = %51
%53 = load i32, ptr @_SC_VERSION, align 4
%54 = call i64 @sysconf(i32 noundef %53)
%55 = icmp sge i64 %54, 200800
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = call i32 @printf(ptr noundef @.str.3)
store i32 5, ptr %1, align 4
br label %60
58: ; preds = %52
%59 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %60
60: ; preds = %58, %56, %49, %44
%61 = load i32, ptr %1, align 4
ret i32 %61
}
declare i64 @pathconf(ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @shm_unlink(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @sysconf(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6gg350np.c'
source_filename = "/tmp/tmp6gg350np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot13(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 1, %8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %77, %1
%16 = load ptr, ptr %3, 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 ne i32 %21, 0
br i1 %22, label %23, label %80
23: ; preds = %15
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i64 @isupper(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %49
31: ; preds = %23
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp slt i32 %37, 78
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 13, i32 -13
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = add nsw i32 %46, %40
%48 = trunc i32 %47 to i8
store i8 %48, ptr %44, align 1
br label %76
49: ; preds = %23
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call i64 @islower(i8 noundef signext %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %75
57: ; preds = %49
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp slt i32 %63, 110
%65 = zext i1 %64 to i64
%66 = select i1 %64, i32 13, i32 -13
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = add nsw i32 %72, %66
%74 = trunc i32 %73 to i8
store i8 %74, ptr %70, align 1
br label %75
75: ; preds = %57, %49
br label %76
76: ; preds = %75, %31
br label %77
77: ; preds = %76
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %4, align 4
br label %15, !llvm.loop !6
80: ; preds = %15
%81 = load ptr, ptr %3, align 8
ret ptr %81
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(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/tmp6gg350np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot13(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 1, %8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %4, align 4
%15 = load ptr, ptr %3, 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 ne i32 %20, 0
br i1 %21, label %.lr.ph, label %86
.lr.ph: ; preds = %1
br label %22
22: ; preds = %.lr.ph, %76
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isupper(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %48
30: ; preds = %22
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp slt i32 %36, 78
%38 = zext i1 %37 to i64
%39 = select i1 %37, i32 13, i32 -13
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = add nsw i32 %45, %39
%47 = trunc i32 %46 to i8
store i8 %47, ptr %43, align 1
br label %75
48: ; preds = %22
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call i64 @islower(i8 noundef signext %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %74
56: ; preds = %48
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp slt i32 %62, 110
%64 = zext i1 %63 to i64
%65 = select i1 %63, i32 13, i32 -13
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = add nsw i32 %71, %65
%73 = trunc i32 %72 to i8
store i8 %73, ptr %69, align 1
br label %74
74: ; preds = %56, %48
br label %75
75: ; preds = %74, %30
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %4, align 4
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 0
br i1 %85, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %86
86: ; preds = %._crit_edge, %1
%87 = load ptr, ptr %3, align 8
ret ptr %87
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(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/tmp5uegjufm.c'
source_filename = "/tmp/tmp5uegjufm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.numbers = private unnamed_addr constant [14 x i32] [i32 328, i32 989, i32 45, i32 234, i32 23, i32 65, i32 98, i32 908, i32 543, i32 87, i32 98, i32 8675, i32 4353, i32 765], align 16
; 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 [14 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.numbers, i64 56, i1 false)
store i32 14, ptr %7, align 4
%8 = getelementptr inbounds [14 x i32], ptr %6, i64 0, i64 0
%9 = load i32, ptr %7, align 4
%10 = call i32 @radixSort(ptr noundef %8, i32 noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @radixSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5uegjufm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.numbers = private unnamed_addr constant [14 x i32] [i32 328, i32 989, i32 45, i32 234, i32 23, i32 65, i32 98, i32 908, i32 543, i32 87, i32 98, i32 8675, i32 4353, i32 765], align 16
; 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 [14 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.numbers, i64 56, i1 false)
store i32 14, ptr %7, align 4
%8 = getelementptr inbounds [14 x i32], ptr %6, i64 0, i64 0
%9 = load i32, ptr %7, align 4
%10 = call i32 @radixSort(ptr noundef %8, i32 noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @radixSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjtce_3t9.c'
source_filename = "/tmp/tmpjtce_3t9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %3, %4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjtce_3t9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %3, %4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsj7ay7cs.c'
source_filename = "/tmp/tmpsj7ay7cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"XML file %s not found\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"XML file %s broken (seek error)\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"XML file %s broken (read error)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_xmlfile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13)
store ptr null, ptr %3, align 8
br label %71
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @SEEK_END, align 4
%18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %4, align 8
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.2, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @fclose(ptr noundef %24)
store ptr null, ptr %3, align 8
br label %71
26: ; preds = %15
%27 = load ptr, ptr %6, align 8
%28 = call i64 @ftell(ptr noundef %27)
%29 = load ptr, ptr %5, align 8
store i64 %28, ptr %29, align 8
%30 = icmp eq i64 %28, -1
br i1 %30, label %31, label %37
31: ; preds = %26
%32 = load i32, ptr @stderr, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.2, ptr noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @fclose(ptr noundef %35)
store ptr null, ptr %3, align 8
br label %71
37: ; preds = %26
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr @SEEK_SET, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %4, align 8
%45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.2, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fclose(ptr noundef %46)
store ptr null, ptr %3, align 8
br label %71
48: ; preds = %37
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %49, align 8
%51 = call i64 @malloc(i64 noundef %50)
%52 = inttoptr i64 %51 to ptr
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i64, ptr %54, align 8
%56 = load ptr, ptr %6, align 8
%57 = call i32 @fread(ptr noundef %53, i64 noundef %55, i32 noundef 1, ptr noundef %56)
%58 = icmp ne i32 %57, 1
br i1 %58, label %59, label %67
59: ; preds = %48
%60 = load i32, ptr @stderr, align 4
%61 = load ptr, ptr %4, align 8
%62 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.3, ptr noundef %61)
%63 = load ptr, ptr %7, align 8
%64 = call i32 @free(ptr noundef %63)
%65 = load ptr, ptr %6, align 8
%66 = call i32 @fclose(ptr noundef %65)
store ptr null, ptr %3, align 8
br label %71
67: ; preds = %48
%68 = load ptr, ptr %6, align 8
%69 = call i32 @fclose(ptr noundef %68)
%70 = load ptr, ptr %7, align 8
store ptr %70, ptr %3, align 8
br label %71
71: ; preds = %67, %59, %42, %31, %20, %11
%72 = load ptr, ptr %3, align 8
ret ptr %72
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i64 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/tmpsj7ay7cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"XML file %s not found\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"XML file %s broken (seek error)\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"XML file %s broken (read error)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_xmlfile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13)
store ptr null, ptr %3, align 8
br label %71
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @SEEK_END, align 4
%18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %4, align 8
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.2, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @fclose(ptr noundef %24)
store ptr null, ptr %3, align 8
br label %71
26: ; preds = %15
%27 = load ptr, ptr %6, align 8
%28 = call i64 @ftell(ptr noundef %27)
%29 = load ptr, ptr %5, align 8
store i64 %28, ptr %29, align 8
%30 = icmp eq i64 %28, -1
br i1 %30, label %31, label %37
31: ; preds = %26
%32 = load i32, ptr @stderr, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.2, ptr noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @fclose(ptr noundef %35)
store ptr null, ptr %3, align 8
br label %71
37: ; preds = %26
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr @SEEK_SET, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %4, align 8
%45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.2, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fclose(ptr noundef %46)
store ptr null, ptr %3, align 8
br label %71
48: ; preds = %37
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %49, align 8
%51 = call i64 @malloc(i64 noundef %50)
%52 = inttoptr i64 %51 to ptr
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i64, ptr %54, align 8
%56 = load ptr, ptr %6, align 8
%57 = call i32 @fread(ptr noundef %53, i64 noundef %55, i32 noundef 1, ptr noundef %56)
%58 = icmp ne i32 %57, 1
br i1 %58, label %59, label %67
59: ; preds = %48
%60 = load i32, ptr @stderr, align 4
%61 = load ptr, ptr %4, align 8
%62 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.3, ptr noundef %61)
%63 = load ptr, ptr %7, align 8
%64 = call i32 @free(ptr noundef %63)
%65 = load ptr, ptr %6, align 8
%66 = call i32 @fclose(ptr noundef %65)
store ptr null, ptr %3, align 8
br label %71
67: ; preds = %48
%68 = load ptr, ptr %6, align 8
%69 = call i32 @fclose(ptr noundef %68)
%70 = load ptr, ptr %7, align 8
store ptr %70, ptr %3, align 8
br label %71
71: ; preds = %67, %59, %42, %31, %20, %11
%72 = load ptr, ptr %3, align 8
ret ptr %72
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i64 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 = '/tmp/tmpb_dk_wbz.c'
source_filename = "/tmp/tmpb_dk_wbz.c"
target datalayout = "e-m:e-p270: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/tmpb_dk_wbz.c"
target datalayout = "e-m:e-p270: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/tmp8l7hvdso.c'
source_filename = "/tmp/tmp8l7hvdso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_getpid = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"getpid: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @SYS_getpid, align 4
%4 = call i32 @syscall(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 42
}
declare i32 @syscall(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/tmp8l7hvdso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_getpid = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"getpid: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @SYS_getpid, align 4
%4 = call i32 @syscall(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 42
}
declare i32 @syscall(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/tmpwrnoob10.c'
source_filename = "/tmp/tmpwrnoob10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_trix(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
%25 = load double, ptr %24, align 8
%26 = fptosi double %25 to i32
store i32 %26, ptr %11, align 4
%27 = load ptr, ptr %9, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %12, align 8
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %4
store i32 1, ptr %5, align 4
br label %174
33: ; preds = %4
%34 = load i32, ptr %6, align 4
%35 = load ptr, ptr %8, align 8
%36 = call i32 @ti_trix_start(ptr noundef %35)
%37 = icmp sle i32 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %33
store i32 0, ptr %5, align 4
br label %174
39: ; preds = %33
%40 = load i32, ptr %11, align 4
%41 = mul nsw i32 %40, 3
%42 = sub nsw i32 %41, 2
store i32 %42, ptr %13, align 4
%43 = load i32, ptr %13, align 4
%44 = load ptr, ptr %8, align 8
%45 = call i32 @ti_trix_start(ptr noundef %44)
%46 = icmp eq i32 %43, %45
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47)
%49 = load i32, ptr %11, align 4
%50 = sitofp i32 %49 to double
%51 = fadd double %50, 1.000000e+00
%52 = fdiv double 2.000000e+00, %51
store double %52, ptr %14, align 8
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds double, ptr %53, i64 0
%55 = load double, ptr %54, align 8
store double %55, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store i32 1, ptr %18, align 4
br label %56
56: ; preds = %113, %39
%57 = load i32, ptr %18, align 4
%58 = load i32, ptr %13, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %116
60: ; preds = %56
%61 = load ptr, ptr %10, align 8
%62 = load i32, ptr %18, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load double, ptr %15, align 8
%67 = fsub double %65, %66
%68 = load double, ptr %14, align 8
%69 = load double, ptr %15, align 8
%70 = call double @llvm.fmuladd.f64(double %67, double %68, double %69)
store double %70, ptr %15, align 8
%71 = load i32, ptr %18, align 4
%72 = load i32, ptr %11, align 4
%73 = sub nsw i32 %72, 1
%74 = icmp eq i32 %71, %73
br i1 %74, label %75, label %77
75: ; preds = %60
%76 = load double, ptr %15, align 8
store double %76, ptr %16, align 8
br label %112
77: ; preds = %60
%78 = load i32, ptr %18, align 4
%79 = load i32, ptr %11, align 4
%80 = sub nsw i32 %79, 1
%81 = icmp sgt i32 %78, %80
br i1 %81, label %82, label %111
82: ; preds = %77
%83 = load double, ptr %15, align 8
%84 = load double, ptr %16, align 8
%85 = fsub double %83, %84
%86 = load double, ptr %14, align 8
%87 = load double, ptr %16, align 8
%88 = call double @llvm.fmuladd.f64(double %85, double %86, double %87)
store double %88, ptr %16, align 8
%89 = load i32, ptr %18, align 4
%90 = load i32, ptr %11, align 4
%91 = mul nsw i32 %90, 2
%92 = sub nsw i32 %91, 2
%93 = icmp eq i32 %89, %92
br i1 %93, label %94, label %96
94: ; preds = %82
%95 = load double, ptr %16, align 8
store double %95, ptr %17, align 8
br label %110
96: ; preds = %82
%97 = load i32, ptr %18, align 4
%98 = load i32, ptr %11, align 4
%99 = mul nsw i32 %98, 2
%100 = sub nsw i32 %99, 2
%101 = icmp sgt i32 %97, %100
br i1 %101, label %102, label %109
102: ; preds = %96
%103 = load double, ptr %16, align 8
%104 = load double, ptr %17, align 8
%105 = fsub double %103, %104
%106 = load double, ptr %14, align 8
%107 = load double, ptr %17, align 8
%108 = call double @llvm.fmuladd.f64(double %105, double %106, double %107)
store double %108, ptr %17, align 8
br label %109
109: ; preds = %102, %96
br label %110
110: ; preds = %109, %94
br label %111
111: ; preds = %110, %77
br label %112
112: ; preds = %111, %75
br label %113
113: ; preds = %112
%114 = load i32, ptr %18, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %18, align 4
br label %56, !llvm.loop !6
116: ; preds = %56
%117 = load i32, ptr %13, align 4
store i32 %117, ptr %18, align 4
br label %118
118: ; preds = %154, %116
%119 = load i32, ptr %18, align 4
%120 = load i32, ptr %6, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %122, label %157
122: ; preds = %118
%123 = load ptr, ptr %10, align 8
%124 = load i32, ptr %18, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
%127 = load double, ptr %126, align 8
%128 = load double, ptr %15, align 8
%129 = fsub double %127, %128
%130 = load double, ptr %14, align 8
%131 = load double, ptr %15, align 8
%132 = call double @llvm.fmuladd.f64(double %129, double %130, double %131)
store double %132, ptr %15, align 8
%133 = load double, ptr %15, align 8
%134 = load double, ptr %16, align 8
%135 = fsub double %133, %134
%136 = load double, ptr %14, align 8
%137 = load double, ptr %16, align 8
%138 = call double @llvm.fmuladd.f64(double %135, double %136, double %137)
store double %138, ptr %16, align 8
%139 = load double, ptr %17, align 8
store double %139, ptr %19, align 8
%140 = load double, ptr %16, align 8
%141 = load double, ptr %17, align 8
%142 = fsub double %140, %141
%143 = load double, ptr %14, align 8
%144 = load double, ptr %17, align 8
%145 = call double @llvm.fmuladd.f64(double %142, double %143, double %144)
store double %145, ptr %17, align 8
%146 = load double, ptr %17, align 8
%147 = load double, ptr %19, align 8
%148 = fsub double %146, %147
%149 = load double, ptr %17, align 8
%150 = fdiv double %148, %149
%151 = fmul double %150, 1.000000e+02
%152 = load ptr, ptr %12, align 8
%153 = getelementptr inbounds double, ptr %152, i32 1
store ptr %153, ptr %12, align 8
store double %151, ptr %152, align 8
br label %154
154: ; preds = %122
%155 = load i32, ptr %18, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %18, align 4
br label %118, !llvm.loop !8
157: ; preds = %118
%158 = load ptr, ptr %12, align 8
%159 = load ptr, ptr %9, align 8
%160 = getelementptr inbounds ptr, ptr %159, i64 0
%161 = load ptr, ptr %160, align 8
%162 = ptrtoint ptr %158 to i64
%163 = ptrtoint ptr %161 to i64
%164 = sub i64 %162, %163
%165 = sdiv exact i64 %164, 8
%166 = load i32, ptr %6, align 4
%167 = load ptr, ptr %8, align 8
%168 = call i32 @ti_trix_start(ptr noundef %167)
%169 = sub nsw i32 %166, %168
%170 = sext i32 %169 to i64
%171 = icmp eq i64 %165, %170
%172 = zext i1 %171 to i32
%173 = call i32 @assert(i32 noundef %172)
store i32 0, ptr %5, align 4
br label %174
174: ; preds = %157, %38, %32
%175 = load i32, ptr %5, align 4
ret i32 %175
}
declare i32 @ti_trix_start(ptr noundef) #1
declare i32 @assert(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwrnoob10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_trix(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
%25 = load double, ptr %24, align 8
%26 = fptosi double %25 to i32
store i32 %26, ptr %11, align 4
%27 = load ptr, ptr %9, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %12, align 8
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %4
store i32 1, ptr %5, align 4
br label %178
33: ; preds = %4
%34 = load i32, ptr %6, align 4
%35 = load ptr, ptr %8, align 8
%36 = call i32 @ti_trix_start(ptr noundef %35)
%37 = icmp sle i32 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %33
store i32 0, ptr %5, align 4
br label %178
39: ; preds = %33
%40 = load i32, ptr %11, align 4
%41 = mul nsw i32 %40, 3
%42 = sub nsw i32 %41, 2
store i32 %42, ptr %13, align 4
%43 = load i32, ptr %13, align 4
%44 = load ptr, ptr %8, align 8
%45 = call i32 @ti_trix_start(ptr noundef %44)
%46 = icmp eq i32 %43, %45
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47)
%49 = load i32, ptr %11, align 4
%50 = sitofp i32 %49 to double
%51 = fadd double %50, 1.000000e+00
%52 = fdiv double 2.000000e+00, %51
store double %52, ptr %14, align 8
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds double, ptr %53, i64 0
%55 = load double, ptr %54, align 8
store double %55, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store i32 1, ptr %18, align 4
%56 = load i32, ptr %18, align 4
%57 = load i32, ptr %13, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph, label %118
.lr.ph: ; preds = %39
br label %59
59: ; preds = %.lr.ph, %112
%60 = load ptr, ptr %10, align 8
%61 = load i32, ptr %18, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = load double, ptr %15, align 8
%66 = fsub double %64, %65
%67 = load double, ptr %14, align 8
%68 = load double, ptr %15, align 8
%69 = call double @llvm.fmuladd.f64(double %66, double %67, double %68)
store double %69, ptr %15, align 8
%70 = load i32, ptr %18, align 4
%71 = load i32, ptr %11, align 4
%72 = sub nsw i32 %71, 1
%73 = icmp eq i32 %70, %72
br i1 %73, label %74, label %76
74: ; preds = %59
%75 = load double, ptr %15, align 8
store double %75, ptr %16, align 8
br label %111
76: ; preds = %59
%77 = load i32, ptr %18, align 4
%78 = load i32, ptr %11, align 4
%79 = sub nsw i32 %78, 1
%80 = icmp sgt i32 %77, %79
br i1 %80, label %81, label %110
81: ; preds = %76
%82 = load double, ptr %15, align 8
%83 = load double, ptr %16, align 8
%84 = fsub double %82, %83
%85 = load double, ptr %14, align 8
%86 = load double, ptr %16, align 8
%87 = call double @llvm.fmuladd.f64(double %84, double %85, double %86)
store double %87, ptr %16, align 8
%88 = load i32, ptr %18, align 4
%89 = load i32, ptr %11, align 4
%90 = mul nsw i32 %89, 2
%91 = sub nsw i32 %90, 2
%92 = icmp eq i32 %88, %91
br i1 %92, label %93, label %95
93: ; preds = %81
%94 = load double, ptr %16, align 8
store double %94, ptr %17, align 8
br label %109
95: ; preds = %81
%96 = load i32, ptr %18, align 4
%97 = load i32, ptr %11, align 4
%98 = mul nsw i32 %97, 2
%99 = sub nsw i32 %98, 2
%100 = icmp sgt i32 %96, %99
br i1 %100, label %101, label %108
101: ; preds = %95
%102 = load double, ptr %16, align 8
%103 = load double, ptr %17, align 8
%104 = fsub double %102, %103
%105 = load double, ptr %14, align 8
%106 = load double, ptr %17, align 8
%107 = call double @llvm.fmuladd.f64(double %104, double %105, double %106)
store double %107, ptr %17, align 8
br label %108
108: ; preds = %101, %95
br label %109
109: ; preds = %108, %93
br label %110
110: ; preds = %109, %76
br label %111
111: ; preds = %110, %74
br label %112
112: ; preds = %111
%113 = load i32, ptr %18, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %18, align 4
%115 = load i32, ptr %18, align 4
%116 = load i32, ptr %13, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %112
br label %118
118: ; preds = %._crit_edge, %39
%119 = load i32, ptr %13, align 4
store i32 %119, ptr %18, align 4
%120 = load i32, ptr %18, align 4
%121 = load i32, ptr %6, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %.lr.ph2, label %161
.lr.ph2: ; preds = %118
br label %123
123: ; preds = %.lr.ph2, %155
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %18, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
%128 = load double, ptr %127, align 8
%129 = load double, ptr %15, align 8
%130 = fsub double %128, %129
%131 = load double, ptr %14, align 8
%132 = load double, ptr %15, align 8
%133 = call double @llvm.fmuladd.f64(double %130, double %131, double %132)
store double %133, ptr %15, align 8
%134 = load double, ptr %15, align 8
%135 = load double, ptr %16, align 8
%136 = fsub double %134, %135
%137 = load double, ptr %14, align 8
%138 = load double, ptr %16, align 8
%139 = call double @llvm.fmuladd.f64(double %136, double %137, double %138)
store double %139, ptr %16, align 8
%140 = load double, ptr %17, align 8
store double %140, ptr %19, align 8
%141 = load double, ptr %16, align 8
%142 = load double, ptr %17, align 8
%143 = fsub double %141, %142
%144 = load double, ptr %14, align 8
%145 = load double, ptr %17, align 8
%146 = call double @llvm.fmuladd.f64(double %143, double %144, double %145)
store double %146, ptr %17, align 8
%147 = load double, ptr %17, align 8
%148 = load double, ptr %19, align 8
%149 = fsub double %147, %148
%150 = load double, ptr %17, align 8
%151 = fdiv double %149, %150
%152 = fmul double %151, 1.000000e+02
%153 = load ptr, ptr %12, align 8
%154 = getelementptr inbounds double, ptr %153, i32 1
store ptr %154, ptr %12, align 8
store double %152, ptr %153, align 8
br label %155
155: ; preds = %123
%156 = load i32, ptr %18, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %18, align 4
%158 = load i32, ptr %18, align 4
%159 = load i32, ptr %6, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %123, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %155
br label %161
161: ; preds = %._crit_edge3, %118
%162 = load ptr, ptr %12, align 8
%163 = load ptr, ptr %9, align 8
%164 = getelementptr inbounds ptr, ptr %163, i64 0
%165 = load ptr, ptr %164, align 8
%166 = ptrtoint ptr %162 to i64
%167 = ptrtoint ptr %165 to i64
%168 = sub i64 %166, %167
%169 = sdiv exact i64 %168, 8
%170 = load i32, ptr %6, align 4
%171 = load ptr, ptr %8, align 8
%172 = call i32 @ti_trix_start(ptr noundef %171)
%173 = sub nsw i32 %170, %172
%174 = sext i32 %173 to i64
%175 = icmp eq i64 %169, %174
%176 = zext i1 %175 to i32
%177 = call i32 @assert(i32 noundef %176)
store i32 0, ptr %5, align 4
br label %178
178: ; preds = %161, %38, %32
%179 = load i32, ptr %5, align 4
ret i32 %179
}
declare i32 @ti_trix_start(ptr noundef) #1
declare i32 @assert(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpetl1bfmd.c'
source_filename = "/tmp/tmpetl1bfmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"socks\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"socks4\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"socks5\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openconnect_parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%21 = load ptr, ptr %8, align 8
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %8, align 8
%23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %15, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %58
26: ; preds = %6
%27 = load ptr, ptr %15, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %15, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
store ptr %29, ptr %15, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @strcasecmp(ptr noundef %30, ptr noundef @.str.1)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 443, ptr %18, align 4
br label %57
34: ; preds = %26
%35 = load ptr, ptr %14, align 8
%36 = call i32 @strcasecmp(ptr noundef %35, ptr noundef @.str.2)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 80, ptr %18, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %14, align 8
%41 = call i32 @strcasecmp(ptr noundef %40, ptr noundef @.str.3)
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %51
43: ; preds = %39
%44 = load ptr, ptr %14, align 8
%45 = call i32 @strcasecmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = call i32 @strcasecmp(ptr noundef %48, ptr noundef @.str.5)
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47, %43, %39
store i32 1080, ptr %18, align 4
br label %55
52: ; preds = %47
%53 = load i32, ptr @EPROTONOSUPPORT, align 4
%54 = sub nsw i32 0, %53
store i32 %54, ptr %7, align 4
br label %149
55: ; preds = %51
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %68
58: ; preds = %6
%59 = load i32, ptr %13, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
store ptr null, ptr %14, align 8
%62 = load i32, ptr %13, align 4
store i32 %62, ptr %18, align 4
%63 = load ptr, ptr %8, align 8
store ptr %63, ptr %15, align 8
br label %67
64: ; preds = %58
%65 = load i32, ptr @EINVAL, align 4
%66 = sub nsw i32 0, %65
store i32 %66, ptr %7, align 4
br label %149
67: ; preds = %61
br label %68
68: ; preds = %67, %57
%69 = load ptr, ptr %15, align 8
%70 = call ptr @strchr(ptr noundef %69, i8 noundef signext 47)
store ptr %70, ptr %16, align 8
%71 = load ptr, ptr %16, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %16, align 8
store i8 0, ptr %74, align 1
br label %76
76: ; preds = %73, %68
%77 = load ptr, ptr %15, align 8
%78 = call ptr @strrchr(ptr noundef %77, i8 noundef signext 58)
store ptr %78, ptr %17, align 8
%79 = load ptr, ptr %17, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %81, label %92
81: ; preds = %76
%82 = load ptr, ptr %17, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @strtol(ptr noundef %83, ptr noundef %19, i32 noundef 10)
store i32 %84, ptr %20, align 4
%85 = load ptr, ptr %19, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %81
%89 = load ptr, ptr %17, align 8
store i8 0, ptr %89, align 1
%90 = load i32, ptr %20, align 4
store i32 %90, ptr %18, align 4
br label %91
91: ; preds = %88, %81
br label %92
92: ; preds = %91, %76
%93 = load ptr, ptr %9, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load ptr, ptr %14, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load ptr, ptr %14, align 8
%100 = call ptr @strdup(ptr noundef %99)
br label %102
101: ; preds = %95
br label %102
102: ; preds = %101, %98
%103 = phi ptr [ %100, %98 ], [ null, %101 ]
%104 = load ptr, ptr %9, align 8
store ptr %103, ptr %104, align 8
br label %105
105: ; preds = %102, %92
%106 = load ptr, ptr %10, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %112
108: ; preds = %105
%109 = load ptr, ptr %15, align 8
%110 = call ptr @strdup(ptr noundef %109)
%111 = load ptr, ptr %10, align 8
store ptr %110, ptr %111, align 8
br label %112
112: ; preds = %108, %105
%113 = load ptr, ptr %11, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %18, align 4
%117 = load ptr, ptr %11, align 8
store i32 %116, ptr %117, align 4
br label %118
118: ; preds = %115, %112
%119 = load ptr, ptr %12, align 8
%120 = icmp ne ptr %119, null
br i1 %120, label %121, label %136
121: ; preds = %118
%122 = load ptr, ptr %16, align 8
%123 = icmp ne ptr %122, null
br i1 %123, label %124, label %132
124: ; preds = %121
%125 = load ptr, ptr %16, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load ptr, ptr %16, align 8
%131 = call ptr @strdup(ptr noundef %130)
br label %133
132: ; preds = %124, %121
br label %133
133: ; preds = %132, %129
%134 = phi ptr [ %131, %129 ], [ null, %132 ]
%135 = load ptr, ptr %12, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %133, %118
%137 = load ptr, ptr %16, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %139, label %142
139: ; preds = %136
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 -1
store i8 47, ptr %141, align 1
br label %142
142: ; preds = %139, %136
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load ptr, ptr %15, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 -3
store i8 58, ptr %147, align 1
br label %148
148: ; preds = %145, %142
store i32 0, ptr %7, align 4
br label %149
149: ; preds = %148, %64, %52
%150 = load i32, ptr %7, align 4
ret i32 %150
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetl1bfmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"socks\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"socks4\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"socks5\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openconnect_parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%21 = load ptr, ptr %8, align 8
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %8, align 8
%23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %15, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %58
26: ; preds = %6
%27 = load ptr, ptr %15, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %15, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
store ptr %29, ptr %15, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @strcasecmp(ptr noundef %30, ptr noundef @.str.1)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 443, ptr %18, align 4
br label %57
34: ; preds = %26
%35 = load ptr, ptr %14, align 8
%36 = call i32 @strcasecmp(ptr noundef %35, ptr noundef @.str.2)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 80, ptr %18, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %14, align 8
%41 = call i32 @strcasecmp(ptr noundef %40, ptr noundef @.str.3)
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %51
43: ; preds = %39
%44 = load ptr, ptr %14, align 8
%45 = call i32 @strcasecmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = call i32 @strcasecmp(ptr noundef %48, ptr noundef @.str.5)
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47, %43, %39
store i32 1080, ptr %18, align 4
br label %55
52: ; preds = %47
%53 = load i32, ptr @EPROTONOSUPPORT, align 4
%54 = sub nsw i32 0, %53
store i32 %54, ptr %7, align 4
br label %149
55: ; preds = %51
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %68
58: ; preds = %6
%59 = load i32, ptr %13, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
store ptr null, ptr %14, align 8
%62 = load i32, ptr %13, align 4
store i32 %62, ptr %18, align 4
%63 = load ptr, ptr %8, align 8
store ptr %63, ptr %15, align 8
br label %67
64: ; preds = %58
%65 = load i32, ptr @EINVAL, align 4
%66 = sub nsw i32 0, %65
store i32 %66, ptr %7, align 4
br label %149
67: ; preds = %61
br label %68
68: ; preds = %67, %57
%69 = load ptr, ptr %15, align 8
%70 = call ptr @strchr(ptr noundef %69, i8 noundef signext 47)
store ptr %70, ptr %16, align 8
%71 = load ptr, ptr %16, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %16, align 8
store i8 0, ptr %74, align 1
br label %76
76: ; preds = %73, %68
%77 = load ptr, ptr %15, align 8
%78 = call ptr @strrchr(ptr noundef %77, i8 noundef signext 58)
store ptr %78, ptr %17, align 8
%79 = load ptr, ptr %17, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %81, label %92
81: ; preds = %76
%82 = load ptr, ptr %17, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @strtol(ptr noundef %83, ptr noundef %19, i32 noundef 10)
store i32 %84, ptr %20, align 4
%85 = load ptr, ptr %19, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %81
%89 = load ptr, ptr %17, align 8
store i8 0, ptr %89, align 1
%90 = load i32, ptr %20, align 4
store i32 %90, ptr %18, align 4
br label %91
91: ; preds = %88, %81
br label %92
92: ; preds = %91, %76
%93 = load ptr, ptr %9, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load ptr, ptr %14, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load ptr, ptr %14, align 8
%100 = call ptr @strdup(ptr noundef %99)
br label %102
101: ; preds = %95
br label %102
102: ; preds = %101, %98
%103 = phi ptr [ %100, %98 ], [ null, %101 ]
%104 = load ptr, ptr %9, align 8
store ptr %103, ptr %104, align 8
br label %105
105: ; preds = %102, %92
%106 = load ptr, ptr %10, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %112
108: ; preds = %105
%109 = load ptr, ptr %15, align 8
%110 = call ptr @strdup(ptr noundef %109)
%111 = load ptr, ptr %10, align 8
store ptr %110, ptr %111, align 8
br label %112
112: ; preds = %108, %105
%113 = load ptr, ptr %11, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %18, align 4
%117 = load ptr, ptr %11, align 8
store i32 %116, ptr %117, align 4
br label %118
118: ; preds = %115, %112
%119 = load ptr, ptr %12, align 8
%120 = icmp ne ptr %119, null
br i1 %120, label %121, label %136
121: ; preds = %118
%122 = load ptr, ptr %16, align 8
%123 = icmp ne ptr %122, null
br i1 %123, label %124, label %132
124: ; preds = %121
%125 = load ptr, ptr %16, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load ptr, ptr %16, align 8
%131 = call ptr @strdup(ptr noundef %130)
br label %133
132: ; preds = %124, %121
br label %133
133: ; preds = %132, %129
%134 = phi ptr [ %131, %129 ], [ null, %132 ]
%135 = load ptr, ptr %12, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %133, %118
%137 = load ptr, ptr %16, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %139, label %142
139: ; preds = %136
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 -1
store i8 47, ptr %141, align 1
br label %142
142: ; preds = %139, %136
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load ptr, ptr %15, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 -3
store i8 58, ptr %147, align 1
br label %148
148: ; preds = %145, %142
store i32 0, ptr %7, align 4
br label %149
149: ; preds = %148, %64, %52
%150 = load i32, ptr %7, align 4
ret i32 %150
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo6vmbqvi.c'
source_filename = "/tmp/tmpo6vmbqvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @permut_locations_of_groups_within_cat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store ptr %1, ptr %15, align 8
store i32 %2, ptr %16, align 4
store ptr %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%38 = load i32, ptr %14, align 4
%39 = call ptr @ivector(i32 noundef 0, i32 noundef %38)
store ptr %39, ptr %32, align 8
%40 = load i32, ptr %14, align 4
%41 = call ptr @ivector(i32 noundef 0, i32 noundef %40)
store ptr %41, ptr %33, align 8
%42 = load i32, ptr %14, align 4
%43 = call ptr @ivector(i32 noundef 0, i32 noundef %42)
store ptr %43, ptr %34, align 8
store i32 1, ptr %31, align 4
br label %44
44: ; preds = %260, %13
%45 = load i32, ptr %31, align 4
%46 = load i32, ptr %16, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %48, label %263
48: ; preds = %44
store i32 0, ptr %36, align 4
store i32 1, ptr %27, align 4
br label %49
49: ; preds = %105, %48
%50 = load i32, ptr %27, align 4
%51 = load i32, ptr %14, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %53, label %108
53: ; preds = %49
%54 = load ptr, ptr %15, align 8
%55 = load i32, ptr %27, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %31, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %104
61: ; preds = %53
store i32 1, ptr %35, align 4
%62 = load i32, ptr %36, align 4
store i32 %62, ptr %37, align 4
br label %63
63: ; preds = %80, %61
%64 = load i32, ptr %37, align 4
%65 = icmp sge i32 %64, 1
br i1 %65, label %66, label %83
66: ; preds = %63
%67 = load ptr, ptr %21, align 8
%68 = load i32, ptr %27, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load ptr, ptr %34, align 8
%73 = load i32, ptr %37, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = icmp eq i32 %71, %76
br i1 %77, label %78, label %79
78: ; preds = %66
store i32 0, ptr %35, align 4
br label %83
79: ; preds = %66
br label %80
80: ; preds = %79
%81 = load i32, ptr %37, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %37, align 4
br label %63, !llvm.loop !6
83: ; preds = %78, %63
%84 = load i32, ptr %35, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %103
86: ; preds = %83
%87 = load i32, ptr %36, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %36, align 4
%89 = load ptr, ptr %21, align 8
%90 = load i32, ptr %27, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load ptr, ptr %34, align 8
%95 = load i32, ptr %36, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 %93, ptr %97, align 4
%98 = load i32, ptr %27, align 4
%99 = load ptr, ptr %33, align 8
%100 = load i32, ptr %36, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
store i32 %98, ptr %102, align 4
br label %103
103: ; preds = %86, %83
br label %104
104: ; preds = %103, %53
br label %105
105: ; preds = %104
%106 = load i32, ptr %27, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %27, align 4
br label %49, !llvm.loop !8
108: ; preds = %49
%109 = load ptr, ptr %33, align 8
%110 = load i32, ptr %36, align 4
%111 = load ptr, ptr %26, align 8
%112 = call i32 @resample_shuffle(ptr noundef %109, i32 noundef 1, i32 noundef %110, ptr noundef %111)
store i32 1, ptr %27, align 4
br label %113
113: ; preds = %140, %108
%114 = load i32, ptr %27, align 4
%115 = load i32, ptr %14, align 4
%116 = icmp sle i32 %114, %115
br i1 %116, label %117, label %143
117: ; preds = %113
%118 = load ptr, ptr %15, align 8
%119 = load i32, ptr %27, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
%122 = load i32, ptr %121, align 4
%123 = load i32, ptr %31, align 4
%124 = icmp eq i32 %122, %123
br i1 %124, label %125, label %139
125: ; preds = %117
%126 = load ptr, ptr %33, align 8
%127 = load ptr, ptr %21, align 8
%128 = load i32, ptr %27, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i32, ptr %127, i64 %129
%131 = load i32, ptr %130, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %126, i64 %132
%134 = load i32, ptr %133, align 4
%135 = load ptr, ptr %32, align 8
%136 = load i32, ptr %27, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
store i32 %134, ptr %138, align 4
br label %139
139: ; preds = %125, %117
br label %140
140: ; preds = %139
%141 = load i32, ptr %27, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %27, align 4
br label %113, !llvm.loop !9
143: ; preds = %113
store i32 1, ptr %27, align 4
br label %144
144: ; preds = %256, %143
%145 = load i32, ptr %27, align 4
%146 = load i32, ptr %14, align 4
%147 = icmp sle i32 %145, %146
br i1 %147, label %148, label %259
148: ; preds = %144
%149 = load ptr, ptr %15, align 8
%150 = load i32, ptr %27, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
%153 = load i32, ptr %152, align 4
%154 = load i32, ptr %31, align 4
%155 = icmp eq i32 %153, %154
br i1 %155, label %156, label %255
156: ; preds = %148
%157 = load ptr, ptr %20, align 8
%158 = getelementptr inbounds ptr, ptr %157, i64 0
%159 = load ptr, ptr %158, align 8
%160 = getelementptr inbounds double, ptr %159, i64 0
%161 = load double, ptr %160, align 8
%162 = fcmp une double %161, 1.000000e+00
br i1 %162, label %163, label %203
163: ; preds = %156
%164 = load ptr, ptr %17, align 8
%165 = load ptr, ptr %32, align 8
%166 = load i32, ptr %27, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
%169 = load i32, ptr %168, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %164, i64 %170
%172 = load double, ptr %171, align 8
%173 = load ptr, ptr %22, align 8
%174 = load i32, ptr %27, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
store double %172, ptr %176, align 8
%177 = load ptr, ptr %18, align 8
%178 = load ptr, ptr %32, align 8
%179 = load i32, ptr %27, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i32, ptr %178, i64 %180
%182 = load i32, ptr %181, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds double, ptr %177, i64 %183
%185 = load double, ptr %184, align 8
%186 = load ptr, ptr %23, align 8
%187 = load i32, ptr %27, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %186, i64 %188
store double %185, ptr %189, align 8
%190 = load ptr, ptr %19, align 8
%191 = load ptr, ptr %32, align 8
%192 = load i32, ptr %27, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds i32, ptr %191, i64 %193
%195 = load i32, ptr %194, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %190, i64 %196
%198 = load double, ptr %197, align 8
%199 = load ptr, ptr %24, align 8
%200 = load i32, ptr %27, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, ptr %199, i64 %201
store double %198, ptr %202, align 8
br label %203
203: ; preds = %163, %156
%204 = load ptr, ptr %20, align 8
%205 = getelementptr inbounds ptr, ptr %204, i64 0
%206 = load ptr, ptr %205, align 8
%207 = getelementptr inbounds double, ptr %206, i64 0
%208 = load double, ptr %207, align 8
%209 = fcmp oeq double %208, 1.000000e+00
br i1 %209, label %210, label %254
210: ; preds = %203
store i32 1, ptr %29, align 4
br label %211
211: ; preds = %250, %210
%212 = load i32, ptr %29, align 4
%213 = load i32, ptr %14, align 4
%214 = icmp sle i32 %212, %213
br i1 %214, label %215, label %253
215: ; preds = %211
%216 = load ptr, ptr %15, align 8
%217 = load i32, ptr %29, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds i32, ptr %216, i64 %218
%220 = load i32, ptr %219, align 4
%221 = load i32, ptr %31, align 4
%222 = icmp eq i32 %220, %221
br i1 %222, label %223, label %249
223: ; preds = %215
%224 = load ptr, ptr %20, align 8
%225 = load ptr, ptr %32, align 8
%226 = load i32, ptr %27, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
%229 = load i32, ptr %228, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds ptr, ptr %224, i64 %230
%232 = load ptr, ptr %231, align 8
%233 = load ptr, ptr %32, align 8
%234 = load i32, ptr %29, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i32, ptr %233, i64 %235
%237 = load i32, ptr %236, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds double, ptr %232, i64 %238
%240 = load double, ptr %239, align 8
%241 = load ptr, ptr %25, align 8
%242 = load i32, ptr %27, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds ptr, ptr %241, i64 %243
%245 = load ptr, ptr %244, align 8
%246 = load i32, ptr %29, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds double, ptr %245, i64 %247
store double %240, ptr %248, align 8
br label %249
249: ; preds = %223, %215
br label %250
250: ; preds = %249
%251 = load i32, ptr %29, align 4
%252 = add nsw i32 %251, 1
store i32 %252, ptr %29, align 4
br label %211, !llvm.loop !10
253: ; preds = %211
br label %254
254: ; preds = %253, %203
br label %255
255: ; preds = %254, %148
br label %256
256: ; preds = %255
%257 = load i32, ptr %27, align 4
%258 = add nsw i32 %257, 1
store i32 %258, ptr %27, align 4
br label %144, !llvm.loop !11
259: ; preds = %144
br label %260
260: ; preds = %259
%261 = load i32, ptr %31, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %31, align 4
br label %44, !llvm.loop !12
263: ; preds = %44
%264 = load ptr, ptr %32, align 8
%265 = load i32, ptr %14, align 4
%266 = call i32 @free_ivector(ptr noundef %264, i32 noundef 0, i32 noundef %265)
%267 = load ptr, ptr %33, align 8
%268 = load i32, ptr %14, align 4
%269 = call i32 @free_ivector(ptr noundef %267, i32 noundef 0, i32 noundef %268)
%270 = load ptr, ptr %34, align 8
%271 = load i32, ptr %14, align 4
%272 = call i32 @free_ivector(ptr noundef %270, i32 noundef 0, i32 noundef %271)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
declare i32 @resample_shuffle(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free_ivector(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6vmbqvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @permut_locations_of_groups_within_cat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store ptr %1, ptr %15, align 8
store i32 %2, ptr %16, align 4
store ptr %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%38 = load i32, ptr %14, align 4
%39 = call ptr @ivector(i32 noundef 0, i32 noundef %38)
store ptr %39, ptr %32, align 8
%40 = load i32, ptr %14, align 4
%41 = call ptr @ivector(i32 noundef 0, i32 noundef %40)
store ptr %41, ptr %33, align 8
%42 = load i32, ptr %14, align 4
%43 = call ptr @ivector(i32 noundef 0, i32 noundef %42)
store ptr %43, ptr %34, align 8
store i32 1, ptr %31, align 4
%44 = load i32, ptr %31, align 4
%45 = load i32, ptr %16, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %.lr.ph12, label %274
.lr.ph12: ; preds = %13
br label %47
47: ; preds = %.lr.ph12, %268
store i32 0, ptr %36, align 4
store i32 1, ptr %27, align 4
%48 = load i32, ptr %27, align 4
%49 = load i32, ptr %14, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %.lr.ph1, label %110
.lr.ph1: ; preds = %47
br label %51
51: ; preds = %.lr.ph1, %104
%52 = load ptr, ptr %15, align 8
%53 = load i32, ptr %27, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %31, align 4
%58 = icmp eq i32 %56, %57
br i1 %58, label %59, label %103
59: ; preds = %51
store i32 1, ptr %35, align 4
%60 = load i32, ptr %36, align 4
store i32 %60, ptr %37, align 4
%61 = load i32, ptr %37, align 4
%62 = icmp sge i32 %61, 1
br i1 %62, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %59
br label %63
63: ; preds = %.lr.ph, %77
%64 = load ptr, ptr %21, align 8
%65 = load i32, ptr %27, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %34, align 8
%70 = load i32, ptr %37, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = icmp eq i32 %68, %73
br i1 %74, label %75, label %76
75: ; preds = %63
store i32 0, ptr %35, align 4
br label %82
76: ; preds = %63
br label %77
77: ; preds = %76
%78 = load i32, ptr %37, align 4
%79 = add nsw i32 %78, -1
store i32 %79, ptr %37, align 4
%80 = load i32, ptr %37, align 4
%81 = icmp sge i32 %80, 1
br i1 %81, label %63, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %77
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %59
br label %82
82: ; preds = %.loopexit, %75
%83 = load i32, ptr %35, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %102
85: ; preds = %82
%86 = load i32, ptr %36, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %36, align 4
%88 = load ptr, ptr %21, align 8
%89 = load i32, ptr %27, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load ptr, ptr %34, align 8
%94 = load i32, ptr %36, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 %92, ptr %96, align 4
%97 = load i32, ptr %27, align 4
%98 = load ptr, ptr %33, align 8
%99 = load i32, ptr %36, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
store i32 %97, ptr %101, align 4
br label %102
102: ; preds = %85, %82
br label %103
103: ; preds = %102, %51
br label %104
104: ; preds = %103
%105 = load i32, ptr %27, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %27, align 4
%107 = load i32, ptr %27, align 4
%108 = load i32, ptr %14, align 4
%109 = icmp sle i32 %107, %108
br i1 %109, label %51, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %104
br label %110
110: ; preds = %._crit_edge, %47
%111 = load ptr, ptr %33, align 8
%112 = load i32, ptr %36, align 4
%113 = load ptr, ptr %26, align 8
%114 = call i32 @resample_shuffle(ptr noundef %111, i32 noundef 1, i32 noundef %112, ptr noundef %113)
store i32 1, ptr %27, align 4
%115 = load i32, ptr %27, align 4
%116 = load i32, ptr %14, align 4
%117 = icmp sle i32 %115, %116
br i1 %117, label %.lr.ph3, label %147
.lr.ph3: ; preds = %110
br label %118
118: ; preds = %.lr.ph3, %141
%119 = load ptr, ptr %15, align 8
%120 = load i32, ptr %27, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load i32, ptr %31, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %140
126: ; preds = %118
%127 = load ptr, ptr %33, align 8
%128 = load ptr, ptr %21, align 8
%129 = load i32, ptr %27, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %128, i64 %130
%132 = load i32, ptr %131, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %127, i64 %133
%135 = load i32, ptr %134, align 4
%136 = load ptr, ptr %32, align 8
%137 = load i32, ptr %27, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
store i32 %135, ptr %139, align 4
br label %140
140: ; preds = %126, %118
br label %141
141: ; preds = %140
%142 = load i32, ptr %27, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %27, align 4
%144 = load i32, ptr %27, align 4
%145 = load i32, ptr %14, align 4
%146 = icmp sle i32 %144, %145
br i1 %146, label %118, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %141
br label %147
147: ; preds = %._crit_edge4, %110
store i32 1, ptr %27, align 4
%148 = load i32, ptr %27, align 4
%149 = load i32, ptr %14, align 4
%150 = icmp sle i32 %148, %149
br i1 %150, label %.lr.ph9, label %267
.lr.ph9: ; preds = %147
br label %151
151: ; preds = %.lr.ph9, %261
%152 = load ptr, ptr %15, align 8
%153 = load i32, ptr %27, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4
%157 = load i32, ptr %31, align 4
%158 = icmp eq i32 %156, %157
br i1 %158, label %159, label %260
159: ; preds = %151
%160 = load ptr, ptr %20, align 8
%161 = getelementptr inbounds ptr, ptr %160, i64 0
%162 = load ptr, ptr %161, align 8
%163 = getelementptr inbounds double, ptr %162, i64 0
%164 = load double, ptr %163, align 8
%165 = fcmp une double %164, 1.000000e+00
br i1 %165, label %166, label %206
166: ; preds = %159
%167 = load ptr, ptr %17, align 8
%168 = load ptr, ptr %32, align 8
%169 = load i32, ptr %27, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %168, i64 %170
%172 = load i32, ptr %171, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, ptr %167, i64 %173
%175 = load double, ptr %174, align 8
%176 = load ptr, ptr %22, align 8
%177 = load i32, ptr %27, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
store double %175, ptr %179, align 8
%180 = load ptr, ptr %18, align 8
%181 = load ptr, ptr %32, align 8
%182 = load i32, ptr %27, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i32, ptr %181, i64 %183
%185 = load i32, ptr %184, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %180, i64 %186
%188 = load double, ptr %187, align 8
%189 = load ptr, ptr %23, align 8
%190 = load i32, ptr %27, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %189, i64 %191
store double %188, ptr %192, align 8
%193 = load ptr, ptr %19, align 8
%194 = load ptr, ptr %32, align 8
%195 = load i32, ptr %27, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %194, i64 %196
%198 = load i32, ptr %197, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %193, i64 %199
%201 = load double, ptr %200, align 8
%202 = load ptr, ptr %24, align 8
%203 = load i32, ptr %27, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds double, ptr %202, i64 %204
store double %201, ptr %205, align 8
br label %206
206: ; preds = %166, %159
%207 = load ptr, ptr %20, align 8
%208 = getelementptr inbounds ptr, ptr %207, i64 0
%209 = load ptr, ptr %208, align 8
%210 = getelementptr inbounds double, ptr %209, i64 0
%211 = load double, ptr %210, align 8
%212 = fcmp oeq double %211, 1.000000e+00
br i1 %212, label %213, label %259
213: ; preds = %206
store i32 1, ptr %29, align 4
%214 = load i32, ptr %29, align 4
%215 = load i32, ptr %14, align 4
%216 = icmp sle i32 %214, %215
br i1 %216, label %.lr.ph6, label %258
.lr.ph6: ; preds = %213
br label %217
217: ; preds = %.lr.ph6, %252
%218 = load ptr, ptr %15, align 8
%219 = load i32, ptr %29, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32, ptr %218, i64 %220
%222 = load i32, ptr %221, align 4
%223 = load i32, ptr %31, align 4
%224 = icmp eq i32 %222, %223
br i1 %224, label %225, label %251
225: ; preds = %217
%226 = load ptr, ptr %20, align 8
%227 = load ptr, ptr %32, align 8
%228 = load i32, ptr %27, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i32, ptr %227, i64 %229
%231 = load i32, ptr %230, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds ptr, ptr %226, i64 %232
%234 = load ptr, ptr %233, align 8
%235 = load ptr, ptr %32, align 8
%236 = load i32, ptr %29, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i32, ptr %235, i64 %237
%239 = load i32, ptr %238, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds double, ptr %234, i64 %240
%242 = load double, ptr %241, align 8
%243 = load ptr, ptr %25, align 8
%244 = load i32, ptr %27, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds ptr, ptr %243, i64 %245
%247 = load ptr, ptr %246, align 8
%248 = load i32, ptr %29, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds double, ptr %247, i64 %249
store double %242, ptr %250, align 8
br label %251
251: ; preds = %225, %217
br label %252
252: ; preds = %251
%253 = load i32, ptr %29, align 4
%254 = add nsw i32 %253, 1
store i32 %254, ptr %29, align 4
%255 = load i32, ptr %29, align 4
%256 = load i32, ptr %14, align 4
%257 = icmp sle i32 %255, %256
br i1 %257, label %217, label %._crit_edge7, !llvm.loop !10
._crit_edge7: ; preds = %252
br label %258
258: ; preds = %._crit_edge7, %213
br label %259
259: ; preds = %258, %206
br label %260
260: ; preds = %259, %151
br label %261
261: ; preds = %260
%262 = load i32, ptr %27, align 4
%263 = add nsw i32 %262, 1
store i32 %263, ptr %27, align 4
%264 = load i32, ptr %27, align 4
%265 = load i32, ptr %14, align 4
%266 = icmp sle i32 %264, %265
br i1 %266, label %151, label %._crit_edge10, !llvm.loop !11
._crit_edge10: ; preds = %261
br label %267
267: ; preds = %._crit_edge10, %147
br label %268
268: ; preds = %267
%269 = load i32, ptr %31, align 4
%270 = add nsw i32 %269, 1
store i32 %270, ptr %31, align 4
%271 = load i32, ptr %31, align 4
%272 = load i32, ptr %16, align 4
%273 = icmp sle i32 %271, %272
br i1 %273, label %47, label %._crit_edge13, !llvm.loop !12
._crit_edge13: ; preds = %268
br label %274
274: ; preds = %._crit_edge13, %13
%275 = load ptr, ptr %32, align 8
%276 = load i32, ptr %14, align 4
%277 = call i32 @free_ivector(ptr noundef %275, i32 noundef 0, i32 noundef %276)
%278 = load ptr, ptr %33, align 8
%279 = load i32, ptr %14, align 4
%280 = call i32 @free_ivector(ptr noundef %278, i32 noundef 0, i32 noundef %279)
%281 = load ptr, ptr %34, align 8
%282 = load i32, ptr %14, align 4
%283 = call i32 @free_ivector(ptr noundef %281, i32 noundef 0, i32 noundef %282)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
declare i32 @resample_shuffle(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free_ivector(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpn6r_ploy.c'
source_filename = "/tmp/tmpn6r_ploy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"=======Error Detected=======\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGHUP\0A\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"\09Reason:\09Hangup detected on controlling terminal or death of controlling process\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGINT\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"\09Reason:\09Interrupt from keyboard\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGQUIT\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"\09Reason:\09Quit from keyboard\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGILL\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGABRT\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"\09Reason:\09Abort SIGNAL from abort(3)\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGFPE\0A\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"\09Reason:\09Floating point exception\0A\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGSEGV\0A\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"\09Reason:\09Invalid memory reference\0A\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGPIPE\0A\00", align 1
@.str.15 = private unnamed_addr constant [53 x i8] c"\09Reason:\09Broken pipe: write to pipe with no readers\0A\00", align 1
@.str.16 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGALRM\0A\00", align 1
@.str.17 = private unnamed_addr constant [37 x i8] c"\09Reason:\09Timer SIGNAL from alarm(2)\0A\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTERM\0A\00", align 1
@.str.19 = private unnamed_addr constant [29 x i8] c"\09Reason:\09Termination SIGNAL\0A\00", align 1
@.str.20 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGUSR1\0A\00", align 1
@.str.21 = private unnamed_addr constant [32 x i8] c"\09Reason:\09User-defined SIGNAL 1\0A\00", align 1
@.str.22 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGUSR2\0A\00", align 1
@.str.23 = private unnamed_addr constant [32 x i8] c"\09Reason:\09User-defined SIGNAL 2\0A\00", align 1
@.str.24 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGCONT\0A\00", align 1
@.str.25 = private unnamed_addr constant [30 x i8] c"\09Reason:\09Continue if stopped\0A\00", align 1
@.str.26 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTSTP\0A\00", align 1
@.str.27 = private unnamed_addr constant [33 x i8] c"\09Reason:\09Stop typed at terminal\0A\00", align 1
@.str.28 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTTIN\0A\00", align 1
@.str.29 = private unnamed_addr constant [48 x i8] c"\09Reason:\09Terminal input for background process\0A\00", align 1
@.str.30 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTTOU\0A\00", align 1
@.str.31 = private unnamed_addr constant [49 x i8] c"\09Reason:\09Terminal output for background process\0A\00", align 1
@.str.32 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGBUS\0A\00", align 1
@.str.33 = private unnamed_addr constant [40 x i8] c"\09Reason:\09Bus error (bad memory access)\0A\00", align 1
@.str.34 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGPROF\0A\00", align 1
@.str.35 = private unnamed_addr constant [34 x i8] c"\09Reason:\09Profiling timer expired\0A\00", align 1
@.str.36 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGSYS\0A\00", align 1
@.str.37 = private unnamed_addr constant [41 x i8] c"\09Reason:\09Bad argument to routine (SVr4)\0A\00", align 1
@.str.38 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTRAP\0A\00", align 1
@.str.39 = private unnamed_addr constant [32 x i8] c"\09Reason:\09Trace/breakpoint trap\0A\00", align 1
@.str.40 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGURG\0A\00", align 1
@.str.41 = private unnamed_addr constant [46 x i8] c"\09Reason:\09Urgent condition on socket (4.2BSD)\0A\00", align 1
@.str.42 = private unnamed_addr constant [25 x i8] c"CHILD SIGNAL: SIGVTALRM\0A\00", align 1
@.str.43 = private unnamed_addr constant [39 x i8] c"\09Reason:\09Virtual alarm clock (4.2BSD)\0A\00", align 1
@.str.44 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGXCPU\0A\00", align 1
@.str.45 = private unnamed_addr constant [43 x i8] c"\09Reason:\09CPU time limit exceeded (4.2BSD)\0A\00", align 1
@.str.46 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGXFSZ\0A\00", align 1
@.str.47 = private unnamed_addr constant [44 x i8] c"\09Reason:\09File size limit exceeded (4.2BSD)\0A\00", align 1
@.str.48 = private unnamed_addr constant [21 x i8] c"CHILD SIGNAL: SIGIO\0A\00", align 1
@.str.49 = private unnamed_addr constant [36 x i8] c"\09Reason:\09I/O now possible (4.2BSD)\0A\00", align 1
@.str.50 = private unnamed_addr constant [24 x i8] c"CHILD SIGNAL: SIGWINCH\0A\00", align 1
@.str.51 = private unnamed_addr constant [45 x i8] c"\09Reason:\09Window resize SIGNAL (4.3BSD, Sun)\0A\00", align 1
@.str.52 = private unnamed_addr constant [22 x i8] c"UNKNOWN SIGNAL ERROR\0A\00", align 1
@.str.53 = private unnamed_addr constant [32 x i8] c"Child process execution FAILED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @genSignalMessage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @WTERMSIG(i32 noundef %4)
switch i32 %5, label %84 [
i32 148, label %6
i32 146, label %9
i32 142, label %12
i32 147, label %15
i32 153, label %18
i32 149, label %21
i32 141, label %24
i32 144, label %27
i32 152, label %30
i32 139, label %33
i32 133, label %36
i32 132, label %39
i32 150, label %42
i32 137, label %45
i32 136, label %48
i32 135, label %51
i32 151, label %54
i32 143, label %57
i32 140, label %60
i32 138, label %63
i32 134, label %66
i32 131, label %69
i32 129, label %72
i32 128, label %75
i32 145, label %78
i32 130, label %81
]
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.2)
br label %86
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @printf(ptr noundef @.str.4)
br label %86
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.5)
%14 = call i32 @printf(ptr noundef @.str.6)
br label %86
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.7)
%17 = call i32 @printf(ptr noundef @.str.6)
br label %86
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str.8)
%20 = call i32 @printf(ptr noundef @.str.9)
br label %86
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.10)
%23 = call i32 @printf(ptr noundef @.str.11)
br label %86
24: ; preds = %1
%25 = call i32 @printf(ptr noundef @.str.12)
%26 = call i32 @printf(ptr noundef @.str.13)
br label %86
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.14)
%29 = call i32 @printf(ptr noundef @.str.15)
br label %86
30: ; preds = %1
%31 = call i32 @printf(ptr noundef @.str.16)
%32 = call i32 @printf(ptr noundef @.str.17)
br label %86
33: ; preds = %1
%34 = call i32 @printf(ptr noundef @.str.18)
%35 = call i32 @printf(ptr noundef @.str.19)
br label %86
36: ; preds = %1
%37 = call i32 @printf(ptr noundef @.str.20)
%38 = call i32 @printf(ptr noundef @.str.21)
br label %86
39: ; preds = %1
%40 = call i32 @printf(ptr noundef @.str.22)
%41 = call i32 @printf(ptr noundef @.str.23)
br label %86
42: ; preds = %1
%43 = call i32 @printf(ptr noundef @.str.24)
%44 = call i32 @printf(ptr noundef @.str.25)
br label %86
45: ; preds = %1
%46 = call i32 @printf(ptr noundef @.str.26)
%47 = call i32 @printf(ptr noundef @.str.27)
br label %86
48: ; preds = %1
%49 = call i32 @printf(ptr noundef @.str.28)
%50 = call i32 @printf(ptr noundef @.str.29)
br label %86
51: ; preds = %1
%52 = call i32 @printf(ptr noundef @.str.30)
%53 = call i32 @printf(ptr noundef @.str.31)
br label %86
54: ; preds = %1
%55 = call i32 @printf(ptr noundef @.str.32)
%56 = call i32 @printf(ptr noundef @.str.33)
br label %86
57: ; preds = %1
%58 = call i32 @printf(ptr noundef @.str.34)
%59 = call i32 @printf(ptr noundef @.str.35)
br label %86
60: ; preds = %1
%61 = call i32 @printf(ptr noundef @.str.36)
%62 = call i32 @printf(ptr noundef @.str.37)
br label %86
63: ; preds = %1
%64 = call i32 @printf(ptr noundef @.str.38)
%65 = call i32 @printf(ptr noundef @.str.39)
br label %86
66: ; preds = %1
%67 = call i32 @printf(ptr noundef @.str.40)
%68 = call i32 @printf(ptr noundef @.str.41)
br label %86
69: ; preds = %1
%70 = call i32 @printf(ptr noundef @.str.42)
%71 = call i32 @printf(ptr noundef @.str.43)
br label %86
72: ; preds = %1
%73 = call i32 @printf(ptr noundef @.str.44)
%74 = call i32 @printf(ptr noundef @.str.45)
br label %86
75: ; preds = %1
%76 = call i32 @printf(ptr noundef @.str.46)
%77 = call i32 @printf(ptr noundef @.str.47)
br label %86
78: ; preds = %1
%79 = call i32 @printf(ptr noundef @.str.48)
%80 = call i32 @printf(ptr noundef @.str.49)
br label %86
81: ; preds = %1
%82 = call i32 @printf(ptr noundef @.str.50)
%83 = call i32 @printf(ptr noundef @.str.51)
br label %86
84: ; preds = %1
%85 = call i32 @printf(ptr noundef @.str.52)
br label %86
86: ; preds = %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
%87 = call i32 @printf(ptr noundef @.str.53)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @WTERMSIG(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/tmpn6r_ploy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"=======Error Detected=======\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGHUP\0A\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"\09Reason:\09Hangup detected on controlling terminal or death of controlling process\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGINT\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"\09Reason:\09Interrupt from keyboard\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGQUIT\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"\09Reason:\09Quit from keyboard\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGILL\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGABRT\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"\09Reason:\09Abort SIGNAL from abort(3)\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGFPE\0A\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"\09Reason:\09Floating point exception\0A\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGSEGV\0A\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"\09Reason:\09Invalid memory reference\0A\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGPIPE\0A\00", align 1
@.str.15 = private unnamed_addr constant [53 x i8] c"\09Reason:\09Broken pipe: write to pipe with no readers\0A\00", align 1
@.str.16 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGALRM\0A\00", align 1
@.str.17 = private unnamed_addr constant [37 x i8] c"\09Reason:\09Timer SIGNAL from alarm(2)\0A\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTERM\0A\00", align 1
@.str.19 = private unnamed_addr constant [29 x i8] c"\09Reason:\09Termination SIGNAL\0A\00", align 1
@.str.20 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGUSR1\0A\00", align 1
@.str.21 = private unnamed_addr constant [32 x i8] c"\09Reason:\09User-defined SIGNAL 1\0A\00", align 1
@.str.22 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGUSR2\0A\00", align 1
@.str.23 = private unnamed_addr constant [32 x i8] c"\09Reason:\09User-defined SIGNAL 2\0A\00", align 1
@.str.24 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGCONT\0A\00", align 1
@.str.25 = private unnamed_addr constant [30 x i8] c"\09Reason:\09Continue if stopped\0A\00", align 1
@.str.26 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTSTP\0A\00", align 1
@.str.27 = private unnamed_addr constant [33 x i8] c"\09Reason:\09Stop typed at terminal\0A\00", align 1
@.str.28 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTTIN\0A\00", align 1
@.str.29 = private unnamed_addr constant [48 x i8] c"\09Reason:\09Terminal input for background process\0A\00", align 1
@.str.30 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTTOU\0A\00", align 1
@.str.31 = private unnamed_addr constant [49 x i8] c"\09Reason:\09Terminal output for background process\0A\00", align 1
@.str.32 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGBUS\0A\00", align 1
@.str.33 = private unnamed_addr constant [40 x i8] c"\09Reason:\09Bus error (bad memory access)\0A\00", align 1
@.str.34 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGPROF\0A\00", align 1
@.str.35 = private unnamed_addr constant [34 x i8] c"\09Reason:\09Profiling timer expired\0A\00", align 1
@.str.36 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGSYS\0A\00", align 1
@.str.37 = private unnamed_addr constant [41 x i8] c"\09Reason:\09Bad argument to routine (SVr4)\0A\00", align 1
@.str.38 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGTRAP\0A\00", align 1
@.str.39 = private unnamed_addr constant [32 x i8] c"\09Reason:\09Trace/breakpoint trap\0A\00", align 1
@.str.40 = private unnamed_addr constant [22 x i8] c"CHILD SIGNAL: SIGURG\0A\00", align 1
@.str.41 = private unnamed_addr constant [46 x i8] c"\09Reason:\09Urgent condition on socket (4.2BSD)\0A\00", align 1
@.str.42 = private unnamed_addr constant [25 x i8] c"CHILD SIGNAL: SIGVTALRM\0A\00", align 1
@.str.43 = private unnamed_addr constant [39 x i8] c"\09Reason:\09Virtual alarm clock (4.2BSD)\0A\00", align 1
@.str.44 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGXCPU\0A\00", align 1
@.str.45 = private unnamed_addr constant [43 x i8] c"\09Reason:\09CPU time limit exceeded (4.2BSD)\0A\00", align 1
@.str.46 = private unnamed_addr constant [23 x i8] c"CHILD SIGNAL: SIGXFSZ\0A\00", align 1
@.str.47 = private unnamed_addr constant [44 x i8] c"\09Reason:\09File size limit exceeded (4.2BSD)\0A\00", align 1
@.str.48 = private unnamed_addr constant [21 x i8] c"CHILD SIGNAL: SIGIO\0A\00", align 1
@.str.49 = private unnamed_addr constant [36 x i8] c"\09Reason:\09I/O now possible (4.2BSD)\0A\00", align 1
@.str.50 = private unnamed_addr constant [24 x i8] c"CHILD SIGNAL: SIGWINCH\0A\00", align 1
@.str.51 = private unnamed_addr constant [45 x i8] c"\09Reason:\09Window resize SIGNAL (4.3BSD, Sun)\0A\00", align 1
@.str.52 = private unnamed_addr constant [22 x i8] c"UNKNOWN SIGNAL ERROR\0A\00", align 1
@.str.53 = private unnamed_addr constant [32 x i8] c"Child process execution FAILED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @genSignalMessage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @WTERMSIG(i32 noundef %4)
switch i32 %5, label %84 [
i32 148, label %6
i32 146, label %9
i32 142, label %12
i32 147, label %15
i32 153, label %18
i32 149, label %21
i32 141, label %24
i32 144, label %27
i32 152, label %30
i32 139, label %33
i32 133, label %36
i32 132, label %39
i32 150, label %42
i32 137, label %45
i32 136, label %48
i32 135, label %51
i32 151, label %54
i32 143, label %57
i32 140, label %60
i32 138, label %63
i32 134, label %66
i32 131, label %69
i32 129, label %72
i32 128, label %75
i32 145, label %78
i32 130, label %81
]
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.2)
br label %86
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @printf(ptr noundef @.str.4)
br label %86
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.5)
%14 = call i32 @printf(ptr noundef @.str.6)
br label %86
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.7)
%17 = call i32 @printf(ptr noundef @.str.6)
br label %86
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str.8)
%20 = call i32 @printf(ptr noundef @.str.9)
br label %86
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.10)
%23 = call i32 @printf(ptr noundef @.str.11)
br label %86
24: ; preds = %1
%25 = call i32 @printf(ptr noundef @.str.12)
%26 = call i32 @printf(ptr noundef @.str.13)
br label %86
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.14)
%29 = call i32 @printf(ptr noundef @.str.15)
br label %86
30: ; preds = %1
%31 = call i32 @printf(ptr noundef @.str.16)
%32 = call i32 @printf(ptr noundef @.str.17)
br label %86
33: ; preds = %1
%34 = call i32 @printf(ptr noundef @.str.18)
%35 = call i32 @printf(ptr noundef @.str.19)
br label %86
36: ; preds = %1
%37 = call i32 @printf(ptr noundef @.str.20)
%38 = call i32 @printf(ptr noundef @.str.21)
br label %86
39: ; preds = %1
%40 = call i32 @printf(ptr noundef @.str.22)
%41 = call i32 @printf(ptr noundef @.str.23)
br label %86
42: ; preds = %1
%43 = call i32 @printf(ptr noundef @.str.24)
%44 = call i32 @printf(ptr noundef @.str.25)
br label %86
45: ; preds = %1
%46 = call i32 @printf(ptr noundef @.str.26)
%47 = call i32 @printf(ptr noundef @.str.27)
br label %86
48: ; preds = %1
%49 = call i32 @printf(ptr noundef @.str.28)
%50 = call i32 @printf(ptr noundef @.str.29)
br label %86
51: ; preds = %1
%52 = call i32 @printf(ptr noundef @.str.30)
%53 = call i32 @printf(ptr noundef @.str.31)
br label %86
54: ; preds = %1
%55 = call i32 @printf(ptr noundef @.str.32)
%56 = call i32 @printf(ptr noundef @.str.33)
br label %86
57: ; preds = %1
%58 = call i32 @printf(ptr noundef @.str.34)
%59 = call i32 @printf(ptr noundef @.str.35)
br label %86
60: ; preds = %1
%61 = call i32 @printf(ptr noundef @.str.36)
%62 = call i32 @printf(ptr noundef @.str.37)
br label %86
63: ; preds = %1
%64 = call i32 @printf(ptr noundef @.str.38)
%65 = call i32 @printf(ptr noundef @.str.39)
br label %86
66: ; preds = %1
%67 = call i32 @printf(ptr noundef @.str.40)
%68 = call i32 @printf(ptr noundef @.str.41)
br label %86
69: ; preds = %1
%70 = call i32 @printf(ptr noundef @.str.42)
%71 = call i32 @printf(ptr noundef @.str.43)
br label %86
72: ; preds = %1
%73 = call i32 @printf(ptr noundef @.str.44)
%74 = call i32 @printf(ptr noundef @.str.45)
br label %86
75: ; preds = %1
%76 = call i32 @printf(ptr noundef @.str.46)
%77 = call i32 @printf(ptr noundef @.str.47)
br label %86
78: ; preds = %1
%79 = call i32 @printf(ptr noundef @.str.48)
%80 = call i32 @printf(ptr noundef @.str.49)
br label %86
81: ; preds = %1
%82 = call i32 @printf(ptr noundef @.str.50)
%83 = call i32 @printf(ptr noundef @.str.51)
br label %86
84: ; preds = %1
%85 = call i32 @printf(ptr noundef @.str.52)
br label %86
86: ; preds = %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
%87 = call i32 @printf(ptr noundef @.str.53)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @WTERMSIG(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/tmpqefpqkdl.c'
source_filename = "/tmp/tmpqefpqkdl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertColorsToStorage(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call signext i8 @ConvertColorToStorage(i8 noundef signext %15)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
declare signext i8 @ConvertColorToStorage(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/tmpqefpqkdl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertColorsToStorage(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call signext i8 @ConvertColorToStorage(i8 noundef signext %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 %15, ptr %19, align 1
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
declare signext i8 @ConvertColorToStorage(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/tmpcgrpyj2y.c'
source_filename = "/tmp/tmpcgrpyj2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 20
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
br label %7, !llvm.loop !6
16: ; preds = %7
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcgrpyj2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 20
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
br label %12
12: ; preds = %9
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 20
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnuw8ggjc.c'
source_filename = "/tmp/tmpnuw8ggjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"An error occured, could not fork\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"An error occured in exec\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"waited in child\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @fork()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
switch i32 %8, label %29 [
i32 -1, label %9
i32 0, label %12
]
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i32 1
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %22
21: ; preds = %12
br label %22
22: ; preds = %21, %18
%23 = phi ptr [ %20, %18 ], [ null, %21 ]
%24 = call i32 @execv(ptr noundef %15, ptr noundef %23)
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %22
br label %33
29: ; preds = %2
%30 = load i32, ptr %6, align 4
%31 = call i32 @waitpid(i32 noundef %30, ptr noundef null, i32 noundef 0)
%32 = call i32 @printf(ptr noundef @.str.2)
br label %33
33: ; preds = %29, %28
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @waitpid(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" }
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/tmpnuw8ggjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"An error occured, could not fork\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"An error occured in exec\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"waited in child\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @fork()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
switch i32 %8, label %29 [
i32 -1, label %9
i32 0, label %12
]
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i32 1
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %22
21: ; preds = %12
br label %22
22: ; preds = %21, %18
%23 = phi ptr [ %20, %18 ], [ null, %21 ]
%24 = call i32 @execv(ptr noundef %15, ptr noundef %23)
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %22
br label %33
29: ; preds = %2
%30 = load i32, ptr %6, align 4
%31 = call i32 @waitpid(i32 noundef %30, ptr noundef null, i32 noundef 0)
%32 = call i32 @printf(ptr noundef @.str.2)
br label %33
33: ; preds = %29, %28
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @waitpid(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" }
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/tmpoqsyww18.c'
source_filename = "/tmp/tmpoqsyww18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"%s v%d.%d by %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"TheTwitchy\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"\09info: a tool to escape stdin(default) or files into another ASCII readable form\0A\00", align 1
@.str.3 = private unnamed_addr constant [62 x i8] c"\09usage: %s [-e escape_type] [-i input_file] [-o output_file]\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"\09options:\0A\09\09-i input filename\0A\09\09-o output filename\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"\09\09-e escape type (html,php,url,urlalphanum)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, i32 noundef 1, i32 noundef 1, ptr noundef @.str.1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqsyww18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"%s v%d.%d by %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"TheTwitchy\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"\09info: a tool to escape stdin(default) or files into another ASCII readable form\0A\00", align 1
@.str.3 = private unnamed_addr constant [62 x i8] c"\09usage: %s [-e escape_type] [-i input_file] [-o output_file]\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"\09options:\0A\09\09-i input filename\0A\09\09-o output filename\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"\09\09-e escape type (html,php,url,urlalphanum)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, i32 noundef 1, i32 noundef 1, ptr noundef @.str.1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_sjw4l53.c'
source_filename = "/tmp/tmp_sjw4l53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"/sys/kernel/debug/mmap_example\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Open call failed\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [22 x i8] c"mmap operation failed\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\0AInitial message: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"*user*\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Changed message: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
store ptr null, ptr %7, align 8
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %36
14: ; preds = %2
%15 = load i32, ptr @PROT_READ, align 4
%16 = load i32, ptr @PROT_WRITE, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_SHARED, align 4
%19 = load i32, ptr %6, align 4
%20 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr @MAP_FAILED, align 8
%23 = icmp eq ptr %21, %22
br i1 %23, label %24, label %26
24: ; preds = %14
%25 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %36
26: ; preds = %14
%27 = load ptr, ptr %7, align 8
%28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 11
%31 = call i32 @memcpy(ptr noundef %30, ptr noundef @.str.4, i32 noundef 6)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @printf(ptr noundef @.str.5, ptr noundef %32)
%34 = load i32, ptr %6, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %26, %24, %12
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sjw4l53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"/sys/kernel/debug/mmap_example\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Open call failed\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [22 x i8] c"mmap operation failed\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\0AInitial message: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"*user*\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Changed message: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
store ptr null, ptr %7, align 8
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %36
14: ; preds = %2
%15 = load i32, ptr @PROT_READ, align 4
%16 = load i32, ptr @PROT_WRITE, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_SHARED, align 4
%19 = load i32, ptr %6, align 4
%20 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr @MAP_FAILED, align 8
%23 = icmp eq ptr %21, %22
br i1 %23, label %24, label %26
24: ; preds = %14
%25 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %36
26: ; preds = %14
%27 = load ptr, ptr %7, align 8
%28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 11
%31 = call i32 @memcpy(ptr noundef %30, ptr noundef @.str.4, i32 noundef 6)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @printf(ptr noundef @.str.5, ptr noundef %32)
%34 = load i32, ptr %6, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %26, %24, %12
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabtfo7l_.c'
source_filename = "/tmp/tmpabtfo7l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"\0Ait support tilda '~' expansion ,'*' expansion,and $' expansion\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"\0Afor any problem contact amrit kumar at amritkrs@gmail.com\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_wildcard() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabtfo7l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"\0Ait support tilda '~' expansion ,'*' expansion,and $' expansion\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"\0Afor any problem contact amrit kumar at amritkrs@gmail.com\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_wildcard() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_cpvagdv.c'
source_filename = "/tmp/tmp_cpvagdv.c"
target datalayout = "e-m:e-p270: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/tmp_cpvagdv.c"
target datalayout = "e-m:e-p270: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/tmp22qu0xwg.c'
source_filename = "/tmp/tmp22qu0xwg.c"
target datalayout = "e-m:e-p270: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/tmp22qu0xwg.c"
target datalayout = "e-m:e-p270: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/tmpeqf0vuyx.c'
source_filename = "/tmp/tmpeqf0vuyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s FILE1 FILE2\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"Error: cannot open file\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13, %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %18
%30 = load ptr, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %29, %18
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %29
%37 = call ptr @malloc(i32 noundef 19200000)
store ptr %37, ptr %8, align 8
%38 = call ptr @malloc(i32 noundef 19200000)
store ptr %38, ptr %9, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fread(ptr noundef %39, i32 noundef 2, i32 noundef 9600000, ptr noundef %40)
%42 = load ptr, ptr %9, align 8
%43 = load ptr, ptr %7, align 8
%44 = call i32 @fread(ptr noundef %42, i32 noundef 2, i32 noundef 9600000, ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %9, align 8
%47 = call i64 @compare_blocks(ptr noundef %45, ptr noundef %46, i32 noundef 9600000)
store i64 %47, ptr %10, align 8
%48 = load i64, ptr %10, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %48)
%50 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @compare_blocks(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" }
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/tmpeqf0vuyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s FILE1 FILE2\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"Error: cannot open file\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13, %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %18
%30 = load ptr, ptr %7, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %29, %18
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %29
%37 = call ptr @malloc(i32 noundef 19200000)
store ptr %37, ptr %8, align 8
%38 = call ptr @malloc(i32 noundef 19200000)
store ptr %38, ptr %9, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fread(ptr noundef %39, i32 noundef 2, i32 noundef 9600000, ptr noundef %40)
%42 = load ptr, ptr %9, align 8
%43 = load ptr, ptr %7, align 8
%44 = call i32 @fread(ptr noundef %42, i32 noundef 2, i32 noundef 9600000, ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %9, align 8
%47 = call i64 @compare_blocks(ptr noundef %45, ptr noundef %46, i32 noundef 9600000)
store i64 %47, ptr %10, align 8
%48 = load i64, ptr %10, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %48)
%50 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @compare_blocks(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" }
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/tmp67pt8_75.c'
source_filename = "/tmp/tmp67pt8_75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @munmap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = sub nsw i32 0, %6
%8 = call ptr @_sbrk(i32 noundef %7)
%9 = icmp eq ptr %8, inttoptr (i64 -1 to ptr)
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare ptr @_sbrk(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/tmp67pt8_75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @munmap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = sub nsw i32 0, %6
%8 = call ptr @_sbrk(i32 noundef %7)
%9 = icmp eq ptr %8, inttoptr (i64 -1 to ptr)
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare ptr @_sbrk(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/tmplkwkar8r.c'
source_filename = "/tmp/tmplkwkar8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 1, ptr %2, align 4
br label %4
4: ; preds = %22, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 3
br i1 %6, label %7, label %25
7: ; preds = %4
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %18, %7
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %9, 3
br i1 %10, label %11, label %21
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %14, %15
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %8, !llvm.loop !6
21: ; preds = %8
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %4, !llvm.loop !8
25: ; preds = %4
%26 = load i32, ptr %1, align 4
ret i32 %26
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplkwkar8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 3
br i1 %5, label %.lr.ph2, label %27
.lr.ph2: ; preds = %0
br label %6
6: ; preds = %.lr.ph2, %22
store i32 1, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 3
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %6
br label %9
9: ; preds = %.lr.ph, %16
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %12, %13
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 3
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %6
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %25, 3
br i1 %26, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %27
27: ; preds = %._crit_edge3, %0
%28 = load i32, ptr %1, align 4
ret i32 %28
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1078q_vv.c'
source_filename = "/tmp/tmp1078q_vv.c"
target datalayout = "e-m:e-p270: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/tmp1078q_vv.c"
target datalayout = "e-m:e-p270: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/tmp1swdiscg.c'
source_filename = "/tmp/tmp1swdiscg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scamper_tcp6_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
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/tmp1swdiscg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scamper_tcp6_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
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/tmp9ca8m9v9.c'
source_filename = "/tmp/tmp9ca8m9v9.c"
target datalayout = "e-m:e-p270: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/tmp9ca8m9v9.c"
target datalayout = "e-m:e-p270: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/tmptdu2edhd.c'
source_filename = "/tmp/tmptdu2edhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binarySearch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load i32, ptr %6, align 4
%11 = call i32 @_binarySearch(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @_binarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptdu2edhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binarySearch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load i32, ptr %6, align 4
%11 = call i32 @_binarySearch(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @_binarySearch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0jgljmjq.c'
source_filename = "/tmp/tmp0jgljmjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @L0_CDF53(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 8
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %13, align 8
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %11, align 4
%27 = call i32 @fwt53_2D(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 1)
store i32 0, ptr %14, align 4
br label %28
28: ; preds = %45, %6
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = mul nsw i32 %30, %31
%33 = icmp slt i32 %29, %32
br i1 %33, label %34, label %48
34: ; preds = %28
%35 = load ptr, ptr %13, align 8
%36 = load i32, ptr %14, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fabs.f64(double %39)
%41 = load ptr, ptr %13, align 8
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
store double %40, ptr %44, align 8
br label %45
45: ; preds = %34
%46 = load i32, ptr %14, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %14, align 4
br label %28, !llvm.loop !6
48: ; preds = %28
%49 = load ptr, ptr %13, align 8
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %11, align 4
%52 = call double @L0(ptr noundef %49, ptr noundef null, i32 noundef 0, i32 noundef %50, i32 noundef %51, i32 noundef 1)
store double %52, ptr %15, align 8
%53 = load ptr, ptr %13, align 8
%54 = call i32 @free(ptr noundef %53)
%55 = load double, ptr %15, align 8
ret double %55
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fwt53_2D(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @L0(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jgljmjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @L0_CDF53(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 8
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %13, align 8
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %11, align 4
%27 = call i32 @fwt53_2D(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 1)
store i32 0, ptr %14, align 4
%28 = load i32, ptr %14, align 4
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %11, align 4
%31 = mul nsw i32 %29, %30
%32 = icmp slt i32 %28, %31
br i1 %32, label %.lr.ph, label %52
.lr.ph: ; preds = %6
br label %33
33: ; preds = %.lr.ph, %44
%34 = load ptr, ptr %13, align 8
%35 = load i32, ptr %14, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = call double @llvm.fabs.f64(double %38)
%40 = load ptr, ptr %13, align 8
%41 = load i32, ptr %14, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
store double %39, ptr %43, align 8
br label %44
44: ; preds = %33
%45 = load i32, ptr %14, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %14, align 4
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
%51 = icmp slt i32 %47, %50
br i1 %51, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %52
52: ; preds = %._crit_edge, %6
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %11, align 4
%56 = call double @L0(ptr noundef %53, ptr noundef null, i32 noundef 0, i32 noundef %54, i32 noundef %55, i32 noundef 1)
store double %56, ptr %15, align 8
%57 = load ptr, ptr %13, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load double, ptr %15, align 8
ret double %59
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fwt53_2D(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @L0(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmqjww19z.c'
source_filename = "/tmp/tmpmqjww19z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @fmaxf(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 @__nv_fmaxf(float noundef %5, float noundef %6)
ret float %7
}
declare float @__nv_fmaxf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmqjww19z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @fmaxf(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 @__nv_fmaxf(float noundef %5, float noundef %6)
ret float %7
}
declare float @__nv_fmaxf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq1ubz0mm.c'
source_filename = "/tmp/tmpq1ubz0mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsrchr(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
br label %6
6: ; preds = %17, %2
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %11, align 8
%13 = load i64, ptr %4, align 8
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %15, %10
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i64, ptr %18, i32 1
store ptr %19, ptr %3, align 8
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq1ubz0mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsrchr(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %4, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
store ptr %15, ptr %5, align 8
br label %16
16: ; preds = %14, %9
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i64, ptr %17, i32 1
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i64, ptr %19, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpax4mo_kg.c'
source_filename = "/tmp/tmpax4mo_kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\09done with foo %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = srem i32 %10, 2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = call i32 @foo(i32 noundef %16)
%18 = add nsw i32 %14, %17
store i32 %18, ptr %2, align 4
br label %32
19: ; preds = %9
%20 = load i32, ptr %3, align 4
%21 = srem i32 %20, 2
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 1
%27 = call i32 @bar(i32 noundef %26)
%28 = add nsw i32 %24, %27
store i32 %28, ptr %2, align 4
br label %32
29: ; preds = %19
%30 = load i32, ptr %3, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %29, %23, %13, %8
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @bar(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/tmpax4mo_kg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\09done with foo %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = srem i32 %10, 2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = call i32 @foo(i32 noundef %16)
%18 = add nsw i32 %14, %17
store i32 %18, ptr %2, align 4
br label %32
19: ; preds = %9
%20 = load i32, ptr %3, align 4
%21 = srem i32 %20, 2
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 1
%27 = call i32 @bar(i32 noundef %26)
%28 = add nsw i32 %24, %27
store i32 %28, ptr %2, align 4
br label %32
29: ; preds = %19
%30 = load i32, ptr %3, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %29, %23, %13, %8
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @bar(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/tmp1b9u_gen.c'
source_filename = "/tmp/tmp1b9u_gen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 1
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %33, %1
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %10, label %36
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %26, label %18
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 13
br i1 %25, label %26, label %31
26: ; preds = %18, %10
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
br label %32
31: ; preds = %18
br label %36
32: ; preds = %26
br label %33
33: ; preds = %32
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %3, align 4
br label %7, !llvm.loop !6
36: ; preds = %31, %7
ret void
}
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/tmp1b9u_gen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 1
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sge i32 %7, 0
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %32
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 10
br i1 %16, label %25, label %17
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 13
br i1 %24, label %25, label %30
25: ; preds = %17, %9
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
br label %31
30: ; preds = %17
br label %37
31: ; preds = %25
br label %32
32: ; preds = %31
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %3, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp sge i32 %35, 0
br i1 %36, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %37
37: ; preds = %.loopexit, %30
ret void
}
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/tmp7cvp5dxl.c'
source_filename = "/tmp/tmp7cvp5dxl.c"
target datalayout = "e-m:e-p270: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/tmp7cvp5dxl.c"
target datalayout = "e-m:e-p270: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/tmp9giw9_m8.c'
source_filename = "/tmp/tmp9giw9_m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Step\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Step() #0 {
%1 = alloca [20 x i8], align 16
%2 = call i32 @printf(ptr noundef @.str)
%3 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9giw9_m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Step\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Step() #0 {
%1 = alloca [20 x i8], align 16
%2 = call i32 @printf(ptr noundef @.str)
%3 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnq2qi4j3.c'
source_filename = "/tmp/tmpnq2qi4j3.c"
target datalayout = "e-m:e-p270: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/tmpnq2qi4j3.c"
target datalayout = "e-m:e-p270: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/tmpe2xyw2u5.c'
source_filename = "/tmp/tmpe2xyw2u5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_BLOCK = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @octave_block_interrupt_signal() #0 {
%1 = load i32, ptr @SIG_BLOCK, align 4
%2 = load i32, ptr @SIGINT, align 4
%3 = call i32 @block_or_unblock_signal(i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @block_or_unblock_signal(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/tmpe2xyw2u5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_BLOCK = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @octave_block_interrupt_signal() #0 {
%1 = load i32, ptr @SIG_BLOCK, align 4
%2 = load i32, ptr @SIGINT, align 4
%3 = call i32 @block_or_unblock_signal(i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @block_or_unblock_signal(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/tmpqbbp2ltn.c'
source_filename = "/tmp/tmpqbbp2ltn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nginx_unescape(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
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %42, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %43
9: ; preds = %5
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 92
br i1 %13, label %14, label %36
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 120
br i1 %19, label %20, label %36
20: ; preds = %14
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load i8, ptr %22, align 1
%24 = call i32 @decode_hex(i8 noundef signext %23)
%25 = shl i32 %24, 4
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 3
%28 = load i8, ptr %27, align 1
%29 = call i32 @decode_hex(i8 noundef signext %28)
%30 = add nsw i32 %25, %29
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %3, align 8
store i8 %31, ptr %32, align 1
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 4
store ptr %35, ptr %2, align 8
br label %42
36: ; preds = %14, %9
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %2, align 8
%39 = load i8, ptr %37, align 1
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
store i8 %39, ptr %40, align 1
br label %42
42: ; preds = %36, %20
br label %5, !llvm.loop !6
43: ; preds = %5
%44 = load ptr, ptr %3, align 8
store i8 0, ptr %44, align 1
ret void
}
declare i32 @decode_hex(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/tmpqbbp2ltn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nginx_unescape(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
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %41
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 92
br i1 %12, label %13, label %35
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 120
br i1 %18, label %19, label %35
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 2
%22 = load i8, ptr %21, align 1
%23 = call i32 @decode_hex(i8 noundef signext %22)
%24 = shl i32 %23, 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 3
%27 = load i8, ptr %26, align 1
%28 = call i32 @decode_hex(i8 noundef signext %27)
%29 = add nsw i32 %24, %28
%30 = trunc i32 %29 to i8
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %3, align 8
store i8 %30, ptr %31, align 1
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 4
store ptr %34, ptr %2, align 8
br label %41
35: ; preds = %13, %8
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %2, align 8
%38 = load i8, ptr %36, align 1
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %3, align 8
store i8 %38, ptr %39, align 1
br label %41
41: ; preds = %35, %19
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %45
45: ; preds = %._crit_edge, %1
%46 = load ptr, ptr %3, align 8
store i8 0, ptr %46, align 1
ret void
}
declare i32 @decode_hex(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/tmpam3qzbkj.c'
source_filename = "/tmp/tmpam3qzbkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unable to create SSL context\00", align 1
@stderr = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_context(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr (...) @SSLv23_server_method()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @SSL_CTX_new(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
store ptr %6, ptr %7, align 8
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @ERR_print_errors_fp(i32 noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
ret void
}
declare ptr @SSLv23_server_method(...) #1
declare ptr @SSL_CTX_new(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ERR_print_errors_fp(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpam3qzbkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unable to create SSL context\00", align 1
@stderr = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_context(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr (...) @SSLv23_server_method()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @SSL_CTX_new(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
store ptr %6, ptr %7, align 8
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @ERR_print_errors_fp(i32 noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
ret void
}
declare ptr @SSLv23_server_method(...) #1
declare ptr @SSL_CTX_new(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ERR_print_errors_fp(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpntia2yz2.c'
source_filename = "/tmp/tmpntia2yz2.c"
target datalayout = "e-m:e-p270: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/tmpntia2yz2.c"
target datalayout = "e-m:e-p270: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/tmptu__zvjf.c'
source_filename = "/tmp/tmptu__zvjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"The size of an int variable is: %lu bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"The size of a char variable is: %lu byte\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The size of myName is: %lu bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Here is the value of myName: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"Here is myName as an ASCII code: %d %d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [68 x i8] c"This is the first character in myName shifted by 24 (8*3) bits: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [69 x i8] c"This is the second character in myName shifted by 16 (8*2) bits: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"This is the third character in myName shifted by 8 bits: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [62 x i8] c"This is the fourth character in myName not shifted a bit: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"Here is myNme as an int: %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 [4 x i8], align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
store i8 65, ptr %8, align 1
%9 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
store i8 120, ptr %9, align 1
%10 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 108, ptr %10, align 1
%11 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
store i8 0, ptr %11, align 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 1)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4)
%15 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
%17 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28)
%30 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = shl i32 %32, 24
%34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = shl i32 %36, 16
%38 = add nsw i32 %33, %37
%39 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = shl i32 %41, 8
%43 = add nsw i32 %38, %42
%44 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = add nsw i32 %43, %46
store i32 %47, ptr %7, align 4
%48 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = shl i32 %50, 24
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %51)
%53 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = shl i32 %55, 16
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56)
%58 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = shl i32 %60, 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %61)
%63 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %67)
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/tmptu__zvjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"The size of an int variable is: %lu bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"The size of a char variable is: %lu byte\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The size of myName is: %lu bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Here is the value of myName: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"Here is myName as an ASCII code: %d %d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [68 x i8] c"This is the first character in myName shifted by 24 (8*3) bits: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [69 x i8] c"This is the second character in myName shifted by 16 (8*2) bits: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"This is the third character in myName shifted by 8 bits: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [62 x i8] c"This is the fourth character in myName not shifted a bit: %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"Here is myNme as an int: %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 [4 x i8], align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
store i8 65, ptr %8, align 1
%9 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
store i8 120, ptr %9, align 1
%10 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 108, ptr %10, align 1
%11 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
store i8 0, ptr %11, align 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 1)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4)
%15 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
%17 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28)
%30 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = shl i32 %32, 24
%34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = shl i32 %36, 16
%38 = add nsw i32 %33, %37
%39 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = shl i32 %41, 8
%43 = add nsw i32 %38, %42
%44 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = add nsw i32 %43, %46
store i32 %47, ptr %7, align 4
%48 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = shl i32 %50, 24
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %51)
%53 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = shl i32 %55, 16
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56)
%58 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = shl i32 %60, 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %61)
%63 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %67)
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/tmpian_3lg8.c'
source_filename = "/tmp/tmpian_3lg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gotoXY(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpian_3lg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gotoXY(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpenxgo2bj.c'
source_filename = "/tmp/tmpenxgo2bj.c"
target datalayout = "e-m:e-p270: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/tmpenxgo2bj.c"
target datalayout = "e-m:e-p270: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/tmpksztbz9e.c'
source_filename = "/tmp/tmpksztbz9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Long passphrase\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.2 = private unnamed_addr constant [306 x i8] c"$$$it was the epoch of belief, it was the epoch of incredulity; it was the season of Light, it was the season of Darkness; it was the spring of hope, it was the winter of despair; we had everything before us, we had nothing before us; we were all going directly to Heaven, we were all going the other way.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"0405060708010203\00", align 1
@.str.4 = private unnamed_addr constant [72 x i8] c"11b52c50 cbf45be6 a636a314 2b8c30b8 5a624481 4a7d43e3 7457f38d e46c6735\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_v3_kdf_Long_passphrase() #0 {
%1 = call i32 @verify_v3_kdf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @verify_v3_kdf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpksztbz9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Long passphrase\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.2 = private unnamed_addr constant [306 x i8] c"$$$it was the epoch of belief, it was the epoch of incredulity; it was the season of Light, it was the season of Darkness; it was the spring of hope, it was the winter of despair; we had everything before us, we had nothing before us; we were all going directly to Heaven, we were all going the other way.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"0405060708010203\00", align 1
@.str.4 = private unnamed_addr constant [72 x i8] c"11b52c50 cbf45be6 a636a314 2b8c30b8 5a624481 4a7d43e3 7457f38d e46c6735\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_v3_kdf_Long_passphrase() #0 {
%1 = call i32 @verify_v3_kdf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare i32 @verify_v3_kdf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkp3xgdsg.c'
source_filename = "/tmp/tmpkp3xgdsg.c"
target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_3__, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i64, i64 }
%struct.TYPE_4__ = type { i64, i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c" u=%ld.%06ldsec\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" s=%ld.%06ldsec\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" t=%ld.%06ldsec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_times() #0 {
%1 = alloca %struct.rusage, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load i32, ptr @RUSAGE_SELF, align 4
%5 = call i32 @getrusage(i32 noundef %4, ptr noundef %1)
%6 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, i64 noundef %8, i64 noundef %11)
%13 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.1, i64 noundef %15, i64 noundef %18)
%20 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 1
%25 = load i64, ptr %24, align 8
%26 = add nsw i64 %22, %25
store i64 %26, ptr %3, align 8
%27 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %29, %32
store i64 %33, ptr %2, align 8
%34 = load i64, ptr %3, align 8
%35 = icmp sge i64 %34, 1000000
br i1 %35, label %36, label %41
36: ; preds = %0
%37 = load i64, ptr %3, align 8
%38 = sub nsw i64 %37, 1000000
store i64 %38, ptr %3, align 8
%39 = load i64, ptr %2, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %2, align 8
br label %41
41: ; preds = %36, %0
%42 = load i64, ptr %2, align 8
%43 = load i64, ptr %3, align 8
%44 = call i32 @printf(ptr noundef @.str.2, i64 noundef %42, i64 noundef %43)
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(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/tmpkp3xgdsg.c"
target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_3__, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i64, i64 }
%struct.TYPE_4__ = type { i64, i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c" u=%ld.%06ldsec\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" s=%ld.%06ldsec\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" t=%ld.%06ldsec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_times() #0 {
%1 = alloca %struct.rusage, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load i32, ptr @RUSAGE_SELF, align 4
%5 = call i32 @getrusage(i32 noundef %4, ptr noundef %1)
%6 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, i64 noundef %8, i64 noundef %11)
%13 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.1, i64 noundef %15, i64 noundef %18)
%20 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 1
%25 = load i64, ptr %24, align 8
%26 = add nsw i64 %22, %25
store i64 %26, ptr %3, align 8
%27 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %29, %32
store i64 %33, ptr %2, align 8
%34 = load i64, ptr %3, align 8
%35 = icmp sge i64 %34, 1000000
br i1 %35, label %36, label %41
36: ; preds = %0
%37 = load i64, ptr %3, align 8
%38 = sub nsw i64 %37, 1000000
store i64 %38, ptr %3, align 8
%39 = load i64, ptr %2, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %2, align 8
br label %41
41: ; preds = %36, %0
%42 = load i64, ptr %2, align 8
%43 = load i64, ptr %3, align 8
%44 = call i32 @printf(ptr noundef @.str.2, i64 noundef %42, i64 noundef %43)
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(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/tmpyah8zh09.c'
source_filename = "/tmp/tmpyah8zh09.c"
target datalayout = "e-m:e-p270: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/tmpyah8zh09.c"
target datalayout = "e-m:e-p270: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/tmp6cw2c3jz.c'
source_filename = "/tmp/tmp6cw2c3jz.c"
target datalayout = "e-m:e-p270: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/tmp6cw2c3jz.c"
target datalayout = "e-m:e-p270: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/tmpw2r0d_bl.c'
source_filename = "/tmp/tmpw2r0d_bl.c"
target datalayout = "e-m:e-p270: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/tmpw2r0d_bl.c"
target datalayout = "e-m:e-p270: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/tmpa04tjx0h.c'
source_filename = "/tmp/tmpa04tjx0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PEM_F_DO_PVK_HEADER = dso_local global i32 0, align 4
@PEM_R_BAD_MAGIC_NUMBER = dso_local global i32 0, align 4
@PEM_R_INCONSISTENT_HEADER = dso_local global i32 0, align 4
@PEM_R_PVK_TOO_SHORT = 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/tmpa04tjx0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PEM_F_DO_PVK_HEADER = dso_local global i32 0, align 4
@PEM_R_BAD_MAGIC_NUMBER = dso_local global i32 0, align 4
@PEM_R_INCONSISTENT_HEADER = dso_local global i32 0, align 4
@PEM_R_PVK_TOO_SHORT = 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/tmp4hi8863q.c'
source_filename = "/tmp/tmp4hi8863q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimeModulo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %27, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %30
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
%15 = load float, ptr %14, align 4
%16 = call i64 @pow(float noundef %15, i32 noundef 2)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %17, i64 %20
%22 = load float, ptr %21, align 4
%23 = call i64 @pow(float noundef %22, i32 noundef 2)
%24 = add nsw i64 %16, %23
%25 = call double @sqrt(i64 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %25)
br label %27
27: ; preds = %10
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 2
store i32 %29, ptr %5, align 4
br label %6, !llvm.loop !6
30: ; preds = %6
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare double @sqrt(i64 noundef) #1
declare i64 @pow(float 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/tmp4hi8863q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimeModulo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %26
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds float, ptr %10, i64 %12
%14 = load float, ptr %13, align 4
%15 = call i64 @pow(float noundef %14, i32 noundef 2)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %16, i64 %19
%21 = load float, ptr %20, align 4
%22 = call i64 @pow(float noundef %21, i32 noundef 2)
%23 = add nsw i64 %15, %22
%24 = call double @sqrt(i64 noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %24)
br label %26
26: ; preds = %9
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 2
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare double @sqrt(i64 noundef) #1
declare i64 @pow(float 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/tmp4_bu8t3r.c'
source_filename = "/tmp/tmp4_bu8t3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sse4_strstr_any(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
call void asm sideeffect "movdqu (%eax), %xmm1", "{ax},~{dirflag},~{fpsr},~{flags}"(ptr %11) #1, !srcloc !6
call void asm sideeffect "pxor %xmm0, %xmm0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !7
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %13, %14
%16 = call { ptr, i32, i32 } asm sideeffect "\09addl $$-24, %esp\09\09\0A\09movl 8(%ebp), %eax\09\09\0A\09addl $$4, %eax\09\09\0A\09movl %eax, 0(%esp)\09\0A\09\09\09\09\09\0A\09movl 12(%ebp), %eax\09\09\0A\09subl $$4, %eax\09\09\0A\09movl %eax, 8(%esp)\09\0A\09\09\09\09\09\0A0:\09\09\09\09\09\0A\09movdqu (%esi), %xmm2\09\09\0A\09addl $$8, %esi\09\09\09\0A\09mpsadbw $$0, %xmm1, %xmm2\09\0A\09pcmpeqw %xmm0, %xmm2\09\09\0A\09ptest %xmm2, %xmm0\09\09\0A\09jc 1f\09\09\09\0A\09pmovmskb %xmm2, %edx\09\09\0A\09andl $$0b0101010101010101, %edx\09\0A\092:\09\09\09\09\09\0A\09bsf %edx, %eax\09\09\0A\09jz 1f\09\09\09\09\0A\09\09\09\09\09\0A\09btr %eax, %edx\09\09\0A\09shr $$1, %eax\09\09\09\0A\09movl %eax, 12(%esp)\09\09\0A\09movl %ecx, 16(%esp)\09\09\0A\09movl %edx, 20(%esp)\09\09\0A\09leal -4(%esi, %eax), %eax\09\0A\09movl %eax, 4(%esp)\09\09\0A\09call strncmp\09\09\09\0A\09test %eax, %eax\09\09\0A\09movl 12(%esp), %eax\09\09\0A\09movl 16(%esp), %ecx\09\09\0A\09movl 20(%esp), %edx\09\09\0A\09jnz 2b\09\09\09\09\0A\09leal -8(%eax, %esi), %eax\09\0A\09jmp 4f\09\09\09\09\0A1:\09\09\09\09\09\0A\09subl $$8, %ecx\09\09\09\0A\09cmpl $$0, %ecx\09\09\09\0A\09jg 0b\09\09\09\09\0A\09xorl %eax, %eax\09\09\0A4:\09\09\09\09\09\0A\09addl $$24, %esp\09\09\0A", "={ax},={si},={cx},{si},{cx},~{dirflag},~{fpsr},~{flags}"(ptr %12, i32 %15) #1, !srcloc !8
%17 = extractvalue { ptr, i32, i32 } %16, 0
%18 = extractvalue { ptr, i32, i32 } %16, 1
%19 = extractvalue { ptr, i32, i32 } %16, 2
store ptr %17, ptr %9, align 8
store i32 %18, ptr %10, align 4
store i32 %19, ptr %10, align 4
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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 = !{i64 571}
!7 = !{i64 630}
!8 = !{i64 687, i64 720, i64 752, i64 784, i64 818, i64 830, i64 862, i64 894, i64 928, i64 942, i64 957, i64 989, i64 1017, i64 1054, i64 1088, i64 1120, i64 1145, i64 1179, i64 1220, i64 1236, i64 1263, i64 1282, i64 1295, i64 1322, i64 1349, i64 1382, i64 1415, i64 1450, i64 1488, i64 1522, i64 1547, i64 1578, i64 1611, i64 1644, i64 1677, i64 1697, i64 1735, i64 1755, i64 1769, i64 1794, i64 1819, i64 1839, i64 1866, i64 1880}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_bu8t3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sse4_strstr_any(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
call void asm sideeffect "movdqu (%eax), %xmm1", "{ax},~{dirflag},~{fpsr},~{flags}"(ptr %11) #1, !srcloc !6
call void asm sideeffect "pxor %xmm0, %xmm0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !7
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %13, %14
%16 = call { ptr, i32, i32 } asm sideeffect "\09addl $$-24, %esp\09\09\0A\09movl 8(%ebp), %eax\09\09\0A\09addl $$4, %eax\09\09\0A\09movl %eax, 0(%esp)\09\0A\09\09\09\09\09\0A\09movl 12(%ebp), %eax\09\09\0A\09subl $$4, %eax\09\09\0A\09movl %eax, 8(%esp)\09\0A\09\09\09\09\09\0A0:\09\09\09\09\09\0A\09movdqu (%esi), %xmm2\09\09\0A\09addl $$8, %esi\09\09\09\0A\09mpsadbw $$0, %xmm1, %xmm2\09\0A\09pcmpeqw %xmm0, %xmm2\09\09\0A\09ptest %xmm2, %xmm0\09\09\0A\09jc 1f\09\09\09\0A\09pmovmskb %xmm2, %edx\09\09\0A\09andl $$0b0101010101010101, %edx\09\0A\092:\09\09\09\09\09\0A\09bsf %edx, %eax\09\09\0A\09jz 1f\09\09\09\09\0A\09\09\09\09\09\0A\09btr %eax, %edx\09\09\0A\09shr $$1, %eax\09\09\09\0A\09movl %eax, 12(%esp)\09\09\0A\09movl %ecx, 16(%esp)\09\09\0A\09movl %edx, 20(%esp)\09\09\0A\09leal -4(%esi, %eax), %eax\09\0A\09movl %eax, 4(%esp)\09\09\0A\09call strncmp\09\09\09\0A\09test %eax, %eax\09\09\0A\09movl 12(%esp), %eax\09\09\0A\09movl 16(%esp), %ecx\09\09\0A\09movl 20(%esp), %edx\09\09\0A\09jnz 2b\09\09\09\09\0A\09leal -8(%eax, %esi), %eax\09\0A\09jmp 4f\09\09\09\09\0A1:\09\09\09\09\09\0A\09subl $$8, %ecx\09\09\09\0A\09cmpl $$0, %ecx\09\09\09\0A\09jg 0b\09\09\09\09\0A\09xorl %eax, %eax\09\09\0A4:\09\09\09\09\09\0A\09addl $$24, %esp\09\09\0A", "={ax},={si},={cx},{si},{cx},~{dirflag},~{fpsr},~{flags}"(ptr %12, i32 %15) #1, !srcloc !8
%17 = extractvalue { ptr, i32, i32 } %16, 0
%18 = extractvalue { ptr, i32, i32 } %16, 1
%19 = extractvalue { ptr, i32, i32 } %16, 2
store ptr %17, ptr %9, align 8
store i32 %18, ptr %10, align 4
store i32 %19, ptr %10, align 4
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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 = !{i64 571}
!7 = !{i64 630}
!8 = !{i64 687, i64 720, i64 752, i64 784, i64 818, i64 830, i64 862, i64 894, i64 928, i64 942, i64 957, i64 989, i64 1017, i64 1054, i64 1088, i64 1120, i64 1145, i64 1179, i64 1220, i64 1236, i64 1263, i64 1282, i64 1295, i64 1322, i64 1349, i64 1382, i64 1415, i64 1450, i64 1488, i64 1522, i64 1547, i64 1578, i64 1611, i64 1644, i64 1677, i64 1697, i64 1735, i64 1755, i64 1769, i64 1794, i64 1819, i64 1839, i64 1866, i64 1880}
|
; ModuleID = '/tmp/tmpiw2mh_5h.c'
source_filename = "/tmp/tmpiw2mh_5h.c"
target datalayout = "e-m:e-p270: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/tmpiw2mh_5h.c"
target datalayout = "e-m:e-p270: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/tmpq64zb3r7.c'
source_filename = "/tmp/tmpq64zb3r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_os_strcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i64 @strcasecmp(ptr noundef %10, ptr noundef %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %4
store i32 1, ptr %5, align 4
br label %16
15: ; preds = %4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i64 @strcasecmp(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/tmpq64zb3r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_os_strcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i64 @strcasecmp(ptr noundef %10, ptr noundef %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %4
store i32 1, ptr %5, align 4
br label %16
15: ; preds = %4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i64 @strcasecmp(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/tmpkul6dw44.c'
source_filename = "/tmp/tmpkul6dw44.c"
target datalayout = "e-m:e-p270: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/tmpkul6dw44.c"
target datalayout = "e-m:e-p270: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/tmp2zq6my4g.c'
source_filename = "/tmp/tmp2zq6my4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_php() #0 {
%1 = call i32 (...) @e_get_flags()
%2 = call i32 @e_push(i32 noundef %1)
ret void
}
declare i32 @e_push(i32 noundef) #1
declare i32 @e_get_flags(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2zq6my4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_php() #0 {
%1 = call i32 (...) @e_get_flags()
%2 = call i32 @e_push(i32 noundef %1)
ret void
}
declare i32 @e_push(i32 noundef) #1
declare i32 @e_get_flags(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsrwzms7c.c'
source_filename = "/tmp/tmpsrwzms7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Program stream map\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Private stream 1\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Padding stream\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Private stream 2\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"ECM stream\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"EMM stream\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"DSMCC stream\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"13522 stream\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"H.222 A stream\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"H.222 B stream\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"H.222 C stream\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"H.222 D stream\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"H.222 E stream\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"Ancillary stream\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"Program stream directory\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c"Audio stream %d\00", align 1
@.str.16 = private unnamed_addr constant [16 x i8] c"Video stream %d\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"Reserved data stream\00", align 1
@.str.18 = private unnamed_addr constant [30 x i8] c"Unrecognised stream id 0x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @h222_stream_id_desc(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %5, align 8
%6 = load i32, ptr %3, align 4
switch i32 %6, label %37 [
i32 188, label %7
i32 189, label %9
i32 190, label %11
i32 191, label %13
i32 240, label %15
i32 241, label %17
i32 242, label %19
i32 243, label %21
i32 244, label %23
i32 245, label %25
i32 246, label %27
i32 247, label %29
i32 248, label %31
i32 249, label %33
i32 255, label %35
]
7: ; preds = %1
%8 = call ptr @strdup(ptr noundef @.str)
store ptr %8, ptr %2, align 8
br label %86
9: ; preds = %1
%10 = call ptr @strdup(ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
br label %86
11: ; preds = %1
%12 = call ptr @strdup(ptr noundef @.str.2)
store ptr %12, ptr %2, align 8
br label %86
13: ; preds = %1
%14 = call ptr @strdup(ptr noundef @.str.3)
store ptr %14, ptr %2, align 8
br label %86
15: ; preds = %1
%16 = call ptr @strdup(ptr noundef @.str.4)
store ptr %16, ptr %2, align 8
br label %86
17: ; preds = %1
%18 = call ptr @strdup(ptr noundef @.str.5)
store ptr %18, ptr %2, align 8
br label %86
19: ; preds = %1
%20 = call ptr @strdup(ptr noundef @.str.6)
store ptr %20, ptr %2, align 8
br label %86
21: ; preds = %1
%22 = call ptr @strdup(ptr noundef @.str.7)
store ptr %22, ptr %2, align 8
br label %86
23: ; preds = %1
%24 = call ptr @strdup(ptr noundef @.str.8)
store ptr %24, ptr %2, align 8
br label %86
25: ; preds = %1
%26 = call ptr @strdup(ptr noundef @.str.9)
store ptr %26, ptr %2, align 8
br label %86
27: ; preds = %1
%28 = call ptr @strdup(ptr noundef @.str.10)
store ptr %28, ptr %2, align 8
br label %86
29: ; preds = %1
%30 = call ptr @strdup(ptr noundef @.str.11)
store ptr %30, ptr %2, align 8
br label %86
31: ; preds = %1
%32 = call ptr @strdup(ptr noundef @.str.12)
store ptr %32, ptr %2, align 8
br label %86
33: ; preds = %1
%34 = call ptr @strdup(ptr noundef @.str.13)
store ptr %34, ptr %2, align 8
br label %86
35: ; preds = %1
%36 = call ptr @strdup(ptr noundef @.str.14)
store ptr %36, ptr %2, align 8
br label %86
37: ; preds = %1
%38 = load i32, ptr %3, align 4
%39 = icmp sge i32 %38, 192
br i1 %39, label %40, label %51
40: ; preds = %37
%41 = load i32, ptr %3, align 4
%42 = icmp sle i32 %41, 223
br i1 %42, label %43, label %51
43: ; preds = %40
%44 = load i32, ptr %3, align 4
%45 = and i32 %44, 31
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.15, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %43
store ptr null, ptr %2, align 8
br label %86
50: ; preds = %43
br label %84
51: ; preds = %40, %37
%52 = load i32, ptr %3, align 4
%53 = icmp sge i32 %52, 224
br i1 %53, label %54, label %65
54: ; preds = %51
%55 = load i32, ptr %3, align 4
%56 = icmp sle i32 %55, 239
br i1 %56, label %57, label %65
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = and i32 %58, 15
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %4, align 4
%61 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.16, i32 noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %57
store ptr null, ptr %2, align 8
br label %86
64: ; preds = %57
br label %83
65: ; preds = %54, %51
%66 = load i32, ptr %3, align 4
%67 = icmp sge i32 %66, 252
br i1 %67, label %68, label %76
68: ; preds = %65
%69 = load i32, ptr %3, align 4
%70 = icmp sle i32 %69, 254
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.17)
%73 = icmp slt i64 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
store ptr null, ptr %2, align 8
br label %86
75: ; preds = %71
br label %82
76: ; preds = %68, %65
%77 = load i32, ptr %3, align 4
%78 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.18, i32 noundef %77)
%79 = icmp slt i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
store ptr null, ptr %2, align 8
br label %86
81: ; preds = %76
br label %82
82: ; preds = %81, %75
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %50
%85 = load ptr, ptr %5, align 8
store ptr %85, ptr %2, align 8
br label %86
86: ; preds = %84, %80, %74, %63, %49, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7
%87 = load ptr, ptr %2, align 8
ret ptr %87
}
declare ptr @strdup(ptr noundef) #1
declare i64 @asprintf(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/tmpsrwzms7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Program stream map\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Private stream 1\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Padding stream\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Private stream 2\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"ECM stream\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"EMM stream\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"DSMCC stream\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"13522 stream\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"H.222 A stream\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"H.222 B stream\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"H.222 C stream\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"H.222 D stream\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"H.222 E stream\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"Ancillary stream\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"Program stream directory\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c"Audio stream %d\00", align 1
@.str.16 = private unnamed_addr constant [16 x i8] c"Video stream %d\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"Reserved data stream\00", align 1
@.str.18 = private unnamed_addr constant [30 x i8] c"Unrecognised stream id 0x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @h222_stream_id_desc(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %5, align 8
%6 = load i32, ptr %3, align 4
switch i32 %6, label %37 [
i32 188, label %7
i32 189, label %9
i32 190, label %11
i32 191, label %13
i32 240, label %15
i32 241, label %17
i32 242, label %19
i32 243, label %21
i32 244, label %23
i32 245, label %25
i32 246, label %27
i32 247, label %29
i32 248, label %31
i32 249, label %33
i32 255, label %35
]
7: ; preds = %1
%8 = call ptr @strdup(ptr noundef @.str)
store ptr %8, ptr %2, align 8
br label %86
9: ; preds = %1
%10 = call ptr @strdup(ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
br label %86
11: ; preds = %1
%12 = call ptr @strdup(ptr noundef @.str.2)
store ptr %12, ptr %2, align 8
br label %86
13: ; preds = %1
%14 = call ptr @strdup(ptr noundef @.str.3)
store ptr %14, ptr %2, align 8
br label %86
15: ; preds = %1
%16 = call ptr @strdup(ptr noundef @.str.4)
store ptr %16, ptr %2, align 8
br label %86
17: ; preds = %1
%18 = call ptr @strdup(ptr noundef @.str.5)
store ptr %18, ptr %2, align 8
br label %86
19: ; preds = %1
%20 = call ptr @strdup(ptr noundef @.str.6)
store ptr %20, ptr %2, align 8
br label %86
21: ; preds = %1
%22 = call ptr @strdup(ptr noundef @.str.7)
store ptr %22, ptr %2, align 8
br label %86
23: ; preds = %1
%24 = call ptr @strdup(ptr noundef @.str.8)
store ptr %24, ptr %2, align 8
br label %86
25: ; preds = %1
%26 = call ptr @strdup(ptr noundef @.str.9)
store ptr %26, ptr %2, align 8
br label %86
27: ; preds = %1
%28 = call ptr @strdup(ptr noundef @.str.10)
store ptr %28, ptr %2, align 8
br label %86
29: ; preds = %1
%30 = call ptr @strdup(ptr noundef @.str.11)
store ptr %30, ptr %2, align 8
br label %86
31: ; preds = %1
%32 = call ptr @strdup(ptr noundef @.str.12)
store ptr %32, ptr %2, align 8
br label %86
33: ; preds = %1
%34 = call ptr @strdup(ptr noundef @.str.13)
store ptr %34, ptr %2, align 8
br label %86
35: ; preds = %1
%36 = call ptr @strdup(ptr noundef @.str.14)
store ptr %36, ptr %2, align 8
br label %86
37: ; preds = %1
%38 = load i32, ptr %3, align 4
%39 = icmp sge i32 %38, 192
br i1 %39, label %40, label %51
40: ; preds = %37
%41 = load i32, ptr %3, align 4
%42 = icmp sle i32 %41, 223
br i1 %42, label %43, label %51
43: ; preds = %40
%44 = load i32, ptr %3, align 4
%45 = and i32 %44, 31
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.15, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %43
store ptr null, ptr %2, align 8
br label %86
50: ; preds = %43
br label %84
51: ; preds = %40, %37
%52 = load i32, ptr %3, align 4
%53 = icmp sge i32 %52, 224
br i1 %53, label %54, label %65
54: ; preds = %51
%55 = load i32, ptr %3, align 4
%56 = icmp sle i32 %55, 239
br i1 %56, label %57, label %65
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = and i32 %58, 15
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %4, align 4
%61 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.16, i32 noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %57
store ptr null, ptr %2, align 8
br label %86
64: ; preds = %57
br label %83
65: ; preds = %54, %51
%66 = load i32, ptr %3, align 4
%67 = icmp sge i32 %66, 252
br i1 %67, label %68, label %76
68: ; preds = %65
%69 = load i32, ptr %3, align 4
%70 = icmp sle i32 %69, 254
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.17)
%73 = icmp slt i64 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
store ptr null, ptr %2, align 8
br label %86
75: ; preds = %71
br label %82
76: ; preds = %68, %65
%77 = load i32, ptr %3, align 4
%78 = call i64 (ptr, ptr, ...) @asprintf(ptr noundef %5, ptr noundef @.str.18, i32 noundef %77)
%79 = icmp slt i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
store ptr null, ptr %2, align 8
br label %86
81: ; preds = %76
br label %82
82: ; preds = %81, %75
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %50
%85 = load ptr, ptr %5, align 8
store ptr %85, ptr %2, align 8
br label %86
86: ; preds = %84, %80, %74, %63, %49, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7
%87 = load ptr, ptr %2, align 8
ret ptr %87
}
declare ptr @strdup(ptr noundef) #1
declare i64 @asprintf(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/tmp3elxuum8.c'
source_filename = "/tmp/tmp3elxuum8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"NOT IMPLEMENTED:pa_client_conf_load_cookie_from_file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_client_conf_load_cookie_from_file() #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/tmp3elxuum8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"NOT IMPLEMENTED:pa_client_conf_load_cookie_from_file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_client_conf_load_cookie_from_file() #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/tmpmqwdheod.c'
source_filename = "/tmp/tmpmqwdheod.c"
target datalayout = "e-m:e-p270: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/tmpmqwdheod.c"
target datalayout = "e-m:e-p270: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/tmp3jk9qd28.c'
source_filename = "/tmp/tmp3jk9qd28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jk9qd28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp789vqz8x.c'
source_filename = "/tmp/tmp789vqz8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_tzcnt64_2(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @_tzcnt_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @_tzcnt_u64(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/tmp789vqz8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_tzcnt64_2(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @_tzcnt_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @_tzcnt_u64(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.