llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpr7hp2qz8.c'
source_filename = "/tmp/tmpr7hp2qz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
ret i32 %11
}
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/tmpr7hp2qz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
ret i32 %11
}
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/tmpwm8iamc3.c'
source_filename = "/tmp/tmpwm8iamc3.c"
target datalayout = "e-m:e-p270: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/tmpwm8iamc3.c"
target datalayout = "e-m:e-p270: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/tmpnlr5eo_c.c'
source_filename = "/tmp/tmpnlr5eo_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"
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdQuad(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @fprintRTF(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = call i32 @fprintRTF(ptr noundef @.str.1)
br label %11
11: ; preds = %9
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = call i32 @fprintRTF(ptr noundef @.str.2)
ret void
}
declare i32 @fprintRTF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnlr5eo_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"
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdQuad(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @fprintRTF(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %10
%9 = call i32 @fprintRTF(ptr noundef @.str.1)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
%17 = call i32 @fprintRTF(ptr noundef @.str.2)
ret void
}
declare i32 @fprintRTF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd4vzj_jq.c'
source_filename = "/tmp/tmpd4vzj_jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"QUARQD_PORT\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"ANT_TTY\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ANT_BAUDRATE\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"QUARQD_DEBUG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_config_env() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @parse_config(ptr noundef @.str, ptr noundef %7)
store i32 1, ptr %2, align 4
br label %9
9: ; preds = %6, %0
%10 = call ptr @getenv(ptr noundef @.str.1)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load ptr, ptr %1, align 8
%15 = call i32 @parse_config(ptr noundef @.str.1, ptr noundef %14)
store i32 1, ptr %2, align 4
br label %16
16: ; preds = %13, %9
%17 = call ptr @getenv(ptr noundef @.str.2)
store ptr %17, ptr %1, align 8
%18 = load ptr, ptr %1, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load ptr, ptr %1, align 8
%22 = call i32 @parse_config(ptr noundef @.str.2, ptr noundef %21)
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %20, %16
%24 = call ptr @getenv(ptr noundef @.str.3)
store ptr %24, ptr %1, align 8
%25 = load ptr, ptr %1, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %1, align 8
%29 = call i32 @parse_config(ptr noundef @.str.3, ptr noundef %28)
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %27, %23
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare ptr @getenv(ptr noundef) #1
declare i32 @parse_config(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/tmpd4vzj_jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"QUARQD_PORT\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"ANT_TTY\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ANT_BAUDRATE\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"QUARQD_DEBUG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_config_env() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @parse_config(ptr noundef @.str, ptr noundef %7)
store i32 1, ptr %2, align 4
br label %9
9: ; preds = %6, %0
%10 = call ptr @getenv(ptr noundef @.str.1)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load ptr, ptr %1, align 8
%15 = call i32 @parse_config(ptr noundef @.str.1, ptr noundef %14)
store i32 1, ptr %2, align 4
br label %16
16: ; preds = %13, %9
%17 = call ptr @getenv(ptr noundef @.str.2)
store ptr %17, ptr %1, align 8
%18 = load ptr, ptr %1, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load ptr, ptr %1, align 8
%22 = call i32 @parse_config(ptr noundef @.str.2, ptr noundef %21)
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %20, %16
%24 = call ptr @getenv(ptr noundef @.str.3)
store ptr %24, ptr %1, align 8
%25 = load ptr, ptr %1, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %1, align 8
%29 = call i32 @parse_config(ptr noundef @.str.3, ptr noundef %28)
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %27, %23
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare ptr @getenv(ptr noundef) #1
declare i32 @parse_config(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/tmpzrepseug.c'
source_filename = "/tmp/tmpzrepseug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %10
10: ; preds = %16, %3
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds i32, ptr %11, i64 %12
%14 = load i32, ptr %13, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i64, ptr %7, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %7, align 8
br label %10, !llvm.loop !6
19: ; preds = %10
store i64 0, ptr %8, align 8
br label %20
20: ; preds = %39, %19
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %24, label %42
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %8, align 8
%27 = getelementptr inbounds i32, ptr %25, i64 %26
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = add i64 %31, %32
%34 = getelementptr inbounds i32, ptr %30, i64 %33
store i32 %29, ptr %34, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %24
br label %42
38: ; preds = %24
br label %39
39: ; preds = %38
%40 = load i64, ptr %8, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %8, align 8
br label %20, !llvm.loop !8
42: ; preds = %37, %20
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzrepseug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %7, align 8
%12 = getelementptr inbounds i32, ptr %10, i64 %11
%13 = load i32, ptr %12, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i64, ptr %7, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %7, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %23
23: ; preds = %._crit_edge, %3
store i64 0, ptr %8, align 8
%24 = load i64, ptr %8, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %42
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds i32, ptr %28, i64 %29
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i64, ptr %7, align 8
%35 = load i64, ptr %8, align 8
%36 = add i64 %34, %35
%37 = getelementptr inbounds i32, ptr %33, i64 %36
store i32 %32, ptr %37, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %27
br label %48
41: ; preds = %27
br label %42
42: ; preds = %41
%43 = load i64, ptr %8, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %8, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %6, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %27, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %42
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %23
br label %48
48: ; preds = %.loopexit, %40
%49 = load ptr, ptr %4, align 8
ret ptr %49
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptokqme6v.c'
source_filename = "/tmp/tmptokqme6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, ptr, ptr, i64, ptr }
%struct.TYPE_6__ = type { i32, i64, ptr, ptr, i32 }
@FTS_SYMFOLLOW = dso_local global i32 0, align 4
@FTS_ROOTLEVEL = dso_local global i64 0, align 8
@FTS_NOCHDIR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_close(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %7, i32 0, i32 5
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %58
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i32 0, i32 5
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 8
%17 = load i32, ptr @FTS_SYMFOLLOW, align 4
%18 = and i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i32 0, i32 5
%23 = load ptr, ptr %22, align 8
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i32 0, i32 4
%25 = load i32, ptr %24, align 8
%26 = call i32 @close(i32 noundef %25)
br label %27
27: ; preds = %20, %11
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i32 0, i32 5
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %5, align 8
br label %31
31: ; preds = %51, %27
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = load i64, ptr @FTS_ROOTLEVEL, align 8
%36 = icmp sge i64 %34, %35
br i1 %36, label %37, label %55
37: ; preds = %31
%38 = load ptr, ptr %5, align 8
store ptr %38, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %39, i32 0, i32 3
%41 = load ptr, ptr %40, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %47
43: ; preds = %37
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds %struct.TYPE_6__, ptr %44, i32 0, i32 3
%46 = load ptr, ptr %45, align 8
br label %51
47: ; preds = %37
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i32 0, i32 2
%50 = load ptr, ptr %49, align 8
br label %51
51: ; preds = %47, %43
%52 = phi ptr [ %46, %43 ], [ %50, %47 ]
store ptr %52, ptr %5, align 8
%53 = load ptr, ptr %4, align 8
%54 = call i32 @fts_free(ptr noundef %53)
br label %31, !llvm.loop !6
55: ; preds = %31
%56 = load ptr, ptr %5, align 8
%57 = call i32 @fts_free(ptr noundef %56)
br label %58
58: ; preds = %55, %1
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds %struct.TYPE_7__, ptr %59, i32 0, i32 4
%61 = load i64, ptr %60, align 8
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %68
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds %struct.TYPE_7__, ptr %64, i32 0, i32 4
%66 = load i64, ptr %65, align 8
%67 = call i32 @fts_lfree(i64 noundef %66)
br label %68
68: ; preds = %63, %58
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds %struct.TYPE_7__, ptr %69, i32 0, i32 3
%71 = load ptr, ptr %70, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %78
73: ; preds = %68
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds %struct.TYPE_7__, ptr %74, i32 0, i32 3
%76 = load ptr, ptr %75, align 8
%77 = call i32 @free(ptr noundef %76)
br label %78
78: ; preds = %73, %68
%79 = load ptr, ptr %3, align 8
%80 = getelementptr inbounds %struct.TYPE_7__, ptr %79, i32 0, i32 2
%81 = load ptr, ptr %80, align 8
%82 = call i32 @free(ptr noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = getelementptr inbounds %struct.TYPE_7__, ptr %83, i32 0, i32 0
%85 = load i32, ptr %84, align 8
%86 = load i32, ptr @FTS_NOCHDIR, align 4
%87 = and i32 %85, %86
%88 = icmp ne i32 %87, 0
br i1 %88, label %102, label %89
89: ; preds = %78
%90 = load ptr, ptr %3, align 8
%91 = getelementptr inbounds %struct.TYPE_7__, ptr %90, i32 0, i32 1
%92 = load i32, ptr %91, align 4
%93 = call i32 @fchdir(i32 noundef %92)
%94 = icmp eq i32 %93, -1
br i1 %94, label %95, label %97
95: ; preds = %89
%96 = load i32, ptr @errno, align 4
store i32 %96, ptr %6, align 4
br label %97
97: ; preds = %95, %89
%98 = load ptr, ptr %3, align 8
%99 = getelementptr inbounds %struct.TYPE_7__, ptr %98, i32 0, i32 1
%100 = load i32, ptr %99, align 4
%101 = call i32 @close(i32 noundef %100)
br label %102
102: ; preds = %97, %78
%103 = load ptr, ptr %3, align 8
%104 = call i32 @free(ptr noundef %103)
%105 = load i32, ptr %6, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %109
107: ; preds = %102
%108 = load i32, ptr %6, align 4
store i32 %108, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %110
109: ; preds = %102
store i32 0, ptr %2, align 4
br label %110
110: ; preds = %109, %107
%111 = load i32, ptr %2, align 4
ret i32 %111
}
declare i32 @close(i32 noundef) #1
declare i32 @fts_free(ptr noundef) #1
declare i32 @fts_lfree(i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fchdir(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/tmptokqme6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, ptr, ptr, i64, ptr }
%struct.TYPE_6__ = type { i32, i64, ptr, ptr, i32 }
@FTS_SYMFOLLOW = dso_local global i32 0, align 4
@FTS_ROOTLEVEL = dso_local global i64 0, align 8
@FTS_NOCHDIR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_close(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %7, i32 0, i32 5
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %62
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i32 0, i32 5
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 8
%17 = load i32, ptr @FTS_SYMFOLLOW, align 4
%18 = and i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i32 0, i32 5
%23 = load ptr, ptr %22, align 8
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i32 0, i32 4
%25 = load i32, ptr %24, align 8
%26 = call i32 @close(i32 noundef %25)
br label %27
27: ; preds = %20, %11
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i32 0, i32 5
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i32 0, i32 1
%33 = load i64, ptr %32, align 8
%34 = load i64, ptr @FTS_ROOTLEVEL, align 8
%35 = icmp sge i64 %33, %34
br i1 %35, label %.lr.ph, label %59
.lr.ph: ; preds = %27
br label %36
36: ; preds = %.lr.ph, %50
%37 = load ptr, ptr %5, align 8
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.TYPE_6__, ptr %38, i32 0, i32 3
%40 = load ptr, ptr %39, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %36
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %43, i32 0, i32 3
%45 = load ptr, ptr %44, align 8
br label %50
46: ; preds = %36
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.TYPE_6__, ptr %47, i32 0, i32 2
%49 = load ptr, ptr %48, align 8
br label %50
50: ; preds = %46, %42
%51 = phi ptr [ %45, %42 ], [ %49, %46 ]
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %4, align 8
%53 = call i32 @fts_free(ptr noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds %struct.TYPE_6__, ptr %54, i32 0, i32 1
%56 = load i64, ptr %55, align 8
%57 = load i64, ptr @FTS_ROOTLEVEL, align 8
%58 = icmp sge i64 %56, %57
br i1 %58, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %59
59: ; preds = %._crit_edge, %27
%60 = load ptr, ptr %5, align 8
%61 = call i32 @fts_free(ptr noundef %60)
br label %62
62: ; preds = %59, %1
%63 = load ptr, ptr %3, align 8
%64 = getelementptr inbounds %struct.TYPE_7__, ptr %63, i32 0, i32 4
%65 = load i64, ptr %64, align 8
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %72
67: ; preds = %62
%68 = load ptr, ptr %3, align 8
%69 = getelementptr inbounds %struct.TYPE_7__, ptr %68, i32 0, i32 4
%70 = load i64, ptr %69, align 8
%71 = call i32 @fts_lfree(i64 noundef %70)
br label %72
72: ; preds = %67, %62
%73 = load ptr, ptr %3, align 8
%74 = getelementptr inbounds %struct.TYPE_7__, ptr %73, i32 0, i32 3
%75 = load ptr, ptr %74, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %82
77: ; preds = %72
%78 = load ptr, ptr %3, align 8
%79 = getelementptr inbounds %struct.TYPE_7__, ptr %78, i32 0, i32 3
%80 = load ptr, ptr %79, align 8
%81 = call i32 @free(ptr noundef %80)
br label %82
82: ; preds = %77, %72
%83 = load ptr, ptr %3, align 8
%84 = getelementptr inbounds %struct.TYPE_7__, ptr %83, i32 0, i32 2
%85 = load ptr, ptr %84, align 8
%86 = call i32 @free(ptr noundef %85)
%87 = load ptr, ptr %3, align 8
%88 = getelementptr inbounds %struct.TYPE_7__, ptr %87, i32 0, i32 0
%89 = load i32, ptr %88, align 8
%90 = load i32, ptr @FTS_NOCHDIR, align 4
%91 = and i32 %89, %90
%92 = icmp ne i32 %91, 0
br i1 %92, label %106, label %93
93: ; preds = %82
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds %struct.TYPE_7__, ptr %94, i32 0, i32 1
%96 = load i32, ptr %95, align 4
%97 = call i32 @fchdir(i32 noundef %96)
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %101
99: ; preds = %93
%100 = load i32, ptr @errno, align 4
store i32 %100, ptr %6, align 4
br label %101
101: ; preds = %99, %93
%102 = load ptr, ptr %3, align 8
%103 = getelementptr inbounds %struct.TYPE_7__, ptr %102, i32 0, i32 1
%104 = load i32, ptr %103, align 4
%105 = call i32 @close(i32 noundef %104)
br label %106
106: ; preds = %101, %82
%107 = load ptr, ptr %3, align 8
%108 = call i32 @free(ptr noundef %107)
%109 = load i32, ptr %6, align 4
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %106
%112 = load i32, ptr %6, align 4
store i32 %112, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %114
113: ; preds = %106
store i32 0, ptr %2, align 4
br label %114
114: ; preds = %113, %111
%115 = load i32, ptr %2, align 4
ret i32 %115
}
declare i32 @close(i32 noundef) #1
declare i32 @fts_free(ptr noundef) #1
declare i32 @fts_lfree(i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fchdir(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/tmpdt0_8rh9.c'
source_filename = "/tmp/tmpdt0_8rh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"wah test\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdt0_8rh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"wah test\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph073q9g0.c'
source_filename = "/tmp/tmph073q9g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Warning: %s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"got an error >>%s<<\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"send failed!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @one_sensor_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [80 x i8], align 16
%7 = alloca [80 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%14 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
%16 = call i64 @send_msg(ptr noundef %13, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %57
18: ; preds = %2
%19 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 80)
br label %21
21: ; preds = %18, %56
%22 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%23 = call ptr @recv_msg(ptr noundef %22, i32 noundef 80)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = call i64 @strncmp(ptr noundef %24, ptr noundef %25, i32 noundef %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %41
31: ; preds = %21
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @strlen(ptr noundef %33)
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %8, align 8
%38 = call i32 @atoi(ptr noundef %37)
%39 = load ptr, ptr %5, align 8
store i32 %38, ptr %39, align 4
%40 = call i32 (...) @check_errors()
store i32 0, ptr %3, align 4
br label %62
41: ; preds = %21
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 0
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 87
br i1 %46, label %47, label %51
47: ; preds = %41
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 2
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %49)
br label %55
51: ; preds = %41
%52 = load ptr, ptr %9, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %52)
%54 = call i32 (...) @clear_input_stream()
store i32 -1, ptr %3, align 4
br label %62
55: ; preds = %47
br label %56
56: ; preds = %55
br label %21
57: ; preds = %2
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %5, align 8
%61 = call i32 @one_sensor_read(ptr noundef %59, ptr noundef %60)
store i32 %61, ptr %3, align 4
br label %62
62: ; preds = %57, %51, %31
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @recv_msg(ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @check_errors(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @clear_input_stream(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph073q9g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Warning: %s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"got an error >>%s<<\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"send failed!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @one_sensor_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [80 x i8], align 16
%7 = alloca [80 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%14 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
%16 = call i64 @send_msg(ptr noundef %13, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %62
18: ; preds = %2
%19 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 80)
%21 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%22 = call ptr @recv_msg(ptr noundef %21, i32 noundef 80)
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %9, align 8
%24 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%25 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = sub nsw i32 %26, 1
%28 = call i64 @strncmp(ptr noundef %23, ptr noundef %24, i32 noundef %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %.lr.ph
.lr.ph: ; preds = %18
br label %40
._crit_edge: ; preds = %55
br label %30
30: ; preds = %._crit_edge, %18
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %8, align 8
%37 = call i32 @atoi(ptr noundef %36)
%38 = load ptr, ptr %5, align 8
store i32 %37, ptr %38, align 4
%39 = call i32 (...) @check_errors()
store i32 0, ptr %3, align 4
br label %67
40: ; preds = %.lr.ph, %55
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 87
br i1 %45, label %46, label %50
46: ; preds = %40
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 2
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %48)
br label %54
50: ; preds = %40
%51 = load ptr, ptr %9, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %51)
%53 = call i32 (...) @clear_input_stream()
store i32 -1, ptr %3, align 4
br label %67
54: ; preds = %46
br label %55
55: ; preds = %54
%56 = call ptr @recv_msg(ptr noundef %21, i32 noundef 80)
store ptr %56, ptr %9, align 8
%57 = load ptr, ptr %9, align 8
%58 = call i32 @strlen(ptr noundef %25)
%59 = sub nsw i32 %58, 1
%60 = call i64 @strncmp(ptr noundef %57, ptr noundef %24, i32 noundef %59)
%61 = icmp eq i64 %60, 0
br i1 %61, label %._crit_edge, label %40
62: ; preds = %2
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%64 = load ptr, ptr %4, align 8
%65 = load ptr, ptr %5, align 8
%66 = call i32 @one_sensor_read(ptr noundef %64, ptr noundef %65)
store i32 %66, ptr %3, align 4
br label %67
67: ; preds = %62, %50, %30
%68 = load i32, ptr %3, align 4
ret i32 %68
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @recv_msg(ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @check_errors(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @clear_input_stream(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb02etz0d.c'
source_filename = "/tmp/tmpb02etz0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163K1\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163R1\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163R2\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT193R1\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT193R2\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT233K1\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT233R1\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT239K1\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT283K1\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT283R1\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT409K1\00", align 1
@.str.11 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT409R1\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT571K1\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT571R1\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160K1\00", align 1
@.str.15 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160R1\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160R2\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP192K1\00", align 1
@.str.18 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP192R1\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP224K1\00", align 1
@.str.20 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP224R1\00", align 1
@.str.21 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP256K1\00", align 1
@.str.22 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP256R1\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP384R1\00", align 1
@.str.24 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP521R1\00", align 1
@.str.25 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP256R1\00", align 1
@.str.26 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP384R1\00", align 1
@.str.27 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP512R1\00", align 1
@.str.28 = private unnamed_addr constant [27 x i8] c"EC_NAMED_CURVE_ECDH_X25519\00", align 1
@.str.29 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_ECDH_X448\00", align 1
@.str.30 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE2048\00", align 1
@.str.31 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE3072\00", align 1
@.str.32 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE4096\00", align 1
@.str.33 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE6144\00", align 1
@.str.34 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE8192\00", align 1
@.str.35 = private unnamed_addr constant [47 x i8] c"EC_NAMED_CURVE_ARBITRARY_EXPLICIT_PRIME_CURVES\00", align 1
@.str.36 = private unnamed_addr constant [47 x i8] c"EC_NAMED_CURVE_ARBITRARY_EXPLICIT_CHAR2_CURVES\00", align 1
@.str.37 = private unnamed_addr constant [14 x i8] c"GOOGLE_GREASE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_named_curve_name(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %5 [
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
i32 11, label %16
i32 12, label %17
i32 13, label %18
i32 14, label %19
i32 15, label %20
i32 16, label %21
i32 17, label %22
i32 18, label %23
i32 19, label %24
i32 20, label %25
i32 21, label %26
i32 22, label %27
i32 23, label %28
i32 24, label %29
i32 25, label %30
i32 26, label %31
i32 27, label %32
i32 28, label %33
i32 29, label %34
i32 30, label %35
i32 256, label %36
i32 257, label %37
i32 258, label %38
i32 259, label %39
i32 260, label %40
i32 65281, label %41
i32 65282, label %42
i32 2570, label %43
i32 6682, label %43
i32 10794, label %43
i32 14906, label %43
i32 19018, label %43
i32 23130, label %43
i32 27242, label %43
i32 31354, label %43
i32 35466, label %43
i32 39578, label %43
i32 43690, label %43
i32 47802, label %43
i32 51914, label %43
i32 56026, label %43
i32 60138, label %43
i32 64250, label %43
]
5: ; preds = %1
store ptr null, ptr %2, align 8
br label %44
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %44
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %44
8: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %44
9: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %44
10: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %44
11: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %44
12: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %44
13: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %44
14: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %44
15: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %44
16: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %44
17: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %44
18: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %44
19: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %44
20: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %44
21: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %44
22: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %44
23: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %44
24: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %44
25: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %44
26: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %44
27: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %44
28: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %44
29: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %44
30: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %44
31: ; preds = %1
store ptr @.str.25, ptr %2, align 8
br label %44
32: ; preds = %1
store ptr @.str.26, ptr %2, align 8
br label %44
33: ; preds = %1
store ptr @.str.27, ptr %2, align 8
br label %44
34: ; preds = %1
store ptr @.str.28, ptr %2, align 8
br label %44
35: ; preds = %1
store ptr @.str.29, ptr %2, align 8
br label %44
36: ; preds = %1
store ptr @.str.30, ptr %2, align 8
br label %44
37: ; preds = %1
store ptr @.str.31, ptr %2, align 8
br label %44
38: ; preds = %1
store ptr @.str.32, ptr %2, align 8
br label %44
39: ; preds = %1
store ptr @.str.33, ptr %2, align 8
br label %44
40: ; preds = %1
store ptr @.str.34, ptr %2, align 8
br label %44
41: ; preds = %1
store ptr @.str.35, ptr %2, align 8
br label %44
42: ; preds = %1
store ptr @.str.36, ptr %2, align 8
br label %44
43: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
store ptr @.str.37, ptr %2, align 8
br label %44
44: ; preds = %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb02etz0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163K1\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163R1\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT163R2\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT193R1\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT193R2\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT233K1\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT233R1\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT239K1\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT283K1\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT283R1\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT409K1\00", align 1
@.str.11 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT409R1\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT571K1\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECT571R1\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160K1\00", align 1
@.str.15 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160R1\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP160R2\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP192K1\00", align 1
@.str.18 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP192R1\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP224K1\00", align 1
@.str.20 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP224R1\00", align 1
@.str.21 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP256K1\00", align 1
@.str.22 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP256R1\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP384R1\00", align 1
@.str.24 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_SECP521R1\00", align 1
@.str.25 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP256R1\00", align 1
@.str.26 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP384R1\00", align 1
@.str.27 = private unnamed_addr constant [31 x i8] c"EC_NAMED_CURVE_BRAINPOOLP512R1\00", align 1
@.str.28 = private unnamed_addr constant [27 x i8] c"EC_NAMED_CURVE_ECDH_X25519\00", align 1
@.str.29 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_ECDH_X448\00", align 1
@.str.30 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE2048\00", align 1
@.str.31 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE3072\00", align 1
@.str.32 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE4096\00", align 1
@.str.33 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE6144\00", align 1
@.str.34 = private unnamed_addr constant [25 x i8] c"EC_NAMED_CURVE_FFDHE8192\00", align 1
@.str.35 = private unnamed_addr constant [47 x i8] c"EC_NAMED_CURVE_ARBITRARY_EXPLICIT_PRIME_CURVES\00", align 1
@.str.36 = private unnamed_addr constant [47 x i8] c"EC_NAMED_CURVE_ARBITRARY_EXPLICIT_CHAR2_CURVES\00", align 1
@.str.37 = private unnamed_addr constant [14 x i8] c"GOOGLE_GREASE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_named_curve_name(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %5 [
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
i32 11, label %16
i32 12, label %17
i32 13, label %18
i32 14, label %19
i32 15, label %20
i32 16, label %21
i32 17, label %22
i32 18, label %23
i32 19, label %24
i32 20, label %25
i32 21, label %26
i32 22, label %27
i32 23, label %28
i32 24, label %29
i32 25, label %30
i32 26, label %31
i32 27, label %32
i32 28, label %33
i32 29, label %34
i32 30, label %35
i32 256, label %36
i32 257, label %37
i32 258, label %38
i32 259, label %39
i32 260, label %40
i32 65281, label %41
i32 65282, label %42
i32 2570, label %43
i32 6682, label %43
i32 10794, label %43
i32 14906, label %43
i32 19018, label %43
i32 23130, label %43
i32 27242, label %43
i32 31354, label %43
i32 35466, label %43
i32 39578, label %43
i32 43690, label %43
i32 47802, label %43
i32 51914, label %43
i32 56026, label %43
i32 60138, label %43
i32 64250, label %43
]
5: ; preds = %1
store ptr null, ptr %2, align 8
br label %44
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %44
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %44
8: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %44
9: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %44
10: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %44
11: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %44
12: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %44
13: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %44
14: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %44
15: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %44
16: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %44
17: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %44
18: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %44
19: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %44
20: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %44
21: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %44
22: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %44
23: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %44
24: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %44
25: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %44
26: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %44
27: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %44
28: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %44
29: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %44
30: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %44
31: ; preds = %1
store ptr @.str.25, ptr %2, align 8
br label %44
32: ; preds = %1
store ptr @.str.26, ptr %2, align 8
br label %44
33: ; preds = %1
store ptr @.str.27, ptr %2, align 8
br label %44
34: ; preds = %1
store ptr @.str.28, ptr %2, align 8
br label %44
35: ; preds = %1
store ptr @.str.29, ptr %2, align 8
br label %44
36: ; preds = %1
store ptr @.str.30, ptr %2, align 8
br label %44
37: ; preds = %1
store ptr @.str.31, ptr %2, align 8
br label %44
38: ; preds = %1
store ptr @.str.32, ptr %2, align 8
br label %44
39: ; preds = %1
store ptr @.str.33, ptr %2, align 8
br label %44
40: ; preds = %1
store ptr @.str.34, ptr %2, align 8
br label %44
41: ; preds = %1
store ptr @.str.35, ptr %2, align 8
br label %44
42: ; preds = %1
store ptr @.str.36, ptr %2, align 8
br label %44
43: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
store ptr @.str.37, ptr %2, align 8
br label %44
44: ; preds = %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp802snwgd.c'
source_filename = "/tmp/tmp802snwgd.c"
target datalayout = "e-m:e-p270: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/tmp802snwgd.c"
target datalayout = "e-m:e-p270: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/tmpytx7j6ll.c'
source_filename = "/tmp/tmpytx7j6ll.c"
target datalayout = "e-m:e-p270: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.group = type { ptr, ptr, i32, ptr }
@.str = private unnamed_addr constant [26 x i8] c"Usage: test-group <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Group %s not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Name : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Password : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"GID : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Member : %s\0A\00", align 1
@.str.6 = 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %57
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @getgrnam(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %13
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 -1, ptr %3, align 4
br label %57
24: ; preds = %13
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds %struct.group, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.group, ptr %29, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.group, ptr %33, i32 0, i32 2
%35 = load i32, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds %struct.group, ptr %37, i32 0, i32 3
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %8, align 8
br label %40
40: ; preds = %49, %24
%41 = load ptr, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = load ptr, ptr %8, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp ne ptr %45, null
br label %47
47: ; preds = %43, %40
%48 = phi i1 [ false, %40 ], [ %46, %43 ]
br i1 %48, label %49, label %55
49: ; preds = %47
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %51)
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds ptr, ptr %53, i32 1
store ptr %54, ptr %8, align 8
br label %40, !llvm.loop !6
55: ; preds = %47
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %3, align 4
br label %57
57: ; preds = %55, %21, %11
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getgrnam(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpytx7j6ll.c"
target datalayout = "e-m:e-p270: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.group = type { ptr, ptr, i32, ptr }
@.str = private unnamed_addr constant [26 x i8] c"Usage: test-group <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Group %s not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Name : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Password : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"GID : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Member : %s\0A\00", align 1
@.str.6 = 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %57
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @getgrnam(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %13
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 -1, ptr %3, align 4
br label %57
24: ; preds = %13
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds %struct.group, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.group, ptr %29, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.group, ptr %33, i32 0, i32 2
%35 = load i32, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds %struct.group, ptr %37, i32 0, i32 3
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %8, align 8
br label %40
40: ; preds = %49, %24
%41 = load ptr, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = load ptr, ptr %8, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp ne ptr %45, null
br label %47
47: ; preds = %43, %40
%48 = phi i1 [ false, %40 ], [ %46, %43 ]
br i1 %48, label %49, label %55
49: ; preds = %47
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %51)
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds ptr, ptr %53, i32 1
store ptr %54, ptr %8, align 8
br label %40, !llvm.loop !6
55: ; preds = %47
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %3, align 4
br label %57
57: ; preds = %55, %21, %11
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getgrnam(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpiatsthhh.c'
source_filename = "/tmp/tmpiatsthhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [125 x i8] c"Built by Prool %s %s [email protected]\0Ahttp://calculix.kharkov.org\0AUse PROOL command in CGX main window for additional info\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"23:12:36\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prool_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
ret void
}
declare i32 @printf(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/tmpiatsthhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [125 x i8] c"Built by Prool %s %s [email protected]\0Ahttp://calculix.kharkov.org\0AUse PROOL command in CGX main window for additional info\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"23:12:36\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prool_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
ret void
}
declare i32 @printf(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/tmpmx3t317o.c'
source_filename = "/tmp/tmpmx3t317o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %19, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = call i32 @_irc_tolower(i8 noundef signext %8)
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = call i32 @_irc_tolower(i8 noundef signext %11)
%13 = icmp eq i32 %9, %12
br i1 %13, label %14, label %24
14: ; preds = %6
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14
store i32 0, ptr %3, align 4
br label %32
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
br label %6, !llvm.loop !6
24: ; preds = %6
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = call i32 @_irc_tolower(i8 noundef signext %26)
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = call i32 @_irc_tolower(i8 noundef signext %29)
%31 = sub nsw i32 %27, %30
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %24, %18
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @_irc_tolower(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/tmpmx3t317o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = call i32 @_irc_tolower(i8 noundef signext %7)
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = call i32 @_irc_tolower(i8 noundef signext %10)
%12 = icmp eq i32 %8, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %18
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 0, ptr %3, align 4
br label %38
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = call i32 @_irc_tolower(i8 noundef signext %24)
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
%28 = call i32 @_irc_tolower(i8 noundef signext %27)
%29 = icmp eq i32 %25, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = call i32 @_irc_tolower(i8 noundef signext %32)
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = call i32 @_irc_tolower(i8 noundef signext %35)
%37 = sub nsw i32 %33, %36
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %30, %17
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @_irc_tolower(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/tmpngivxuvv.c'
source_filename = "/tmp/tmpngivxuvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateSurfacePointOnUnitSphere(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %54, %2
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %59
16: ; preds = %12
%17 = call double (...) @getRandom()
store double %17, ptr %5, align 8
%18 = call double (...) @getRandom()
store double %18, ptr %6, align 8
%19 = load i32, ptr @M_PI, align 4
%20 = mul nsw i32 2, %19
%21 = sitofp i32 %20 to double
%22 = load double, ptr %5, align 8
%23 = fmul double %21, %22
store double %23, ptr %7, align 8
%24 = load double, ptr %6, align 8
%25 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %24, double -1.000000e+00)
%26 = fptosi double %25 to i32
%27 = call double @acos(i32 noundef %26)
store double %27, ptr %8, align 8
%28 = load double, ptr %8, align 8
%29 = call double @sin(double noundef %28) #4
store double %29, ptr %9, align 8
%30 = load double, ptr %7, align 8
%31 = call double @cos(double noundef %30) #4
%32 = load double, ptr %9, align 8
%33 = fmul double %31, %32
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
store double %33, ptr %37, align 8
%38 = load double, ptr %7, align 8
%39 = call double @sin(double noundef %38) #4
%40 = load double, ptr %9, align 8
%41 = fmul double %39, %40
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %42, i64 %45
store double %41, ptr %46, align 8
%47 = load double, ptr %6, align 8
%48 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double -1.000000e+00)
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 2
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %49, i64 %52
store double %48, ptr %53, align 8
br label %54
54: ; preds = %16
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 3
store i32 %58, ptr %10, align 4
br label %12, !llvm.loop !6
59: ; preds = %12
ret void
}
declare double @getRandom(...) #1
declare double @acos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #3
; Function Attrs: nounwind
declare double @cos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpngivxuvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateSurfacePointOnUnitSphere(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %61
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %53
%16 = call double (...) @getRandom()
store double %16, ptr %5, align 8
%17 = call double (...) @getRandom()
store double %17, ptr %6, align 8
%18 = load i32, ptr @M_PI, align 4
%19 = mul nsw i32 2, %18
%20 = sitofp i32 %19 to double
%21 = load double, ptr %5, align 8
%22 = fmul double %20, %21
store double %22, ptr %7, align 8
%23 = load double, ptr %6, align 8
%24 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %23, double -1.000000e+00)
%25 = fptosi double %24 to i32
%26 = call double @acos(i32 noundef %25)
store double %26, ptr %8, align 8
%27 = load double, ptr %8, align 8
%28 = call double @sin(double noundef %27) #4
store double %28, ptr %9, align 8
%29 = load double, ptr %7, align 8
%30 = call double @cos(double noundef %29) #4
%31 = load double, ptr %9, align 8
%32 = fmul double %30, %31
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
store double %32, ptr %36, align 8
%37 = load double, ptr %7, align 8
%38 = call double @sin(double noundef %37) #4
%39 = load double, ptr %9, align 8
%40 = fmul double %38, %39
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %41, i64 %44
store double %40, ptr %45, align 8
%46 = load double, ptr %6, align 8
%47 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %46, double -1.000000e+00)
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %48, i64 %51
store double %47, ptr %52, align 8
br label %53
53: ; preds = %15
%54 = load i32, ptr %11, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %11, align 4
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 3
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %61
61: ; preds = %._crit_edge, %2
ret void
}
declare double @getRandom(...) #1
declare double @acos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #3
; Function Attrs: nounwind
declare double @cos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjijw7wmo.c'
source_filename = "/tmp/tmpjijw7wmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowerArm() #0 {
%1 = alloca float, align 4
store float 1.800000e+02, ptr %1, align 4
br label %2
2: ; preds = %5, %0
%3 = load float, ptr %1, align 4
%4 = fcmp oge float %3, 7.500000e+01
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load float, ptr %1, align 4
%7 = fpext float %6 to double
%8 = fsub double %7, 1.000000e-02
%9 = fptrunc double %8 to float
store float %9, ptr %1, align 4
%10 = load float, ptr %1, align 4
%11 = call i32 @setTilt(float noundef %10)
br label %2, !llvm.loop !6
12: ; preds = %2
ret void
}
declare i32 @setTilt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjijw7wmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowerArm() #0 {
%1 = alloca float, align 4
store float 1.800000e+02, ptr %1, align 4
%2 = load float, ptr %1, align 4
%3 = fcmp oge float %2, 7.500000e+01
br i1 %3, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %4
%5 = load float, ptr %1, align 4
%6 = fpext float %5 to double
%7 = fsub double %6, 1.000000e-02
%8 = fptrunc double %7 to float
store float %8, ptr %1, align 4
%9 = load float, ptr %1, align 4
%10 = call i32 @setTilt(float noundef %9)
%11 = load float, ptr %1, align 4
%12 = fcmp oge float %11, 7.500000e+01
br i1 %12, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %4
br label %13
13: ; preds = %._crit_edge, %0
ret void
}
declare i32 @setTilt(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiwpromap.c'
source_filename = "/tmp/tmpiwpromap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [272 x i8] c"<NrTracks>%u</NrTracks><MediaDuration>%s</MediaDuration><CurrentURI>%s</CurrentURI><CurrentURIMetaData>%s</CurrentURIMetaData><NextURI>%s</NextURI><NextURIMetaData>%s</NextURIMetaData><PlayMedium>%s</PlayMedium><RecordMedium>%s</RecordMedium><WriteStatus>%s</WriteStatus>\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"urn:schemas-upnp-org:service:AVTransport:1\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"GetMediaInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_MediaRenderer_AVTransport_GetMediaInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca 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 ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%30 = load ptr, ptr %13, align 8
%31 = call i64 @ILibXmlEscapeLength(ptr noundef %30)
%32 = add nsw i64 1, %31
%33 = call i64 @malloc(i64 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %22, align 8
%35 = load ptr, ptr %14, align 8
%36 = call i64 @ILibXmlEscapeLength(ptr noundef %35)
%37 = add nsw i64 1, %36
%38 = call i64 @malloc(i64 noundef %37)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %23, align 8
%40 = load ptr, ptr %15, align 8
%41 = call i64 @ILibXmlEscapeLength(ptr noundef %40)
%42 = add nsw i64 1, %41
%43 = call i64 @malloc(i64 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %24, align 8
%45 = load ptr, ptr %16, align 8
%46 = call i64 @ILibXmlEscapeLength(ptr noundef %45)
%47 = add nsw i64 1, %46
%48 = call i64 @malloc(i64 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %25, align 8
%50 = load ptr, ptr %17, align 8
%51 = call i64 @ILibXmlEscapeLength(ptr noundef %50)
%52 = add nsw i64 1, %51
%53 = call i64 @malloc(i64 noundef %52)
%54 = inttoptr i64 %53 to ptr
store ptr %54, ptr %26, align 8
%55 = load ptr, ptr %18, align 8
%56 = call i64 @ILibXmlEscapeLength(ptr noundef %55)
%57 = add nsw i64 1, %56
%58 = call i64 @malloc(i64 noundef %57)
%59 = inttoptr i64 %58 to ptr
store ptr %59, ptr %27, align 8
%60 = load ptr, ptr %19, align 8
%61 = call i64 @ILibXmlEscapeLength(ptr noundef %60)
%62 = add nsw i64 1, %61
%63 = call i64 @malloc(i64 noundef %62)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %28, align 8
%65 = load ptr, ptr %20, align 8
%66 = call i64 @ILibXmlEscapeLength(ptr noundef %65)
%67 = add nsw i64 1, %66
%68 = call i64 @malloc(i64 noundef %67)
%69 = inttoptr i64 %68 to ptr
store ptr %69, ptr %29, align 8
%70 = load ptr, ptr %22, align 8
%71 = load ptr, ptr %13, align 8
%72 = call i32 @ILibXmlEscape(ptr noundef %70, ptr noundef %71)
%73 = load ptr, ptr %23, align 8
%74 = load ptr, ptr %14, align 8
%75 = call i32 @ILibXmlEscape(ptr noundef %73, ptr noundef %74)
%76 = load ptr, ptr %24, align 8
%77 = load ptr, ptr %15, align 8
%78 = call i32 @ILibXmlEscape(ptr noundef %76, ptr noundef %77)
%79 = load ptr, ptr %25, align 8
%80 = load ptr, ptr %16, align 8
%81 = call i32 @ILibXmlEscape(ptr noundef %79, ptr noundef %80)
%82 = load ptr, ptr %26, align 8
%83 = load ptr, ptr %17, align 8
%84 = call i32 @ILibXmlEscape(ptr noundef %82, ptr noundef %83)
%85 = load ptr, ptr %27, align 8
%86 = load ptr, ptr %18, align 8
%87 = call i32 @ILibXmlEscape(ptr noundef %85, ptr noundef %86)
%88 = load ptr, ptr %28, align 8
%89 = load ptr, ptr %19, align 8
%90 = call i32 @ILibXmlEscape(ptr noundef %88, ptr noundef %89)
%91 = load ptr, ptr %29, align 8
%92 = load ptr, ptr %20, align 8
%93 = call i32 @ILibXmlEscape(ptr noundef %91, ptr noundef %92)
%94 = load ptr, ptr %22, align 8
%95 = call i64 @strlen(ptr noundef %94)
%96 = add nsw i64 265, %95
%97 = load ptr, ptr %23, align 8
%98 = call i64 @strlen(ptr noundef %97)
%99 = add nsw i64 %96, %98
%100 = load ptr, ptr %24, align 8
%101 = call i64 @strlen(ptr noundef %100)
%102 = add nsw i64 %99, %101
%103 = load ptr, ptr %25, align 8
%104 = call i64 @strlen(ptr noundef %103)
%105 = add nsw i64 %102, %104
%106 = load ptr, ptr %26, align 8
%107 = call i64 @strlen(ptr noundef %106)
%108 = add nsw i64 %105, %107
%109 = load ptr, ptr %27, align 8
%110 = call i64 @strlen(ptr noundef %109)
%111 = add nsw i64 %108, %110
%112 = load ptr, ptr %28, align 8
%113 = call i64 @strlen(ptr noundef %112)
%114 = add nsw i64 %111, %113
%115 = load ptr, ptr %29, align 8
%116 = call i64 @strlen(ptr noundef %115)
%117 = add nsw i64 %114, %116
%118 = call i64 @malloc(i64 noundef %117)
%119 = inttoptr i64 %118 to ptr
store ptr %119, ptr %21, align 8
%120 = load ptr, ptr %21, align 8
%121 = load i32, ptr %12, align 4
%122 = load ptr, ptr %22, align 8
%123 = load ptr, ptr %23, align 8
%124 = load ptr, ptr %24, align 8
%125 = load ptr, ptr %25, align 8
%126 = load ptr, ptr %26, align 8
%127 = load ptr, ptr %27, align 8
%128 = load ptr, ptr %28, align 8
%129 = load ptr, ptr %29, align 8
%130 = call i32 @sprintf(ptr noundef %120, ptr noundef @.str, i32 noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129)
%131 = load ptr, ptr %11, align 8
%132 = load ptr, ptr %21, align 8
%133 = call i32 @UpnpResponseGeneric(ptr noundef %131, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %132)
%134 = load ptr, ptr %21, align 8
%135 = call i32 @free(ptr noundef %134)
%136 = load ptr, ptr %22, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = load ptr, ptr %23, align 8
%139 = call i32 @free(ptr noundef %138)
%140 = load ptr, ptr %24, align 8
%141 = call i32 @free(ptr noundef %140)
%142 = load ptr, ptr %25, align 8
%143 = call i32 @free(ptr noundef %142)
%144 = load ptr, ptr %26, align 8
%145 = call i32 @free(ptr noundef %144)
%146 = load ptr, ptr %27, align 8
%147 = call i32 @free(ptr noundef %146)
%148 = load ptr, ptr %28, align 8
%149 = call i32 @free(ptr noundef %148)
%150 = load ptr, ptr %29, align 8
%151 = call i32 @free(ptr noundef %150)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr 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/tmpiwpromap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [272 x i8] c"<NrTracks>%u</NrTracks><MediaDuration>%s</MediaDuration><CurrentURI>%s</CurrentURI><CurrentURIMetaData>%s</CurrentURIMetaData><NextURI>%s</NextURI><NextURIMetaData>%s</NextURIMetaData><PlayMedium>%s</PlayMedium><RecordMedium>%s</RecordMedium><WriteStatus>%s</WriteStatus>\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"urn:schemas-upnp-org:service:AVTransport:1\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"GetMediaInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_MediaRenderer_AVTransport_GetMediaInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca 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 ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%30 = load ptr, ptr %13, align 8
%31 = call i64 @ILibXmlEscapeLength(ptr noundef %30)
%32 = add nsw i64 1, %31
%33 = call i64 @malloc(i64 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %22, align 8
%35 = load ptr, ptr %14, align 8
%36 = call i64 @ILibXmlEscapeLength(ptr noundef %35)
%37 = add nsw i64 1, %36
%38 = call i64 @malloc(i64 noundef %37)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %23, align 8
%40 = load ptr, ptr %15, align 8
%41 = call i64 @ILibXmlEscapeLength(ptr noundef %40)
%42 = add nsw i64 1, %41
%43 = call i64 @malloc(i64 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %24, align 8
%45 = load ptr, ptr %16, align 8
%46 = call i64 @ILibXmlEscapeLength(ptr noundef %45)
%47 = add nsw i64 1, %46
%48 = call i64 @malloc(i64 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %25, align 8
%50 = load ptr, ptr %17, align 8
%51 = call i64 @ILibXmlEscapeLength(ptr noundef %50)
%52 = add nsw i64 1, %51
%53 = call i64 @malloc(i64 noundef %52)
%54 = inttoptr i64 %53 to ptr
store ptr %54, ptr %26, align 8
%55 = load ptr, ptr %18, align 8
%56 = call i64 @ILibXmlEscapeLength(ptr noundef %55)
%57 = add nsw i64 1, %56
%58 = call i64 @malloc(i64 noundef %57)
%59 = inttoptr i64 %58 to ptr
store ptr %59, ptr %27, align 8
%60 = load ptr, ptr %19, align 8
%61 = call i64 @ILibXmlEscapeLength(ptr noundef %60)
%62 = add nsw i64 1, %61
%63 = call i64 @malloc(i64 noundef %62)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %28, align 8
%65 = load ptr, ptr %20, align 8
%66 = call i64 @ILibXmlEscapeLength(ptr noundef %65)
%67 = add nsw i64 1, %66
%68 = call i64 @malloc(i64 noundef %67)
%69 = inttoptr i64 %68 to ptr
store ptr %69, ptr %29, align 8
%70 = load ptr, ptr %22, align 8
%71 = load ptr, ptr %13, align 8
%72 = call i32 @ILibXmlEscape(ptr noundef %70, ptr noundef %71)
%73 = load ptr, ptr %23, align 8
%74 = load ptr, ptr %14, align 8
%75 = call i32 @ILibXmlEscape(ptr noundef %73, ptr noundef %74)
%76 = load ptr, ptr %24, align 8
%77 = load ptr, ptr %15, align 8
%78 = call i32 @ILibXmlEscape(ptr noundef %76, ptr noundef %77)
%79 = load ptr, ptr %25, align 8
%80 = load ptr, ptr %16, align 8
%81 = call i32 @ILibXmlEscape(ptr noundef %79, ptr noundef %80)
%82 = load ptr, ptr %26, align 8
%83 = load ptr, ptr %17, align 8
%84 = call i32 @ILibXmlEscape(ptr noundef %82, ptr noundef %83)
%85 = load ptr, ptr %27, align 8
%86 = load ptr, ptr %18, align 8
%87 = call i32 @ILibXmlEscape(ptr noundef %85, ptr noundef %86)
%88 = load ptr, ptr %28, align 8
%89 = load ptr, ptr %19, align 8
%90 = call i32 @ILibXmlEscape(ptr noundef %88, ptr noundef %89)
%91 = load ptr, ptr %29, align 8
%92 = load ptr, ptr %20, align 8
%93 = call i32 @ILibXmlEscape(ptr noundef %91, ptr noundef %92)
%94 = load ptr, ptr %22, align 8
%95 = call i64 @strlen(ptr noundef %94)
%96 = add nsw i64 265, %95
%97 = load ptr, ptr %23, align 8
%98 = call i64 @strlen(ptr noundef %97)
%99 = add nsw i64 %96, %98
%100 = load ptr, ptr %24, align 8
%101 = call i64 @strlen(ptr noundef %100)
%102 = add nsw i64 %99, %101
%103 = load ptr, ptr %25, align 8
%104 = call i64 @strlen(ptr noundef %103)
%105 = add nsw i64 %102, %104
%106 = load ptr, ptr %26, align 8
%107 = call i64 @strlen(ptr noundef %106)
%108 = add nsw i64 %105, %107
%109 = load ptr, ptr %27, align 8
%110 = call i64 @strlen(ptr noundef %109)
%111 = add nsw i64 %108, %110
%112 = load ptr, ptr %28, align 8
%113 = call i64 @strlen(ptr noundef %112)
%114 = add nsw i64 %111, %113
%115 = load ptr, ptr %29, align 8
%116 = call i64 @strlen(ptr noundef %115)
%117 = add nsw i64 %114, %116
%118 = call i64 @malloc(i64 noundef %117)
%119 = inttoptr i64 %118 to ptr
store ptr %119, ptr %21, align 8
%120 = load ptr, ptr %21, align 8
%121 = load i32, ptr %12, align 4
%122 = load ptr, ptr %22, align 8
%123 = load ptr, ptr %23, align 8
%124 = load ptr, ptr %24, align 8
%125 = load ptr, ptr %25, align 8
%126 = load ptr, ptr %26, align 8
%127 = load ptr, ptr %27, align 8
%128 = load ptr, ptr %28, align 8
%129 = load ptr, ptr %29, align 8
%130 = call i32 @sprintf(ptr noundef %120, ptr noundef @.str, i32 noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129)
%131 = load ptr, ptr %11, align 8
%132 = load ptr, ptr %21, align 8
%133 = call i32 @UpnpResponseGeneric(ptr noundef %131, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %132)
%134 = load ptr, ptr %21, align 8
%135 = call i32 @free(ptr noundef %134)
%136 = load ptr, ptr %22, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = load ptr, ptr %23, align 8
%139 = call i32 @free(ptr noundef %138)
%140 = load ptr, ptr %24, align 8
%141 = call i32 @free(ptr noundef %140)
%142 = load ptr, ptr %25, align 8
%143 = call i32 @free(ptr noundef %142)
%144 = load ptr, ptr %26, align 8
%145 = call i32 @free(ptr noundef %144)
%146 = load ptr, ptr %27, align 8
%147 = call i32 @free(ptr noundef %146)
%148 = load ptr, ptr %28, align 8
%149 = call i32 @free(ptr noundef %148)
%150 = load ptr, ptr %29, align 8
%151 = call i32 @free(ptr noundef %150)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr 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/tmp3h1sam3x.c'
source_filename = "/tmp/tmp3h1sam3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 299, ptr %3, align 4
br label %5
5: ; preds = %19, %1
%6 = load i32, ptr %3, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %22
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %8
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %4, align 4
br label %22
18: ; preds = %8
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %3, align 4
br label %5, !llvm.loop !6
22: ; preds = %16, %5
br label %23
23: ; preds = %34, %22
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32)
br label %34
34: ; preds = %26
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %4, align 4
br label %23, !llvm.loop !8
37: ; preds = %23
%38 = 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3h1sam3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 299, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %18
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %7
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %4, align 4
br label %23
17: ; preds = %7
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %18
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %23
23: ; preds = %.loopexit, %15
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %.lr.ph1, label %39
.lr.ph1: ; preds = %23
br label %26
26: ; preds = %.lr.ph1, %34
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32)
br label %34
34: ; preds = %26
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp sge i32 %37, 0
br i1 %38, label %26, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %23
%40 = 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1klkx99q.c'
source_filename = "/tmp/tmp1klkx99q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Enter Your Age in Years and Months\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Your Age in Days is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
%11 = load i32, ptr %7, align 4
%12 = mul nsw i32 %11, 365
%13 = load i32, ptr %8, align 4
%14 = mul nsw i32 %13, 30
%15 = add nsw i32 %12, %14
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1klkx99q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Enter Your Age in Years and Months\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Your Age in Days is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
%11 = load i32, ptr %7, align 4
%12 = mul nsw i32 %11, 365
%13 = load i32, ptr %8, align 4
%14 = mul nsw i32 %13, 30
%15 = add nsw i32 %12, %14
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcu4tt9kz.c'
source_filename = "/tmp/tmpcu4tt9kz.c"
target datalayout = "e-m:e-p270: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/tmpcu4tt9kz.c"
target datalayout = "e-m:e-p270: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/tmpuhg_x5g8.c'
source_filename = "/tmp/tmpuhg_x5g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDelta_3d_delta(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %17, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds double, ptr %9, i64 %11
%13 = load double, ptr %12, align 8
%14 = call double @CDelta_delta(double noundef %13)
%15 = load double, ptr %3, align 8
%16 = fmul double %15, %14
store double %16, ptr %3, align 8
br label %17
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load double, ptr %3, align 8
ret double %21
}
declare double @CDelta_delta(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuhg_x5g8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDelta_3d_delta(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %16
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds double, ptr %8, i64 %10
%12 = load double, ptr %11, align 8
%13 = call double @CDelta_delta(double noundef %12)
%14 = load double, ptr %3, align 8
%15 = fmul double %14, %13
store double %15, ptr %3, align 8
br label %16
16: ; preds = %7
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 3
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %1
%22 = load double, ptr %3, align 8
ret double %22
}
declare double @CDelta_delta(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf57_njpz.c'
source_filename = "/tmp/tmpf57_njpz.c"
target datalayout = "e-m:e-p270: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/tmpf57_njpz.c"
target datalayout = "e-m:e-p270: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/tmpuexa07sc.c'
source_filename = "/tmp/tmpuexa07sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [374 x i8] c"-u\09--usage\09show usage message\0A-h\09--help\09show this help message\0A-e\09--encrypt\09perform encription rather than decription\0A-d\09--decrypt\09perform decription rather than encription\0A-k\09--ofile <key_str>\09set key_str>\0A-i\09--ifile <input file>\09set input file>\0A-o\09--ofile <output file>\09set output file>\0A\09\09--128\09use 128-bit key_str\0A\09\09--192\09use 192-bit key_str\0A\09\09--256\09use 256-bit key_str\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(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 @usage(ptr noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
ret void
}
declare i32 @usage(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuexa07sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [374 x i8] c"-u\09--usage\09show usage message\0A-h\09--help\09show this help message\0A-e\09--encrypt\09perform encription rather than decription\0A-d\09--decrypt\09perform decription rather than encription\0A-k\09--ofile <key_str>\09set key_str>\0A-i\09--ifile <input file>\09set input file>\0A-o\09--ofile <output file>\09set output file>\0A\09\09--128\09use 128-bit key_str\0A\09\09--192\09use 192-bit key_str\0A\09\09--256\09use 256-bit key_str\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(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 @usage(ptr noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
ret void
}
declare i32 @usage(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0ikvgwo.c'
source_filename = "/tmp/tmpy0ikvgwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"__ieee754_logl not implemented\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__ieee754_logl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret x86_fp80 0xK00000000000000000000
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @__set_errno(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/tmpy0ikvgwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"__ieee754_logl not implemented\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__ieee754_logl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret x86_fp80 0xK00000000000000000000
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @__set_errno(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/tmpsr94md7h.c'
source_filename = "/tmp/tmpsr94md7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfree(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsr94md7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfree(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp527zj_s_.c'
source_filename = "/tmp/tmp527zj_s_.c"
target datalayout = "e-m:e-p270: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/tmp527zj_s_.c"
target datalayout = "e-m:e-p270: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/tmp4ggron6s.c'
source_filename = "/tmp/tmp4ggron6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_is_alnum(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %35
13: ; preds = %1
br label %14
14: ; preds = %31, %13
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = zext 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 %22, label %34
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isalnum(i8 noundef signext %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %22
store i32 0, ptr %2, align 4
br label %35
31: ; preds = %22
%32 = load i32, ptr %4, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %4, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
store i32 1, ptr %2, align 4
br label %35
35: ; preds = %34, %30, %12
%36 = load i32, ptr %2, align 4
ret i32 %36
}
declare i64 @isalnum(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/tmp4ggron6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_is_alnum(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %41
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %21
21: ; preds = %.lr.ph, %30
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i64 @isalnum(i8 noundef signext %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %21
store i32 0, ptr %2, align 4
br label %41
30: ; preds = %21
%31 = load i32, ptr %4, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %13
store i32 1, ptr %2, align 4
br label %41
41: ; preds = %40, %29, %12
%42 = load i32, ptr %2, align 4
ret i32 %42
}
declare i64 @isalnum(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/tmpc2lfeqhu.c'
source_filename = "/tmp/tmpc2lfeqhu.c"
target datalayout = "e-m:e-p270: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/tmpc2lfeqhu.c"
target datalayout = "e-m:e-p270: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/tmpd5vhgm_f.c'
source_filename = "/tmp/tmpd5vhgm_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"[INFO] (%s:%d) Well I did something mundane.\0A\00", align 1
@.str.1 = 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/afronski/playground-low-level/refs/heads/master/c/learn-c-the-hard-way/ex20.c\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"[INFO] (%s:%d) It happened %f times today.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_log_info() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 29, double noundef 0x3FF4CCCCC0000000)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5vhgm_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"[INFO] (%s:%d) Well I did something mundane.\0A\00", align 1
@.str.1 = 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/afronski/playground-low-level/refs/heads/master/c/learn-c-the-hard-way/ex20.c\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"[INFO] (%s:%d) It happened %f times today.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_log_info() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 29, double noundef 0x3FF4CCCCC0000000)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo4_pd240.c'
source_filename = "/tmp/tmpo4_pd240.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 @api_putchar(i8 noundef signext 97)
br label %1
}
declare i32 @api_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo4_pd240.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 @api_putchar(i8 noundef signext 97)
br label %1
}
declare i32 @api_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1exn5dhu.c'
source_filename = "/tmp/tmp1exn5dhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um numero: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\0AO valor de y e %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"\0AO valor de x e %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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @param(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @param(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/tmp1exn5dhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um numero: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\0AO valor de y e %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"\0AO valor de x e %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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @param(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @param(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/tmphoyb2fng.c'
source_filename = "/tmp/tmphoyb2fng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
br label %4
4: ; preds = %0, %4
%5 = call ptr @malloc(i32 noundef 800)
store ptr %5, ptr %2, align 8
br label %4
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphoyb2fng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
br label %4
4: ; preds = %4, %0
%5 = call ptr @malloc(i32 noundef 800)
store ptr %5, ptr %2, align 8
br label %4
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyfgjcewx.c'
source_filename = "/tmp/tmpyfgjcewx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost:10443\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 (...) @init()
%4 = call ptr @conn(ptr noundef @.str)
store ptr %4, ptr %2, align 8
ret i32 0
}
declare i32 @init(...) #1
declare ptr @conn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyfgjcewx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost:10443\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 (...) @init()
%4 = call ptr @conn(ptr noundef @.str)
store ptr %4, ptr %2, align 8
ret i32 0
}
declare i32 @init(...) #1
declare ptr @conn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1g3ttq4.c'
source_filename = "/tmp/tmpd1g3ttq4.c"
target datalayout = "e-m:e-p270: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/tmpd1g3ttq4.c"
target datalayout = "e-m:e-p270: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/tmpng_m2r8z.c'
source_filename = "/tmp/tmpng_m2r8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpng_m2r8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmp1koiqvhp.c'
source_filename = "/tmp/tmp1koiqvhp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
br label %10
10: ; preds = %14, %3
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
br label %10, !llvm.loop !6
17: ; preds = %10
br label %18
18: ; preds = %33, %17
%19 = load i64, ptr %7, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %6, align 8
%22 = icmp ult i64 %19, %21
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load i8, ptr %24, align 1
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
store i8 %26, ptr %27, align 1
%29 = sext i8 %26 to i32
%30 = icmp ne i32 %29, 0
br label %31
31: ; preds = %23, %18
%32 = phi i1 [ false, %18 ], [ %30, %23 ]
br i1 %32, label %33, label %34
33: ; preds = %31
br label %18, !llvm.loop !8
34: ; preds = %31
%35 = load ptr, ptr %4, align 8
store i8 0, ptr %35, align 1
%36 = load ptr, ptr %8, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1koiqvhp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %19
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %3
br label %20
20: ; preds = %33, %19
%21 = load i64, ptr %7, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %6, align 8
%24 = icmp ult i64 %21, %23
br i1 %24, label %25, label %33
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
%28 = load i8, ptr %26, align 1
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
store i8 %28, ptr %29, align 1
%31 = sext i8 %28 to i32
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %25, %20
%34 = phi i1 [ false, %20 ], [ %32, %25 ]
br i1 %34, label %20, label %35, !llvm.loop !8
35: ; preds = %33
%36 = load ptr, ptr %4, align 8
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %8, align 8
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl8fz9w6f.c'
source_filename = "/tmp/tmpl8fz9w6f.c"
target datalayout = "e-m:e-p270: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/tmpl8fz9w6f.c"
target datalayout = "e-m:e-p270: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/tmpttg0o71q.c'
source_filename = "/tmp/tmpttg0o71q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isTwin(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 @isPrime(i32 noundef %4)
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 2
%11 = call i32 @isPrime(i32 noundef %10)
%12 = icmp eq i32 %11, 1
br i1 %12, label %18, label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 2
%16 = call i32 @isPrime(i32 noundef %15)
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %19
18: ; preds = %13, %8
store i32 1, ptr %2, align 4
br label %20
19: ; preds = %13
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %19, %18, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @isPrime(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/tmpttg0o71q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isTwin(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 @isPrime(i32 noundef %4)
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 2
%11 = call i32 @isPrime(i32 noundef %10)
%12 = icmp eq i32 %11, 1
br i1 %12, label %18, label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 2
%16 = call i32 @isPrime(i32 noundef %15)
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %19
18: ; preds = %13, %8
store i32 1, ptr %2, align 4
br label %20
19: ; preds = %13
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %19, %18, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @isPrime(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/tmp2ab_jxd8.c'
source_filename = "/tmp/tmp2ab_jxd8.c"
target datalayout = "e-m:e-p270: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/tmp2ab_jxd8.c"
target datalayout = "e-m:e-p270: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/tmpgmdussxx.c'
source_filename = "/tmp/tmpgmdussxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_citrus_unmap_file(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 ptr @_citrus_region_head(ptr noundef %3)
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %14
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @_citrus_region_head(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @_citrus_region_size(ptr noundef %9)
%11 = call i32 @munmap(ptr noundef %8, i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @_citrus_region_init(ptr noundef %12, ptr noundef null, i32 noundef 0)
br label %14
14: ; preds = %6, %1
ret void
}
declare ptr @_citrus_region_head(ptr noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @_citrus_region_size(ptr noundef) #1
declare i32 @_citrus_region_init(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmdussxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_citrus_unmap_file(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 ptr @_citrus_region_head(ptr noundef %3)
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %14
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @_citrus_region_head(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @_citrus_region_size(ptr noundef %9)
%11 = call i32 @munmap(ptr noundef %8, i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @_citrus_region_init(ptr noundef %12, ptr noundef null, i32 noundef 0)
br label %14
14: ; preds = %6, %1
ret void
}
declare ptr @_citrus_region_head(ptr noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @_citrus_region_size(ptr noundef) #1
declare i32 @_citrus_region_init(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwjgv_bl.c'
source_filename = "/tmp/tmpiwjgv_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getFirstFoundEntry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @XListFonts(ptr noundef %8, ptr noundef %9, i32 noundef 1, ptr noundef %5)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call ptr @XLoadQueryFont(ptr noundef %11, ptr noundef %14)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @XFreeFontNames(ptr noundef %16)
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
declare ptr @XListFonts(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @XLoadQueryFont(ptr noundef, ptr noundef) #1
declare i32 @XFreeFontNames(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwjgv_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getFirstFoundEntry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @XListFonts(ptr noundef %8, ptr noundef %9, i32 noundef 1, ptr noundef %5)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call ptr @XLoadQueryFont(ptr noundef %11, ptr noundef %14)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @XFreeFontNames(ptr noundef %16)
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
declare ptr @XListFonts(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @XLoadQueryFont(ptr noundef, ptr noundef) #1
declare i32 @XFreeFontNames(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdrqxmper.c'
source_filename = "/tmp/tmpdrqxmper.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_is_digit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %35
13: ; preds = %1
br label %14
14: ; preds = %31, %13
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = zext 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 %22, label %34
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isdigit(i8 noundef signext %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %22
store i32 0, ptr %2, align 4
br label %35
31: ; preds = %22
%32 = load i32, ptr %4, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %4, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
store i32 1, ptr %2, align 4
br label %35
35: ; preds = %34, %30, %12
%36 = load i32, ptr %2, align 4
ret i32 %36
}
declare i64 @isdigit(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/tmpdrqxmper.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_is_digit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %41
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %21
21: ; preds = %.lr.ph, %30
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i64 @isdigit(i8 noundef signext %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %21
store i32 0, ptr %2, align 4
br label %41
30: ; preds = %21
%31 = load i32, ptr %4, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %13
store i32 1, ptr %2, align 4
br label %41
41: ; preds = %40, %29, %12
%42 = load i32, ptr %2, align 4
ret i32 %42
}
declare i64 @isdigit(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/tmpcbkwy31c.c'
source_filename = "/tmp/tmpcbkwy31c.c"
target datalayout = "e-m:e-p270: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/tmpcbkwy31c.c"
target datalayout = "e-m:e-p270: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/tmpx0drbeoa.c'
source_filename = "/tmp/tmpx0drbeoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = call ptr @longestCommonPrefix(ptr noundef %7, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @longestCommonPrefix(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/tmpx0drbeoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = call ptr @longestCommonPrefix(ptr noundef %7, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @longestCommonPrefix(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/tmpmlz_bipj.c'
source_filename = "/tmp/tmpmlz_bipj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"uart: previous IMSC: %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"uart: new IMSC: %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mini_uart_enable_interrupts() #0 {
%1 = alloca i32, align 4
%2 = call i32 @bcm2835_write(i32 noundef 2101316, i32 noundef 2047)
%3 = call i32 @bcm2835_read(i32 noundef 2101300)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = and i32 %4, -57
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @bcm2835_write(i32 noundef 2101300, i32 noundef %6)
%8 = call i32 @bcm2835_read(i32 noundef 2101304)
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = call i32 @printk(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = or i32 %11, 64
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = call i32 @printk(ptr noundef @.str.1, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = call i32 @bcm2835_write(i32 noundef 2101304, i32 noundef %15)
%17 = call i32 @irq_enable(i32 noundef 57)
ret void
}
declare i32 @bcm2835_write(i32 noundef, i32 noundef) #1
declare i32 @bcm2835_read(i32 noundef) #1
declare i32 @printk(ptr noundef, i32 noundef) #1
declare i32 @irq_enable(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/tmpmlz_bipj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"uart: previous IMSC: %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"uart: new IMSC: %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mini_uart_enable_interrupts() #0 {
%1 = alloca i32, align 4
%2 = call i32 @bcm2835_write(i32 noundef 2101316, i32 noundef 2047)
%3 = call i32 @bcm2835_read(i32 noundef 2101300)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = and i32 %4, -57
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @bcm2835_write(i32 noundef 2101300, i32 noundef %6)
%8 = call i32 @bcm2835_read(i32 noundef 2101304)
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = call i32 @printk(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = or i32 %11, 64
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = call i32 @printk(ptr noundef @.str.1, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = call i32 @bcm2835_write(i32 noundef 2101304, i32 noundef %15)
%17 = call i32 @irq_enable(i32 noundef 57)
ret void
}
declare i32 @bcm2835_write(i32 noundef, i32 noundef) #1
declare i32 @bcm2835_read(i32 noundef) #1
declare i32 @printk(ptr noundef, i32 noundef) #1
declare i32 @irq_enable(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/tmp85vcy3op.c'
source_filename = "/tmp/tmp85vcy3op.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_disp_bin(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 -128, ptr %3, align 1
br label %4
4: ; preds = %20, %1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %25
8: ; preds = %4
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = and i32 %10, %12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %8
%16 = call i32 @lcd_putch(i8 noundef signext 48)
br label %19
17: ; preds = %8
%18 = call i32 @lcd_putch(i8 noundef signext 49)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19
%21 = load i8, ptr %3, align 1
%22 = zext i8 %21 to i32
%23 = ashr i32 %22, 1
%24 = trunc i32 %23 to i8
store i8 %24, ptr %3, align 1
br label %4, !llvm.loop !6
25: ; preds = %4
ret void
}
declare i32 @lcd_putch(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/tmp85vcy3op.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_disp_bin(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 -128, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp sgt i32 %5, 0
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %19
%8 = load i8, ptr %2, align 1
%9 = zext i8 %8 to i32
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %9, %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %7
%15 = call i32 @lcd_putch(i8 noundef signext 48)
br label %18
16: ; preds = %7
%17 = call i32 @lcd_putch(i8 noundef signext 49)
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18
%20 = load i8, ptr %3, align 1
%21 = zext i8 %20 to i32
%22 = ashr i32 %21, 1
%23 = trunc i32 %22 to i8
store i8 %23, ptr %3, align 1
%24 = load i8, ptr %3, align 1
%25 = zext i8 %24 to i32
%26 = icmp sgt i32 %25, 0
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %27
27: ; preds = %._crit_edge, %1
ret void
}
declare i32 @lcd_putch(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/tmpsfipiddk.c'
source_filename = "/tmp/tmpsfipiddk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Smithwaterman finished\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 [21 x i8], align 16
%8 = alloca [78 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %17, %2
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 21
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = call signext i8 (...) @random_number_gen()
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 %15
store i8 %13, ptr %16, align 1
br label %17
17: ; preds = %12
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %29, %20
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %22, 78
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = call signext i8 (...) @random_number_gen()
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [78 x i8], ptr %8, i64 0, i64 %27
store i8 %25, ptr %28, align 1
br label %29
29: ; preds = %24
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %21, !llvm.loop !8
32: ; preds = %21
%33 = call i32 (...) @accPrintCycle()
%34 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%35 = getelementptr inbounds [78 x i8], ptr %8, i64 0, i64 0
%36 = call i32 @SmithWaterman(ptr noundef %34, ptr noundef %35)
%37 = call i32 (...) @accPrintCycle()
%38 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare signext i8 @random_number_gen(...) #1
declare i32 @accPrintCycle(...) #1
declare i32 @SmithWaterman(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsfipiddk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Smithwaterman finished\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 [21 x i8], align 16
%8 = alloca [78 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 21
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %16
%12 = call signext i8 (...) @random_number_gen()
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 %14
store i8 %12, ptr %15, align 1
br label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 21
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %22, 78
br i1 %23, label %.lr.ph2, label %34
.lr.ph2: ; preds = %21
br label %24
24: ; preds = %.lr.ph2, %29
%25 = call signext i8 (...) @random_number_gen()
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [78 x i8], ptr %8, i64 0, i64 %27
store i8 %25, ptr %28, align 1
br label %29
29: ; preds = %24
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 78
br i1 %33, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %21
%35 = call i32 (...) @accPrintCycle()
%36 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%37 = getelementptr inbounds [78 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @SmithWaterman(ptr noundef %36, ptr noundef %37)
%39 = call i32 (...) @accPrintCycle()
%40 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare signext i8 @random_number_gen(...) #1
declare i32 @accPrintCycle(...) #1
declare i32 @SmithWaterman(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwnig_02c.c'
source_filename = "/tmp/tmpwnig_02c.c"
target datalayout = "e-m:e-p270: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/tmpwnig_02c.c"
target datalayout = "e-m:e-p270: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/tmptqr17tba.c'
source_filename = "/tmp/tmptqr17tba.c"
target datalayout = "e-m:e-p270: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/tmptqr17tba.c"
target datalayout = "e-m:e-p270: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/tmpjqmbx91j.c'
source_filename = "/tmp/tmpjqmbx91j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TMPFILE() #0 {
%1 = call ptr (...) @tmpfile()
%2 = ptrtoint ptr %1 to i64
ret i64 %2
}
declare ptr @tmpfile(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqmbx91j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TMPFILE() #0 {
%1 = call ptr (...) @tmpfile()
%2 = ptrtoint ptr %1 to i64
ret i64 %2
}
declare ptr @tmpfile(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzlv5es5y.c'
source_filename = "/tmp/tmpzlv5es5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzlv5es5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ixrdn6a.c'
source_filename = "/tmp/tmp3ixrdn6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @assert(ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @assert(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @assert(ptr noundef %15)
br label %17
17: ; preds = %22, %3
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %5, align 8
%20 = call ptr @strstr(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %53
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = load ptr, ptr %6, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = sext i32 %30 to i64
%32 = add nsw i64 %28, %31
%33 = trunc i64 %32 to i32
%34 = call i64 @realloc(ptr noundef %23, i32 noundef %33)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %7, align 8
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %9, align 8
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %9, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
%44 = call i32 @strncat(ptr noundef %36, ptr noundef %37, i32 noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %6, align 8
%47 = call i32 @strcat(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %8, align 8
%49 = load ptr, ptr %5, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store ptr %52, ptr %9, align 8
br label %17, !llvm.loop !6
53: ; preds = %17
%54 = load ptr, ptr %7, align 8
%55 = load ptr, ptr %9, align 8
%56 = call i32 @strcat(ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %4, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %7, align 8
ret ptr %59
}
declare i32 @assert(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ixrdn6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @assert(ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @assert(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @assert(ptr noundef %15)
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = call ptr @strstr(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %56
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %9, align 8
%25 = ptrtoint ptr %23 to i64
%26 = ptrtoint ptr %24 to i64
%27 = sub i64 %25, %26
%28 = load ptr, ptr %6, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sext i32 %29 to i64
%31 = add nsw i64 %27, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @realloc(ptr noundef %22, i32 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %7, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %9, align 8
%39 = ptrtoint ptr %37 to i64
%40 = ptrtoint ptr %38 to i64
%41 = sub i64 %39, %40
%42 = trunc i64 %41 to i32
%43 = call i32 @strncat(ptr noundef %35, ptr noundef %36, i32 noundef %42)
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %6, align 8
%46 = call i32 @strcat(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %5, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store ptr %51, ptr %9, align 8
%52 = load ptr, ptr %9, align 8
%53 = load ptr, ptr %5, align 8
%54 = call ptr @strstr(ptr noundef %52, ptr noundef %53)
store ptr %54, ptr %8, align 8
%55 = icmp ne ptr %54, null
br i1 %55, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %56
56: ; preds = %._crit_edge, %3
%57 = load ptr, ptr %7, align 8
%58 = load ptr, ptr %9, align 8
%59 = call i32 @strcat(ptr noundef %57, ptr noundef %58)
%60 = load ptr, ptr %4, align 8
%61 = call i32 @free(ptr noundef %60)
%62 = load ptr, ptr %7, align 8
ret ptr %62
}
declare i32 @assert(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7v6nzc51.c'
source_filename = "/tmp/tmp7v6nzc51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscaseends(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @wcslen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @wcslen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %33
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = sub i64 %18, %19
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %7, align 8
%24 = call i64 @wmemcasecmp(ptr noundef %21, ptr noundef %22, i64 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
br label %31
27: ; preds = %16
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %6, align 8
%30 = getelementptr inbounds i32, ptr %28, i64 %29
br label %31
31: ; preds = %27, %26
%32 = phi ptr [ null, %26 ], [ %30, %27 ]
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %31, %15
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare i64 @wcslen(ptr noundef) #1
declare i64 @wmemcasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7v6nzc51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscaseends(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @wcslen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @wcslen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %33
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = sub i64 %18, %19
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load ptr, ptr %5, align 8
%23 = load i64, ptr %7, align 8
%24 = call i64 @wmemcasecmp(ptr noundef %21, ptr noundef %22, i64 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
br label %31
27: ; preds = %16
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %6, align 8
%30 = getelementptr inbounds i32, ptr %28, i64 %29
br label %31
31: ; preds = %27, %26
%32 = phi ptr [ null, %26 ], [ %30, %27 ]
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %31, %15
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare i64 @wcslen(ptr noundef) #1
declare i64 @wmemcasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqgvxss1w.c'
source_filename = "/tmp/tmpqgvxss1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_remove_blanks(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @assert(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
br label %7
7: ; preds = %22, %1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 32
br i1 %15, label %16, label %21
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %2, align 8
store i8 %18, ptr %19, align 1
br label %21
21: ; preds = %16, %11
br label %22
22: ; preds = %21
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = load ptr, ptr %2, align 8
store i8 0, ptr %26, align 1
ret void
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqgvxss1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_remove_blanks(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @assert(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %21
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 32
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %2, align 8
store i8 %17, ptr %18, align 1
br label %20
20: ; preds = %15, %10
br label %21
21: ; preds = %20
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %2, align 8
store i8 0, ptr %28, align 1
ret void
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptr2e7oal.c'
source_filename = "/tmp/tmptr2e7oal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EADDRINUSE = dso_local global i64 0, align 8
@IPPORT_RESERVED = dso_local global i32 0, align 4
@EAGAIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rresvport(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_INET, align 4
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @INADDR_ANY, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = load i32, ptr @SOCK_STREAM, align 4
%13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %1
store i32 -1, ptr %2, align 4
br label %50
17: ; preds = %1
br label %18
18: ; preds = %49, %17
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %19, align 4
%21 = call i32 @htons(i32 noundef %20)
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %5, align 4
%24 = call i64 @bind(i32 noundef %23, ptr noundef %4, i32 noundef 12)
%25 = icmp sge i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %2, align 4
br label %50
28: ; preds = %18
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EADDRINUSE, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -1, ptr %2, align 4
br label %50
35: ; preds = %28
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %36, align 4
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr @IPPORT_RESERVED, align 4
%42 = sdiv i32 %41, 2
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %49
44: ; preds = %35
%45 = load i32, ptr %5, align 4
%46 = call i32 @close(i32 noundef %45)
%47 = load i32, ptr @EAGAIN, align 4
%48 = call i32 @__set_errno(i32 noundef %47)
store i32 -1, ptr %2, align 4
br label %50
49: ; preds = %35
br label %18
50: ; preds = %44, %32, %26, %16
%51 = load i32, ptr %2, align 4
ret i32 %51
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @__set_errno(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/tmptr2e7oal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EADDRINUSE = dso_local global i64 0, align 8
@IPPORT_RESERVED = dso_local global i32 0, align 4
@EAGAIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rresvport(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_INET, align 4
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @INADDR_ANY, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = load i32, ptr @SOCK_STREAM, align 4
%13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %1
store i32 -1, ptr %2, align 4
br label %55
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %18, align 4
%20 = call i32 @htons(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %5, align 4
%23 = call i64 @bind(i32 noundef %22, ptr noundef %4, i32 noundef 12)
%24 = icmp sge i64 %23, 0
br i1 %24, label %32, label %.lr.ph
.lr.ph: ; preds = %17
br label %34
25: ; preds = %41
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %26, align 4
%28 = call i32 @htons(i32 noundef %27)
store i32 %28, ptr %21, align 4
%29 = load i32, ptr %5, align 4
%30 = call i64 @bind(i32 noundef %29, ptr noundef %4, i32 noundef 12)
%31 = icmp sge i64 %30, 0
br i1 %31, label %._crit_edge, label %34
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %17
%33 = load i32, ptr %5, align 4
store i32 %33, ptr %2, align 4
br label %55
34: ; preds = %.lr.ph, %25
%35 = load i64, ptr @errno, align 8
%36 = load i64, ptr @EADDRINUSE, align 8
%37 = icmp ne i64 %35, %36
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, ptr %5, align 4
%40 = call i32 @close(i32 noundef %39)
store i32 -1, ptr %2, align 4
br label %55
41: ; preds = %34
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %42, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr @IPPORT_RESERVED, align 4
%48 = sdiv i32 %47, 2
%49 = icmp eq i32 %46, %48
br i1 %49, label %50, label %25
50: ; preds = %41
%51 = load i32, ptr %5, align 4
%52 = call i32 @close(i32 noundef %51)
%53 = load i32, ptr @EAGAIN, align 4
%54 = call i32 @__set_errno(i32 noundef %53)
store i32 -1, ptr %2, align 4
br label %55
55: ; preds = %50, %38, %32, %16
%56 = load i32, ptr %2, align 4
ret i32 %56
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @__set_errno(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/tmpjw8uigbp.c'
source_filename = "/tmp/tmpjw8uigbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = load i32, ptr %2, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %9, align 8
%20 = mul nuw i64 %16, %18
%21 = alloca i32, i64 %20, align 16
store i64 %16, ptr %10, align 8
store i64 %18, ptr %11, align 8
store i32 0, ptr %4, align 4
br label %22
22: ; preds = %45, %0
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %48
26: ; preds = %22
store i32 0, ptr %6, align 4
br label %27
27: ; preds = %41, %26
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %44
31: ; preds = %27
%32 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = mul nsw i64 %35, %18
%37 = getelementptr inbounds i32, ptr %21, i64 %36
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %33, ptr %40, align 4
br label %41
41: ; preds = %31
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %27, !llvm.loop !6
44: ; preds = %27
br label %45
45: ; preds = %44
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %4, align 4
br label %22, !llvm.loop !8
48: ; preds = %22
%49 = load i32, ptr %2, align 4
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %51
51: ; preds = %112, %48
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %115
55: ; preds = %51
store i32 0, ptr %6, align 4
br label %56
56: ; preds = %107, %55
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %2, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %110
60: ; preds = %56
%61 = load i32, ptr %4, align 4
%62 = sext i32 %61 to i64
%63 = mul nsw i64 %62, %18
%64 = getelementptr inbounds i32, ptr %21, i64 %63
%65 = load i32, ptr %6, 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 i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = mul nsw i64 %70, %18
%72 = getelementptr inbounds i32, ptr %21, i64 %71
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %72, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %68, %77
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = mul nsw i64 %81, %18
%83 = getelementptr inbounds i32, ptr %21, i64 %82
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = add nsw i32 %78, %87
%89 = load i32, ptr %4, align 4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = mul nsw i64 %91, %18
%93 = getelementptr inbounds i32, ptr %21, i64 %92
%94 = load i32, ptr %6, align 4
%95 = add nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %93, i64 %96
%98 = load i32, ptr %97, align 4
%99 = add nsw i32 %88, %98
store i32 %99, ptr %7, align 4
%100 = load i32, ptr %7, align 4
%101 = icmp sle i32 %100, 1
br i1 %101, label %102, label %104
102: ; preds = %60
%103 = call i32 @printf(ptr noundef @.str.1)
br label %106
104: ; preds = %60
%105 = call i32 @printf(ptr noundef @.str.2)
br label %106
106: ; preds = %104, %102
br label %107
107: ; preds = %106
%108 = load i32, ptr %6, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %6, align 4
br label %56, !llvm.loop !9
110: ; preds = %56
%111 = call i32 @printf(ptr noundef @.str.3)
br label %112
112: ; preds = %110
%113 = load i32, ptr %4, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %4, align 4
br label %51, !llvm.loop !10
115: ; preds = %51
store i32 0, ptr %1, align 4
%116 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %116)
%117 = load i32, ptr %1, align 4
ret i32 %117
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjw8uigbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = load i32, ptr %2, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %9, align 8
%20 = mul nuw i64 %16, %18
%21 = alloca i32, i64 %20, align 16
store i64 %16, ptr %10, align 8
store i64 %18, ptr %11, align 8
store i32 0, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph2, label %52
.lr.ph2: ; preds = %0
br label %25
25: ; preds = %.lr.ph2, %46
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %45
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %39
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = mul nsw i64 %33, %18
%35 = getelementptr inbounds i32, ptr %21, i64 %34
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %31, ptr %38, align 4
br label %39
39: ; preds = %29
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %25
br label %46
46: ; preds = %45
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %0
%53 = load i32, ptr %2, align 4
%54 = sub nsw i32 %53, 1
store i32 %54, ptr %2, align 4
store i32 0, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph8, label %123
.lr.ph8: ; preds = %52
br label %58
58: ; preds = %.lr.ph8, %117
store i32 0, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph5, label %115
.lr.ph5: ; preds = %58
br label %62
62: ; preds = %.lr.ph5, %109
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = mul nsw i64 %64, %18
%66 = getelementptr inbounds i32, ptr %21, i64 %65
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = mul nsw i64 %72, %18
%74 = getelementptr inbounds i32, ptr %21, i64 %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %74, i64 %77
%79 = load i32, ptr %78, align 4
%80 = add nsw i32 %70, %79
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = mul nsw i64 %83, %18
%85 = getelementptr inbounds i32, ptr %21, i64 %84
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %80, %89
%91 = load i32, ptr %4, align 4
%92 = add nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = mul nsw i64 %93, %18
%95 = getelementptr inbounds i32, ptr %21, i64 %94
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %95, i64 %98
%100 = load i32, ptr %99, align 4
%101 = add nsw i32 %90, %100
store i32 %101, ptr %7, align 4
%102 = load i32, ptr %7, align 4
%103 = icmp sle i32 %102, 1
br i1 %103, label %104, label %106
104: ; preds = %62
%105 = call i32 @printf(ptr noundef @.str.1)
br label %108
106: ; preds = %62
%107 = call i32 @printf(ptr noundef @.str.2)
br label %108
108: ; preds = %106, %104
br label %109
109: ; preds = %108
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %6, align 4
%112 = load i32, ptr %6, align 4
%113 = load i32, ptr %2, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %62, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %109
br label %115
115: ; preds = %._crit_edge6, %58
%116 = call i32 @printf(ptr noundef @.str.3)
br label %117
117: ; preds = %115
%118 = load i32, ptr %4, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %4, align 4
%120 = load i32, ptr %4, align 4
%121 = load i32, ptr %2, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %58, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %117
br label %123
123: ; preds = %._crit_edge9, %52
store i32 0, ptr %1, align 4
%124 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %124)
%125 = load i32, ptr %1, align 4
ret i32 %125
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmphzq1z0ot.c'
source_filename = "/tmp/tmphzq1z0ot.c"
target datalayout = "e-m:e-p270: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/tmphzq1z0ot.c"
target datalayout = "e-m:e-p270: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/tmpykfmmg6e.c'
source_filename = "/tmp/tmpykfmmg6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HUP\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_hup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykfmmg6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HUP\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_hup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy8w4vfs3.c'
source_filename = "/tmp/tmpy8w4vfs3.c"
target datalayout = "e-m:e-p270: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/tmpy8w4vfs3.c"
target datalayout = "e-m:e-p270: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/tmpcsuaqwpx.c'
source_filename = "/tmp/tmpcsuaqwpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parallel_search(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%19 = load ptr, ptr %9, align 8
%20 = load i64, ptr %10, align 8
%21 = mul i64 %20, 8
%22 = call i32 @memset(ptr noundef %19, i32 noundef 0, i64 noundef %21)
%23 = load i64, ptr %7, align 8
%24 = udiv i64 %23, 2
store i64 %24, ptr %11, align 8
br label %25
25: ; preds = %61, %5
%26 = load i64, ptr %11, align 8
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %67
28: ; preds = %25
store i64 0, ptr %12, align 8
br label %29
29: ; preds = %57, %28
%30 = load i64, ptr %12, align 8
%31 = load i64, ptr %10, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %33, label %60
33: ; preds = %29
%34 = load ptr, ptr %9, align 8
%35 = load i64, ptr %12, align 8
%36 = getelementptr inbounds i64, ptr %34, i64 %35
%37 = load i64, ptr %36, align 8
store i64 %37, ptr %13, align 8
%38 = load i64, ptr %13, align 8
%39 = load i64, ptr %11, align 8
%40 = add i64 %38, %39
store i64 %40, ptr %14, align 8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %12, align 8
%43 = getelementptr inbounds i64, ptr %41, i64 %42
%44 = load i64, ptr %43, align 8
%45 = load ptr, ptr %6, align 8
%46 = load i64, ptr %14, align 8
%47 = getelementptr inbounds i64, ptr %45, i64 %46
%48 = load i64, ptr %47, align 8
%49 = icmp sgt i64 %44, %48
br i1 %49, label %50, label %52
50: ; preds = %33
%51 = load i64, ptr %14, align 8
store i64 %51, ptr %13, align 8
br label %52
52: ; preds = %50, %33
%53 = load i64, ptr %13, align 8
%54 = load ptr, ptr %9, align 8
%55 = load i64, ptr %12, align 8
%56 = getelementptr inbounds i64, ptr %54, i64 %55
store i64 %53, ptr %56, align 8
br label %57
57: ; preds = %52
%58 = load i64, ptr %12, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %12, align 8
br label %29, !llvm.loop !6
60: ; preds = %29
br label %61
61: ; preds = %60
%62 = load i64, ptr %11, align 8
%63 = load i64, ptr %7, align 8
%64 = sub i64 %63, %62
store i64 %64, ptr %7, align 8
%65 = load i64, ptr %7, align 8
%66 = udiv i64 %65, 2
store i64 %66, ptr %11, align 8
br label %25, !llvm.loop !8
67: ; preds = %25
%68 = load ptr, ptr %6, align 8
%69 = getelementptr inbounds i64, ptr %68, i64 0
%70 = load i64, ptr %69, align 8
store i64 %70, ptr %15, align 8
store i64 0, ptr %16, align 8
br label %71
71: ; preds = %94, %67
%72 = load i64, ptr %16, align 8
%73 = load i64, ptr %10, align 8
%74 = icmp ult i64 %72, %73
br i1 %74, label %75, label %97
75: ; preds = %71
%76 = load ptr, ptr %8, align 8
%77 = load i64, ptr %16, align 8
%78 = getelementptr inbounds i64, ptr %76, i64 %77
%79 = load i64, ptr %78, align 8
store i64 %79, ptr %17, align 8
%80 = load ptr, ptr %9, align 8
%81 = load i64, ptr %16, align 8
%82 = getelementptr inbounds i64, ptr %80, i64 %81
%83 = load i64, ptr %82, align 8
%84 = add i64 %83, 1
store i64 %84, ptr %18, align 8
%85 = load i64, ptr %17, align 8
%86 = load i64, ptr %15, align 8
%87 = icmp sle i64 %85, %86
br i1 %87, label %88, label %89
88: ; preds = %75
store i64 0, ptr %18, align 8
br label %89
89: ; preds = %88, %75
%90 = load i64, ptr %18, align 8
%91 = load ptr, ptr %9, align 8
%92 = load i64, ptr %16, align 8
%93 = getelementptr inbounds i64, ptr %91, i64 %92
store i64 %90, ptr %93, align 8
br label %94
94: ; preds = %89
%95 = load i64, ptr %16, align 8
%96 = add i64 %95, 1
store i64 %96, ptr %16, align 8
br label %71, !llvm.loop !9
97: ; preds = %71
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcsuaqwpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parallel_search(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%19 = load ptr, ptr %9, align 8
%20 = load i64, ptr %10, align 8
%21 = mul i64 %20, 8
%22 = call i32 @memset(ptr noundef %19, i32 noundef 0, i64 noundef %21)
%23 = load i64, ptr %7, align 8
%24 = udiv i64 %23, 2
store i64 %24, ptr %11, align 8
%25 = load i64, ptr %11, align 8
%26 = icmp ne i64 %25, 0
br i1 %26, label %.lr.ph2, label %70
.lr.ph2: ; preds = %5
br label %27
27: ; preds = %.lr.ph2, %62
store i64 0, ptr %12, align 8
%28 = load i64, ptr %12, align 8
%29 = load i64, ptr %10, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %.lr.ph, label %61
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %55
%32 = load ptr, ptr %9, align 8
%33 = load i64, ptr %12, align 8
%34 = getelementptr inbounds i64, ptr %32, i64 %33
%35 = load i64, ptr %34, align 8
store i64 %35, ptr %13, align 8
%36 = load i64, ptr %13, align 8
%37 = load i64, ptr %11, align 8
%38 = add i64 %36, %37
store i64 %38, ptr %14, align 8
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr %12, align 8
%41 = getelementptr inbounds i64, ptr %39, i64 %40
%42 = load i64, ptr %41, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %14, align 8
%45 = getelementptr inbounds i64, ptr %43, i64 %44
%46 = load i64, ptr %45, align 8
%47 = icmp sgt i64 %42, %46
br i1 %47, label %48, label %50
48: ; preds = %31
%49 = load i64, ptr %14, align 8
store i64 %49, ptr %13, align 8
br label %50
50: ; preds = %48, %31
%51 = load i64, ptr %13, align 8
%52 = load ptr, ptr %9, align 8
%53 = load i64, ptr %12, align 8
%54 = getelementptr inbounds i64, ptr %52, i64 %53
store i64 %51, ptr %54, align 8
br label %55
55: ; preds = %50
%56 = load i64, ptr %12, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %12, align 8
%58 = load i64, ptr %12, align 8
%59 = load i64, ptr %10, align 8
%60 = icmp ult i64 %58, %59
br i1 %60, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %27
br label %62
62: ; preds = %61
%63 = load i64, ptr %11, align 8
%64 = load i64, ptr %7, align 8
%65 = sub i64 %64, %63
store i64 %65, ptr %7, align 8
%66 = load i64, ptr %7, align 8
%67 = udiv i64 %66, 2
store i64 %67, ptr %11, align 8
%68 = load i64, ptr %11, align 8
%69 = icmp ne i64 %68, 0
br i1 %69, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %70
70: ; preds = %._crit_edge3, %5
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i64, ptr %71, i64 0
%73 = load i64, ptr %72, align 8
store i64 %73, ptr %15, align 8
store i64 0, ptr %16, align 8
%74 = load i64, ptr %16, align 8
%75 = load i64, ptr %10, align 8
%76 = icmp ult i64 %74, %75
br i1 %76, label %.lr.ph5, label %102
.lr.ph5: ; preds = %70
br label %77
77: ; preds = %.lr.ph5, %96
%78 = load ptr, ptr %8, align 8
%79 = load i64, ptr %16, align 8
%80 = getelementptr inbounds i64, ptr %78, i64 %79
%81 = load i64, ptr %80, align 8
store i64 %81, ptr %17, align 8
%82 = load ptr, ptr %9, align 8
%83 = load i64, ptr %16, align 8
%84 = getelementptr inbounds i64, ptr %82, i64 %83
%85 = load i64, ptr %84, align 8
%86 = add i64 %85, 1
store i64 %86, ptr %18, align 8
%87 = load i64, ptr %17, align 8
%88 = load i64, ptr %15, align 8
%89 = icmp sle i64 %87, %88
br i1 %89, label %90, label %91
90: ; preds = %77
store i64 0, ptr %18, align 8
br label %91
91: ; preds = %90, %77
%92 = load i64, ptr %18, align 8
%93 = load ptr, ptr %9, align 8
%94 = load i64, ptr %16, align 8
%95 = getelementptr inbounds i64, ptr %93, i64 %94
store i64 %92, ptr %95, align 8
br label %96
96: ; preds = %91
%97 = load i64, ptr %16, align 8
%98 = add i64 %97, 1
store i64 %98, ptr %16, align 8
%99 = load i64, ptr %16, align 8
%100 = load i64, ptr %10, align 8
%101 = icmp ult i64 %99, %100
br i1 %101, label %77, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %96
br label %102
102: ; preds = %._crit_edge6, %70
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmplrhsju1b.c'
source_filename = "/tmp/tmplrhsju1b.c"
target datalayout = "e-m:e-p270: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/tmplrhsju1b.c"
target datalayout = "e-m:e-p270: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/tmpt1jn_ete.c'
source_filename = "/tmp/tmpt1jn_ete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bad fov: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @CalcFov(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%9 = load float, ptr %4, align 4
%10 = fcmp olt float %9, 1.000000e+00
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load float, ptr %4, align 4
%13 = fcmp ogt float %12, 1.790000e+02
br i1 %13, label %14, label %17
14: ; preds = %11, %3
%15 = load float, ptr %4, align 4
%16 = call i32 @Com_Error(i32 noundef 1, ptr noundef @.str, float noundef %15)
br label %17
17: ; preds = %14, %11
%18 = load float, ptr %5, align 4
%19 = load float, ptr %4, align 4
%20 = fdiv float %19, 3.600000e+02
%21 = fpext float %20 to double
%22 = fmul double %21, 0x400921FB54442D18
%23 = fptrunc double %22 to float
%24 = call float @tan(float noundef %23)
%25 = fdiv float %18, %24
store float %25, ptr %8, align 4
%26 = load float, ptr %6, align 4
%27 = load float, ptr %8, align 4
%28 = fdiv float %26, %27
%29 = call float @atan(float noundef %28)
store float %29, ptr %7, align 4
%30 = load float, ptr %7, align 4
%31 = fmul float %30, 3.600000e+02
%32 = fpext float %31 to double
%33 = fdiv double %32, 0x400921FB54442D18
%34 = fptrunc double %33 to float
store float %34, ptr %7, align 4
%35 = load float, ptr %7, align 4
ret float %35
}
declare i32 @Com_Error(i32 noundef, ptr noundef, float noundef) #1
declare float @tan(float noundef) #1
declare float @atan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1jn_ete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bad fov: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @CalcFov(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%9 = load float, ptr %4, align 4
%10 = fcmp olt float %9, 1.000000e+00
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load float, ptr %4, align 4
%13 = fcmp ogt float %12, 1.790000e+02
br i1 %13, label %14, label %17
14: ; preds = %11, %3
%15 = load float, ptr %4, align 4
%16 = call i32 @Com_Error(i32 noundef 1, ptr noundef @.str, float noundef %15)
br label %17
17: ; preds = %14, %11
%18 = load float, ptr %5, align 4
%19 = load float, ptr %4, align 4
%20 = fdiv float %19, 3.600000e+02
%21 = fpext float %20 to double
%22 = fmul double %21, 0x400921FB54442D18
%23 = fptrunc double %22 to float
%24 = call float @tan(float noundef %23)
%25 = fdiv float %18, %24
store float %25, ptr %8, align 4
%26 = load float, ptr %6, align 4
%27 = load float, ptr %8, align 4
%28 = fdiv float %26, %27
%29 = call float @atan(float noundef %28)
store float %29, ptr %7, align 4
%30 = load float, ptr %7, align 4
%31 = fmul float %30, 3.600000e+02
%32 = fpext float %31 to double
%33 = fdiv double %32, 0x400921FB54442D18
%34 = fptrunc double %33 to float
store float %34, ptr %7, align 4
%35 = load float, ptr %7, align 4
ret float %35
}
declare i32 @Com_Error(i32 noundef, ptr noundef, float noundef) #1
declare float @tan(float noundef) #1
declare float @atan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_tbgnr10.c'
source_filename = "/tmp/tmp_tbgnr10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tbgnr10.c"
target datalayout = "e-m:e-p270: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/tmpq8x6fbba.c'
source_filename = "/tmp/tmpq8x6fbba.c"
target datalayout = "e-m:e-p270: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/tmpq8x6fbba.c"
target datalayout = "e-m:e-p270: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/tmpgu2kv8kb.c'
source_filename = "/tmp/tmpgu2kv8kb.c"
target datalayout = "e-m:e-p270: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/tmpgu2kv8kb.c"
target datalayout = "e-m:e-p270: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/tmpvec3h09g.c'
source_filename = "/tmp/tmpvec3h09g.c"
target datalayout = "e-m:e-p270: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/tmpvec3h09g.c"
target datalayout = "e-m:e-p270: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/tmpmudpyf4_.c'
source_filename = "/tmp/tmpmudpyf4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initPrimes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 20000, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %44, %1
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %47
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = call i64 @isPrime(i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 %21, ptr %25, align 4
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %20, %16
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = mul nsw i32 %34, 2
store i32 %35, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = mul i64 %36, 4
%38 = trunc i64 %37 to i32
%39 = call ptr @realloc(ptr noundef %33, i32 noundef %38)
br label %42
40: ; preds = %28
%41 = load ptr, ptr %5, align 8
br label %42
42: ; preds = %40, %32
%43 = phi ptr [ %39, %32 ], [ %41, %40 ]
store ptr %43, ptr %5, align 8
br label %44
44: ; preds = %42
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %12, !llvm.loop !6
47: ; preds = %12
%48 = load ptr, ptr %5, align 8
ret ptr %48
}
declare ptr @malloc(i32 noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare ptr @realloc(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/tmpmudpyf4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initPrimes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 20000, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %49
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %43
%16 = load i32, ptr %6, align 4
%17 = call i64 @isPrime(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
store i32 %20, ptr %24, align 4
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %19, %15
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %39
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %3, align 4
%34 = mul nsw i32 %33, 2
store i32 %34, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 4
%37 = trunc i64 %36 to i32
%38 = call ptr @realloc(ptr noundef %32, i32 noundef %37)
br label %41
39: ; preds = %27
%40 = load ptr, ptr %5, align 8
br label %41
41: ; preds = %39, %31
%42 = phi ptr [ %38, %31 ], [ %40, %39 ]
store ptr %42, ptr %5, align 8
br label %43
43: ; preds = %41
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %1
%50 = load ptr, ptr %5, align 8
ret ptr %50
}
declare ptr @malloc(i32 noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare ptr @realloc(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/tmpopsivtk4.c'
source_filename = "/tmp/tmpopsivtk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [580 x i8] c"usage: gen [[lLrumi]=VALUE]... (where VALUE is a number >= 0)\0A l: number of labels in policy, l>0\0A L: maximal number of each label reoccurance in policy, L>0\0A u: number of unique rules (rules with different subject, object pair), u>0\0A m: number of merges per each unique rule, m>=0\0A r: number of different rights generated randomly, r>0\0A i: i=0: generate labels, i>0: read labels from stdio, 0 by default\0A s: shuffles or sort the result. s=0, default, sorts. s>0, shuffles.\0A p: percentage of modification rules, from 0 to 100, default: 33\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpopsivtk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [580 x i8] c"usage: gen [[lLrumi]=VALUE]... (where VALUE is a number >= 0)\0A l: number of labels in policy, l>0\0A L: maximal number of each label reoccurance in policy, L>0\0A u: number of unique rules (rules with different subject, object pair), u>0\0A m: number of merges per each unique rule, m>=0\0A r: number of different rights generated randomly, r>0\0A i: i=0: generate labels, i>0: read labels from stdio, 0 by default\0A s: shuffles or sort the result. s=0, default, sorts. s>0, shuffles.\0A p: percentage of modification rules, from 0 to 100, default: 33\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpro3jbo6u.c'
source_filename = "/tmp/tmpro3jbo6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapcon_top_dimension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 433, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpro3jbo6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapcon_top_dimension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 433, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73d88bm4.c'
source_filename = "/tmp/tmp73d88bm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_ntohl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 17, ptr %4, align 4
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 4
%7 = icmp ne i8 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %26
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %11, 8
%13 = and i32 %12, 16711935
%14 = load i32, ptr %3, align 4
%15 = shl i32 %14, 8
%16 = and i32 %15, -16711936
%17 = or i32 %13, %16
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = ashr i32 %18, 16
%20 = and i32 %19, 65535
%21 = load i32, ptr %3, align 4
%22 = shl i32 %21, 16
%23 = and i32 %22, -65536
%24 = or i32 %20, %23
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %10, %8
%27 = load i32, ptr %2, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73d88bm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_ntohl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 17, ptr %4, align 4
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 4
%7 = icmp ne i8 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %2, align 4
br label %26
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %11, 8
%13 = and i32 %12, 16711935
%14 = load i32, ptr %3, align 4
%15 = shl i32 %14, 8
%16 = and i32 %15, -16711936
%17 = or i32 %13, %16
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = ashr i32 %18, 16
%20 = and i32 %19, 65535
%21 = load i32, ptr %3, align 4
%22 = shl i32 %21, 16
%23 = and i32 %22, -65536
%24 = or i32 %20, %23
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %10, %8
%27 = load i32, ptr %2, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu_xwzwi6.c'
source_filename = "/tmp/tmpu_xwzwi6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"[error] no input argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"[info] original input \09= %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"[info] reverse input \09= %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca 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 ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %33
12: ; preds = %2
store i32 1, ptr %7, align 4
br label %13
13: ; preds = %29, %12
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %32
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @reverse(ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %17
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %13, !llvm.loop !6
32: ; preds = %13
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %10
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu_xwzwi6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"[error] no input argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"[info] original input \09= %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"[info] reverse input \09= %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca 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 ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %35
12: ; preds = %2
store i32 1, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %28
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @reverse(ptr noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %34, %10
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcobnppac.c'
source_filename = "/tmp/tmpcobnppac.c"
target datalayout = "e-m:e-p270: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/tmpcobnppac.c"
target datalayout = "e-m:e-p270: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/tmp80py77ix.c'
source_filename = "/tmp/tmp80py77ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC_end() #0 {
%1 = call i32 @outp(i32 noundef 32, i32 noundef 17)
%2 = call i32 @outp(i32 noundef 33, i32 noundef 8)
%3 = call i32 @outp(i32 noundef 33, i32 noundef 4)
%4 = call i32 @outp(i32 noundef 33, i32 noundef 1)
%5 = call i32 @outp(i32 noundef 33, i32 noundef 255)
%6 = call i32 @outp(i32 noundef 160, i32 noundef 17)
%7 = call i32 @outp(i32 noundef 161, i32 noundef 112)
%8 = call i32 @outp(i32 noundef 161, i32 noundef 2)
%9 = call i32 @outp(i32 noundef 161, i32 noundef 1)
%10 = call i32 @outp(i32 noundef 161, i32 noundef 255)
ret void
}
declare i32 @outp(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/tmp80py77ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC_end() #0 {
%1 = call i32 @outp(i32 noundef 32, i32 noundef 17)
%2 = call i32 @outp(i32 noundef 33, i32 noundef 8)
%3 = call i32 @outp(i32 noundef 33, i32 noundef 4)
%4 = call i32 @outp(i32 noundef 33, i32 noundef 1)
%5 = call i32 @outp(i32 noundef 33, i32 noundef 255)
%6 = call i32 @outp(i32 noundef 160, i32 noundef 17)
%7 = call i32 @outp(i32 noundef 161, i32 noundef 112)
%8 = call i32 @outp(i32 noundef 161, i32 noundef 2)
%9 = call i32 @outp(i32 noundef 161, i32 noundef 1)
%10 = call i32 @outp(i32 noundef 161, i32 noundef 255)
ret void
}
declare i32 @outp(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/tmp067mt9s0.c'
source_filename = "/tmp/tmp067mt9s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Init behaviour.....\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @init_behaviour(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
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/tmp067mt9s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Init behaviour.....\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @init_behaviour(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
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/tmp8kdinl0w.c'
source_filename = "/tmp/tmp8kdinl0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Answer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @output_line_addanswer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr @.str, ptr %11, align 8
%15 = load ptr, ptr %7, align 8
%16 = call ptr @index(ptr noundef %15, i8 noundef signext 123)
store ptr %16, ptr %13, align 8
%17 = load ptr, ptr %13, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %4
%22 = load ptr, ptr %7, align 8
store ptr %22, ptr %12, align 8
%23 = load ptr, ptr %9, align 8
store ptr %23, ptr %14, align 8
br label %24
24: ; preds = %32, %21
%25 = load ptr, ptr %12, align 8
%26 = load ptr, ptr %13, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = load ptr, ptr %12, align 8
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %14, align 8
store i8 %30, ptr %31, align 1
br label %32
32: ; preds = %28
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %12, align 8
%35 = load ptr, ptr %14, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %14, align 8
br label %24, !llvm.loop !6
37: ; preds = %24
%38 = load ptr, ptr %11, align 8
store ptr %38, ptr %10, align 8
br label %39
39: ; preds = %47, %37
%40 = load ptr, ptr %10, align 8
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %39
%44 = load ptr, ptr %10, align 8
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %14, align 8
store i8 %45, ptr %46, align 1
br label %47
47: ; preds = %43
%48 = load ptr, ptr %10, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %10, align 8
%50 = load ptr, ptr %14, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %14, align 8
br label %39, !llvm.loop !8
52: ; preds = %39
br label %53
53: ; preds = %61, %52
%54 = load ptr, ptr %12, align 8
%55 = load i8, ptr %54, align 1
%56 = icmp ne i8 %55, 0
br i1 %56, label %57, label %66
57: ; preds = %53
%58 = load ptr, ptr %12, align 8
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %14, align 8
store i8 %59, ptr %60, align 1
br label %61
61: ; preds = %57
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %12, align 8
%64 = load ptr, ptr %14, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %14, align 8
br label %53, !llvm.loop !9
66: ; preds = %53
%67 = load ptr, ptr %14, align 8
store i8 0, ptr %67, align 1
%68 = load ptr, ptr %6, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %8, align 4
%71 = call i32 @output_line(ptr noundef %68, ptr noundef %69, i32 noundef %70)
%72 = load i32, ptr %5, align 4
ret i32 %72
}
declare ptr @index(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @output_line(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8kdinl0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Answer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @output_line_addanswer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr @.str, ptr %11, align 8
%15 = load ptr, ptr %7, align 8
%16 = call ptr @index(ptr noundef %15, i8 noundef signext 123)
store ptr %16, ptr %13, align 8
%17 = load ptr, ptr %13, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %4
%22 = load ptr, ptr %7, align 8
store ptr %22, ptr %12, align 8
%23 = load ptr, ptr %9, align 8
store ptr %23, ptr %14, align 8
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %13, align 8
%26 = icmp ult ptr %24, %25
br i1 %26, label %.lr.ph, label %39
.lr.ph: ; preds = %21
br label %27
27: ; preds = %.lr.ph, %31
%28 = load ptr, ptr %12, align 8
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %14, align 8
store i8 %29, ptr %30, align 1
br label %31
31: ; preds = %27
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %12, align 8
%34 = load ptr, ptr %14, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %14, align 8
%36 = load ptr, ptr %12, align 8
%37 = load ptr, ptr %13, align 8
%38 = icmp ult ptr %36, %37
br i1 %38, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %21
%40 = load ptr, ptr %11, align 8
store ptr %40, ptr %10, align 8
%41 = load ptr, ptr %10, align 8
%42 = load i8, ptr %41, align 1
%43 = icmp ne i8 %42, 0
br i1 %43, label %.lr.ph2, label %56
.lr.ph2: ; preds = %39
br label %44
44: ; preds = %.lr.ph2, %48
%45 = load ptr, ptr %10, align 8
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %14, align 8
store i8 %46, ptr %47, align 1
br label %48
48: ; preds = %44
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %10, align 8
%51 = load ptr, ptr %14, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %14, align 8
%53 = load ptr, ptr %10, align 8
%54 = load i8, ptr %53, align 1
%55 = icmp ne i8 %54, 0
br i1 %55, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %56
56: ; preds = %._crit_edge3, %39
%57 = load ptr, ptr %12, align 8
%58 = load i8, ptr %57, align 1
%59 = icmp ne i8 %58, 0
br i1 %59, label %.lr.ph5, label %72
.lr.ph5: ; preds = %56
br label %60
60: ; preds = %.lr.ph5, %64
%61 = load ptr, ptr %12, align 8
%62 = load i8, ptr %61, align 1
%63 = load ptr, ptr %14, align 8
store i8 %62, ptr %63, align 1
br label %64
64: ; preds = %60
%65 = load ptr, ptr %12, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %12, align 8
%67 = load ptr, ptr %14, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %14, align 8
%69 = load ptr, ptr %12, align 8
%70 = load i8, ptr %69, align 1
%71 = icmp ne i8 %70, 0
br i1 %71, label %60, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %72
72: ; preds = %._crit_edge6, %56
%73 = load ptr, ptr %14, align 8
store i8 0, ptr %73, align 1
%74 = load ptr, ptr %6, align 8
%75 = load ptr, ptr %9, align 8
%76 = load i32, ptr %8, align 4
%77 = call i32 @output_line(ptr noundef %74, ptr noundef %75, i32 noundef %76)
%78 = load i32, ptr %5, align 4
ret i32 %78
}
declare ptr @index(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @output_line(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphkiucogh.c'
source_filename = "/tmp/tmphkiucogh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [69 x i8] c"Linuxtrack components aren't supposed running with root privileges!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ltr_int_check_root() #0 {
%1 = call i64 (...) @geteuid()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %7
3: ; preds = %0
%4 = call i32 @ltr_int_log_message(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
7: ; preds = %0
ret void
}
declare i64 @geteuid(...) #1
declare i32 @ltr_int_log_message(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphkiucogh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [69 x i8] c"Linuxtrack components aren't supposed running with root privileges!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ltr_int_check_root() #0 {
%1 = call i64 (...) @geteuid()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %7
3: ; preds = %0
%4 = call i32 @ltr_int_log_message(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
7: ; preds = %0
ret void
}
declare i64 @geteuid(...) #1
declare i32 @ltr_int_log_message(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxaah50jx.c'
source_filename = "/tmp/tmpxaah50jx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 (...) @read_cards()
%4 = call i32 (...) @analyze_cards()
%5 = call i32 (...) @print_result()
br label %2
}
declare i32 @read_cards(...) #1
declare i32 @analyze_cards(...) #1
declare i32 @print_result(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxaah50jx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 (...) @read_cards()
%4 = call i32 (...) @analyze_cards()
%5 = call i32 (...) @print_result()
br label %2
}
declare i32 @read_cards(...) #1
declare i32 @analyze_cards(...) #1
declare i32 @print_result(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu2lv_q8c.c'
source_filename = "/tmp/tmpu2lv_q8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IniSet_OFILM() #0 {
%1 = call i32 (...) @IniCmd_OFILM()
%2 = call i32 (...) @IniClk_OFILM()
%3 = call i32 (...) @IniIop_OFILM()
%4 = call i32 (...) @IniDgy_OFILM()
%5 = call i32 (...) @IniMon_OFILM()
%6 = call i32 (...) @IniSrv_OFILM()
%7 = call i32 (...) @IniGyr_OFILM()
%8 = call i32 (...) @IniFil_OFILM()
%9 = call i32 (...) @IniAdj_OFILM()
ret void
}
declare i32 @IniCmd_OFILM(...) #1
declare i32 @IniClk_OFILM(...) #1
declare i32 @IniIop_OFILM(...) #1
declare i32 @IniDgy_OFILM(...) #1
declare i32 @IniMon_OFILM(...) #1
declare i32 @IniSrv_OFILM(...) #1
declare i32 @IniGyr_OFILM(...) #1
declare i32 @IniFil_OFILM(...) #1
declare i32 @IniAdj_OFILM(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu2lv_q8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IniSet_OFILM() #0 {
%1 = call i32 (...) @IniCmd_OFILM()
%2 = call i32 (...) @IniClk_OFILM()
%3 = call i32 (...) @IniIop_OFILM()
%4 = call i32 (...) @IniDgy_OFILM()
%5 = call i32 (...) @IniMon_OFILM()
%6 = call i32 (...) @IniSrv_OFILM()
%7 = call i32 (...) @IniGyr_OFILM()
%8 = call i32 (...) @IniFil_OFILM()
%9 = call i32 (...) @IniAdj_OFILM()
ret void
}
declare i32 @IniCmd_OFILM(...) #1
declare i32 @IniClk_OFILM(...) #1
declare i32 @IniIop_OFILM(...) #1
declare i32 @IniDgy_OFILM(...) #1
declare i32 @IniMon_OFILM(...) #1
declare i32 @IniSrv_OFILM(...) #1
declare i32 @IniGyr_OFILM(...) #1
declare i32 @IniFil_OFILM(...) #1
declare i32 @IniAdj_OFILM(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4ltjhne.c'
source_filename = "/tmp/tmpb4ltjhne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M380_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M380_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4ltjhne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M380_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M380_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg9rj80zj.c'
source_filename = "/tmp/tmpg9rj80zj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_memblockq_peek_fixed_size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_peek_fixed_size() #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/tmpg9rj80zj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_memblockq_peek_fixed_size\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_peek_fixed_size() #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/tmprpcd0_na.c'
source_filename = "/tmp/tmprpcd0_na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprpcd0_na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiqxpjg1_.c'
source_filename = "/tmp/tmpiqxpjg1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"978\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"979\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @first_number_check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %7
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqxpjg1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"978\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"979\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @first_number_check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %7
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbcp_b_pu.c'
source_filename = "/tmp/tmpbcp_b_pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @generateParenthesis(i32 noundef 3, ptr noundef %2)
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %9, %0
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %6, 0
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
br label %5, !llvm.loop !6
16: ; preds = %5
ret i32 0
}
declare ptr @generateParenthesis(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbcp_b_pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @generateParenthesis(i32 noundef 3, ptr noundef %2)
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %5, 0
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds ptr, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = icmp sgt i32 %15, 0
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %18
18: ; preds = %._crit_edge, %0
ret i32 0
}
declare ptr @generateParenthesis(i32 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"}
|
; ModuleID = '/tmp/tmp4kwwdio5.c'
source_filename = "/tmp/tmp4kwwdio5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lpcli_readpassword_nc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %7, i64 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 1, ptr %3, align 4
br label %25
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcspn(ptr noundef %15, ptr noundef @.str)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 1, ptr %3, align 4
br label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 0, ptr %24, align 1
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %20, %19, %13
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strcspn(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/tmp4kwwdio5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lpcli_readpassword_nc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %7, i64 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 1, ptr %3, align 4
br label %25
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcspn(ptr noundef %15, ptr noundef @.str)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 1, ptr %3, align 4
br label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 0, ptr %24, align 1
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %20, %19, %13
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strcspn(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/tmpi0qjrp_c.c'
source_filename = "/tmp/tmpi0qjrp_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"
@.str = private unnamed_addr constant [15 x i8] c"cgroup.threads\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cg_enter_current_thread(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 @cg_write(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1)
ret i32 %4
}
declare i32 @cg_write(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/tmpi0qjrp_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"
@.str = private unnamed_addr constant [15 x i8] c"cgroup.threads\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cg_enter_current_thread(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 @cg_write(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1)
ret i32 %4
}
declare i32 @cg_write(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/tmpn2urihuq.c'
source_filename = "/tmp/tmpn2urihuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s/%s_%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s_%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @post2dictionary_get_spool_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %17, ptr noundef %18)
br label %25
20: ; preds = %11, %4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 (...) @getpid()
%24 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %21, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %20, %14
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2urihuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s/%s_%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s_%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @post2dictionary_get_spool_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %17, ptr noundef %18)
br label %25
20: ; preds = %11, %4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 (...) @getpid()
%24 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %21, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %20, %14
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp14i43fif.c'
source_filename = "/tmp/tmp14i43fif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadInput(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %31, %1
%7 = load i32, ptr @stdin, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i64 @fscanf(i32 noundef %7, ptr noundef @.str, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %34
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 47
br i1 %16, label %17, label %31
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = call i64 @processCommand(ptr noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
br label %30
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = call i64 @processLabel(ptr noundef %24, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %23
br label %29
29: ; preds = %28, %23
br label %30
30: ; preds = %29, %22
br label %31
31: ; preds = %30, %11
%32 = load i32, ptr %5, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %5, align 4
br label %6, !llvm.loop !6
34: ; preds = %6
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i64 @fscanf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @processCommand(ptr noundef, i32 noundef) #1
declare i64 @processLabel(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/tmp14i43fif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadInput(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr @stdin, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i64 @fscanf(i32 noundef %6, ptr noundef @.str, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %30
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 47
br i1 %15, label %16, label %30
16: ; preds = %10
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = call i64 @processCommand(ptr noundef %17, i32 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %16
br label %29
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = call i64 @processLabel(ptr noundef %23, i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %22
br label %28
28: ; preds = %27, %22
br label %29
29: ; preds = %28, %21
br label %30
30: ; preds = %29, %10
%31 = load i32, ptr %5, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr @stdin, align 4
%34 = load ptr, ptr %4, align 8
%35 = call i64 @fscanf(i32 noundef %33, ptr noundef @.str, ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %1
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i64 @fscanf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @processCommand(ptr noundef, i32 noundef) #1
declare i64 @processLabel(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/tmpmd1a_hnu.c'
source_filename = "/tmp/tmpmd1a_hnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"%s\0A%s%s%s\0A%s%s%s\0A%s%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"According to isspace:\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Newline\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" is a \00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c" is not a \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"whitespace character\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Horizontal tab\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"% is a \00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"% is not a \00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"%s\0A%s%s%s\0A%s%s\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"According to iscntrl:\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"control character\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"$ is a \00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"$ is not a \00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"%s\0A%s%s\0A%s%s\0A%s%s\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"According to ispunct:\00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"; is a \00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"; is not a \00", align 1
@.str.18 = private unnamed_addr constant [22 x i8] c"punctuation character\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"Y is a \00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"Y is not a \00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"# is a \00", align 1
@.str.22 = private unnamed_addr constant [12 x i8] c"# is not a \00", align 1
@.str.23 = private unnamed_addr constant [17 x i8] c"%s\0A%s%s\0A%s%s%s\0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"According to isprint:\00", align 1
@.str.25 = private unnamed_addr constant [19 x i8] c"printing character\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"Alert\00", align 1
@.str.27 = private unnamed_addr constant [16 x i8] c"%s\0A%s%s\0A%s%s%s\0A\00", align 1
@.str.28 = private unnamed_addr constant [22 x i8] c"According to isgraph:\00", align 1
@.str.29 = private unnamed_addr constant [8 x i8] c"Q is a \00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"Q is not a \00", align 1
@.str.31 = private unnamed_addr constant [38 x i8] c"printing character other than a space\00", align 1
@.str.32 = private unnamed_addr constant [6 x i8] c"Space\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 i64 @isspace(i8 noundef signext 10)
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i64
%5 = select i1 %3, ptr @.str.3, ptr @.str.4
%6 = call i64 @isspace(i8 noundef signext 9)
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str.3, ptr @.str.4
%10 = call i64 @isspace(i8 noundef signext 37)
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.7, ptr @.str.8
%14 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %9, ptr noundef @.str.5, ptr noundef %13, ptr noundef @.str.5)
%15 = call i64 @iscntrl(i8 noundef signext 10)
%16 = icmp ne i64 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, ptr @.str.3, ptr @.str.4
%19 = call i64 @iscntrl(i8 noundef signext 36)
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.12, ptr @.str.13
%23 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.2, ptr noundef %18, ptr noundef @.str.11, ptr noundef %22, ptr noundef @.str.11)
%24 = call i64 @ispunct(i8 noundef signext 59)
%25 = icmp ne i64 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.16, ptr @.str.17
%28 = call i64 @ispunct(i8 noundef signext 89)
%29 = icmp ne i64 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, ptr @.str.19, ptr @.str.20
%32 = call i64 @ispunct(i8 noundef signext 35)
%33 = icmp ne i64 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, ptr @.str.21, ptr @.str.22
%36 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %27, ptr noundef @.str.18, ptr noundef %31, ptr noundef @.str.18, ptr noundef %35, ptr noundef @.str.18)
%37 = call i64 @isprint(i8 noundef signext 36)
%38 = icmp ne i64 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, ptr @.str.12, ptr @.str.13
%41 = call i64 @isprint(i8 noundef signext 7)
%42 = icmp ne i64 %41, 0
%43 = zext i1 %42 to i64
%44 = select i1 %42, ptr @.str.3, ptr @.str.4
%45 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef %40, ptr noundef @.str.25, ptr noundef @.str.26, ptr noundef %44, ptr noundef @.str.25)
%46 = call i64 @isgraph(i8 noundef signext 81)
%47 = icmp ne i64 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, ptr @.str.29, ptr @.str.30
%50 = call i64 @isgraph(i8 noundef signext 32)
%51 = icmp ne i64 %50, 0
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.3, ptr @.str.4
%54 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.27, ptr noundef @.str.28, ptr noundef %49, ptr noundef @.str.31, ptr noundef @.str.32, ptr noundef %53, ptr noundef @.str.31)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @iscntrl(i8 noundef signext) #1
declare i64 @ispunct(i8 noundef signext) #1
declare i64 @isprint(i8 noundef signext) #1
declare i64 @isgraph(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/tmpmd1a_hnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"%s\0A%s%s%s\0A%s%s%s\0A%s%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"According to isspace:\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Newline\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" is a \00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c" is not a \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"whitespace character\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Horizontal tab\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"% is a \00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"% is not a \00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"%s\0A%s%s%s\0A%s%s\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"According to iscntrl:\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"control character\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"$ is a \00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"$ is not a \00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"%s\0A%s%s\0A%s%s\0A%s%s\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"According to ispunct:\00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"; is a \00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c"; is not a \00", align 1
@.str.18 = private unnamed_addr constant [22 x i8] c"punctuation character\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"Y is a \00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"Y is not a \00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"# is a \00", align 1
@.str.22 = private unnamed_addr constant [12 x i8] c"# is not a \00", align 1
@.str.23 = private unnamed_addr constant [17 x i8] c"%s\0A%s%s\0A%s%s%s\0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"According to isprint:\00", align 1
@.str.25 = private unnamed_addr constant [19 x i8] c"printing character\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"Alert\00", align 1
@.str.27 = private unnamed_addr constant [16 x i8] c"%s\0A%s%s\0A%s%s%s\0A\00", align 1
@.str.28 = private unnamed_addr constant [22 x i8] c"According to isgraph:\00", align 1
@.str.29 = private unnamed_addr constant [8 x i8] c"Q is a \00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"Q is not a \00", align 1
@.str.31 = private unnamed_addr constant [38 x i8] c"printing character other than a space\00", align 1
@.str.32 = private unnamed_addr constant [6 x i8] c"Space\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 i64 @isspace(i8 noundef signext 10)
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i64
%5 = select i1 %3, ptr @.str.3, ptr @.str.4
%6 = call i64 @isspace(i8 noundef signext 9)
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str.3, ptr @.str.4
%10 = call i64 @isspace(i8 noundef signext 37)
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.7, ptr @.str.8
%14 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %9, ptr noundef @.str.5, ptr noundef %13, ptr noundef @.str.5)
%15 = call i64 @iscntrl(i8 noundef signext 10)
%16 = icmp ne i64 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, ptr @.str.3, ptr @.str.4
%19 = call i64 @iscntrl(i8 noundef signext 36)
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.12, ptr @.str.13
%23 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.2, ptr noundef %18, ptr noundef @.str.11, ptr noundef %22, ptr noundef @.str.11)
%24 = call i64 @ispunct(i8 noundef signext 59)
%25 = icmp ne i64 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.16, ptr @.str.17
%28 = call i64 @ispunct(i8 noundef signext 89)
%29 = icmp ne i64 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, ptr @.str.19, ptr @.str.20
%32 = call i64 @ispunct(i8 noundef signext 35)
%33 = icmp ne i64 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, ptr @.str.21, ptr @.str.22
%36 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %27, ptr noundef @.str.18, ptr noundef %31, ptr noundef @.str.18, ptr noundef %35, ptr noundef @.str.18)
%37 = call i64 @isprint(i8 noundef signext 36)
%38 = icmp ne i64 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, ptr @.str.12, ptr @.str.13
%41 = call i64 @isprint(i8 noundef signext 7)
%42 = icmp ne i64 %41, 0
%43 = zext i1 %42 to i64
%44 = select i1 %42, ptr @.str.3, ptr @.str.4
%45 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef %40, ptr noundef @.str.25, ptr noundef @.str.26, ptr noundef %44, ptr noundef @.str.25)
%46 = call i64 @isgraph(i8 noundef signext 81)
%47 = icmp ne i64 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, ptr @.str.29, ptr @.str.30
%50 = call i64 @isgraph(i8 noundef signext 32)
%51 = icmp ne i64 %50, 0
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.3, ptr @.str.4
%54 = call i32 (ptr, ptr, ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.27, ptr noundef @.str.28, ptr noundef %49, ptr noundef @.str.31, ptr noundef @.str.32, ptr noundef %53, ptr noundef @.str.31)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @iscntrl(i8 noundef signext) #1
declare i64 @ispunct(i8 noundef signext) #1
declare i64 @isprint(i8 noundef signext) #1
declare i64 @isgraph(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/tmprxnhibxf.c'
source_filename = "/tmp/tmprxnhibxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_my_pe() #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/tmprxnhibxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_my_pe() #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/tmp_px6hcoh.c'
source_filename = "/tmp/tmp_px6hcoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_px6hcoh.c"
target datalayout = "e-m:e-p270: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/tmpile2nem0.c'
source_filename = "/tmp/tmpile2nem0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test(i32 noundef 11)
ret i32 0
}
declare i32 @test(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/tmpile2nem0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test(i32 noundef 11)
ret i32 0
}
declare i32 @test(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/tmp1uzbihrw.c'
source_filename = "/tmp/tmp1uzbihrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca [20 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %30, %21
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %33
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %28
store i32 1, ptr %29, align 4
br label %30
30: ; preds = %26
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %22, !llvm.loop !8
33: ; preds = %22
store i32 1, ptr %7, align 4
store i32 1, ptr %5, align 4
br label %34
34: ; preds = %80, %33
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %83
38: ; preds = %34
store i32 0, ptr %6, align 4
br label %39
39: ; preds = %76, %38
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %79
43: ; preds = %39
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %7, align 4
%50 = icmp sge i32 %48, %49
br i1 %50, label %51, label %75
51: ; preds = %43
%52 = load i32, ptr %5, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp sgt i32 %55, %59
br i1 %60, label %61, label %75
61: ; preds = %51
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %70, 1
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %73
store i32 %71, ptr %74, align 4
br label %75
75: ; preds = %61, %51, %43
br label %76
76: ; preds = %75
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
br label %39, !llvm.loop !9
79: ; preds = %39
br label %80
80: ; preds = %79
%81 = load i32, ptr %5, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %5, align 4
br label %34, !llvm.loop !10
83: ; preds = %34
%84 = load i32, ptr %7, align 4
%85 = call i32 @printf(ptr noundef @.str, i32 noundef %84)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1uzbihrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca [20 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %12
%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 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph2, label %37
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %31
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %29
store i32 1, ptr %30, align 4
br label %31
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %37
37: ; preds = %._crit_edge3, %23
store i32 1, ptr %7, align 4
store i32 1, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph8, label %91
.lr.ph8: ; preds = %37
br label %41
41: ; preds = %.lr.ph8, %85
store i32 0, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph5, label %84
.lr.ph5: ; preds = %41
br label %45
45: ; preds = %.lr.ph5, %78
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = add nsw i32 %49, 1
%51 = load i32, ptr %7, align 4
%52 = icmp sge i32 %50, %51
br i1 %52, label %53, label %77
53: ; preds = %45
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp sgt i32 %57, %61
br i1 %62, label %63, label %77
63: ; preds = %53
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = add nsw i32 %72, 1
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %75
store i32 %73, ptr %76, align 4
br label %77
77: ; preds = %63, %53, %45
br label %78
78: ; preds = %77
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %6, align 4
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %45, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %78
br label %84
84: ; preds = %._crit_edge6, %41
br label %85
85: ; preds = %84
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %5, align 4
%88 = load i32, ptr %5, align 4
%89 = load i32, ptr %4, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %41, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %85
br label %91
91: ; preds = %._crit_edge9, %37
%92 = load i32, ptr %7, align 4
%93 = call i32 @printf(ptr noundef @.str, i32 noundef %92)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8ylxj6uz.c'
source_filename = "/tmp/tmp8ylxj6uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddressBookFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @M_Menu_AddressBook_f()
ret void
}
declare i32 @M_Menu_AddressBook_f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ylxj6uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddressBookFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @M_Menu_AddressBook_f()
ret void
}
declare i32 @M_Menu_AddressBook_f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuh5g9suy.c'
source_filename = "/tmp/tmpuh5g9suy.c"
target datalayout = "e-m:e-p270: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/tmpuh5g9suy.c"
target datalayout = "e-m:e-p270: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/tmpixid5vs3.c'
source_filename = "/tmp/tmpixid5vs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ares_expand_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca %union.anon, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = icmp eq ptr %14, %18
br i1 %19, label %20, label %21
20: ; preds = %5
store i32 17, ptr %6, align 4
br label %65
21: ; preds = %5
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i64
store i64 %24, ptr %13, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 8
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = icmp ugt ptr %29, %33
br i1 %34, label %35, label %36
35: ; preds = %21
store i32 17, ptr %6, align 4
br label %65
36: ; preds = %21
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
%39 = load i64, ptr %13, align 8
%40 = add i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = call ptr @malloc(i32 noundef %41)
%43 = load ptr, ptr %10, align 8
store ptr %42, ptr %43, align 8
%44 = load ptr, ptr %10, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %48
47: ; preds = %36
store i32 15, ptr %6, align 4
br label %65
48: ; preds = %36
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %49, align 8
store ptr %50, ptr %12, align 8
%51 = load ptr, ptr %12, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i64, ptr %13, align 8
%54 = trunc i64 %53 to i32
%55 = call i32 @strncpy(ptr noundef %51, ptr noundef %52, i32 noundef %54)
%56 = load ptr, ptr %12, align 8
%57 = load i64, ptr %13, align 8
%58 = getelementptr inbounds i8, ptr %56, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %12, align 8
%60 = load ptr, ptr %10, align 8
store ptr %59, ptr %60, align 8
%61 = load i32, ptr %13, align 8
%62 = add nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = load ptr, ptr %11, align 8
store i64 %63, ptr %64, align 8
store i32 0, ptr %6, align 4
br label %65
65: ; preds = %48, %47, %35, %20
%66 = load i32, ptr %6, align 4
ret i32 %66
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpixid5vs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ares_expand_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca %union.anon, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = icmp eq ptr %14, %18
br i1 %19, label %20, label %21
20: ; preds = %5
store i32 17, ptr %6, align 4
br label %65
21: ; preds = %5
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i64
store i64 %24, ptr %13, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 8
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = icmp ugt ptr %29, %33
br i1 %34, label %35, label %36
35: ; preds = %21
store i32 17, ptr %6, align 4
br label %65
36: ; preds = %21
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
%39 = load i64, ptr %13, align 8
%40 = add i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = call ptr @malloc(i32 noundef %41)
%43 = load ptr, ptr %10, align 8
store ptr %42, ptr %43, align 8
%44 = load ptr, ptr %10, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %48
47: ; preds = %36
store i32 15, ptr %6, align 4
br label %65
48: ; preds = %36
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %49, align 8
store ptr %50, ptr %12, align 8
%51 = load ptr, ptr %12, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i64, ptr %13, align 8
%54 = trunc i64 %53 to i32
%55 = call i32 @strncpy(ptr noundef %51, ptr noundef %52, i32 noundef %54)
%56 = load ptr, ptr %12, align 8
%57 = load i64, ptr %13, align 8
%58 = getelementptr inbounds i8, ptr %56, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %12, align 8
%60 = load ptr, ptr %10, align 8
store ptr %59, ptr %60, align 8
%61 = load i32, ptr %13, align 8
%62 = add nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = load ptr, ptr %11, align 8
store i64 %63, ptr %64, align 8
store i32 0, ptr %6, align 4
br label %65
65: ; preds = %48, %47, %35, %20
%66 = load i32, ptr %6, align 4
ret i32 %66
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsivl_2xl.c'
source_filename = "/tmp/tmpsivl_2xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 0, ptr %6, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @PinSetMain(i32 noundef 0)
%12 = call i32 @PinSetMain(i32 noundef 1)
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 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @PinSetMain(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/tmpsivl_2xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = call i32 @PinSetMain(i32 noundef 0)
%11 = call i32 @PinSetMain(i32 noundef 1)
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, 8
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %2
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @PinSetMain(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/tmp8n5g06bx.c'
source_filename = "/tmp/tmp8n5g06bx.c"
target datalayout = "e-m:e-p270: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/tmp8n5g06bx.c"
target datalayout = "e-m:e-p270: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/tmpn7ifxxis.c'
source_filename = "/tmp/tmpn7ifxxis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbtree_free_node(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn7ifxxis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rbtree_free_node(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3981tcob.c'
source_filename = "/tmp/tmp3981tcob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetFileLoaderOperationOutputVariables(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @DoSetFileLoaderOutputVariables(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @DoSetFileLoaderOutputVariables(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3981tcob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetFileLoaderOperationOutputVariables(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @DoSetFileLoaderOutputVariables(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @DoSetFileLoaderOutputVariables(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3h1g_9b9.c'
source_filename = "/tmp/tmp3h1g_9b9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumeric(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %22, %1
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %25
13: ; preds = %5
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @isdigit(i8 noundef signext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %13
store i32 0, ptr %2, align 4
br label %26
22: ; preds = %13
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %5, !llvm.loop !6
25: ; preds = %5
store i32 1, ptr %2, align 4
br label %26
26: ; preds = %25, %21
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @isdigit(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/tmp3h1g_9b9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumeric(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %21
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @isdigit(i8 noundef signext %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %12
store i32 0, ptr %2, align 4
br label %32
21: ; preds = %12
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%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 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %31
31: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %32
32: ; preds = %31, %20
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @isdigit(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/tmpjqo1ft6n.c'
source_filename = "/tmp/tmpjqo1ft6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mj_new_array(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 4
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i32, ptr %14, i32 1
store ptr %15, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %25, %1
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
store i32 0, ptr %24, align 4
br label %25
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %16, !llvm.loop !6
28: ; preds = %16
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqo1ft6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mj_new_array(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 4
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i32, ptr %14, i32 1
store ptr %15, ptr %3, align 8
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %19
19: ; preds = %.lr.ph, %24
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %1
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.